Thu, 11 Nov 2021 20:12:05 -0600
Ran codespell on the libpurple docs that were converted to gi-docgen
Testing Done:
Ran codespell again.
Reviewed at https://reviews.imfreedom.org/r/1127/
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
1 | /* pidgin |
| 11581 | 2 | * |
| 15572 | 3 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 11581 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
| 6 | * | |
| 7 | * This program is free software; you can redistribute it and/or modify | |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16254
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 11581 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
21 | |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
22 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
23 | # error "only <pidgin.h> may be included directly" |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
24 | #endif |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40496
diff
changeset
|
25 | |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
26 | #ifndef _PIDGIN_CONVERSATION_WINDOW_H_ |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
27 | #define _PIDGIN_CONVERSATION_WINDOW_H_ |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
28 | |
|
40496
6941fece679b
phase2 of pidgin.h: move existing file to pidgincore.h
Gary Kramlich <grim@reaperworld.com>
parents:
40477
diff
changeset
|
29 | #include <gtk/gtk.h> |
|
6941fece679b
phase2 of pidgin.h: move existing file to pidgincore.h
Gary Kramlich <grim@reaperworld.com>
parents:
40477
diff
changeset
|
30 | |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
31 | #define PIDGIN_TYPE_CONV_WINDOW (pidgin_conv_window_get_type()) |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
32 | |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
33 | typedef struct _PidginConvWindowMenu PidginConvWindowMenu; |
|
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
34 | typedef struct _PidginConvWindow PidginConvWindow; |
| 11581 | 35 | |
| 36 | ||
| 37 | /************************************************************************** | |
| 35472 | 38 | * Structures |
| 11581 | 39 | **************************************************************************/ |
| 40 | ||
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
41 | struct _PidginConvWindowMenu |
|
34973
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
42 | { |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
43 | GtkUIManager *ui; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
44 | GtkWidget *menubar; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
45 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
46 | GtkAction *view_log; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
47 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
48 | GtkAction *audio_call; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
49 | GtkAction *video_call; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
50 | GtkAction *audio_video_call; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
51 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
52 | GtkAction *send_file; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
53 | GtkAction *get_attention; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
54 | GtkAction *get_info; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
55 | GtkAction *invite; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
56 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
57 | GtkAction *alias; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
58 | GtkAction *block; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
59 | GtkAction *unblock; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
60 | GtkAction *add; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
61 | GtkAction *remove; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
62 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
63 | GtkAction *insert_link; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
64 | GtkAction *insert_image; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
65 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
66 | GtkAction *logging; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
67 | GtkAction *show_formatting_toolbar; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
68 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
69 | GtkWidget *send_to; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
70 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
71 | GtkWidget *tray; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
72 | |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
73 | GtkWidget *typing_icon; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
74 | }; |
|
389cabbfe56a
Removed nested structs in pidgin - this caused an error in g-ir-compiler
Ankit Vani <a@nevitus.org>
parents:
34659
diff
changeset
|
75 | |
| 11581 | 76 | /** |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
77 | * PidginConvWindow: |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
78 | * @window: The window. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
79 | * @notebook: The notebook of conversations. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
80 | * @notebook_menu: The menu on the notebook. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
81 | * @clicked_tab: The menu currently clicked. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
82 | * |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
41086
diff
changeset
|
83 | * A GTK representation of a graphical window containing one or more |
| 11581 | 84 | * conversations. |
| 85 | */ | |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
86 | struct _PidginConvWindow |
| 11581 | 87 | { |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
88 | /*< public >*/ |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
89 | GtkWidget *window; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
90 | GtkWidget *notebook; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
91 | PidginConversation *clicked_tab; |
| 11581 | 92 | GList *gtkconvs; |
| 93 | ||
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
94 | PidginConvWindowMenu *menu; |
| 11581 | 95 | |
| 96 | /* Tab dragging stuff. */ | |
| 97 | gboolean in_drag; | |
| 98 | gboolean in_predrag; | |
| 99 | ||
| 100 | gint drag_tab; | |
| 101 | ||
| 102 | gint drag_min_x, drag_max_x, drag_min_y, drag_max_y; | |
| 103 | ||
| 104 | gint drag_motion_signal; | |
| 105 | gint drag_leave_signal; | |
| 106 | }; | |
| 107 | ||
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
108 | G_BEGIN_DECLS |
|
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
109 | |
| 11581 | 110 | /************************************************************************** |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
41086
diff
changeset
|
111 | * GTK Conversation Window API |
| 11581 | 112 | **************************************************************************/ |
| 113 | ||
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
114 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
115 | * pidgin_conv_window_new: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
116 | * |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
117 | * Returns: A new #PidginConvWindow. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
118 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
119 | PidginConvWindow * pidgin_conv_window_new(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
120 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
121 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
122 | * pidgin_conv_window_destroy: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
123 | * @win: The conversation window to destroy |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
124 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
125 | void pidgin_conv_window_destroy(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
126 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
127 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
128 | * pidgin_conv_windows_get_list: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
129 | * |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
130 | * Returns: (transfer none) (element-type Pidgin.ConvWindow): The list of |
|
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
131 | * windows. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
132 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15486
diff
changeset
|
133 | GList *pidgin_conv_windows_get_list(void); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
134 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
135 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
136 | * pidgin_conv_window_show: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
137 | * @win: The conversation window to show |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
138 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
139 | void pidgin_conv_window_show(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
140 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
141 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
142 | * pidgin_conv_window_hide: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
143 | * @win: The conversation window to hide |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
144 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
145 | void pidgin_conv_window_hide(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
146 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
147 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
148 | * pidgin_conv_window_raise: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
149 | * @win: The conversation window to raise |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
150 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
151 | void pidgin_conv_window_raise(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
152 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
153 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
154 | * pidgin_conv_window_switch_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
155 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
156 | * @gtkconv: The pidgin conversation to switch to |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
157 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
158 | void pidgin_conv_window_switch_gtkconv(PidginConvWindow *win, PidginConversation *gtkconv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
159 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
160 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
161 | * pidgin_conv_window_add_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
162 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
163 | * @gtkconv: The pidgin conversation to add |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
164 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
165 | void pidgin_conv_window_add_gtkconv(PidginConvWindow *win, PidginConversation *gtkconv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
166 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
167 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
168 | * pidgin_conv_window_remove_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
169 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
170 | * @gtkconv: The pidgin conversation to remove |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
171 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
172 | void pidgin_conv_window_remove_gtkconv(PidginConvWindow *win, PidginConversation *gtkconv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
173 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
174 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
175 | * pidgin_conv_window_get_gtkconv_at_index: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
176 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
177 | * @index: The index in the window to get the conversation from |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
178 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
179 | * Returns: The conversation in @win at @index |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
180 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
181 | PidginConversation *pidgin_conv_window_get_gtkconv_at_index(const PidginConvWindow *win, int index); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
182 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
183 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
184 | * pidgin_conv_window_get_active_gtkconv: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
185 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
186 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
187 | * Returns: The active #PidginConversation in @win. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
188 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
189 | PidginConversation *pidgin_conv_window_get_active_gtkconv(const PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
190 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
191 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
192 | * pidgin_conv_window_get_active_conversation: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
193 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
194 | * |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37125
diff
changeset
|
195 | * Returns: (transfer none): The active #PurpleConversation in @win. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
196 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
197 | PurpleConversation *pidgin_conv_window_get_active_conversation(const PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
198 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
199 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
200 | * pidgin_conv_window_is_active_conversation: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
201 | * @conv: The conversation |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
202 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
203 | * Returns: %TRUE if @conv is the active conversation, %FALSE otherwise. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
204 | */ |
| 15884 | 205 | gboolean pidgin_conv_window_is_active_conversation(const PurpleConversation *conv); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
206 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
207 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
208 | * pidgin_conv_window_has_focus: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
209 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
210 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
211 | * Returns: %TRUE if @win has focus, %FALSE otherwise. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
212 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
213 | gboolean pidgin_conv_window_has_focus(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
214 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
215 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
216 | * pidgin_conv_window_get_at_event: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
217 | * @event: The event |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
218 | * |
|
41086
631e6cba8635
Fix typos in Pidgin
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
41035
diff
changeset
|
219 | * Returns: The #PidginConvWindow on which @event occurred. |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
220 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
221 | PidginConvWindow *pidgin_conv_window_get_at_event(GdkEvent *event); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
222 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
223 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
224 | * pidgin_conv_window_get_gtkconvs: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
225 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
226 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
227 | * Returns: (transfer none) (element-type Pidgin.Conversation): A list of |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
228 | * #PidginConversation's in @win. |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
229 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
230 | GList *pidgin_conv_window_get_gtkconvs(PidginConvWindow *win); |
|
35609
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
231 | |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
232 | /** |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
233 | * pidgin_conv_window_get_gtkconv_count: |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
234 | * @win: The conversation window |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
235 | * |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
236 | * Returns: The number of conversations in @win |
|
6bcd0955c8a4
Box PidginWindow and document its API
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
237 | */ |
|
35610
24b06c5e7760
Renamed PidginWindow to PidginConvWindow so that introspection associates it with pidgin_conv_window_* API
Ankit Vani <a@nevitus.org>
parents:
35609
diff
changeset
|
238 | guint pidgin_conv_window_get_gtkconv_count(PidginConvWindow *win); |
| 11581 | 239 | |
|
40477
60fa624d000d
Remove the conversation placement preferences and code.
Gary Kramlich <grim@reaperworld.com>
parents:
40304
diff
changeset
|
240 | void pidgin_conv_placement_place(PidginConversation *conv); |
| 11581 | 241 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
242 | G_END_DECLS |
|
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32696
diff
changeset
|
243 | |
| 15563 | 244 | #endif /* _PIDGIN_CONVERSATION_WINDOW_H_ */ |