finch/libgnt/gntwm.h

Thu, 06 Feb 2014 22:49:40 +0530

author
Ankit Vani <a@nevitus.org>
date
Thu, 06 Feb 2014 22:49:40 +0530
branch
gtkdoc-conversion
changeset 35480
8d853ab9225c
parent 35477
5036e4cd8a46
child 35482
b3701725f5c1
child 37077
d6404f69bf6c
permissions
-rw-r--r--

Fix crash when scanning libgnt

18358
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18190
diff changeset
1 /*
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
2 * GNT - The GLib Ncurses Toolkit
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
3 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
4 * GNT is the legal property of its developers, whose names are too numerous
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
6 * source distribution.
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
7 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
8 * This library is free software; you can redistribute it and/or modify
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
9 * it under the terms of the GNU General Public License as published by
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
11 * (at your option) any later version.
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
12 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
13 * This program is distributed in the hope that it will be useful,
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
16 * GNU General Public License for more details.
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
17 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
18 * You should have received a copy of the GNU General Public License
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
19 * 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: 18826
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
21 */
35446
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35423
diff changeset
22 /**
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35423
diff changeset
23 * SECTION:gntwm
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35423
diff changeset
24 * @section_id: libgnt-gntwm
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35423
diff changeset
25 * @short_description: <filename>gntwm.h</filename>
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35423
diff changeset
26 * @title: Window-manager API
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35423
diff changeset
27 */
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
28
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
29 #ifndef GNTWM_H
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
30 #define GNTWM_H
14397
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
31
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
32 #include "gntwidget.h"
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
33 #include "gntmenu.h"
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
34 #include "gntws.h"
14397
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
35
15012
4366b2b87b55 [gaim-migrate @ 17723]
Mark Doliner <markdoliner@pidgin.im>
parents: 14962
diff changeset
36 #include <panel.h>
16041
f8e334763348 sf patch #1691784, from William Ehlhardt
Mark Doliner <markdoliner@pidgin.im>
parents: 15991
diff changeset
37 #include <time.h>
15012
4366b2b87b55 [gaim-migrate @ 17723]
Mark Doliner <markdoliner@pidgin.im>
parents: 14962
diff changeset
38
35379
ea1a0327001e Rename _get_gtype() functions in libgnt to _get_type()
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
39 #define GNT_TYPE_WM (gnt_wm_get_type())
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
40 #define GNT_WM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WM, GntWM))
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
41 #define GNT_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_WM, GntWMClass))
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
42 #define GNT_IS_WM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WM))
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
43 #define GNT_IS_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_WM))
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
44 #define GNT_WM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_WM, GntWMClass))
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
45
32206
a2c62b07ae5a Please correct me if I'm wrong, but I don't think we gain anything
Mark Doliner <markdoliner@pidgin.im>
parents: 22104
diff changeset
46 typedef enum
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
47 {
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
48 GNT_KP_MODE_NORMAL,
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
49 GNT_KP_MODE_RESIZE,
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
50 GNT_KP_MODE_MOVE,
18599
7e31405a2cbb Allow executing another application (eg. PAGER) that will use the same
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18420
diff changeset
51 GNT_KP_MODE_WAIT_ON_CHILD
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
52 } GntKeyPressMode;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
53
35423
a453e49dc579 Fix some gtk-doc warnings in finch
Ankit Vani <a@nevitus.org>
parents: 35411
diff changeset
54 typedef struct _GntNode GntNode;
a453e49dc579 Fix some gtk-doc warnings in finch
Ankit Vani <a@nevitus.org>
parents: 35411
diff changeset
55
a453e49dc579 Fix some gtk-doc warnings in finch
Ankit Vani <a@nevitus.org>
parents: 35411
diff changeset
56 struct _GntNode
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
57 {
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
58 GntWidget *me;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
59
15804
a06705e0130e Better handle large windows that don't fit into the screen (eg. the preference
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15802
diff changeset
60 WINDOW *window;
a06705e0130e Better handle large windows that don't fit into the screen (eg. the preference
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15802
diff changeset
61 int scroll;
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
62 PANEL *panel;
16523
d774ca89d340 Alt+s to see the list of workspaces and windows.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16519
diff changeset
63 GntWS *ws;
35423
a453e49dc579 Fix some gtk-doc warnings in finch
Ankit Vani <a@nevitus.org>
parents: 35411
diff changeset
64 };
14452
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
65
16523
d774ca89d340 Alt+s to see the list of workspaces and windows.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16519
diff changeset
66 typedef struct _GntWM GntWM;
14397
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
67
15991
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
68 typedef struct _GntPosition
15129
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15012
diff changeset
69 {
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15012
diff changeset
70 int x;
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15012
diff changeset
71 int y;
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15012
diff changeset
72 } GntPosition;
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15012
diff changeset
73
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
74 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
75 * GntAction:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
76 *
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
77 * An application can register actions which will show up in a 'start-menu' like popup
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
78 */
15991
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
79 typedef struct _GntAction
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
80 {
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
81 const char *label;
22104
56970903b8e9 Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up
Richard Laager <rlaager@pidgin.im>
parents: 20293
diff changeset
82 void (*callback)(void);
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
83 } GntAction;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
84
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
85 typedef struct _GntListWindow {
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
86 GntWidget *window;
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
87 GntWidget *tree;
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
88 } GntListWindow;
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
89
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
90 /**
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
91 * GntWM:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
92 * @acts: List of actions
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
93 * @menu: Currently active menu. There can be at most one menu at a time on the
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
94 * screen. If there is a menu being displayed, then all the keystrokes
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
95 * will be sent to the menu until it is closed, either when the user
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
96 * activates a menuitem, or presses Escape to cancel the menu.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
97 * @event_stack: Will be set to %TRUE when a user-event, ie. a mouse-click or a
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
98 * key-press is being processed. This variable will be used to
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
99 * determine whether to give focus to a new window.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
100 */
16523
d774ca89d340 Alt+s to see the list of workspaces and windows.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16519
diff changeset
101 struct _GntWM
14397
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
102 {
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
103 GntBindable inherit;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
104
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
105 GMainLoop *loop;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
106
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
107 GList *workspaces;
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
108 GList *tagged; /* tagged windows */
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
109 GntWS *cws;
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
110
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
111 GntListWindow _list;
35411
6e54ded69510 Fix a typo
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
112 GntListWindow *windows; /* Window-list window */
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
113 GntListWindow *actions; /* Action-list window */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
114
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
115 GHashTable *nodes; /* GntWidget -> GntNode */
16525
6e207d99ffd9 New windows can be placed on specific workspaces. They can be specified by the window name (e.g. conversation-window), or a substring in the window title. Title takes precedence.
Richard Nelson <wabz@pidgin.im>
parents: 16523
diff changeset
116 GHashTable *name_places; /* window name -> ws*/
6e207d99ffd9 New windows can be placed on specific workspaces. They can be specified by the window name (e.g. conversation-window), or a substring in the window title. Title takes precedence.
Richard Nelson <wabz@pidgin.im>
parents: 16523
diff changeset
117 GHashTable *title_places; /* window title -> ws */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
118
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
119 GList *acts;
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
120
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
121 GntMenu *menu;
14405
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
122
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
123 gboolean event_stack;
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
124
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
125 GntKeyPressMode mode;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
126
15129
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15012
diff changeset
127 GHashTable *positions;
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15012
diff changeset
128
35423
a453e49dc579 Fix some gtk-doc warnings in finch
Ankit Vani <a@nevitus.org>
parents: 35411
diff changeset
129 /*< private >*/
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
130 void *res1;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
131 void *res2;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
132 void *res3;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
133 void *res4;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
134 };
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
135
15991
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
136 typedef struct _GntWMClass GntWMClass;
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
137
15991
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
138 struct _GntWMClass
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
139 {
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
140 GntBindableClass parent;
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
141
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
142 /* This is called when a new window is shown */
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
143 void (*new_window)(GntWM *wm, GntWidget *win);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
144
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
145 void (*decorate_window)(GntWM *wm, GntWidget *win);
14405
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
146 /* This is called when a window is being closed */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
147 gboolean (*close_window)(GntWM *wm, GntWidget *win);
14405
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
148
14452
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
149 /* The WM may want to confirm a size for a window first */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
150 gboolean (*window_resize_confirm)(GntWM *wm, GntWidget *win, int *w, int *h);
14452
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
151
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
152 void (*window_resized)(GntWM *wm, GntNode *node);
14424
8874ec350ebb [gaim-migrate @ 17068]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14405
diff changeset
153
14452
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
154 /* The WM may want to confirm the position of a window */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
155 gboolean (*window_move_confirm)(GntWM *wm, GntWidget *win, int *x, int *y);
14452
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
156
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
157 void (*window_moved)(GntWM *wm, GntNode *node);
14452
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
158
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
159 /* This gets called when:
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
160 * - the title of the window changes
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
161 * - the 'urgency' of the window changes
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
162 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
163 void (*window_update)(GntWM *wm, GntNode *node);
14452
a21351048a3a [gaim-migrate @ 17096]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14424
diff changeset
164
14405
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
165 /* This should usually return NULL if the keys were processed by the WM.
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
166 * If not, the WM can simply return the original string, which will be
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
167 * processed by the default WM. The custom WM can also return a different
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
168 * static string for the default WM to process.
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
169 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
170 gboolean (*key_pressed)(GntWM *wm, const char *key);
14405
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
171
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
172 gboolean (*mouse_clicked)(GntWM *wm, GntMouseEvent event, int x, int y, GntWidget *widget);
14405
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
173
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
174 /* Whatever the WM wants to do when a window is given focus */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
175 void (*give_focus)(GntWM *wm, GntWidget *widget);
14405
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
176
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
177 /* List of windows. Although the WM can keep a list of its own for the windows,
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
178 * it'd be better if there was a way to share between the 'core' and the WM.
4398121ce889 [gaim-migrate @ 17044]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
179 */
18190
bcf28ef7e8ff Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@pidgin.im>
parents: 18132
diff changeset
180 /*GList *(*window_list)();*/
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
181
18420
fd3ec9457e27 Add a callback that gets triggered by SIGWINCH.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
182 /* This is invoked whenever the terminal window is resized, or the
fd3ec9457e27 Add a callback that gets triggered by SIGWINCH.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
183 * screen session is attached to a new terminal. (ie, from the
fd3ec9457e27 Add a callback that gets triggered by SIGWINCH.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
184 * SIGWINCH callback)
fd3ec9457e27 Add a callback that gets triggered by SIGWINCH.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
185 */
fd3ec9457e27 Add a callback that gets triggered by SIGWINCH.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
186 void (*terminal_refresh)(GntWM *wm);
fd3ec9457e27 Add a callback that gets triggered by SIGWINCH.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
187
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
188 void (*res1)(void);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
189 void (*res2)(void);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
190 void (*res3)(void);
14397
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
191 };
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
192
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
193 G_BEGIN_DECLS
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
194
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
195 /**
35477
5036e4cd8a46 Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents: 35475
diff changeset
196 * gnt_wm_get_type:
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
197 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
198 * Returns: GType for GntWM.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
199 */
35379
ea1a0327001e Rename _get_gtype() functions in libgnt to _get_type()
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
200 GType gnt_wm_get_type(void);
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
201
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
202 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
203 * gnt_wm_add_workspace:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
204 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
205 * @ws: The workspace to add.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
206 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
207 * Add a workspace.
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
208 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
209 void gnt_wm_add_workspace(GntWM *wm, GntWS *ws);
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
210
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
211 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
212 * gnt_wm_switch_workspace:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
213 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
214 * @n: Index of the workspace to switch to.
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
215 *
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
216 * Switch to a workspace.
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
217 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
218 * Returns: %TRUE if the switch was successful.
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
219 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
220 gboolean gnt_wm_switch_workspace(GntWM *wm, gint n);
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
221
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
222 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
223 * gnt_wm_switch_workspace_prev:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
224 * @wm: The window-manager.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
225 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
226 * Switch to the previous workspace from the current one.
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
227 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
228 gboolean gnt_wm_switch_workspace_prev(GntWM *wm);
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
229
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
230 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
231 * gnt_wm_switch_workspace_next:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
232 * @wm: The window-manager.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
233 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
234 * Switch to the next workspace from the current one.
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
235 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
236 gboolean gnt_wm_switch_workspace_next(GntWM *wm);
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
237
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
238 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
239 * gnt_wm_widget_move_workspace:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
240 * @wm: The window manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
241 * @neww: The new workspace.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
242 * @widget: The widget to move.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
243 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
244 * Move a window to a specific workspace.
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
245 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
246 void gnt_wm_widget_move_workspace(GntWM *wm, GntWS *neww, GntWidget *widget);
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
247
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
248 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
249 * gnt_wm_set_workspaces:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
250 * @wm: The window manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
251 * @workspaces: The list of workspaces.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
252 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
253 * Set the list of workspaces .
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
254 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
255 void gnt_wm_set_workspaces(GntWM *wm, GList *workspaces);
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
256
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
257 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
258 * gnt_wm_widget_find_workspace:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
259 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
260 * @widget: The widget to find.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
261 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
262 * Find the workspace that contains a specific widget.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
263 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
264 * Returns: The workspace that has the widget.
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
265 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
266 GntWS *gnt_wm_widget_find_workspace(GntWM *wm, GntWidget *widget);
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
267
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
268 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
269 * gnt_wm_new_window:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
270 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
271 * @widget: The new window.
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
272 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
273 * Process a new window.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
274 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
275 void gnt_wm_new_window(GntWM *wm, GntWidget *widget);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
276
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
277 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
278 * gnt_wm_window_decorate:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
279 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
280 * @widget: The widget to decorate.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
281 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
282 * Decorate a window.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
283 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
284 void gnt_wm_window_decorate(GntWM *wm, GntWidget *widget);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
285
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
286 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
287 * gnt_wm_window_close:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
288 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
289 * @widget: The window to close.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
290 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
291 * Close a window.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
292 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
293 void gnt_wm_window_close(GntWM *wm, GntWidget *widget);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
294
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
295 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
296 * gnt_wm_process_input:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
297 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
298 * @string: The input string to process.
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
299 *
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
300 * Process input.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
301 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
302 * Returns: %TRUE of the string was processed, %FALSE otherwise.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
303 */
15839
e2b7b5f4f9aa Change a bit how the keystrokes are processed. When a lot of keystrokes come in at the same time, the shortest key-combination is processed first. This should make typing fast over a very slow connection work properly.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15804
diff changeset
304 gboolean gnt_wm_process_input(GntWM *wm, const char *string);
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
305
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
306 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
307 * gnt_wm_process_click:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
308 * @wm: The window manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
309 * @event: The mouse event.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
310 * @x: The x-coordinate of the mouse.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
311 * @y: The y-coordinate of the mouse.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
312 * @widget: The widget under the mouse.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
313 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
314 * Process a click event.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
315 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
316 * Returns: %TRUE if the event was handled, %FALSE otherwise.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
317 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
318 gboolean gnt_wm_process_click(GntWM *wm, GntMouseEvent event, int x, int y, GntWidget *widget);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
319
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
320 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
321 * gnt_wm_resize_window:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
322 * @wm: The window manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
323 * @widget: The window to resize.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
324 * @width: The desired width of the window.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
325 * @height: The desired height of the window.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
326 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
327 * Resize a window.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
328 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
329 void gnt_wm_resize_window(GntWM *wm, GntWidget *widget, int width, int height);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
330
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
331 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
332 * gnt_wm_move_window:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
333 * @wm: The window manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
334 * @widget: The window to move.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
335 * @x: The desired x-coordinate of the window.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
336 * @y: The desired y-coordinate of the window.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
337 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
338 * Move a window.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
339 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
340 void gnt_wm_move_window(GntWM *wm, GntWidget *widget, int x, int y);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
341
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
342 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
343 * gnt_wm_update_window:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
344 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
345 * @widget: The window to update.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
346 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
347 * Update a window.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
348 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
349 void gnt_wm_update_window(GntWM *wm, GntWidget *widget);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
350
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
351 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
352 * gnt_wm_raise_window:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
353 * @wm: The window-manager.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
354 * @widget: The window to raise.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
355 *
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
356 * Raise a window.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
357 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
358 void gnt_wm_raise_window(GntWM *wm, GntWidget *widget);
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
359
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
360 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
361 * gnt_wm_set_event_stack:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
362 *
35474
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
363 * Internal function -- do not use.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
364 */
16356
13cc89b3ab7c Dialogs opened resulting from a mouse-click should fain focus.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16041
diff changeset
365 void gnt_wm_set_event_stack(GntWM *wm, gboolean set);
13cc89b3ab7c Dialogs opened resulting from a mouse-click should fain focus.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16041
diff changeset
366
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
367 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
368 * gnt_wm_copy_win:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
369 *
35474
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
370 * Internal function -- do not use.
20293
81d324f460bd applied changes from 1f57ebe4e6d16159c74db823ecff2ec0f4c46936
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
371 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
372 void gnt_wm_copy_win(GntWidget *widget, GntNode *node);
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
373
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
374 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
375 * gnt_wm_get_idle_time:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
376 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32206
diff changeset
377 * Returns: The idle time of the user.
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 16356
diff changeset
378 */
15802
1e124a68997e gntgaim idle reporting, this fixes idle return
Richard Nelson <wabz@pidgin.im>
parents: 15129
diff changeset
379 time_t gnt_wm_get_idle_time(void);
1e124a68997e gntgaim idle reporting, this fixes idle return
Richard Nelson <wabz@pidgin.im>
parents: 15129
diff changeset
380
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14539
diff changeset
381 G_END_DECLS
35474
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
382
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 16356
diff changeset
383 #endif

mercurial