finch/libgnt/gntws.h

Thu, 01 Sep 2016 01:28:11 -0400

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Thu, 01 Sep 2016 01:28:11 -0400
changeset 37968
d54027600e1e
parent 37094
84873ce721dc
permissions
-rw-r--r--

gnt: Rename things consistently to fix GIR warnings.

18358
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
1 /*
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
2 * GNT - The GLib Ncurses Toolkit
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
3 *
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
4 * GNT is the legal property of its developers, whose names are too numerous
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
6 * source distribution.
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
7 *
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
8 * This library is free software; you can redistribute it and/or modify
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
9 * it under the terms of the GNU General Public License as published by
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
11 * (at your option) any later version.
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
12 *
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
13 * This program is distributed in the hope that it will be useful,
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
16 * GNU General Public License for more details.
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
17 *
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
18 * You should have received a copy of the GNU General Public License
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
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
18358
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
21 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35477
diff changeset
22
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35477
diff changeset
23 #ifndef GNTWS_H
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35477
diff changeset
24 #define GNTWS_H
35446
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
25 /**
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
26 * SECTION:gntws
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
27 * @section_id: libgnt-gntws
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
28 * @short_description: <filename>gntws.h</filename>
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
29 * @title: Workspace API
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
30 */
18358
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18137
diff changeset
31
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
32 #include "gntwidget.h"
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
33
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
34 #include <panel.h>
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
35
35379
ea1a0327001e Rename _get_gtype() functions in libgnt to _get_type()
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
36 #define GNT_TYPE_WS (gnt_ws_get_type())
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
37 #define GNT_WS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WS, GntWS))
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
38 #define GNT_IS_WS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WS))
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
39 #define GNT_IS_WS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_WS))
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
40 #define GNT_WS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_WS, GntWSClass))
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
41
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
42 typedef struct _GntWS GntWS;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
43
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
44 struct _GntWS
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
45 {
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
46 GntBindable inherit;
21273
2f91b326b3f0 Minor adjustments to prevent a crash, correct a data type and fix drawing.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 20939
diff changeset
47 char *name;
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
48 GList *list;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
49 GList *ordered;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
50 gpointer ui_data;
31293
169eeb43b52c Remove trailing whitespace
Richard Laager <rlaager@pidgin.im>
parents: 21273
diff changeset
51
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
52 void *res1;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
53 void *res2;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
54 void *res3;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
55 void *res4;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
56 };
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
57
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
58 typedef struct _GntWSClass GntWSClass;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
59
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
60 struct _GntWSClass
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
61 {
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
62 GntBindableClass parent;
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
63
37968
d54027600e1e gnt: Rename things consistently to fix GIR warnings.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 37094
diff changeset
64 void (*draw_taskbar)(GntWS *ws, gboolean reposition);
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
65
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
66 void (*res1)(void);
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
67 void (*res2)(void);
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
68 void (*res3)(void);
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
69 void (*res4)(void);
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
70 };
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
71
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
72 G_BEGIN_DECLS
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
73
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
74 /**
35477
5036e4cd8a46 Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents: 35475
diff changeset
75 * gnt_ws_get_type:
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
76 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
77 * Returns: The GType for GntWS.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
78 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
79 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
80 */
35379
ea1a0327001e Rename _get_gtype() functions in libgnt to _get_type()
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
81 GType gnt_ws_get_type(void);
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
82
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
83 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
84 * gnt_ws_new:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
85 * @name: The desired name of the workspace, or %NULL.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
86 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
87 * Create a new workspace with the specified name.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
88 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
89 * Returns: The newly created workspace.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
90 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
91 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
92 */
18137
a8c54ed05eee F9 to create a new workspace.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16523
diff changeset
93 GntWS *gnt_ws_new(const char *name);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
94
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
95 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
96 * gnt_ws_set_name:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
97 * @ws: The workspace to rename.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
98 * @name: The new name of the workspace.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
99 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
100 * Set the name of a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
101 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
102 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
103 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
104 void gnt_ws_set_name(GntWS *ws, const gchar *name);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
105
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
106 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
107 * gnt_ws_add_widget:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
108 * @ws: The workspace.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
109 * @widget: The widget to add.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
110 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
111 * Add a widget to a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
112 *
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 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
114 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
115 void gnt_ws_add_widget(GntWS *ws, GntWidget *widget);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
116
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
117 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
118 * gnt_ws_remove_widget:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
119 * @ws: The workspace
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
120 * @widget: The widget to remove from the workspace.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
121 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
122 * Remove a widget from a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
123 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
124 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
125 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
126 void gnt_ws_remove_widget(GntWS *ws, GntWidget *widget);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
127
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
128 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
129 * gnt_ws_widget_hide:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
130 * @widget: The widget to hide.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
131 * @nodes: A hashtable containing information about the widgets.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
132 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
133 * Hide a widget in a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
134 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
135 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
136 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
137 void gnt_ws_widget_hide(GntWidget *widget, GHashTable *nodes);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
138
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
139 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
140 * gnt_ws_widget_show:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
141 * @widget: The widget to show.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
142 * @nodes: A hashtable containing information about the widgets.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
143 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
144 * Show a widget in a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
145 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
146 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
147 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
148 void gnt_ws_widget_show(GntWidget *widget, GHashTable *nodes);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
149
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
150 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
151 * gnt_ws_draw_taskbar:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
152 * @ws: The workspace.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
153 * @reposition: Whether the workspace should reposition the taskbar.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
154 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
155 * Draw the taskbar in a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
156 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
157 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
158 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
159 void gnt_ws_draw_taskbar(GntWS *ws, gboolean reposition);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
160
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
161 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
162 * gnt_ws_hide:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
163 * @ws: The workspace to hide.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
164 * @table: A hashtable containing information about the widgets.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
165 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
166 * Hide a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
167 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
168 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
169 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
170 void gnt_ws_hide(GntWS *ws, GHashTable *table);
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
171
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
172 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
173 * gnt_ws_show:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
174 * @ws: The workspace to hide.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
175 * @table: A hashtable containing information about the widgets.
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
176 *
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
177 * Show a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
178 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
179 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
180 */
18826
a276583c694c Do some work to make pygnt more useful. The dbus-gnt script works fairly
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18358
diff changeset
181 void gnt_ws_show(GntWS *ws, GHashTable *table);
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
182
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
183 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
184 * gnt_ws_get_name:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
185 * @ws: The workspace.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
186 *
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
187 * Get the name of a workspace.
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
188 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
189 * Returns: The name of the workspace (can be %NULL).
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
190 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
191 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
192 */
16523
d774ca89d340 Alt+s to see the list of workspaces and windows.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16520
diff changeset
193 const char * gnt_ws_get_name(GntWS *ws);
d774ca89d340 Alt+s to see the list of workspaces and windows.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16520
diff changeset
194
16520
18efc8fca905 Forgot these...
Richard Nelson <wabz@pidgin.im>
parents:
diff changeset
195 #endif

mercurial