comparison finch/libgnt/gntwm.h @ 18068:0b3d6ea61760

propagate from branch 'im.pidgin.pidgin' (head 4b50880d8517570eaa67d4cd9d88c5934bb832f1) to branch 'im.pidgin.pidgin.2.1.0' (head fefd59692d4177b91d52f6d71b1565b76c88725d)
author Richard Laager <rlaager@wiktel.com>
date Thu, 07 Jun 2007 14:48:33 +0000
parents 1cedd520cd18
children 08776fc5c06f
comparison
equal deleted inserted replaced
17782:5eebb9b24e30 18068:0b3d6ea61760
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 23
2 #include "gntwidget.h" 24 #include "gntwidget.h"
3 #include "gntmenu.h" 25 #include "gntmenu.h"
4 26
5 #include <panel.h> 27 #include <panel.h>
142 void (*res4)(void); 164 void (*res4)(void);
143 }; 165 };
144 166
145 G_BEGIN_DECLS 167 G_BEGIN_DECLS
146 168
169 /**
170 *
171 *
172 * @return
173 */
147 GType gnt_wm_get_gtype(void); 174 GType gnt_wm_get_gtype(void);
148 175
176 /**
177 *
178 * @param wm
179 * @param widget
180 */
149 void gnt_wm_new_window(GntWM *wm, GntWidget *widget); 181 void gnt_wm_new_window(GntWM *wm, GntWidget *widget);
150 182
183 /**
184 *
185 * @param wm
186 * @param widget
187 */
151 void gnt_wm_window_decorate(GntWM *wm, GntWidget *widget); 188 void gnt_wm_window_decorate(GntWM *wm, GntWidget *widget);
152 189
190 /**
191 *
192 * @param wm
193 * @param widget
194 */
153 void gnt_wm_window_close(GntWM *wm, GntWidget *widget); 195 void gnt_wm_window_close(GntWM *wm, GntWidget *widget);
154 196
197 /**
198 *
199 * @param wm
200 * @param string
201 *
202 * @return
203 */
155 gboolean gnt_wm_process_input(GntWM *wm, const char *string); 204 gboolean gnt_wm_process_input(GntWM *wm, const char *string);
156 205
206 /**
207 *
208 * @param wm
209 * @param event
210 * @param x
211 * @param y
212 * @param widget
213 *
214 * @return
215 */
157 gboolean gnt_wm_process_click(GntWM *wm, GntMouseEvent event, int x, int y, GntWidget *widget); 216 gboolean gnt_wm_process_click(GntWM *wm, GntMouseEvent event, int x, int y, GntWidget *widget);
158 217
218 /**
219 *
220 * @param wm
221 * @param widget
222 * @param width
223 * @param height
224 */
159 void gnt_wm_resize_window(GntWM *wm, GntWidget *widget, int width, int height); 225 void gnt_wm_resize_window(GntWM *wm, GntWidget *widget, int width, int height);
160 226
227 /**
228 *
229 * @param wm
230 * @param widget
231 * @param x
232 * @param y
233 */
161 void gnt_wm_move_window(GntWM *wm, GntWidget *widget, int x, int y); 234 void gnt_wm_move_window(GntWM *wm, GntWidget *widget, int x, int y);
162 235
236 /**
237 *
238 * @param wm
239 * @param widget
240 */
163 void gnt_wm_update_window(GntWM *wm, GntWidget *widget); 241 void gnt_wm_update_window(GntWM *wm, GntWidget *widget);
164 242
243 /**
244 *
245 * @param wm
246 * @param widget
247 */
165 void gnt_wm_raise_window(GntWM *wm, GntWidget *widget); 248 void gnt_wm_raise_window(GntWM *wm, GntWidget *widget);
166 249
250 /**
251 *
252 * @param wm
253 * @param set
254 */
167 void gnt_wm_set_event_stack(GntWM *wm, gboolean set); 255 void gnt_wm_set_event_stack(GntWM *wm, gboolean set);
168 256
257 /**
258 *
259 *
260 * @return
261 */
169 time_t gnt_wm_get_idle_time(void); 262 time_t gnt_wm_get_idle_time(void);
170 263
171 G_END_DECLS 264 G_END_DECLS