Sat, 16 Nov 2019 13:37:56 +0300
Add PurpleAttr to use in lists instead of consecutive key and value elements
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
20036
diff
changeset
|
1 | /* pidgin |
| 4359 | 2 | * |
| 15572 | 3 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 8046 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
|
6646
b9a0b5eb74e6
[gaim-migrate @ 7171]
Christian Hammond <chipx86@chipx86.com>
parents:
6372
diff
changeset
|
6 | * |
| 4359 | 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:
19547
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 4359 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35471
diff
changeset
|
21 | |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35471
diff
changeset
|
22 | #ifndef _PIDGINUTILS_H_ |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35471
diff
changeset
|
23 | #define _PIDGINUTILS_H_ |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
24 | /** |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
25 | * SECTION:gtkutils |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
26 | * @section_id: pidgin-gtkutils |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
27 | * @short_description: <filename>gtkutils.h</filename> |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
28 | * @title: Utility functions |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
29 | */ |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
30 | |
|
5872
754c63f29b77
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5676
diff
changeset
|
31 | #include "gtkconv.h" |
| 15577 | 32 | #include "pidgin.h" |
|
39479
4da996236e9b
Move the MenuAction stuff to the new action.[ch] files
Gary Kramlich <grim@reaperworld.com>
parents:
39175
diff
changeset
|
33 | #include "action.h" |
|
36543
a8c3fecee2d3
Renamed prpl.[ch] to protocol.[ch]
Ankit Vani <a@nevitus.org>
parents:
36459
diff
changeset
|
34 | #include "protocol.h" |
| 12919 | 35 | #include "util.h" |
| 4359 | 36 | |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
37 | typedef enum |
|
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
38 | { |
| 15568 | 39 | PIDGIN_BUTTON_HORIZONTAL, |
| 40 | PIDGIN_BUTTON_VERTICAL | |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
41 | |
| 15568 | 42 | } PidginButtonOrientation; |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
43 | |
|
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
44 | typedef enum |
|
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
45 | { |
| 15568 | 46 | PIDGIN_BUTTON_NONE = 0, |
| 47 | PIDGIN_BUTTON_TEXT, | |
| 48 | PIDGIN_BUTTON_IMAGE, | |
| 49 | PIDGIN_BUTTON_TEXT_IMAGE | |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
50 | |
| 15568 | 51 | } PidginButtonStyle; |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
52 | |
|
15496
76b5ca00a36c
I think this takes care of protocol icons. Note there are still places
Sean Egan <seanegan@pidgin.im>
parents:
15474
diff
changeset
|
53 | typedef enum |
|
76b5ca00a36c
I think this takes care of protocol icons. Note there are still places
Sean Egan <seanegan@pidgin.im>
parents:
15474
diff
changeset
|
54 | { |
|
36545
23b59a16c808
Replaced some _prpl_ stuff with _protocol_
Ankit Vani <a@nevitus.org>
parents:
36544
diff
changeset
|
55 | PIDGIN_PROTOCOL_ICON_SMALL, |
|
23b59a16c808
Replaced some _prpl_ stuff with _protocol_
Ankit Vani <a@nevitus.org>
parents:
36544
diff
changeset
|
56 | PIDGIN_PROTOCOL_ICON_MEDIUM, |
|
23b59a16c808
Replaced some _prpl_ stuff with _protocol_
Ankit Vani <a@nevitus.org>
parents:
36544
diff
changeset
|
57 | PIDGIN_PROTOCOL_ICON_LARGE |
|
36637
9b0109ae118d
Renamed some prpl stuff to protocol stuff.
Ankit Vani <a@nevitus.org>
parents:
36625
diff
changeset
|
58 | } PidginProtocolIconSize; |
|
15496
76b5ca00a36c
I think this takes care of protocol icons. Note there are still places
Sean Egan <seanegan@pidgin.im>
parents:
15474
diff
changeset
|
59 | |
|
8272
c1e38e0ec1d5
[gaim-migrate @ 8996]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8143
diff
changeset
|
60 | #ifndef _WIN32 |
|
c1e38e0ec1d5
[gaim-migrate @ 8996]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8143
diff
changeset
|
61 | typedef enum |
|
c1e38e0ec1d5
[gaim-migrate @ 8996]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8143
diff
changeset
|
62 | { |
| 15568 | 63 | PIDGIN_BROWSER_DEFAULT = 0, |
|
35105
ed127ccd9b9f
Remove the "existing window" option for where to open URLs.
Mark Doliner <mark@kingant.net>
parents:
34274
diff
changeset
|
64 | /* value '1' was used by PIDGIN_BROWSER_CURRENT, which no longer exists */ |
|
ed127ccd9b9f
Remove the "existing window" option for where to open URLs.
Mark Doliner <mark@kingant.net>
parents:
34274
diff
changeset
|
65 | PIDGIN_BROWSER_NEW_WINDOW = 2, |
| 15568 | 66 | PIDGIN_BROWSER_NEW_TAB |
|
8741
61c5482e0948
[gaim-migrate @ 9496]
Christian Hammond <chipx86@chipx86.com>
parents:
8735
diff
changeset
|
67 | |
| 15568 | 68 | } PidginBrowserPlace; |
|
8272
c1e38e0ec1d5
[gaim-migrate @ 8996]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8143
diff
changeset
|
69 | #endif /* _WIN32 */ |
|
c1e38e0ec1d5
[gaim-migrate @ 8996]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8143
diff
changeset
|
70 | |
|
18966
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
71 | typedef struct { |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
72 | gboolean is_buddy; |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
73 | union { |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
74 | PurpleBuddy *buddy; |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
75 | PurpleLogSet *logged_buddy; |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
76 | } entry; |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
77 | } PidginBuddyCompletionEntry; |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
78 | |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
79 | typedef gboolean (*PidginFilterBuddyCompletionEntryFunc) (const PidginBuddyCompletionEntry *completion_entry, gpointer user_data); |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
80 | |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
81 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
82 | 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:
32604
diff
changeset
|
83 | |
| 4359 | 84 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
85 | * pidgin_create_small_button: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
86 | * @image: A button image. |
|
29896
fd9614c33141
Use a small GtkButton instead of the custom "X" for close in various
Kosta Arvanitis <karvanitis@hotmail.com>
parents:
29496
diff
changeset
|
87 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
88 | * Creates a small button |
|
29896
fd9614c33141
Use a small GtkButton instead of the custom "X" for close in various
Kosta Arvanitis <karvanitis@hotmail.com>
parents:
29496
diff
changeset
|
89 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
90 | * Returns: (transfer full): A GtkButton created from the image. |
|
29896
fd9614c33141
Use a small GtkButton instead of the custom "X" for close in various
Kosta Arvanitis <karvanitis@hotmail.com>
parents:
29496
diff
changeset
|
91 | */ |
|
fd9614c33141
Use a small GtkButton instead of the custom "X" for close in various
Kosta Arvanitis <karvanitis@hotmail.com>
parents:
29496
diff
changeset
|
92 | GtkWidget *pidgin_create_small_button(GtkWidget *image); |
|
fd9614c33141
Use a small GtkButton instead of the custom "X" for close in various
Kosta Arvanitis <karvanitis@hotmail.com>
parents:
29496
diff
changeset
|
93 | |
|
fd9614c33141
Use a small GtkButton instead of the custom "X" for close in various
Kosta Arvanitis <karvanitis@hotmail.com>
parents:
29496
diff
changeset
|
94 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
95 | * pidgin_create_window: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
96 | * @title: The window title, or %NULL |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
97 | * @border_width: The window's desired border width |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
98 | * @role: A string indicating what the window is responsible for doing, or %NULL |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
99 | * @resizable: Whether the window should be resizable (%TRUE) or not (%FALSE) |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
100 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
101 | * Creates a new window |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
102 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
103 | * Returns: (transfer full): A new window. |
| 17213 | 104 | */ |
| 105 | GtkWidget *pidgin_create_window(const char *title, guint border_width, const char *role, gboolean resizable); | |
| 106 | ||
| 107 | /** | |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
108 | * pidgin_create_dialog: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
109 | * @title: The window title, or %NULL |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
110 | * @border_width: The window's desired border width |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
111 | * @role: A string indicating what the window is responsible for doing, or %NULL |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
112 | * @resizable: Whether the window should be resizable (%TRUE) or not (%FALSE) |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
113 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
114 | * Creates a new dialog window |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
115 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
116 | * Returns: (transfer full): A new dialog window. |
|
22000
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
117 | */ |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
118 | GtkWidget *pidgin_create_dialog(const char *title, guint border_width, const char *role, gboolean resizable); |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
119 | |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
120 | /** |
|
37589
e498a88e7c00
Factor out video widget creation into pidgin_create_video_widget()
Jakub Adam <jakub.adam@ktknet.cz>
parents:
37406
diff
changeset
|
121 | * pidgin_create_video_widget: |
|
e498a88e7c00
Factor out video widget creation into pidgin_create_video_widget()
Jakub Adam <jakub.adam@ktknet.cz>
parents:
37406
diff
changeset
|
122 | * |
|
e498a88e7c00
Factor out video widget creation into pidgin_create_video_widget()
Jakub Adam <jakub.adam@ktknet.cz>
parents:
37406
diff
changeset
|
123 | * Creates a new drawing area suitable for displaying a video |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
124 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
125 | * Returns: (transfer full): A new drawing area for displaying video. |
|
37589
e498a88e7c00
Factor out video widget creation into pidgin_create_video_widget()
Jakub Adam <jakub.adam@ktknet.cz>
parents:
37406
diff
changeset
|
126 | */ |
|
e498a88e7c00
Factor out video widget creation into pidgin_create_video_widget()
Jakub Adam <jakub.adam@ktknet.cz>
parents:
37406
diff
changeset
|
127 | GtkWidget *pidgin_create_video_widget(void); |
|
e498a88e7c00
Factor out video widget creation into pidgin_create_video_widget()
Jakub Adam <jakub.adam@ktknet.cz>
parents:
37406
diff
changeset
|
128 | |
|
e498a88e7c00
Factor out video widget creation into pidgin_create_video_widget()
Jakub Adam <jakub.adam@ktknet.cz>
parents:
37406
diff
changeset
|
129 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
130 | * pidgin_dialog_get_vbox_with_properties: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
131 | * @dialog: The dialog window |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
132 | * @homogeneous: TRUE if all children are to be given equal space allotments. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
133 | * @spacing: the number of pixels to place by default between children |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
134 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
135 | * Retrieves the main content box (vbox) from a pidgin dialog window |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
136 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
137 | * Returns: (transfer none): The main vbox from @dialog. |
|
22000
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
138 | */ |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
139 | GtkWidget *pidgin_dialog_get_vbox_with_properties(GtkDialog *dialog, gboolean homogeneous, gint spacing); |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
140 | |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
141 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
142 | * pidgin_dialog_get_vbox: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
143 | * @dialog: The dialog window |
|
22000
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
144 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
145 | * Retrieves the main content box (vbox) from a pidgin dialog window |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
146 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
147 | * Returns: (transfer none): the main vbox from @dialog. |
|
22000
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
148 | */ |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
149 | GtkWidget *pidgin_dialog_get_vbox(GtkDialog *dialog); |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
150 | |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
151 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
152 | * pidgin_dialog_add_button: |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
153 | * @dialog: The dialog window |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
154 | * @label: The stock-id or the label for the button |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
155 | * @callback: (scope call): The callback function for the button |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
156 | * @callbackdata: The user data for the callback function |
|
22005
0183020ba2cc
Add a utility function pidgin_dialog_add_button to add buttons to a dialog
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22000
diff
changeset
|
157 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
158 | * Add a button to a dialog created by #pidgin_create_dialog. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
159 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
160 | * Returns: (transfer full): The created button. |
|
22005
0183020ba2cc
Add a utility function pidgin_dialog_add_button to add buttons to a dialog
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22000
diff
changeset
|
161 | */ |
|
0183020ba2cc
Add a utility function pidgin_dialog_add_button to add buttons to a dialog
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22000
diff
changeset
|
162 | GtkWidget *pidgin_dialog_add_button(GtkDialog *dialog, const char *label, |
|
0183020ba2cc
Add a utility function pidgin_dialog_add_button to add buttons to a dialog
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22000
diff
changeset
|
163 | GCallback callback, gpointer callbackdata); |
|
0183020ba2cc
Add a utility function pidgin_dialog_add_button to add buttons to a dialog
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22000
diff
changeset
|
164 | |
|
0183020ba2cc
Add a utility function pidgin_dialog_add_button to add buttons to a dialog
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22000
diff
changeset
|
165 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
166 | * pidgin_dialog_get_action_area: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
167 | * @dialog: The dialog window |
|
22000
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
168 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
169 | * Retrieves the action area (button box) from a pidgin dialog window |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
170 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
171 | * Returns: (transfer none): The action area (button box) from @dialog. |
|
22000
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
172 | */ |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
173 | GtkWidget *pidgin_dialog_get_action_area(GtkDialog *dialog); |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
174 | |
|
5e7708f58d3d
Patch from fmoo. This makes a lot of the windows closeable with Escape. There
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21323
diff
changeset
|
175 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
176 | * pidgin_set_sensitive_if_input: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
177 | * @entry: The text entry widget. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
178 | * @dialog: The dialog containing the text entry widget. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
179 | * |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
25885
diff
changeset
|
180 | * Checks if text has been entered into a GtkTextEntry widget. If |
|
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
25885
diff
changeset
|
181 | * so, the GTK_RESPONSE_OK on the given dialog is set to TRUE. |
|
7751
e0dc18b50181
[gaim-migrate @ 8396]
Mark Doliner <markdoliner@pidgin.im>
parents:
7712
diff
changeset
|
182 | * Otherwise GTK_RESPONSE_OK is set to FALSE. |
|
e0dc18b50181
[gaim-migrate @ 8396]
Mark Doliner <markdoliner@pidgin.im>
parents:
7712
diff
changeset
|
183 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
184 | void pidgin_set_sensitive_if_input(GtkWidget *entry, GtkWidget *dialog); |
|
7751
e0dc18b50181
[gaim-migrate @ 8396]
Mark Doliner <markdoliner@pidgin.im>
parents:
7712
diff
changeset
|
185 | |
|
e0dc18b50181
[gaim-migrate @ 8396]
Mark Doliner <markdoliner@pidgin.im>
parents:
7712
diff
changeset
|
186 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
187 | * pidgin_separator: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
188 | * @menu: The menu to add a separator to. |
| 4687 | 189 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
190 | * Adds a separator to a menu. |
|
17359
6dd3b7730470
Change pidgin_separator to return the separator added to the menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16446
diff
changeset
|
191 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
192 | * Returns: (transfer full): The separator. |
| 4687 | 193 | */ |
|
17359
6dd3b7730470
Change pidgin_separator to return the separator added to the menu.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16446
diff
changeset
|
194 | GtkWidget *pidgin_separator(GtkWidget *menu); |
| 4687 | 195 | |
|
5162
f8293b913629
[gaim-migrate @ 5526]
Mark Doliner <markdoliner@pidgin.im>
parents:
5034
diff
changeset
|
196 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
197 | * pidgin_new_check_item: |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
198 | * @menu: The menu to which to append the check menu item. |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
199 | * @str: The title to use for the newly created menu item. |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
200 | * @cb: (scope call): A function to call when the menu item is activated. |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
201 | * @data: Data to pass to the signal function. |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
202 | * @checked: The initial state of the check item |
| 5906 | 203 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
204 | * Creates a check menu item. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
205 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
206 | * Returns: (transfer full): The newly created menu item. |
| 5906 | 207 | */ |
| 15568 | 208 | GtkWidget *pidgin_new_check_item(GtkWidget *menu, const char *str, |
|
26821
ad2ea323d0f2
Replace the deprecated GtkSignalFunc and GTK_SIGNAL_FUNC with GCallback and
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25889
diff
changeset
|
209 | GCallback cb, gpointer data, gboolean checked); |
|
5162
f8293b913629
[gaim-migrate @ 5526]
Mark Doliner <markdoliner@pidgin.im>
parents:
5034
diff
changeset
|
210 | |
|
f8293b913629
[gaim-migrate @ 5526]
Mark Doliner <markdoliner@pidgin.im>
parents:
5034
diff
changeset
|
211 | /** |
|
37879
38eebb7c9019
Simplify our menuitem creation util function
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37589
diff
changeset
|
212 | * pidgin_new_menu_item: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
213 | * @menu: The menu to which to append the menu item. |
|
37879
38eebb7c9019
Simplify our menuitem creation util function
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37589
diff
changeset
|
214 | * @mnemonic: The title for the menu item. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
215 | * @icon: An icon to place to the left of the menu item, |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
216 | * or %NULL for no icon. |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
217 | * @cb: (scope call): A function to call when the menu item is activated. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
218 | * @data: Data to pass to the signal function. |
|
5162
f8293b913629
[gaim-migrate @ 5526]
Mark Doliner <markdoliner@pidgin.im>
parents:
5034
diff
changeset
|
219 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
220 | * Creates a menu item. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
221 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
222 | * Returns: (transfer full): The newly created menu item. |
|
5162
f8293b913629
[gaim-migrate @ 5526]
Mark Doliner <markdoliner@pidgin.im>
parents:
5034
diff
changeset
|
223 | */ |
|
37879
38eebb7c9019
Simplify our menuitem creation util function
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37589
diff
changeset
|
224 | GtkWidget *pidgin_new_menu_item(GtkWidget *menu, const char *mnemonic, |
|
38eebb7c9019
Simplify our menuitem creation util function
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37589
diff
changeset
|
225 | const char *icon, GCallback cb, gpointer data); |
|
5530
ba1ad464b56f
[gaim-migrate @ 5930]
Christian Hammond <chipx86@chipx86.com>
parents:
5319
diff
changeset
|
226 | |
|
ba1ad464b56f
[gaim-migrate @ 5930]
Christian Hammond <chipx86@chipx86.com>
parents:
5319
diff
changeset
|
227 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
228 | * pidgin_pixbuf_button_from_stock: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
229 | * @text: The text for the button. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
230 | * @icon: The stock icon name. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
231 | * @style: The orientation of the button. |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
232 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
233 | * Creates a button with the specified text and stock icon. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
234 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
235 | * Returns: (transfer full): The button. |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
236 | */ |
| 15568 | 237 | GtkWidget *pidgin_pixbuf_button_from_stock(const char *text, const char *icon, |
| 238 | PidginButtonOrientation style); | |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
239 | |
|
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
240 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
241 | * pidgin_pixbuf_toolbar_button_from_stock: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
242 | * @stock: The stock icon name. |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
243 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
244 | * Creates a toolbar button with the stock icon. |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
245 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
246 | * Returns: (transfer full): The button. |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
247 | */ |
| 15568 | 248 | GtkWidget *pidgin_pixbuf_toolbar_button_from_stock(const char *stock); |
|
6372
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
249 | |
|
27c3152351ce
[gaim-migrate @ 6877]
Christian Hammond <chipx86@chipx86.com>
parents:
5966
diff
changeset
|
250 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
251 | * pidgin_make_frame: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
252 | * @parent: The widget to put the frame into. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
253 | * @title: The title for the frame. |
|
5530
ba1ad464b56f
[gaim-migrate @ 5930]
Christian Hammond <chipx86@chipx86.com>
parents:
5319
diff
changeset
|
254 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
255 | * Creates a HIG preferences frame. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
256 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
257 | * Returns: (transfer full): The vbox to put things into. |
|
5530
ba1ad464b56f
[gaim-migrate @ 5930]
Christian Hammond <chipx86@chipx86.com>
parents:
5319
diff
changeset
|
258 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
259 | GtkWidget *pidgin_make_frame(GtkWidget *parent, const char *title); |
|
5162
f8293b913629
[gaim-migrate @ 5526]
Mark Doliner <markdoliner@pidgin.im>
parents:
5034
diff
changeset
|
260 | |
|
5644
bc4c2f9f2bf8
[gaim-migrate @ 6058]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
261 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
262 | * pidgin_protocol_option_menu_new: |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
263 | * @id: The protocol to select by default. |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
264 | * @cb: (scope call): The callback to call when a protocol is selected. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
265 | * @user_data: Data to pass to the callback function. |
|
5644
bc4c2f9f2bf8
[gaim-migrate @ 6058]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
266 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
267 | * Creates a drop-down option menu filled with protocols. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
268 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
269 | * Returns: (transfer full): The drop-down option menu. |
|
5644
bc4c2f9f2bf8
[gaim-migrate @ 6058]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
270 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
271 | GtkWidget *pidgin_protocol_option_menu_new(const char *id, |
|
5644
bc4c2f9f2bf8
[gaim-migrate @ 6058]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
272 | GCallback cb, |
|
bc4c2f9f2bf8
[gaim-migrate @ 6058]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
273 | gpointer user_data); |
|
bc4c2f9f2bf8
[gaim-migrate @ 6058]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
274 | |
|
5877
37695b88b248
[gaim-migrate @ 6309]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
275 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
276 | * pidgin_protocol_option_menu_get_selected: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
277 | * @optmenu: The drop-down option menu created by |
|
39786
7800f52d0ae6
Rename pidgin_account_option_menu_* to pidgin_account_chooser_*.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39785
diff
changeset
|
278 | * pidgin_protocol_option_menu_new(). |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
279 | * |
|
18672
da4db1be5d98
Patch from nix_nix, adds 'get prpl name from account menu' API
Sean Egan <seanegan@pidgin.im>
parents:
18281
diff
changeset
|
280 | * Gets the currently selected protocol from a protocol drop down box. |
|
da4db1be5d98
Patch from nix_nix, adds 'get prpl name from account menu' API
Sean Egan <seanegan@pidgin.im>
parents:
18281
diff
changeset
|
281 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
282 | * Returns: Returns the protocol ID that is currently selected. |
|
18672
da4db1be5d98
Patch from nix_nix, adds 'get prpl name from account menu' API
Sean Egan <seanegan@pidgin.im>
parents:
18281
diff
changeset
|
283 | */ |
|
da4db1be5d98
Patch from nix_nix, adds 'get prpl name from account menu' API
Sean Egan <seanegan@pidgin.im>
parents:
18281
diff
changeset
|
284 | const char *pidgin_protocol_option_menu_get_selected(GtkWidget *optmenu); |
|
da4db1be5d98
Patch from nix_nix, adds 'get prpl name from account menu' API
Sean Egan <seanegan@pidgin.im>
parents:
18281
diff
changeset
|
285 | |
|
da4db1be5d98
Patch from nix_nix, adds 'get prpl name from account menu' API
Sean Egan <seanegan@pidgin.im>
parents:
18281
diff
changeset
|
286 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
287 | * pidgin_setup_screenname_autocomplete: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
288 | * @entry: The GtkEntry on which to setup autocomplete. |
|
39796
b42070e4ea6e
Rename optmenu -> chooser in other files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39786
diff
changeset
|
289 | * @chooser: A menu for accounts, returned by pidgin_account_chooser_new(). If |
|
b42070e4ea6e
Rename optmenu -> chooser in other files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39786
diff
changeset
|
290 | * @chooser is not %NULL, it'll be updated when a username is chosen |
|
39786
7800f52d0ae6
Rename pidgin_account_option_menu_* to pidgin_account_chooser_*.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39785
diff
changeset
|
291 | * from the autocomplete list. |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
292 | * @filter_func: (scope call): A function for checking if an autocomplete entry |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
293 | * should be shown. This can be %NULL. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
294 | * @user_data: The data to be passed to the filter_func function. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
295 | * |
|
39796
b42070e4ea6e
Rename optmenu -> chooser in other files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39786
diff
changeset
|
296 | * Add autocompletion of screenames to an entry, supporting a filtering |
|
b42070e4ea6e
Rename optmenu -> chooser in other files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39786
diff
changeset
|
297 | * function. |
|
18966
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
298 | */ |
|
39796
b42070e4ea6e
Rename optmenu -> chooser in other files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39786
diff
changeset
|
299 | void pidgin_setup_screenname_autocomplete( |
|
b42070e4ea6e
Rename optmenu -> chooser in other files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39786
diff
changeset
|
300 | GtkWidget *entry, GtkWidget *chooser, |
|
b42070e4ea6e
Rename optmenu -> chooser in other files.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39786
diff
changeset
|
301 | PidginFilterBuddyCompletionEntryFunc filter_func, gpointer user_data); |
|
18966
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
302 | |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
303 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
304 | * pidgin_screenname_autocomplete_default_filter: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
305 | * @completion_entry: The completion entry to filter. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
306 | * @all_accounts: If this is %FALSE, only the autocompletion entries |
|
18966
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
307 | * which belong to an online account will be filtered. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
308 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
309 | * The default filter function for username autocomplete. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
310 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
311 | * Returns: Returns %TRUE if the autocompletion entry is filtered. |
|
18966
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
312 | */ |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
313 | gboolean pidgin_screenname_autocomplete_default_filter(const PidginBuddyCompletionEntry *completion_entry, gpointer all_accounts); |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
314 | |
|
6a0715b72b6b
Screenname auto-completion filtering by Leonardo Fernandes, Fixes #519
Sean Egan <seanegan@pidgin.im>
parents:
18672
diff
changeset
|
315 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
316 | * pidgin_save_accels_cb: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
317 | * |
| 7420 | 318 | * Save menu accelerators callback |
| 319 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
320 | void pidgin_save_accels_cb(GtkAccelGroup *accel_group, guint arg1, |
|
7538
b20dbe9222e2
[gaim-migrate @ 8151]
Christian Hammond <chipx86@chipx86.com>
parents:
7420
diff
changeset
|
321 | GdkModifierType arg2, GClosure *arg3, |
|
b20dbe9222e2
[gaim-migrate @ 8151]
Christian Hammond <chipx86@chipx86.com>
parents:
7420
diff
changeset
|
322 | gpointer data); |
| 7420 | 323 | |
| 324 | /** | |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
325 | * pidgin_save_accels: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
326 | * |
| 7420 | 327 | * Save menu accelerators |
| 328 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
329 | gboolean pidgin_save_accels(gpointer data); |
| 7420 | 330 | |
| 331 | /** | |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
332 | * pidgin_load_accels: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
333 | * |
| 7420 | 334 | * Load menu accelerators |
| 335 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
336 | void pidgin_load_accels(void); |
| 7420 | 337 | |
|
7712
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
338 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
339 | * pidgin_retrieve_user_info: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
340 | * @conn: The connection to get information from. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
341 | * @name: The user to get information about. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
342 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
343 | * Get information about a user. Show immediate feedback. |
|
17360
4b04b2ee459a
Use utility functions to get user info. Closes #964.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17359
diff
changeset
|
344 | */ |
|
4b04b2ee459a
Use utility functions to get user info. Closes #964.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17359
diff
changeset
|
345 | void pidgin_retrieve_user_info(PurpleConnection *conn, const char *name); |
|
4b04b2ee459a
Use utility functions to get user info. Closes #964.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17359
diff
changeset
|
346 | |
|
4b04b2ee459a
Use utility functions to get user info. Closes #964.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17359
diff
changeset
|
347 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
348 | * pidgin_retrieve_user_info_in_chat: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
349 | * @conn: The connection to get information from. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
350 | * @name: The user to get information about. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
351 | * @chatid: The chat id. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
352 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
353 | * Get information about a user in a chat. Show immediate feedback. |
|
18281
f7dd07e1e434
Show immediate feedback when getting information about someone in a chat.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18278
diff
changeset
|
354 | */ |
|
f7dd07e1e434
Show immediate feedback when getting information about someone in a chat.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18278
diff
changeset
|
355 | void pidgin_retrieve_user_info_in_chat(PurpleConnection *conn, const char *name, int chatid); |
|
f7dd07e1e434
Show immediate feedback when getting information about someone in a chat.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18278
diff
changeset
|
356 | |
|
f7dd07e1e434
Show immediate feedback when getting information about someone in a chat.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18278
diff
changeset
|
357 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
358 | * pidgin_parse_x_im_contact: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
359 | * @msg: The MIME message. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
360 | * @all_accounts: If TRUE, check all compatible accounts, online or |
|
7712
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
361 | * offline. If FALSE, check only online accounts. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
362 | * @ret_account: The best guess at a compatible protocol, |
|
7712
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
363 | * based on ret_protocol. If NULL, no account was found. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
364 | * @ret_protocol: The returned protocol type. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
365 | * @ret_username: The returned username. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
366 | * @ret_alias: The returned alias. |
|
7712
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
367 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
368 | * Parses an application/x-im-contact MIME message and returns the |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
369 | * data inside. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
370 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
371 | * Returns: TRUE if the message was parsed for the minimum necessary data. |
|
7712
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
372 | * FALSE otherwise. |
|
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
373 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
374 | gboolean pidgin_parse_x_im_contact(const char *msg, gboolean all_accounts, |
| 15884 | 375 | PurpleAccount **ret_account, |
|
7712
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
376 | char **ret_protocol, char **ret_username, |
|
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
377 | char **ret_alias); |
|
74af9358b808
[gaim-migrate @ 8357]
Christian Hammond <chipx86@chipx86.com>
parents:
7538
diff
changeset
|
378 | |
| 8137 | 379 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
380 | * pidgin_set_accessible_label: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
381 | * @w: The widget that we want to name. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
382 | * @l: A GtkLabel that we want to use as the ATK name for the widget. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
383 | * |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
25885
diff
changeset
|
384 | * Sets an ATK name for a given widget. Also sets the labelled-by |
| 8137 | 385 | * and label-for ATK relationships. |
| 386 | */ | |
|
35720
863f87bfc06e
Smiley manager: cleanup
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35500
diff
changeset
|
387 | void pidgin_set_accessible_label(GtkWidget *w, GtkLabel *l); |
|
8143
ce4b6383777b
[gaim-migrate @ 8851]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8137
diff
changeset
|
388 | |
|
ce4b6383777b
[gaim-migrate @ 8851]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8137
diff
changeset
|
389 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
390 | * pidgin_set_accessible_relations: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
391 | * @w: The widget that we want to label. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
392 | * @l: A GtkLabel that we want to use as the label for the widget. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
393 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
394 | * Sets the labelled-by and label-for ATK relationships. |
|
19547
0c3fcdc6a025
Separate out setting up the labelled-by and label-for ATK relationships
Casey Harkins <charkins@pidgin.im>
parents:
18966
diff
changeset
|
395 | */ |
|
35721
abae078d0525
Fix some warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35720
diff
changeset
|
396 | void pidgin_set_accessible_relations(GtkWidget *w, GtkLabel *l); |
|
19547
0c3fcdc6a025
Separate out setting up the labelled-by and label-for ATK relationships
Casey Harkins <charkins@pidgin.im>
parents:
18966
diff
changeset
|
397 | |
|
0c3fcdc6a025
Separate out setting up the labelled-by and label-for ATK relationships
Casey Harkins <charkins@pidgin.im>
parents:
18966
diff
changeset
|
398 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
399 | * pidgin_menu_position_func_helper: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
400 | * @menu: The menu we are positioning. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
401 | * @x: Address of the gint representing the horizontal position |
|
18238
b38c33d2d71e
Reduce code duplication and keep gtk 2.0 compatibility by making
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18105
diff
changeset
|
402 | * where the menu shall be drawn. This is an output parameter. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
403 | * @y: Address of the gint representing the vertical position |
|
18238
b38c33d2d71e
Reduce code duplication and keep gtk 2.0 compatibility by making
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18105
diff
changeset
|
404 | * where the menu shall be drawn. This is an output parameter. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
405 | * @push_in: This is an output parameter? |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
406 | * @data: Not used by this particular position function. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
407 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
408 | * A helper function for GtkMenuPositionFuncs. This ensures the menu will |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
409 | * be kept on screen if possible. |
|
18238
b38c33d2d71e
Reduce code duplication and keep gtk 2.0 compatibility by making
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18105
diff
changeset
|
410 | */ |
|
b38c33d2d71e
Reduce code duplication and keep gtk 2.0 compatibility by making
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18105
diff
changeset
|
411 | void pidgin_menu_position_func_helper(GtkMenu *menu, gint *x, gint *y, |
|
b38c33d2d71e
Reduce code duplication and keep gtk 2.0 compatibility by making
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18105
diff
changeset
|
412 | gboolean *push_in, gpointer data); |
|
b38c33d2d71e
Reduce code duplication and keep gtk 2.0 compatibility by making
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18105
diff
changeset
|
413 | |
|
b38c33d2d71e
Reduce code duplication and keep gtk 2.0 compatibility by making
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18105
diff
changeset
|
414 | /** |
|
38709
6c80734ca3b4
Add pidgin_menu_popup_at_treeview_selection.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38549
diff
changeset
|
415 | * pidgin_menu_popup_at_treeview_selection: |
|
6c80734ca3b4
Add pidgin_menu_popup_at_treeview_selection.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38549
diff
changeset
|
416 | * @menu: The menu to show. |
|
6c80734ca3b4
Add pidgin_menu_popup_at_treeview_selection.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38549
diff
changeset
|
417 | * @treeview: The treeview to use for positioning. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
418 | * |
|
38709
6c80734ca3b4
Add pidgin_menu_popup_at_treeview_selection.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38549
diff
changeset
|
419 | * Open a menu popup at the position determined by the selection of a given |
|
6c80734ca3b4
Add pidgin_menu_popup_at_treeview_selection.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38549
diff
changeset
|
420 | * treeview. This function is similar to @gtk_menu_popup_at_pointer, but should |
|
6c80734ca3b4
Add pidgin_menu_popup_at_treeview_selection.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38549
diff
changeset
|
421 | * be used when the menu is activated via a keyboard shortcut. |
|
8143
ce4b6383777b
[gaim-migrate @ 8851]
Nathan Fredrickson <nathan@silverorange.com>
parents:
8137
diff
changeset
|
422 | */ |
|
38709
6c80734ca3b4
Add pidgin_menu_popup_at_treeview_selection.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38549
diff
changeset
|
423 | void pidgin_menu_popup_at_treeview_selection(GtkWidget *menu, GtkWidget *treeview); |
| 8137 | 424 | |
|
10061
2833056ea11c
[gaim-migrate @ 11033]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9910
diff
changeset
|
425 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
426 | * pidgin_dnd_file_manage: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
427 | * @sd: GtkSelectionData for managing drag'n'drop |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
428 | * @account: Account to be used (may be NULL if conv is not NULL) |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
429 | * @who: Buddy name (may be NULL if conv is not NULL) |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
430 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
431 | * Manages drag'n'drop of files. |
|
10229
39ffee70c286
[gaim-migrate @ 11364]
Alceste Scalas <alceste.scalas@gmx.net>
parents:
10207
diff
changeset
|
432 | */ |
| 15884 | 433 | void pidgin_dnd_file_manage(GtkSelectionData *sd, PurpleAccount *account, const char *who); |
|
10229
39ffee70c286
[gaim-migrate @ 11364]
Alceste Scalas <alceste.scalas@gmx.net>
parents:
10207
diff
changeset
|
434 | |
| 10483 | 435 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
436 | * pidgin_buddy_icon_get_scale_size: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
437 | * |
|
36625
e6febbd8cbec
Renamed purple_buddy_icon_get_scale_size to purple_buddy_icon_spec_get_scaled_size
Ankit Vani <a@nevitus.org>
parents:
36545
diff
changeset
|
438 | * Convenience wrapper for purple_buddy_icon_spec_get_scaled_size |
| 10483 | 439 | */ |
|
37406
98ec68212b1f
Move PurpleIconScaleRules to BuddyIcon API
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37140
diff
changeset
|
440 | void pidgin_buddy_icon_get_scale_size(GdkPixbuf *buf, PurpleBuddyIconSpec *spec, PurpleBuddyIconScaleFlags rules, int *width, int *height); |
| 10483 | 441 | |
|
12080
2aaca2265a51
[gaim-migrate @ 14377]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12067
diff
changeset
|
442 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
443 | * pidgin_create_protocol_icon: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
444 | * @account: The account. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
445 | * @size: The size of the icon to return. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
446 | * |
|
12080
2aaca2265a51
[gaim-migrate @ 14377]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12067
diff
changeset
|
447 | * Returns the base image to represent the account, based on |
|
2aaca2265a51
[gaim-migrate @ 14377]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12067
diff
changeset
|
448 | * the currently selected theme. |
|
2aaca2265a51
[gaim-migrate @ 14377]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12067
diff
changeset
|
449 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
450 | * Returns: (transfer full): A newly-created pixbuf with a reference count of 1, |
|
13091
b5ed878998dd
[gaim-migrate @ 15452]
Mark Doliner <markdoliner@pidgin.im>
parents:
12919
diff
changeset
|
451 | * or NULL if any of several error conditions occurred: |
|
b5ed878998dd
[gaim-migrate @ 15452]
Mark Doliner <markdoliner@pidgin.im>
parents:
12919
diff
changeset
|
452 | * the file could not be opened, there was no loader |
|
b5ed878998dd
[gaim-migrate @ 15452]
Mark Doliner <markdoliner@pidgin.im>
parents:
12919
diff
changeset
|
453 | * for the file's format, there was not enough memory |
|
b5ed878998dd
[gaim-migrate @ 15452]
Mark Doliner <markdoliner@pidgin.im>
parents:
12919
diff
changeset
|
454 | * to allocate the image buffer, or the image file |
|
b5ed878998dd
[gaim-migrate @ 15452]
Mark Doliner <markdoliner@pidgin.im>
parents:
12919
diff
changeset
|
455 | * contained invalid data. |
|
12080
2aaca2265a51
[gaim-migrate @ 14377]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12067
diff
changeset
|
456 | */ |
|
36637
9b0109ae118d
Renamed some prpl stuff to protocol stuff.
Ankit Vani <a@nevitus.org>
parents:
36625
diff
changeset
|
457 | GdkPixbuf *pidgin_create_protocol_icon(PurpleAccount *account, PidginProtocolIconSize size); |
|
12080
2aaca2265a51
[gaim-migrate @ 14377]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12067
diff
changeset
|
458 | |
|
2aaca2265a51
[gaim-migrate @ 14377]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12067
diff
changeset
|
459 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
460 | * pidgin_create_status_icon: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
461 | * @primitive: The status primitive |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
462 | * @w: The widget to render this |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
463 | * @size: The icon size to render at |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
464 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
465 | * Creates a status icon for a given primitve |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
466 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
467 | * Returns: (transfer full): A GdkPixbuf, created from stock |
|
13091
b5ed878998dd
[gaim-migrate @ 15452]
Mark Doliner <markdoliner@pidgin.im>
parents:
12919
diff
changeset
|
468 | */ |
| 15884 | 469 | GdkPixbuf * pidgin_create_status_icon(PurpleStatusPrimitive primitive, GtkWidget *w, const char *size); |
|
13091
b5ed878998dd
[gaim-migrate @ 15452]
Mark Doliner <markdoliner@pidgin.im>
parents:
12919
diff
changeset
|
470 | |
|
26846
d5546da39e44
Use stock-id in the status editor window too.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26821
diff
changeset
|
471 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
472 | * pidgin_stock_id_from_status_primitive: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
473 | * @prim: The status primitive |
|
26846
d5546da39e44
Use stock-id in the status editor window too.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26821
diff
changeset
|
474 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
475 | * Returns an appropriate stock-id for a status primitive. |
|
26846
d5546da39e44
Use stock-id in the status editor window too.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26821
diff
changeset
|
476 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
477 | * Returns: The stock-id |
|
26846
d5546da39e44
Use stock-id in the status editor window too.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26821
diff
changeset
|
478 | */ |
|
d5546da39e44
Use stock-id in the status editor window too.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26821
diff
changeset
|
479 | const char *pidgin_stock_id_from_status_primitive(PurpleStatusPrimitive prim); |
|
10229
39ffee70c286
[gaim-migrate @ 11364]
Alceste Scalas <alceste.scalas@gmx.net>
parents:
10207
diff
changeset
|
480 | |
| 12919 | 481 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
482 | * pidgin_stock_id_from_presence: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
483 | * @presence: The presence. |
|
26894
a48de595d2ee
New API to get the stock-id for a presence.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26846
diff
changeset
|
484 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
485 | * Returns an appropriate stock-id for a PurplePresence. |
|
26894
a48de595d2ee
New API to get the stock-id for a presence.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26846
diff
changeset
|
486 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
487 | * Returns: The stock-id |
|
26894
a48de595d2ee
New API to get the stock-id for a presence.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26846
diff
changeset
|
488 | */ |
|
a48de595d2ee
New API to get the stock-id for a presence.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26846
diff
changeset
|
489 | const char *pidgin_stock_id_from_presence(PurplePresence *presence); |
|
a48de595d2ee
New API to get the stock-id for a presence.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26846
diff
changeset
|
490 | |
|
a48de595d2ee
New API to get the stock-id for a presence.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26846
diff
changeset
|
491 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
492 | * pidgin_append_menu_action: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
493 | * @menu: The menu to append to. |
|
39481
4db28449567d
Rename PurpleMenuAction to PurpleActionMenu
Gary Kramlich <grim@reaperworld.com>
parents:
39479
diff
changeset
|
494 | * @act: The PurpleActionMenu to append. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
495 | * @gobject: The object to be passed to the action callback. |
|
17363
f16ea1b259e2
Use purple_conversation_extended_menu to add items in the conversation
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17360
diff
changeset
|
496 | * |
|
39481
4db28449567d
Rename PurpleMenuAction to PurpleActionMenu
Gary Kramlich <grim@reaperworld.com>
parents:
39479
diff
changeset
|
497 | * Append a PurpleActionMenu to a menu. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
498 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
499 | * Returns: (transfer full): The menuitem added. |
| 12919 | 500 | */ |
|
39481
4db28449567d
Rename PurpleMenuAction to PurpleActionMenu
Gary Kramlich <grim@reaperworld.com>
parents:
39479
diff
changeset
|
501 | GtkWidget *pidgin_append_menu_action(GtkWidget *menu, PurpleActionMenu *act, |
| 12919 | 502 | gpointer gobject); |
| 503 | ||
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
504 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
505 | * pidgin_set_cursor: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
506 | * @widget: The widget for which to set the mouse pointer |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
507 | * @cursor_type: The type of cursor to set |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
508 | * |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
509 | * Sets the mouse pointer for a GtkWidget. |
|
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
510 | * |
|
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
511 | * After setting the cursor, the display is flushed, so the change will |
|
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
512 | * take effect immediately. |
|
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
513 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
514 | * If the window for @widget is %NULL, this function simply returns. |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
515 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
516 | void pidgin_set_cursor(GtkWidget *widget, GdkCursorType cursor_type); |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
517 | |
|
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
518 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
519 | * pidgin_clear_cursor: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
520 | * |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
521 | * Sets the mouse point for a GtkWidget back to that of its parent window. |
|
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
522 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
523 | * If @widget is %NULL, this function simply returns. |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
524 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
525 | * If the window for @widget is %NULL, this function simply returns. |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
526 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
527 | * Note: The display is not flushed from this function. |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
528 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
529 | void pidgin_clear_cursor(GtkWidget *widget); |
|
13435
4c22eed6e0a6
[gaim-migrate @ 15809]
Richard Laager <rlaager@pidgin.im>
parents:
13361
diff
changeset
|
530 | |
| 14195 | 531 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
532 | * pidgin_buddy_icon_chooser_new: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
533 | * @parent: The parent window |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
534 | * @callback: The callback to call when the window is closed. If the user chose an icon, the char* argument will point to its path |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
535 | * @data: Data to pass to @callback |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
536 | * |
| 14195 | 537 | * Creates a File Selection widget for choosing a buddy icon |
| 538 | * | |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
539 | * Returns: (transfer full): The file dialog |
| 14195 | 540 | */ |
|
39930
411f3df51bcd
Convert to GtkFileChooserNative.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39796
diff
changeset
|
541 | GtkFileChooserNative *pidgin_buddy_icon_chooser_new( |
|
411f3df51bcd
Convert to GtkFileChooserNative.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39796
diff
changeset
|
542 | GtkWindow *parent, void (*callback)(const char *, gpointer), |
|
411f3df51bcd
Convert to GtkFileChooserNative.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39796
diff
changeset
|
543 | gpointer data); |
| 14195 | 544 | |
| 545 | /** | |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
546 | * pidgin_convert_buddy_icon: |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
547 | * @protocol: The protocol to convert the icon |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
548 | * @path: The path of a file to convert |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
549 | * @len: If not %NULL, the length of the returned data will be set here. |
|
16446
3a6ed6c3400e
Fix the custom icon stuff, and various memory leaks. At this point, custom
Richard Laager <rlaager@pidgin.im>
parents:
16262
diff
changeset
|
550 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
551 | * Converts a buddy icon to the required size and format |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
552 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
553 | * Returns: The converted image data, or %NULL if an error occurred. |
| 14195 | 554 | */ |
|
36544
1bf8b6ef5aea
Renamed PurplePluginProtocolInfo to PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36543
diff
changeset
|
555 | gpointer pidgin_convert_buddy_icon(PurpleProtocol *protocol, const char *path, size_t *len); |
| 14195 | 556 | |
| 15084 | 557 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
558 | * PidginUtilMiniDialogCallback: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
559 | * |
|
21323
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
560 | * The type of callbacks passed to pidgin_make_mini_dialog(). |
|
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
561 | */ |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
38743
diff
changeset
|
562 | typedef void (*PidginUtilMiniDialogCallback)(gpointer user_data, GtkButton *button); |
|
21323
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
563 | |
|
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
564 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
565 | * pidgin_make_mini_dialog: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
566 | * @handle: The #PurpleConnection to which this mini-dialog |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
567 | * refers, or %NULL if it does not refer to a |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
568 | * connection. If @handle is supplied, the mini-dialog |
|
21304
ccd8db75dbc2
Improve the documentation of pidgin_make_mini_dialog().
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
569 | * will be automatically removed and destroyed when the |
|
ccd8db75dbc2
Improve the documentation of pidgin_make_mini_dialog().
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
570 | * connection signs off. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
571 | * @stock_id: The ID of a stock image to use in the mini dialog. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
572 | * @primary: The primary text |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
573 | * @secondary: The secondary text, or %NULL for no description. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
574 | * @user_data: Data to pass to the callbacks |
| 35419 | 575 | * @...: a %NULL-terminated list of button labels |
| 576 | * (<type>char *</type>) and callbacks | |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
577 | * (#PidginUtilMiniDialogCallback). @user_data will be |
|
21323
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
578 | * passed as the first argument. (Callbacks may lack a |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
579 | * second argument, or be %NULL to take no action when |
|
21323
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
580 | * the corresponding button is pressed.) When a button is |
|
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
581 | * pressed, the callback (if any) will be called; when |
|
0ad61638683f
Create a PidginMiniDialog widget; make pidgin_make_mini_dialog() in gtkutils.c
Will Thompson <resiak@pidgin.im>
parents:
21310
diff
changeset
|
582 | * the callback returns the dialog will be destroyed. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
583 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
584 | * Creates a #PidginMiniDialog, tied to a #PurpleConnection, suitable for |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
585 | * embedding in the buddy list scrollbook with pidgin_blist_add_alert(). |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
586 | * |
| 35471 | 587 | * See <link linkend="pidgin-pidginstock">Stock Resources</link>. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
588 | * |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
38743
diff
changeset
|
589 | * Returns: (transfer full): A #PidginMiniDialog, suitable for passing to |
|
21304
ccd8db75dbc2
Improve the documentation of pidgin_make_mini_dialog().
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
590 | * pidgin_blist_add_alert(). |
| 15094 | 591 | */ |
|
21310
de88118624f0
Fix the return type of pidgin_make_mini_dialog() to be GtkWidget * rather than
Will Thompson <resiak@pidgin.im>
parents:
21306
diff
changeset
|
592 | GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle, |
|
de88118624f0
Fix the return type of pidgin_make_mini_dialog() to be GtkWidget * rather than
Will Thompson <resiak@pidgin.im>
parents:
21306
diff
changeset
|
593 | const char* stock_id, const char *primary, const char *secondary, |
|
22897
93d7ad160755
Add a utility function to create a pixbuf from a stored image.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22306
diff
changeset
|
594 | void *user_data, ...) G_GNUC_NULL_TERMINATED; |
|
15177
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
595 | |
|
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
596 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
597 | * pidgin_make_mini_dialog_with_custom_icon: |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
598 | * @custom_icon: A custom GdkPixbuf to use. |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
599 | * @primary: The primary text |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
600 | * @secondary: The secondary text, or %NULL for no description. |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
601 | * @user_data: Data to pass to the callbacks |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
602 | * @...: a %NULL-terminated list of button labels |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
603 | * (<type>char *</type>) and callbacks |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
604 | * (#PidginUtilMiniDialogCallback). @user_data will be |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
605 | * passed as the first argument. (Callbacks may lack a |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
606 | * second argument, or be %NULL to take no action when |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
607 | * the corresponding button is pressed.) When a button is |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
608 | * pressed, the callback (if any) will be called; when |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
609 | * the callback returns the dialog will be destroyed. |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
610 | * |
|
30635
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
611 | * Does exactly what pidgin_make_mini_dialog() does, except you can specify |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
612 | * a custom icon for the dialog. |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
613 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
614 | * Returns: (transfer full): A #PidginMiniDialog, suitable for passing to |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
615 | * pidgin_blist_add_alert(). |
|
30635
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
616 | */ |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
617 | GtkWidget *pidgin_make_mini_dialog_with_custom_icon(PurpleConnection *gc, |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
618 | GdkPixbuf *custom_icon, |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
619 | const char *primary, |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
620 | const char *secondary, |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
621 | void *user_data, |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
622 | ...) G_GNUC_NULL_TERMINATED; |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
623 | |
|
e9893ecc9057
Display the protocol icon for the authorization request dialog
Ivan Komarov <ivan.komarov@pidgin.im>
parents:
29896
diff
changeset
|
624 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
625 | * pidgin_tree_view_search_equal_func: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
626 | * |
|
15177
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
627 | * This is a callback function to be used for Ctrl+F searching in treeviews. |
|
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
628 | * Sample Use: |
|
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
629 | * gtk_tree_view_set_search_equal_func(treeview, |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
630 | * pidgin_tree_view_search_equal_func, |
|
15177
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
631 | * search_data, search_data_destroy_cb); |
|
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
632 | * |
|
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
633 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
634 | gboolean pidgin_tree_view_search_equal_func(GtkTreeModel *model, gint column, |
|
15177
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
635 | const gchar *key, GtkTreeIter *iter, gpointer data); |
|
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
636 | |
| 15403 | 637 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
638 | * pidgin_set_urgent: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
639 | * @window: The window to draw attention to |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
640 | * @urgent: Whether to set the urgent hint or not |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
641 | * |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
25885
diff
changeset
|
642 | * Sets or resets a window to 'urgent,' by setting the URGENT hint in X |
| 15403 | 643 | * or blinking in the win32 taskbar |
| 644 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
645 | void pidgin_set_urgent(GtkWindow *window, gboolean urgent); |
| 15403 | 646 | |
| 15474 | 647 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
648 | * pidgin_get_dim_grey_string: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
649 | * @widget: The widget to return dim grey for |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
650 | * |
|
18278
06bf54cee797
Chat topics in status line of chat infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18275
diff
changeset
|
651 | * Returns an HTML-style color string for use as a dim grey |
|
06bf54cee797
Chat topics in status line of chat infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18275
diff
changeset
|
652 | * string |
|
06bf54cee797
Chat topics in status line of chat infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18275
diff
changeset
|
653 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
654 | * Returns: The dim grey string |
|
18278
06bf54cee797
Chat topics in status line of chat infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18275
diff
changeset
|
655 | */ |
|
06bf54cee797
Chat topics in status line of chat infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18275
diff
changeset
|
656 | const char *pidgin_get_dim_grey_string(GtkWidget *widget); |
|
06bf54cee797
Chat topics in status line of chat infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18275
diff
changeset
|
657 | |
|
20036
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
658 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
659 | * pidgin_text_combo_box_entry_new: |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
660 | * @default_item: Initial contents of GtkEntry |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
661 | * @items: (element-type utf8): GList containing strings to add to GtkComboBox |
|
20036
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
662 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
663 | * Create a simple text GtkComboBoxEntry equivalent |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
664 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
665 | * Returns: (transfer full): A newly created text GtkComboBox containing a GtkEntry |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
666 | * child. |
|
20036
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
667 | */ |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
668 | GtkWidget *pidgin_text_combo_box_entry_new(const char *default_item, GList *items); |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
669 | |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
670 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
671 | * pidgin_text_combo_box_entry_get_text: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
672 | * @widget: The simple text GtkComboBoxEntry equivalent widget |
|
20036
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
673 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
674 | * Retrieve the text from the entry of the simple text GtkComboBoxEntry equivalent |
|
20036
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
675 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
676 | * Returns: The text in the widget's entry. It must not be freed |
|
20036
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
677 | */ |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
678 | const char *pidgin_text_combo_box_entry_get_text(GtkWidget *widget); |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
679 | |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
680 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
681 | * pidgin_text_combo_box_entry_set_text: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
682 | * @widget: The simple text GtkComboBoxEntry equivalent widget |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
683 | * @text: The text to set |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
684 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
685 | * Set the text in the entry of the simple text GtkComboBoxEntry equivalent |
|
20036
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
686 | */ |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
687 | void pidgin_text_combo_box_entry_set_text(GtkWidget *widget, const char *text); |
|
3bdbea94ad0c
Part of #1332 to introduce pidgin_text_combo_box_new_entry and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19862
diff
changeset
|
688 | |
|
22007
386062b58867
Try to make a window transient for a suitable parent window. This currently
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22005
diff
changeset
|
689 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
690 | * pidgin_auto_parent_window: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
691 | * @window: The window to make transient. |
|
22007
386062b58867
Try to make a window transient for a suitable parent window. This currently
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22005
diff
changeset
|
692 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
693 | * Automatically make a window transient to a suitable parent window. |
|
22007
386062b58867
Try to make a window transient for a suitable parent window. This currently
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22005
diff
changeset
|
694 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
695 | * Returns: Whether the window was made transient or not. |
|
22007
386062b58867
Try to make a window transient for a suitable parent window. This currently
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22005
diff
changeset
|
696 | */ |
|
386062b58867
Try to make a window transient for a suitable parent window. This currently
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22005
diff
changeset
|
697 | gboolean pidgin_auto_parent_window(GtkWidget *window); |
|
386062b58867
Try to make a window transient for a suitable parent window. This currently
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22005
diff
changeset
|
698 | |
|
22131
12b395dc8c59
Remove a lot of duplication from a lot of places. Closes #4558.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22102
diff
changeset
|
699 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
700 | * pidgin_add_widget_to_vbox: |
|
37994
11829debec7a
Replace Gtk[HV]Box with GtkBox.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37879
diff
changeset
|
701 | * @vbox: The vertically-oriented GtkBox to add the widget to. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
702 | * @widget_label: The label to give the widget, can be %NULL. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
703 | * @sg: The GtkSizeGroup to add the label to, can be %NULL. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
704 | * @widget: The GtkWidget to add. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
705 | * @expand: Whether to expand the widget horizontally. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
706 | * @p_label: Place to store a pointer to the GtkLabel, or %NULL if you don't care. |
|
22131
12b395dc8c59
Remove a lot of duplication from a lot of places. Closes #4558.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22102
diff
changeset
|
707 | * |
|
37994
11829debec7a
Replace Gtk[HV]Box with GtkBox.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37879
diff
changeset
|
708 | * Add a labelled widget to a GtkBox |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
709 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
710 | * Returns: (transfer full): A GtkBox already added to the GtkBox containing the GtkLabel and the GtkWidget. |
|
22131
12b395dc8c59
Remove a lot of duplication from a lot of places. Closes #4558.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22102
diff
changeset
|
711 | */ |
|
12b395dc8c59
Remove a lot of duplication from a lot of places. Closes #4558.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22102
diff
changeset
|
712 | GtkWidget *pidgin_add_widget_to_vbox(GtkBox *vbox, const char *widget_label, GtkSizeGroup *sg, GtkWidget *widget, gboolean expand, GtkWidget **p_label); |
|
12b395dc8c59
Remove a lot of duplication from a lot of places. Closes #4558.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22102
diff
changeset
|
713 | |
|
22897
93d7ad160755
Add a utility function to create a pixbuf from a stored image.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22306
diff
changeset
|
714 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
715 | * pidgin_pixbuf_from_data: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
716 | * @buf: The raw binary image data. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
717 | * @count: The length of buf in bytes. |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
718 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
719 | * Create a GdkPixbuf from a chunk of image data. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
720 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
721 | * Returns: (transfer full): A GdkPixbuf created from the image data, or NULL if |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
722 | * there was an error parsing the data. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
723 | */ |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
724 | GdkPixbuf *pidgin_pixbuf_from_data(const guchar *buf, gsize count); |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
725 | |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
726 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
727 | * pidgin_pixbuf_anim_from_data: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
728 | * @buf: The raw binary image data. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
729 | * @count: The length of buf in bytes. |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
730 | * |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
731 | * Create a GdkPixbufAnimation from a chunk of image data. |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
732 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
733 | * Returns: (transfer full): A GdkPixbufAnimation created from the image data, or NULL if |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
734 | * there was an error parsing the data. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
735 | */ |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
736 | GdkPixbufAnimation *pidgin_pixbuf_anim_from_data(const guchar *buf, gsize count); |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
737 | |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
738 | /** |
|
35812
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
739 | * pidgin_pixbuf_from_image: |
|
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
740 | * @image: a PurpleImage. |
|
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
741 | * |
|
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
742 | * Create a GdkPixbuf from a PurpleImage. |
|
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
743 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
744 | * Returns: (transfer full): a GdkPixbuf created from the @image. |
|
35812
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
745 | */ |
|
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
746 | GdkPixbuf * |
|
48c6ee645ca1
Imgstore vs PurpleImage: rip and fix
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35766
diff
changeset
|
747 | pidgin_pixbuf_from_image(PurpleImage *image); |
|
22897
93d7ad160755
Add a utility function to create a pixbuf from a stored image.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22306
diff
changeset
|
748 | |
|
24674
36bf974a7d78
Allow plugins to specify custom link types to the GtkIMHtml widget.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
24569
diff
changeset
|
749 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
750 | * pidgin_pixbuf_new_from_file: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
751 | * @filename: Name of file to load, in the GLib file name encoding |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
752 | * |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
753 | * Helper function that calls gdk_pixbuf_new_from_file() and checks both |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
754 | * the return code and the GError and returns NULL if either one failed. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
755 | * |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
756 | * The gdk-pixbuf documentation implies that it is sufficient to check |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
757 | * the return value of gdk_pixbuf_new_from_file() to determine |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
758 | * whether the image was able to be loaded. However, this is not the case |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
759 | * with gdk-pixbuf 2.23.3 and probably many earlier versions. In some |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
760 | * cases a GdkPixbuf object is returned that will cause some operations |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
761 | * (like gdk_pixbuf_scale_simple()) to rapidly consume memory in an |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
762 | * infinite loop. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
763 | * |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
764 | * This function shouldn't be necessary once Pidgin requires a version of |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
765 | * gdk-pixbuf where the aforementioned bug is fixed. However, it might be |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
766 | * nice to keep this function around for the debug message that it logs. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
767 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
768 | * Returns: (transfer full): The GdkPixbuf if successful. Otherwise NULL is returned and |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
769 | * a warning is logged. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
770 | */ |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
771 | GdkPixbuf *pidgin_pixbuf_new_from_file(const char *filename); |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
772 | |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
773 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
774 | * pidgin_pixbuf_new_from_file_at_size: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
775 | * @filename: Name of file to load, in the GLib file name encoding |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
776 | * @width: The width the image should have or -1 to not constrain the width |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
777 | * @height: The height the image should have or -1 to not constrain the height |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
778 | * |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
779 | * Helper function that calls gdk_pixbuf_new_from_file_at_size() and checks |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
780 | * both the return code and the GError and returns NULL if either one failed. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
781 | * |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
782 | * The gdk-pixbuf documentation implies that it is sufficient to check |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
783 | * the return value of gdk_pixbuf_new_from_file_at_size() to determine |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
784 | * whether the image was able to be loaded. However, this is not the case |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
785 | * with gdk-pixbuf 2.23.3 and probably many earlier versions. In some |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
786 | * cases a GdkPixbuf object is returned that will cause some operations |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
787 | * (like gdk_pixbuf_scale_simple()) to rapidly consume memory in an |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
788 | * infinite loop. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
789 | * |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
790 | * This function shouldn't be necessary once Pidgin requires a version of |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
791 | * gdk-pixbuf where the aforementioned bug is fixed. However, it might be |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
792 | * nice to keep this function around for the debug message that it logs. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
793 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
794 | * Returns: (transfer full): The GdkPixbuf if successful. Otherwise NULL is returned and |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
795 | * a warning is logged. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
796 | */ |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
797 | GdkPixbuf *pidgin_pixbuf_new_from_file_at_size(const char *filename, int width, int height); |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
798 | |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
799 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
800 | * pidgin_pixbuf_new_from_file_at_scale: |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
801 | * @filename: Name of file to load, in the GLib file name encoding |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
802 | * @width: The width the image should have or -1 to not constrain the width |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
803 | * @height: The height the image should have or -1 to not constrain the height |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
804 | * @preserve_aspect_ratio: TRUE to preserve the image's aspect ratio |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
805 | * |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
806 | * Helper function that calls gdk_pixbuf_new_from_file_at_scale() and checks |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
807 | * both the return code and the GError and returns NULL if either one failed. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
808 | * |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
809 | * The gdk-pixbuf documentation implies that it is sufficient to check |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
810 | * the return value of gdk_pixbuf_new_from_file_at_scale() to determine |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
811 | * whether the image was able to be loaded. However, this is not the case |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
812 | * with gdk-pixbuf 2.23.3 and probably many earlier versions. In some |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
813 | * cases a GdkPixbuf object is returned that will cause some operations |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
814 | * (like gdk_pixbuf_scale_simple()) to rapidly consume memory in an |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
815 | * infinite loop. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
816 | * |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
817 | * This function shouldn't be necessary once Pidgin requires a version of |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
818 | * gdk-pixbuf where the aforementioned bug is fixed. However, it might be |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
819 | * nice to keep this function around for the debug message that it logs. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
820 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
821 | * Returns: (transfer full): The GdkPixbuf if successful. Otherwise NULL is returned and |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
822 | * a warning is logged. |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
823 | */ |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
824 | GdkPixbuf *pidgin_pixbuf_new_from_file_at_scale(const char *filename, int width, int height, gboolean preserve_aspect_ratio); |
|
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
825 | |
|
35766
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
826 | /** |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
827 | * pidgin_pixbuf_scale_down: |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
828 | * @src: The source image. |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
829 | * @max_width: Maximum width in px. |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
830 | * @max_height: Maximum height in px. |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
831 | * @interp_type: Interpolation method. |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
832 | * @preserve_ratio: %TRUE to preserve image's aspect ratio. |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
833 | * |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
834 | * Scales the image to the desired dimensions. If image is smaller, it will be |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
835 | * returned without modifications. |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
836 | * |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
837 | * If new image is created, @src reference cound will be decreased and new image |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
838 | * with a ref count of 1 will be returned. |
|
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
839 | * |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
840 | * Returns: (transfer full): The image with proper sizing. %NULL in case of error. |
|
35766
f29bb25cfbd8
Smileys: fill comments for old files
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35748
diff
changeset
|
841 | */ |
|
35735
39ba84113a68
Smiley manager: fill TODOs, do some polishing
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35721
diff
changeset
|
842 | GdkPixbuf * |
|
39ba84113a68
Smiley manager: fill TODOs, do some polishing
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35721
diff
changeset
|
843 | pidgin_pixbuf_scale_down(GdkPixbuf *src, guint max_width, guint max_height, |
|
39ba84113a68
Smiley manager: fill TODOs, do some polishing
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35721
diff
changeset
|
844 | GdkInterpType interp_type, gboolean preserve_ratio); |
|
39ba84113a68
Smiley manager: fill TODOs, do some polishing
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35721
diff
changeset
|
845 | |
|
31889
96183796df0c
Start looking at the GError parameter every time we call these functions:
Mark Doliner <markdoliner@pidgin.im>
parents:
31584
diff
changeset
|
846 | /** |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
847 | * pidgin_make_scrollable: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
848 | * @child: The child widget |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
849 | * @hscrollbar_policy: Horizontal scrolling policy |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
850 | * @vscrollbar_policy: Vertical scrolling policy |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
851 | * @shadow_type: Shadow type |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
852 | * @width: Desired widget width, or -1 for default |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35105
diff
changeset
|
853 | * @height: Desired widget height, or -1 for default |
|
35405
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
854 | * |
|
d3f9e6dad44b
Convert docs from doxygen to gtk-doc format for UI headers that change in .plugins
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
855 | * Add scrollbars to a widget |
|
38743
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
856 | * |
|
61e429efe744
A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents:
38709
diff
changeset
|
857 | * Returns: (transfer full): A scrolled window with @child packed inside of it. |
|
31321
1fef3832cfa2
Add pidgin_make_scrollable and use it. Cleans up a bunch of duplicate code. Net code loss of 180 lines. Fixes #13073.
Gabriel Schulhof <nix@go-nix.ca>
parents:
30682
diff
changeset
|
858 | */ |
|
1fef3832cfa2
Add pidgin_make_scrollable and use it. Cleans up a bunch of duplicate code. Net code loss of 180 lines. Fixes #13073.
Gabriel Schulhof <nix@go-nix.ca>
parents:
30682
diff
changeset
|
859 | GtkWidget *pidgin_make_scrollable(GtkWidget *child, GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy, GtkShadowType shadow_type, int width, int height); |
|
1fef3832cfa2
Add pidgin_make_scrollable and use it. Cleans up a bunch of duplicate code. Net code loss of 180 lines. Fixes #13073.
Gabriel Schulhof <nix@go-nix.ca>
parents:
30682
diff
changeset
|
860 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
861 | 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:
32604
diff
changeset
|
862 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15496
diff
changeset
|
863 | #endif /* _PIDGINUTILS_H_ */ |
|
15177
8b6c66e09388
[gaim-migrate @ 17901]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15094
diff
changeset
|
864 |