Fri, 07 Dec 2018 13:18:54 -0600
gtkblist: Port plugin actions mostly off of GtkUIManager
Pidgin generates menu items in the buddy list from PurplePluginActions.
This patch ports these menu items off of the deprecated GtkUIManager
in favor of the GMenu API, except for getting the parent menu,
currently still generated with GtkUIManager. Once more of the buddy
list menu is ported to GMenu, this can be simplified some more.
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
1 | /* pidgin |
| 11581 | 2 | * |
| 15572 | 3 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 11581 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
| 6 | * | |
| 7 | * This program is free software; you can redistribute it and/or modify | |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16254
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 11581 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
21 | |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
22 | #ifndef _PIDGIN_CONVERSATION_WINDOW_H_ |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
23 | #define _PIDGIN_CONVERSATION_WINDOW_H_ |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
24 | /** |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
25 | * SECTION:gtkconvwin |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
26 | * @section_id: pidgin-gtkconvwin |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
27 | * @short_description: <filename>gtkconvwin.h</filename> |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
28 | * @title: Conversation Window API |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
29 | */ |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
30 | |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
31 | #define PIDGIN_TYPE_CONV_WINDOW (pidgin_conv_window_get_type()) |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
32 | |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
33 | typedef struct _PidginConvWindowMenu PidginConvWindowMenu; |
|
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
34 | typedef struct _PidginConvWindow PidginConvWindow; |
| 11581 | 35 | |
| 36 | ||
| 37 | /************************************************************************** | |
| 35472 | 38 | * Structures |
| 11581 | 39 | **************************************************************************/ |
| 40 | ||
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
41 | struct _PidginConvWindowMenu |
|
34973
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
42 | { |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
43 | GtkUIManager *ui; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
44 | GtkWidget *menubar; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
45 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
46 | GtkAction *view_log; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
47 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
48 | GtkAction *audio_call; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
49 | GtkAction *video_call; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
50 | GtkAction *audio_video_call; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
51 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
52 | GtkAction *send_file; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
53 | GtkAction *get_attention; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
54 | GtkAction *add_pounce; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
55 | GtkAction *get_info; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
56 | GtkAction *invite; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
57 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
58 | GtkAction *alias; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
59 | GtkAction *block; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
60 | GtkAction *unblock; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
61 | GtkAction *add; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
62 | GtkAction *remove; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
63 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
64 | GtkAction *insert_link; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
65 | GtkAction *insert_image; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
66 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
67 | GtkAction *logging; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
68 | GtkAction *sounds; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
69 | GtkAction *show_formatting_toolbar; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
70 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
71 | GtkWidget *send_to; |
| 35047 | 72 | GtkWidget *e2ee; |
|
34973
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
73 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
74 | GtkWidget *tray; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
75 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
76 | GtkWidget *typing_icon; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
77 | }; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
78 | |
| 11581 | 79 | /** |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
80 | * PidginConvWindow: |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
81 | * @window: The window. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
82 | * @notebook: The notebook of conversations. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
83 | * @notebook_menu: The menu on the notebook. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
84 | * @clicked_tab: The menu currently clicked. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
85 | * |
| 11581 | 86 | * A GTK+ representation of a graphical window containing one or more |
| 87 | * conversations. | |
| 88 | */ | |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
89 | struct _PidginConvWindow |
| 11581 | 90 | { |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
91 | /*< private >*/ |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
92 | gint box_count; |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
93 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
94 | /*< public >*/ |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
95 | GtkWidget *window; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
96 | GtkWidget *notebook; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
97 | GtkWidget *notebook_menu; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
98 | PidginConversation *clicked_tab; |
| 11581 | 99 | GList *gtkconvs; |
| 100 | ||
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
101 | PidginConvWindowMenu *menu; |
| 11581 | 102 | |
| 103 | /* Tab dragging stuff. */ | |
| 104 | gboolean in_drag; | |
| 105 | gboolean in_predrag; | |
| 106 | ||
| 107 | gint drag_tab; | |
| 108 | ||
| 109 | gint drag_min_x, drag_max_x, drag_min_y, drag_max_y; | |
| 110 | ||
| 111 | gint drag_motion_signal; | |
| 112 | gint drag_leave_signal; | |
| 113 | }; | |
| 114 | ||
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
115 | G_BEGIN_DECLS |
|
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
116 | |
| 11581 | 117 | /************************************************************************** |
| 35472 | 118 | * GTK+ Conversation Window API |
| 11581 | 119 | **************************************************************************/ |
| 120 | ||
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
121 | /** |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
122 | * pidgin_conv_window_get_type: |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
123 | * |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
124 | * Returns: The #GType for the #PidginConvWindow boxed structure. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
125 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
126 | GType pidgin_conv_window_get_type(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
127 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
128 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
129 | * pidgin_conv_window_new: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
130 | * |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
131 | * Returns: A new #PidginConvWindow. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
132 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
133 | PidginConvWindow * pidgin_conv_window_new(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
134 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
135 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
136 | * pidgin_conv_window_destroy: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
137 | * @win: The conversation window to destroy |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
138 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
139 | void pidgin_conv_window_destroy(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
140 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
141 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
142 | * pidgin_conv_windows_get_list: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
143 | * |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
144 | * Returns: (transfer none) (element-type Pidgin.ConvWindow): The list of |
|
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
145 | * windows. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
146 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15486
diff
changeset
|
147 | GList *pidgin_conv_windows_get_list(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
148 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
149 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
150 | * pidgin_conv_window_show: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
151 | * @win: The conversation window to show |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
152 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
153 | void pidgin_conv_window_show(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
154 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
155 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
156 | * pidgin_conv_window_hide: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
157 | * @win: The conversation window to hide |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
158 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
159 | void pidgin_conv_window_hide(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
160 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
161 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
162 | * pidgin_conv_window_raise: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
163 | * @win: The conversation window to raise |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
164 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
165 | void pidgin_conv_window_raise(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
166 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
167 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
168 | * pidgin_conv_window_switch_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
169 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
170 | * @gtkconv: The pidgin conversation to switch to |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
171 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
172 | void pidgin_conv_window_switch_gtkconv(PidginConvWindow *win, PidginConversation *gtkconv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
173 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
174 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
175 | * pidgin_conv_window_add_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
176 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
177 | * @gtkconv: The pidgin conversation to add |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
178 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
179 | void pidgin_conv_window_add_gtkconv(PidginConvWindow *win, PidginConversation *gtkconv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
180 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
181 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
182 | * pidgin_conv_window_remove_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
183 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
184 | * @gtkconv: The pidgin conversation to remove |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
185 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
186 | void pidgin_conv_window_remove_gtkconv(PidginConvWindow *win, PidginConversation *gtkconv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
187 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
188 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
189 | * pidgin_conv_window_get_gtkconv_at_index: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
190 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
191 | * @index: The index in the window to get the conversation from |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
192 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
193 | * Returns: The conversation in @win at @index |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
194 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
195 | PidginConversation *pidgin_conv_window_get_gtkconv_at_index(const PidginConvWindow *win, int index); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
196 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
197 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
198 | * pidgin_conv_window_get_active_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
199 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
200 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
201 | * Returns: The active #PidginConversation in @win. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
202 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
203 | PidginConversation *pidgin_conv_window_get_active_gtkconv(const PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
204 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
205 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
206 | * pidgin_conv_window_get_active_conversation: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
207 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
208 | * |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
209 | * Returns: (transfer none): The active #PurpleConversation in @win. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
210 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
211 | PurpleConversation *pidgin_conv_window_get_active_conversation(const PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
212 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
213 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
214 | * pidgin_conv_window_is_active_conversation: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
215 | * @conv: The conversation |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
216 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
217 | * Returns: %TRUE if @conv is the active conversation, %FALSE otherwise. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
218 | */ |
| 15884 | 219 | gboolean pidgin_conv_window_is_active_conversation(const PurpleConversation *conv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
220 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
221 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
222 | * pidgin_conv_window_has_focus: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
223 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
224 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
225 | * Returns: %TRUE if @win has focus, %FALSE otherwise. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
226 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
227 | gboolean pidgin_conv_window_has_focus(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
228 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
229 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
230 | * pidgin_conv_window_get_at_event: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
231 | * @event: The event |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
232 | * |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
233 | * Returns: The #PidginConvWindow on which @event occured. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
234 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
235 | PidginConvWindow *pidgin_conv_window_get_at_event(GdkEvent *event); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
236 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
237 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
238 | * pidgin_conv_window_get_gtkconvs: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
239 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
240 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
241 | * Returns: (transfer none) (element-type Pidgin.Conversation): A list of |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
242 | * #PidginConversation's in @win. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
243 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
244 | GList *pidgin_conv_window_get_gtkconvs(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
245 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
246 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
247 | * pidgin_conv_window_get_gtkconv_count: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
248 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
249 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
250 | * Returns: The number of conversations in @win |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
251 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
252 | guint pidgin_conv_window_get_gtkconv_count(PidginConvWindow *win); |
| 11581 | 253 | |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
254 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
255 | * pidgin_conv_window_first_im: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
256 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
257 | * Returns: The window which has the first IM, %NULL if no IM is found. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
258 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
259 | PidginConvWindow *pidgin_conv_window_first_im(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
260 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
261 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
262 | * pidgin_conv_window_last_im: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
263 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
264 | * Returns: The window which has the last IM, %NULL if no IM is found. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
265 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
266 | PidginConvWindow *pidgin_conv_window_last_im(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
267 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
268 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
269 | * pidgin_conv_window_first_chat: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
270 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
271 | * Returns: The window which has the first chat, %NULL if no chat is found. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
272 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
273 | PidginConvWindow *pidgin_conv_window_first_chat(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
274 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
275 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
276 | * pidgin_conv_window_last_chat: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
277 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
278 | * Returns: The window which has the last chat, %NULL if no chat is found. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
279 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
280 | PidginConvWindow *pidgin_conv_window_last_chat(void); |
| 11581 | 281 | |
| 282 | /************************************************************************** | |
| 35472 | 283 | * GTK+ Conversation Placement API |
| 11581 | 284 | **************************************************************************/ |
| 285 | ||
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
286 | /** |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
287 | * PidginConvPlacementFunc: (skip) |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
288 | */ |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
289 | typedef void (*PidginConvPlacementFunc)(PidginConversation *conv); |
| 11581 | 290 | |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
291 | /** |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
292 | * pidgin_conv_placement_get_options: (skip) |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
293 | */ |
| 15563 | 294 | GList *pidgin_conv_placement_get_options(void); |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
295 | /** |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
296 | * pidgin_conv_placement_get_name: (skip) |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
297 | */ |
|
35615
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
298 | const char *pidgin_conv_placement_get_name(const char *id); |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
299 | |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
300 | /** |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
301 | * pidgin_conv_placement_place: (skip) |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
302 | */ |
|
35615
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
303 | void pidgin_conv_placement_place(PidginConversation *gtkconv); |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
304 | |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
305 | /** |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
306 | * pidgin_conv_placement_add_fnc: (skip) |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
307 | */ |
| 15882 | 308 | void pidgin_conv_placement_add_fnc(const char *id, const char *name, PidginConvPlacementFunc fnc); |
|
35615
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
309 | |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
310 | /** |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
311 | * pidgin_conv_placement_remove_fnc: (skip) |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
312 | */ |
| 15563 | 313 | void pidgin_conv_placement_remove_fnc(const char *id); |
|
35615
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
314 | |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
315 | /** |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
316 | * pidgin_conv_placement_get_fnc: (skip) |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
317 | */ |
| 15882 | 318 | PidginConvPlacementFunc pidgin_conv_placement_get_fnc(const char *id); |
|
35615
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
319 | |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
320 | /** |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
321 | * pidgin_conv_placement_set_current_func: (skip) |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
322 | */ |
| 15882 | 323 | void pidgin_conv_placement_set_current_func(PidginConvPlacementFunc func); |
|
35615
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
324 | |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
325 | /** |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
326 | * pidgin_conv_placement_get_current_func: (skip) |
|
c8a2f2e77bf9
Skip PidginConvPlacementFunc functions from introspection as returning callbacks is not supported
Ankit Vani <a@nevitus.org>
parents:
35610
diff
changeset
|
327 | */ |
| 15882 | 328 | PidginConvPlacementFunc pidgin_conv_placement_get_current_func(void); |
| 11581 | 329 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
330 | G_END_DECLS |
|
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
331 | |
| 15563 | 332 | #endif /* _PIDGIN_CONVERSATION_WINDOW_H_ */ |