Mercurial > pidgin
annotate pidgin/gtkconvwin.h @ 32593:bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
on the conversation window for GTK+ 2.6+. I don't think it works properly
for 2.4<x<2.6 though.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 28 Jul 2009 05:28:46 +0000 |
parents | d446530cb831 |
children | b4f15d6d5b7e |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 /** |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 * @file gtkconvwin.h GTK+ Conversation Window API |
16193
247e421c4fa6
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@wiktel.com>
parents:
15870
diff
changeset
|
3 * @ingroup pidgin |
20074
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
4 */ |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
5 |
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
6 /* pidgin |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 * |
15510 | 8 * Pidgin is the legal property of its developers, whose names are too numerous |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 * to list here. Please refer to the COPYRIGHT file distributed with this |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 * source distribution. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 * This program is free software; you can redistribute it and/or modify |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 * it under the terms of the GNU General Public License as published by |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 * the Free Software Foundation; either version 2 of the License, or |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 * (at your option) any later version. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 * This program is distributed in the hope that it will be useful, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 * GNU General Public License for more details. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 * You should have received a copy of the GNU General Public License |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
23 * along with this program; if not, write to the Free Software |
19681
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16193
diff
changeset
|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 */ |
15501 | 26 #ifndef _PIDGIN_CONVERSATION_WINDOW_H_ |
27 #define _PIDGIN_CONVERSATION_WINDOW_H_ | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
28 |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
29 typedef struct _PidginWindow PidginWindow; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 /************************************************************************** |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
33 * @name Structures |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
34 **************************************************************************/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
35 /*@{*/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
36 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
37 /** |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
38 * A GTK+ representation of a graphical window containing one or more |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
39 * conversations. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
40 */ |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
41 struct _PidginWindow |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
42 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
43 GtkWidget *window; /**< The window. */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 GtkWidget *notebook; /**< The notebook of conversations. */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
45 GList *gtkconvs; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
47 struct |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 { |
32593
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
49 /* Some necessary functions were only added in 2.6.0 */ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
50 GtkWidget *menubar; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
51 |
32593
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
52 #if GTK_CHECK_VERSION(2,6,0) |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
53 GtkAction *view_log; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
54 |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
55 GtkAction *send_file; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
56 GtkAction *add_pounce; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
57 GtkAction *get_info; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
58 GtkAction *invite; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
59 |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
60 GtkAction *alias; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
61 GtkAction *block; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
62 GtkAction *unblock; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
63 GtkAction *add; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
64 GtkAction *remove; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
65 |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
66 GtkAction *insert_link; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
67 GtkAction *insert_image; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
68 |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
69 GtkAction *logging; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
70 GtkAction *sounds; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
71 GtkAction *show_formatting_toolbar; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
72 GtkAction *show_timestamps; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
73 #else |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
74 GtkWidget *view_log; |
26420
5f80ccce8003
Revert unintended space removal.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
26396
diff
changeset
|
75 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
76 GtkWidget *send_file; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
77 GtkWidget *add_pounce; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
78 GtkWidget *get_info; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
79 GtkWidget *invite; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
80 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
81 GtkWidget *alias; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
82 GtkWidget *block; |
15425
c9497aad9fc4
Warmenhoved patch #1397916: "Turns Block button in conv menu into Unblock after blocking" from Glauber de Oliveira Costa (glommer). You know the drill.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15373
diff
changeset
|
83 GtkWidget *unblock; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
84 GtkWidget *add; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
85 GtkWidget *remove; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
86 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
87 GtkWidget *insert_link; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
88 GtkWidget *insert_image; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
89 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 GtkWidget *logging; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
91 GtkWidget *sounds; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
92 GtkWidget *show_formatting_toolbar; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
93 GtkWidget *show_timestamps; |
32593
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
94 #endif |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
95 GtkWidget *show_icon; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 GtkWidget *send_to; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
99 GtkWidget *tray; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
100 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
101 GtkWidget *typing_icon; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
102 |
32592
d446530cb831
Start converting the conversation window to UI manager. The auto-generated
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26420
diff
changeset
|
103 #if GTK_CHECK_VERSION(2,4,0) |
d446530cb831
Start converting the conversation window to UI manager. The auto-generated
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26420
diff
changeset
|
104 GtkUIManager *ui; |
d446530cb831
Start converting the conversation window to UI manager. The auto-generated
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26420
diff
changeset
|
105 #else |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 GtkItemFactory *item_factory; |
32592
d446530cb831
Start converting the conversation window to UI manager. The auto-generated
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26420
diff
changeset
|
107 #endif |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
108 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
109 } menu; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
110 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
111 struct |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
112 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
113 GtkWidget *search; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
114 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
115 } dialogs; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
116 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
117 /* Tab dragging stuff. */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
118 gboolean in_drag; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
119 gboolean in_predrag; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
120 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
121 gint drag_tab; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
122 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
123 gint drag_min_x, drag_max_x, drag_min_y, drag_max_y; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
124 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
125 gint drag_motion_signal; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
126 gint drag_leave_signal; |
26395
e1523f30bdb5
Move these variables to the end to not break ABI.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23812
diff
changeset
|
127 |
26396 | 128 /* Media menu options. */ |
32593
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
129 #if GTK_CHECK_VERSION(2,4,0) |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
130 GtkAction *audio_call; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
131 GtkAction *video_call; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
132 GtkAction *audio_video_call; |
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
133 #else |
26395
e1523f30bdb5
Move these variables to the end to not break ABI.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23812
diff
changeset
|
134 GtkWidget *audio_call; |
e1523f30bdb5
Move these variables to the end to not break ABI.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23812
diff
changeset
|
135 GtkWidget *video_call; |
e1523f30bdb5
Move these variables to the end to not break ABI.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23812
diff
changeset
|
136 GtkWidget *audio_video_call; |
32593
bb7d8b9d8846
Use GtkActions instead of GtkWidgets for the shortcuts to items in the menu
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32592
diff
changeset
|
137 #endif |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
138 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
139 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
140 /*@}*/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
141 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
142 /************************************************************************** |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
143 * @name GTK+ Conversation Window API |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
144 **************************************************************************/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
145 /*@{*/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
146 |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
147 PidginWindow * pidgin_conv_window_new(void); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
148 void pidgin_conv_window_destroy(PidginWindow *win); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
149 GList *pidgin_conv_windows_get_list(void); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
150 void pidgin_conv_window_show(PidginWindow *win); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
151 void pidgin_conv_window_hide(PidginWindow *win); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
152 void pidgin_conv_window_raise(PidginWindow *win); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
153 void pidgin_conv_window_switch_gtkconv(PidginWindow *win, PidginConversation *gtkconv); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
154 void pidgin_conv_window_add_gtkconv(PidginWindow *win, PidginConversation *gtkconv); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
155 void pidgin_conv_window_remove_gtkconv(PidginWindow *win, PidginConversation *gtkconv); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
156 PidginConversation *pidgin_conv_window_get_gtkconv_at_index(const PidginWindow *win, int index); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
157 PidginConversation *pidgin_conv_window_get_active_gtkconv(const PidginWindow *win); |
15822 | 158 PurpleConversation *pidgin_conv_window_get_active_conversation(const PidginWindow *win); |
159 gboolean pidgin_conv_window_is_active_conversation(const PurpleConversation *conv); | |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
160 gboolean pidgin_conv_window_has_focus(PidginWindow *win); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
161 PidginWindow *pidgin_conv_window_get_at_xy(int x, int y); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
162 GList *pidgin_conv_window_get_gtkconvs(PidginWindow *win); |
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15425
diff
changeset
|
163 guint pidgin_conv_window_get_gtkconv_count(PidginWindow *win); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
164 |
15822 | 165 PidginWindow *pidgin_conv_window_first_with_type(PurpleConversationType type); |
166 PidginWindow *pidgin_conv_window_last_with_type(PurpleConversationType type); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
167 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
168 /*@}*/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
169 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
170 /************************************************************************** |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
171 * @name GTK+ Conversation Placement API |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
172 **************************************************************************/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
173 /*@{*/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
174 |
15820 | 175 typedef void (*PidginConvPlacementFunc)(PidginConversation *); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
176 |
15501 | 177 GList *pidgin_conv_placement_get_options(void); |
15820 | 178 void pidgin_conv_placement_add_fnc(const char *id, const char *name, PidginConvPlacementFunc fnc); |
15501 | 179 void pidgin_conv_placement_remove_fnc(const char *id); |
180 const char *pidgin_conv_placement_get_name(const char *id); | |
15820 | 181 PidginConvPlacementFunc pidgin_conv_placement_get_fnc(const char *id); |
182 void pidgin_conv_placement_set_current_func(PidginConvPlacementFunc func); | |
183 PidginConvPlacementFunc pidgin_conv_placement_get_current_func(void); | |
15501 | 184 void pidgin_conv_placement_place(PidginConversation *gtkconv); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
185 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
186 /*@}*/ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
187 |
15501 | 188 #endif /* _PIDGIN_CONVERSATION_WINDOW_H_ */ |