Mercurial > pidgin
comparison finch/libgnt/gnt.h @ 18049:1cedd520cd18
Doxygen skeleton and license info for gnt files.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 06 Jun 2007 15:42:29 +0000 |
parents | f00f2e283ffb |
children | 2b757aadddc9 |
comparison
equal
deleted
inserted
replaced
18048:9aa2c89c8b9e | 18049:1cedd520cd18 |
---|---|
1 /** | |
2 * GNT - The GLib Ncurses Toolkit | |
3 * | |
4 * GNT is the legal property of its developers, whose names are too numerous | |
5 * to list here. Please refer to the COPYRIGHT file distributed with this | |
6 * source distribution. | |
7 * | |
8 * This library is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program; if not, write to the Free Software | |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 */ | |
22 | |
1 #include <glib.h> | 23 #include <glib.h> |
2 #include "gntwidget.h" | 24 #include "gntwidget.h" |
3 #include "gntclipboard.h" | 25 #include "gntclipboard.h" |
4 #include "gntcolors.h" | 26 #include "gntcolors.h" |
5 #include "gntkeys.h" | 27 #include "gntkeys.h" |
6 | 28 |
29 /** | |
30 * | |
31 */ | |
7 void gnt_init(void); | 32 void gnt_init(void); |
8 | 33 |
34 /** | |
35 * | |
36 */ | |
9 void gnt_main(void); | 37 void gnt_main(void); |
10 | 38 |
39 /** | |
40 * | |
41 * | |
42 * @return | |
43 */ | |
11 gboolean gnt_ascii_only(void); | 44 gboolean gnt_ascii_only(void); |
12 | 45 |
46 /** | |
47 * | |
48 * @param widget | |
49 */ | |
13 void gnt_screen_occupy(GntWidget *widget); | 50 void gnt_screen_occupy(GntWidget *widget); |
14 | 51 |
52 /** | |
53 * | |
54 * @param widget | |
55 */ | |
15 void gnt_screen_release(GntWidget *widget); | 56 void gnt_screen_release(GntWidget *widget); |
16 | 57 |
58 /** | |
59 * | |
60 * @param widget | |
61 */ | |
17 void gnt_screen_update(GntWidget *widget); | 62 void gnt_screen_update(GntWidget *widget); |
18 | 63 |
64 /** | |
65 * | |
66 * @param widget | |
67 * @param width | |
68 * @param height | |
69 */ | |
19 void gnt_screen_resize_widget(GntWidget *widget, int width, int height); | 70 void gnt_screen_resize_widget(GntWidget *widget, int width, int height); |
20 | 71 |
72 /** | |
73 * | |
74 * @param widget | |
75 * @param x | |
76 * @param y | |
77 */ | |
21 void gnt_screen_move_widget(GntWidget *widget, int x, int y); | 78 void gnt_screen_move_widget(GntWidget *widget, int x, int y); |
22 | 79 |
80 /** | |
81 * | |
82 * @param widget | |
83 * @param text | |
84 */ | |
23 void gnt_screen_rename_widget(GntWidget *widget, const char *text); | 85 void gnt_screen_rename_widget(GntWidget *widget, const char *text); |
24 | 86 |
87 /** | |
88 * | |
89 * @param widget | |
90 * | |
91 * @return | |
92 */ | |
25 gboolean gnt_widget_has_focus(GntWidget *widget); | 93 gboolean gnt_widget_has_focus(GntWidget *widget); |
26 | 94 |
95 /** | |
96 * | |
97 * @param widget | |
98 */ | |
27 void gnt_widget_set_urgent(GntWidget *widget); | 99 void gnt_widget_set_urgent(GntWidget *widget); |
28 | 100 |
101 /** | |
102 * | |
103 * @param label | |
104 * @param callback)() | |
105 */ | |
29 void gnt_register_action(const char *label, void (*callback)()); | 106 void gnt_register_action(const char *label, void (*callback)()); |
30 | 107 |
108 /** | |
109 * | |
110 * @param menu | |
111 * | |
112 * @return | |
113 */ | |
31 gboolean gnt_screen_menu_show(gpointer menu); | 114 gboolean gnt_screen_menu_show(gpointer menu); |
32 | 115 |
116 /** | |
117 * | |
118 */ | |
33 void gnt_quit(void); | 119 void gnt_quit(void); |
34 | 120 |
35 GntClipboard *gnt_get_clipboard(void); | 121 /** |
122 * | |
123 * | |
124 * @return | |
125 */ | |
126 GntClipboard * gnt_get_clipboard(void); | |
36 | 127 |
37 gchar *gnt_get_clipboard_string(void); | 128 /** |
129 * | |
130 * | |
131 * @return | |
132 */ | |
133 gchar * gnt_get_clipboard_string(void); | |
38 | 134 |
135 /** | |
136 * | |
137 * @param string | |
138 */ | |
39 void gnt_set_clipboard_string(gchar *string); | 139 void gnt_set_clipboard_string(gchar *string); |
140 |