1 // /usr/libexec/gcc/sh4-unknown-linux-gnu/4.2.2/cc1 -quiet -I. -I. -I.. -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/atk-1.0 -MD .libs/gtknotebook.d -MF .deps/gtknotebook.Tpo -MP -MT gtknotebook.lo -MQ .libs/gtknotebook.o -D_REENTRANT -D_PTHREADS -DHAVE_CONFIG_H -DG_LOG_DOMAIN="Gtk" -DGTK_LIBDIR="/usr/lib" -DGTK_DATADIR="/usr/share" -DGTK_DATA_PREFIX="/usr" -DGTK_SYSCONFDIR="/etc" -DGTK_VERSION="2.12.7" -DGTK_BINARY_VERSION="2.10.0" -DGTK_HOST="sh4-unknown-linux-gnu" -DGTK_COMPILATION -DGTK_PRINT_BACKENDS="file,lpr" -DGTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f" -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPIC gtknotebook.c -quiet -dumpbase gtknotebook.c -auxbase-strip .libs/gtknotebook.o -O2 -Wall -fPIC -o - -frandom-seed=0
9 # 1 "/usr/include/string.h" 1 3 4
10 # 26 "/usr/include/string.h" 3 4
11 # 1 "/usr/include/features.h" 1 3 4
12 # 330 "/usr/include/features.h" 3 4
13 # 1 "/usr/include/sys/cdefs.h" 1 3 4
14 # 348 "/usr/include/sys/cdefs.h" 3 4
15 # 1 "/usr/include/bits/wordsize.h" 1 3 4
16 # 349 "/usr/include/sys/cdefs.h" 2 3 4
17 # 331 "/usr/include/features.h" 2 3 4
18 # 354 "/usr/include/features.h" 3 4
19 # 1 "/usr/include/gnu/stubs.h" 1 3 4
20 # 355 "/usr/include/features.h" 2 3 4
21 # 27 "/usr/include/string.h" 2 3 4
28 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
29 # 214 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4
30 typedef unsigned int size_t;
31 # 34 "/usr/include/string.h" 2 3 4
36 extern void *memcpy (void *__restrict __dest,
37 __const void *__restrict __src, size_t __n)
38 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
41 extern void *memmove (void *__dest, __const void *__src, size_t __n)
42 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
49 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
51 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
57 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
60 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
61 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
64 extern void *memchr (__const void *__s, int __c, size_t __n)
65 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
67 # 82 "/usr/include/string.h" 3 4
70 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
71 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
73 extern char *strncpy (char *__restrict __dest,
74 __const char *__restrict __src, size_t __n)
75 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
78 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
79 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
81 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
82 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
85 extern int strcmp (__const char *__s1, __const char *__s2)
86 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
88 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
89 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
92 extern int strcoll (__const char *__s1, __const char *__s2)
93 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
95 extern size_t strxfrm (char *__restrict __dest,
96 __const char *__restrict __src, size_t __n)
97 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
99 # 130 "/usr/include/string.h" 3 4
100 extern char *strdup (__const char *__s)
101 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
102 # 165 "/usr/include/string.h" 3 4
105 extern char *strchr (__const char *__s, int __c)
106 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
108 extern char *strrchr (__const char *__s, int __c)
109 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
111 # 181 "/usr/include/string.h" 3 4
115 extern size_t strcspn (__const char *__s, __const char *__reject)
116 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
119 extern size_t strspn (__const char *__s, __const char *__accept)
120 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
122 extern char *strpbrk (__const char *__s, __const char *__accept)
123 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
125 extern char *strstr (__const char *__haystack, __const char *__needle)
126 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
130 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
131 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
136 extern char *__strtok_r (char *__restrict __s,
137 __const char *__restrict __delim,
138 char **__restrict __save_ptr)
139 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
141 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
142 char **__restrict __save_ptr)
143 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
144 # 240 "/usr/include/string.h" 3 4
147 extern size_t strlen (__const char *__s)
148 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
150 # 254 "/usr/include/string.h" 3 4
153 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
155 # 270 "/usr/include/string.h" 3 4
156 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
157 # 294 "/usr/include/string.h" 3 4
158 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
162 extern void bcopy (__const void *__src, void *__dest, size_t __n)
163 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
166 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
169 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
170 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
173 extern char *index (__const char *__s, int __c)
174 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
177 extern char *rindex (__const char *__s, int __c)
178 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
182 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
183 # 331 "/usr/include/string.h" 3 4
184 extern int strcasecmp (__const char *__s1, __const char *__s2)
185 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
188 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
189 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
190 # 354 "/usr/include/string.h" 3 4
191 extern char *strsep (char **__restrict __stringp,
192 __const char *__restrict __delim)
193 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
194 # 420 "/usr/include/string.h" 3 4
195 # 1 "/usr/include/bits/string.h" 1 3 4
196 # 421 "/usr/include/string.h" 2 3 4
199 # 1 "/usr/include/bits/string2.h" 1 3 4
200 # 80 "/usr/include/bits/string2.h" 3 4
201 typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2;
202 typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3;
203 typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4;
204 typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5;
205 typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6;
206 typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7;
207 typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8;
208 # 394 "/usr/include/bits/string2.h" 3 4
209 extern void *__rawmemchr (const void *__s, int __c);
210 # 969 "/usr/include/bits/string2.h" 3 4
211 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
212 extern __inline size_t
213 __strcspn_c1 (__const char *__s, int __reject)
215 register size_t __result = 0;
216 while (__s[__result] != '\0' && __s[__result] != __reject)
221 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
223 extern __inline size_t
224 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
226 register size_t __result = 0;
227 while (__s[__result] != '\0' && __s[__result] != __reject1
228 && __s[__result] != __reject2)
233 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
234 int __reject2, int __reject3);
235 extern __inline size_t
236 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
239 register size_t __result = 0;
240 while (__s[__result] != '\0' && __s[__result] != __reject1
241 && __s[__result] != __reject2 && __s[__result] != __reject3)
245 # 1045 "/usr/include/bits/string2.h" 3 4
246 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
247 extern __inline size_t
248 __strspn_c1 (__const char *__s, int __accept)
250 register size_t __result = 0;
252 while (__s[__result] == __accept)
257 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
259 extern __inline size_t
260 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
262 register size_t __result = 0;
264 while (__s[__result] == __accept1 || __s[__result] == __accept2)
269 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
270 int __accept2, int __accept3);
271 extern __inline size_t
272 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
274 register size_t __result = 0;
276 while (__s[__result] == __accept1 || __s[__result] == __accept2
277 || __s[__result] == __accept3)
281 # 1121 "/usr/include/bits/string2.h" 3 4
282 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
284 extern __inline char *
285 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
288 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
290 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
293 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
294 int __accept2, int __accept3);
295 extern __inline char *
296 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
300 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
301 && *__s != __accept3)
303 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
305 # 1173 "/usr/include/bits/string2.h" 3 4
306 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
307 extern __inline char *
308 __strtok_r_1c (char *__s, char __sep, char **__nextp)
311 if (__s == ((void *)0))
313 while (*__s == __sep)
315 __result = ((void *)0);
329 # 1205 "/usr/include/bits/string2.h" 3 4
330 extern char *__strsep_g (char **__stringp, __const char *__delim);
331 # 1223 "/usr/include/bits/string2.h" 3 4
332 extern __inline char *__strsep_1c (char **__s, char __reject);
333 extern __inline char *
334 __strsep_1c (char **__s, char __reject)
336 register char *__retval = *__s;
337 if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
342 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
343 extern __inline char *
344 __strsep_2c (char **__s, char __reject1, char __reject2)
346 register char *__retval = *__s;
347 if (__retval != ((void *)0))
349 register char *__cp = __retval;
357 if (*__cp == __reject1 || *__cp == __reject2)
369 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
371 extern __inline char *
372 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
374 register char *__retval = *__s;
375 if (__retval != ((void *)0))
377 register char *__cp = __retval;
385 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
396 # 1299 "/usr/include/bits/string2.h" 3 4
397 # 1 "/usr/include/stdlib.h" 1 3 4
398 # 33 "/usr/include/stdlib.h" 3 4
399 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
400 # 34 "/usr/include/stdlib.h" 2 3 4
403 # 469 "/usr/include/stdlib.h" 3 4
406 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
408 extern void *calloc (size_t __nmemb, size_t __size)
409 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
411 # 883 "/usr/include/stdlib.h" 3 4
413 # 1300 "/usr/include/bits/string2.h" 2 3 4
418 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
419 # 1323 "/usr/include/bits/string2.h" 3 4
420 extern char *__strndup (__const char *__string, size_t __n)
421 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
422 # 424 "/usr/include/string.h" 2 3 4
423 # 432 "/usr/include/string.h" 3 4
425 # 30 "gtknotebook.c" 2
426 # 1 "gtknotebook.h" 1
430 # 1 "../gdk/gdkcairo.h" 1
431 # 23 "../gdk/gdkcairo.h"
432 # 1 "../gdk/gdkcolor.h" 1
433 # 30 "../gdk/gdkcolor.h"
434 # 1 "/usr/include/cairo/cairo.h" 1
435 # 41 "/usr/include/cairo/cairo.h"
436 # 1 "/usr/include/cairo/cairo-features.h" 1
437 # 42 "/usr/include/cairo/cairo.h" 2
438 # 1 "/usr/include/cairo/cairo-deprecated.h" 1
439 # 43 "/usr/include/cairo/cairo.h" 2
442 # 56 "/usr/include/cairo/cairo.h"
444 cairo_version (void);
447 cairo_version_string (void);
448 # 76 "/usr/include/cairo/cairo.h"
449 typedef int cairo_bool_t;
450 # 91 "/usr/include/cairo/cairo.h"
451 typedef struct _cairo cairo_t;
452 # 109 "/usr/include/cairo/cairo.h"
453 typedef struct _cairo_surface cairo_surface_t;
454 # 128 "/usr/include/cairo/cairo.h"
455 typedef struct _cairo_matrix {
456 double xx; double yx;
457 double xy; double yy;
458 double x0; double y0;
460 # 153 "/usr/include/cairo/cairo.h"
461 typedef struct _cairo_pattern cairo_pattern_t;
462 # 163 "/usr/include/cairo/cairo.h"
463 typedef void (*cairo_destroy_func_t) (void *data);
464 # 175 "/usr/include/cairo/cairo.h"
465 typedef struct _cairo_user_data_key {
467 } cairo_user_data_key_t;
468 # 213 "/usr/include/cairo/cairo.h"
469 typedef enum _cairo_status {
470 CAIRO_STATUS_SUCCESS = 0,
471 CAIRO_STATUS_NO_MEMORY,
472 CAIRO_STATUS_INVALID_RESTORE,
473 CAIRO_STATUS_INVALID_POP_GROUP,
474 CAIRO_STATUS_NO_CURRENT_POINT,
475 CAIRO_STATUS_INVALID_MATRIX,
476 CAIRO_STATUS_INVALID_STATUS,
477 CAIRO_STATUS_NULL_POINTER,
478 CAIRO_STATUS_INVALID_STRING,
479 CAIRO_STATUS_INVALID_PATH_DATA,
480 CAIRO_STATUS_READ_ERROR,
481 CAIRO_STATUS_WRITE_ERROR,
482 CAIRO_STATUS_SURFACE_FINISHED,
483 CAIRO_STATUS_SURFACE_TYPE_MISMATCH,
484 CAIRO_STATUS_PATTERN_TYPE_MISMATCH,
485 CAIRO_STATUS_INVALID_CONTENT,
486 CAIRO_STATUS_INVALID_FORMAT,
487 CAIRO_STATUS_INVALID_VISUAL,
488 CAIRO_STATUS_FILE_NOT_FOUND,
489 CAIRO_STATUS_INVALID_DASH,
490 CAIRO_STATUS_INVALID_DSC_COMMENT,
491 CAIRO_STATUS_INVALID_INDEX,
492 CAIRO_STATUS_CLIP_NOT_REPRESENTABLE
494 # 253 "/usr/include/cairo/cairo.h"
495 typedef enum _cairo_content {
496 CAIRO_CONTENT_COLOR = 0x1000,
497 CAIRO_CONTENT_ALPHA = 0x2000,
498 CAIRO_CONTENT_COLOR_ALPHA = 0x3000
500 # 275 "/usr/include/cairo/cairo.h"
501 typedef cairo_status_t (*cairo_write_func_t) (void *closure,
502 const unsigned char *data,
503 unsigned int length);
504 # 295 "/usr/include/cairo/cairo.h"
505 typedef cairo_status_t (*cairo_read_func_t) (void *closure,
507 unsigned int length);
511 cairo_create (cairo_surface_t *target);
514 cairo_reference (cairo_t *cr);
517 cairo_destroy (cairo_t *cr);
520 cairo_get_reference_count (cairo_t *cr);
523 cairo_get_user_data (cairo_t *cr,
524 const cairo_user_data_key_t *key);
527 cairo_set_user_data (cairo_t *cr,
528 const cairo_user_data_key_t *key,
530 cairo_destroy_func_t destroy);
533 cairo_save (cairo_t *cr);
536 cairo_restore (cairo_t *cr);
539 cairo_push_group (cairo_t *cr);
542 cairo_push_group_with_content (cairo_t *cr, cairo_content_t content);
545 cairo_pop_group (cairo_t *cr);
548 cairo_pop_group_to_source (cairo_t *cr);
552 typedef enum _cairo_operator {
553 CAIRO_OPERATOR_CLEAR,
555 CAIRO_OPERATOR_SOURCE,
562 CAIRO_OPERATOR_DEST_OVER,
563 CAIRO_OPERATOR_DEST_IN,
564 CAIRO_OPERATOR_DEST_OUT,
565 CAIRO_OPERATOR_DEST_ATOP,
569 CAIRO_OPERATOR_SATURATE
573 cairo_set_operator (cairo_t *cr, cairo_operator_t op);
576 cairo_set_source (cairo_t *cr, cairo_pattern_t *source);
579 cairo_set_source_rgb (cairo_t *cr, double red, double green, double blue);
582 cairo_set_source_rgba (cairo_t *cr,
583 double red, double green, double blue,
587 cairo_set_source_surface (cairo_t *cr,
588 cairo_surface_t *surface,
593 cairo_set_tolerance (cairo_t *cr, double tolerance);
594 # 398 "/usr/include/cairo/cairo.h"
595 typedef enum _cairo_antialias {
596 CAIRO_ANTIALIAS_DEFAULT,
597 CAIRO_ANTIALIAS_NONE,
598 CAIRO_ANTIALIAS_GRAY,
599 CAIRO_ANTIALIAS_SUBPIXEL
603 cairo_set_antialias (cairo_t *cr, cairo_antialias_t antialias);
604 # 431 "/usr/include/cairo/cairo.h"
605 typedef enum _cairo_fill_rule {
606 CAIRO_FILL_RULE_WINDING,
607 CAIRO_FILL_RULE_EVEN_ODD
611 cairo_set_fill_rule (cairo_t *cr, cairo_fill_rule_t fill_rule);
614 cairo_set_line_width (cairo_t *cr, double width);
615 # 450 "/usr/include/cairo/cairo.h"
616 typedef enum _cairo_line_cap {
618 CAIRO_LINE_CAP_ROUND,
619 CAIRO_LINE_CAP_SQUARE
623 cairo_set_line_cap (cairo_t *cr, cairo_line_cap_t line_cap);
624 # 470 "/usr/include/cairo/cairo.h"
625 typedef enum _cairo_line_join {
626 CAIRO_LINE_JOIN_MITER,
627 CAIRO_LINE_JOIN_ROUND,
628 CAIRO_LINE_JOIN_BEVEL
632 cairo_set_line_join (cairo_t *cr, cairo_line_join_t line_join);
635 cairo_set_dash (cairo_t *cr,
636 const double *dashes,
641 cairo_set_miter_limit (cairo_t *cr, double limit);
644 cairo_translate (cairo_t *cr, double tx, double ty);
647 cairo_scale (cairo_t *cr, double sx, double sy);
650 cairo_rotate (cairo_t *cr, double angle);
653 cairo_transform (cairo_t *cr,
654 const cairo_matrix_t *matrix);
657 cairo_set_matrix (cairo_t *cr,
658 const cairo_matrix_t *matrix);
661 cairo_identity_matrix (cairo_t *cr);
664 cairo_user_to_device (cairo_t *cr, double *x, double *y);
667 cairo_user_to_device_distance (cairo_t *cr, double *dx, double *dy);
670 cairo_device_to_user (cairo_t *cr, double *x, double *y);
673 cairo_device_to_user_distance (cairo_t *cr, double *dx, double *dy);
677 cairo_new_path (cairo_t *cr);
680 cairo_move_to (cairo_t *cr, double x, double y);
683 cairo_new_sub_path (cairo_t *cr);
686 cairo_line_to (cairo_t *cr, double x, double y);
689 cairo_curve_to (cairo_t *cr,
690 double x1, double y1,
691 double x2, double y2,
692 double x3, double y3);
695 cairo_arc (cairo_t *cr,
696 double xc, double yc,
698 double angle1, double angle2);
701 cairo_arc_negative (cairo_t *cr,
702 double xc, double yc,
704 double angle1, double angle2);
705 # 559 "/usr/include/cairo/cairo.h"
707 cairo_rel_move_to (cairo_t *cr, double dx, double dy);
710 cairo_rel_line_to (cairo_t *cr, double dx, double dy);
713 cairo_rel_curve_to (cairo_t *cr,
714 double dx1, double dy1,
715 double dx2, double dy2,
716 double dx3, double dy3);
719 cairo_rectangle (cairo_t *cr,
721 double width, double height);
729 cairo_close_path (cairo_t *cr);
733 cairo_paint (cairo_t *cr);
736 cairo_paint_with_alpha (cairo_t *cr,
740 cairo_mask (cairo_t *cr,
741 cairo_pattern_t *pattern);
744 cairo_mask_surface (cairo_t *cr,
745 cairo_surface_t *surface,
750 cairo_stroke (cairo_t *cr);
753 cairo_stroke_preserve (cairo_t *cr);
756 cairo_fill (cairo_t *cr);
759 cairo_fill_preserve (cairo_t *cr);
762 cairo_copy_page (cairo_t *cr);
765 cairo_show_page (cairo_t *cr);
769 cairo_in_stroke (cairo_t *cr, double x, double y);
772 cairo_in_fill (cairo_t *cr, double x, double y);
776 cairo_stroke_extents (cairo_t *cr,
777 double *x1, double *y1,
778 double *x2, double *y2);
781 cairo_fill_extents (cairo_t *cr,
782 double *x1, double *y1,
783 double *x2, double *y2);
787 cairo_reset_clip (cairo_t *cr);
790 cairo_clip (cairo_t *cr);
793 cairo_clip_preserve (cairo_t *cr);
796 cairo_clip_extents (cairo_t *cr,
797 double *x1, double *y1,
798 double *x2, double *y2);
799 # 664 "/usr/include/cairo/cairo.h"
800 typedef struct _cairo_rectangle {
801 double x, y, width, height;
803 # 679 "/usr/include/cairo/cairo.h"
804 typedef struct _cairo_rectangle_list {
805 cairo_status_t status;
806 cairo_rectangle_t *rectangles;
808 } cairo_rectangle_list_t;
810 cairo_rectangle_list_t *
811 cairo_copy_clip_rectangle_list (cairo_t *cr);
814 cairo_rectangle_list_destroy (cairo_rectangle_list_t *rectangle_list);
815 # 708 "/usr/include/cairo/cairo.h"
816 typedef struct _cairo_scaled_font cairo_scaled_font_t;
817 # 727 "/usr/include/cairo/cairo.h"
818 typedef struct _cairo_font_face cairo_font_face_t;
819 # 753 "/usr/include/cairo/cairo.h"
825 # 786 "/usr/include/cairo/cairo.h"
833 } cairo_text_extents_t;
834 # 836 "/usr/include/cairo/cairo.h"
839 double max_x_advance;
840 double max_y_advance;
841 } cairo_font_extents_t;
842 # 852 "/usr/include/cairo/cairo.h"
843 typedef enum _cairo_font_slant {
844 CAIRO_FONT_SLANT_NORMAL,
845 CAIRO_FONT_SLANT_ITALIC,
846 CAIRO_FONT_SLANT_OBLIQUE
847 } cairo_font_slant_t;
848 # 865 "/usr/include/cairo/cairo.h"
849 typedef enum _cairo_font_weight {
850 CAIRO_FONT_WEIGHT_NORMAL,
851 CAIRO_FONT_WEIGHT_BOLD
852 } cairo_font_weight_t;
853 # 887 "/usr/include/cairo/cairo.h"
854 typedef enum _cairo_subpixel_order {
855 CAIRO_SUBPIXEL_ORDER_DEFAULT,
856 CAIRO_SUBPIXEL_ORDER_RGB,
857 CAIRO_SUBPIXEL_ORDER_BGR,
858 CAIRO_SUBPIXEL_ORDER_VRGB,
859 CAIRO_SUBPIXEL_ORDER_VBGR
860 } cairo_subpixel_order_t;
861 # 917 "/usr/include/cairo/cairo.h"
862 typedef enum _cairo_hint_style {
863 CAIRO_HINT_STYLE_DEFAULT,
864 CAIRO_HINT_STYLE_NONE,
865 CAIRO_HINT_STYLE_SLIGHT,
866 CAIRO_HINT_STYLE_MEDIUM,
867 CAIRO_HINT_STYLE_FULL
868 } cairo_hint_style_t;
869 # 938 "/usr/include/cairo/cairo.h"
870 typedef enum _cairo_hint_metrics {
871 CAIRO_HINT_METRICS_DEFAULT,
872 CAIRO_HINT_METRICS_OFF,
873 CAIRO_HINT_METRICS_ON
874 } cairo_hint_metrics_t;
875 # 964 "/usr/include/cairo/cairo.h"
876 typedef struct _cairo_font_options cairo_font_options_t;
878 cairo_font_options_t *
879 cairo_font_options_create (void);
881 cairo_font_options_t *
882 cairo_font_options_copy (const cairo_font_options_t *original);
885 cairo_font_options_destroy (cairo_font_options_t *options);
888 cairo_font_options_status (cairo_font_options_t *options);
891 cairo_font_options_merge (cairo_font_options_t *options,
892 const cairo_font_options_t *other);
894 cairo_font_options_equal (const cairo_font_options_t *options,
895 const cairo_font_options_t *other);
898 cairo_font_options_hash (const cairo_font_options_t *options);
901 cairo_font_options_set_antialias (cairo_font_options_t *options,
902 cairo_antialias_t antialias);
904 cairo_font_options_get_antialias (const cairo_font_options_t *options);
907 cairo_font_options_set_subpixel_order (cairo_font_options_t *options,
908 cairo_subpixel_order_t subpixel_order);
909 cairo_subpixel_order_t
910 cairo_font_options_get_subpixel_order (const cairo_font_options_t *options);
913 cairo_font_options_set_hint_style (cairo_font_options_t *options,
914 cairo_hint_style_t hint_style);
916 cairo_font_options_get_hint_style (const cairo_font_options_t *options);
919 cairo_font_options_set_hint_metrics (cairo_font_options_t *options,
920 cairo_hint_metrics_t hint_metrics);
922 cairo_font_options_get_hint_metrics (const cairo_font_options_t *options);
928 cairo_select_font_face (cairo_t *cr,
930 cairo_font_slant_t slant,
931 cairo_font_weight_t weight);
934 cairo_set_font_size (cairo_t *cr, double size);
937 cairo_set_font_matrix (cairo_t *cr,
938 const cairo_matrix_t *matrix);
941 cairo_get_font_matrix (cairo_t *cr,
942 cairo_matrix_t *matrix);
945 cairo_set_font_options (cairo_t *cr,
946 const cairo_font_options_t *options);
949 cairo_get_font_options (cairo_t *cr,
950 cairo_font_options_t *options);
953 cairo_set_font_face (cairo_t *cr, cairo_font_face_t *font_face);
956 cairo_get_font_face (cairo_t *cr);
959 cairo_set_scaled_font (cairo_t *cr,
960 const cairo_scaled_font_t *scaled_font);
962 cairo_scaled_font_t *
963 cairo_get_scaled_font (cairo_t *cr);
966 cairo_show_text (cairo_t *cr, const char *utf8);
969 cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs);
972 cairo_text_path (cairo_t *cr, const char *utf8);
975 cairo_glyph_path (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs);
978 cairo_text_extents (cairo_t *cr,
980 cairo_text_extents_t *extents);
983 cairo_glyph_extents (cairo_t *cr,
984 const cairo_glyph_t *glyphs,
986 cairo_text_extents_t *extents);
989 cairo_font_extents (cairo_t *cr,
990 cairo_font_extents_t *extents);
995 cairo_font_face_reference (cairo_font_face_t *font_face);
998 cairo_font_face_destroy (cairo_font_face_t *font_face);
1001 cairo_font_face_get_reference_count (cairo_font_face_t *font_face);
1004 cairo_font_face_status (cairo_font_face_t *font_face);
1005 # 1130 "/usr/include/cairo/cairo.h"
1006 typedef enum _cairo_font_type {
1007 CAIRO_FONT_TYPE_TOY,
1009 CAIRO_FONT_TYPE_WIN32,
1010 CAIRO_FONT_TYPE_ATSUI
1011 } cairo_font_type_t;
1014 cairo_font_face_get_type (cairo_font_face_t *font_face);
1017 cairo_font_face_get_user_data (cairo_font_face_t *font_face,
1018 const cairo_user_data_key_t *key);
1021 cairo_font_face_set_user_data (cairo_font_face_t *font_face,
1022 const cairo_user_data_key_t *key,
1024 cairo_destroy_func_t destroy);
1028 cairo_scaled_font_t *
1029 cairo_scaled_font_create (cairo_font_face_t *font_face,
1030 const cairo_matrix_t *font_matrix,
1031 const cairo_matrix_t *ctm,
1032 const cairo_font_options_t *options);
1034 cairo_scaled_font_t *
1035 cairo_scaled_font_reference (cairo_scaled_font_t *scaled_font);
1038 cairo_scaled_font_destroy (cairo_scaled_font_t *scaled_font);
1041 cairo_scaled_font_get_reference_count (cairo_scaled_font_t *scaled_font);
1044 cairo_scaled_font_status (cairo_scaled_font_t *scaled_font);
1047 cairo_scaled_font_get_type (cairo_scaled_font_t *scaled_font);
1050 cairo_scaled_font_get_user_data (cairo_scaled_font_t *scaled_font,
1051 const cairo_user_data_key_t *key);
1054 cairo_scaled_font_set_user_data (cairo_scaled_font_t *scaled_font,
1055 const cairo_user_data_key_t *key,
1057 cairo_destroy_func_t destroy);
1060 cairo_scaled_font_extents (cairo_scaled_font_t *scaled_font,
1061 cairo_font_extents_t *extents);
1064 cairo_scaled_font_text_extents (cairo_scaled_font_t *scaled_font,
1066 cairo_text_extents_t *extents);
1069 cairo_scaled_font_glyph_extents (cairo_scaled_font_t *scaled_font,
1070 const cairo_glyph_t *glyphs,
1072 cairo_text_extents_t *extents);
1075 cairo_scaled_font_get_font_face (cairo_scaled_font_t *scaled_font);
1078 cairo_scaled_font_get_font_matrix (cairo_scaled_font_t *scaled_font,
1079 cairo_matrix_t *font_matrix);
1082 cairo_scaled_font_get_ctm (cairo_scaled_font_t *scaled_font,
1083 cairo_matrix_t *ctm);
1086 cairo_scaled_font_get_font_options (cairo_scaled_font_t *scaled_font,
1087 cairo_font_options_t *options);
1092 cairo_get_operator (cairo_t *cr);
1095 cairo_get_source (cairo_t *cr);
1098 cairo_get_tolerance (cairo_t *cr);
1101 cairo_get_antialias (cairo_t *cr);
1104 cairo_get_current_point (cairo_t *cr, double *x, double *y);
1107 cairo_get_fill_rule (cairo_t *cr);
1110 cairo_get_line_width (cairo_t *cr);
1113 cairo_get_line_cap (cairo_t *cr);
1116 cairo_get_line_join (cairo_t *cr);
1119 cairo_get_miter_limit (cairo_t *cr);
1122 cairo_get_dash_count (cairo_t *cr);
1125 cairo_get_dash (cairo_t *cr, double *dashes, double *offset);
1128 cairo_get_matrix (cairo_t *cr, cairo_matrix_t *matrix);
1131 cairo_get_target (cairo_t *cr);
1134 cairo_get_group_target (cairo_t *cr);
1135 # 1271 "/usr/include/cairo/cairo.h"
1136 typedef enum _cairo_path_data_type {
1139 CAIRO_PATH_CURVE_TO,
1140 CAIRO_PATH_CLOSE_PATH
1141 } cairo_path_data_type_t;
1142 # 1344 "/usr/include/cairo/cairo.h"
1143 typedef union _cairo_path_data_t cairo_path_data_t;
1144 union _cairo_path_data_t {
1146 cairo_path_data_type_t type;
1153 # 1374 "/usr/include/cairo/cairo.h"
1154 typedef struct cairo_path {
1155 cairo_status_t status;
1156 cairo_path_data_t *data;
1161 cairo_copy_path (cairo_t *cr);
1164 cairo_copy_path_flat (cairo_t *cr);
1167 cairo_append_path (cairo_t *cr,
1168 const cairo_path_t *path);
1171 cairo_path_destroy (cairo_path_t *path);
1176 cairo_status (cairo_t *cr);
1179 cairo_status_to_string (cairo_status_t status);
1184 cairo_surface_create_similar (cairo_surface_t *other,
1185 cairo_content_t content,
1190 cairo_surface_reference (cairo_surface_t *surface);
1193 cairo_surface_finish (cairo_surface_t *surface);
1196 cairo_surface_destroy (cairo_surface_t *surface);
1199 cairo_surface_get_reference_count (cairo_surface_t *surface);
1202 cairo_surface_status (cairo_surface_t *surface);
1203 # 1462 "/usr/include/cairo/cairo.h"
1204 typedef enum _cairo_surface_type {
1205 CAIRO_SURFACE_TYPE_IMAGE,
1206 CAIRO_SURFACE_TYPE_PDF,
1207 CAIRO_SURFACE_TYPE_PS,
1208 CAIRO_SURFACE_TYPE_XLIB,
1209 CAIRO_SURFACE_TYPE_XCB,
1210 CAIRO_SURFACE_TYPE_GLITZ,
1211 CAIRO_SURFACE_TYPE_QUARTZ,
1212 CAIRO_SURFACE_TYPE_WIN32,
1213 CAIRO_SURFACE_TYPE_BEOS,
1214 CAIRO_SURFACE_TYPE_DIRECTFB,
1215 CAIRO_SURFACE_TYPE_SVG,
1216 CAIRO_SURFACE_TYPE_OS2
1217 } cairo_surface_type_t;
1219 cairo_surface_type_t
1220 cairo_surface_get_type (cairo_surface_t *surface);
1223 cairo_surface_get_content (cairo_surface_t *surface);
1228 cairo_surface_write_to_png (cairo_surface_t *surface,
1229 const char *filename);
1232 cairo_surface_write_to_png_stream (cairo_surface_t *surface,
1233 cairo_write_func_t write_func,
1239 cairo_surface_get_user_data (cairo_surface_t *surface,
1240 const cairo_user_data_key_t *key);
1243 cairo_surface_set_user_data (cairo_surface_t *surface,
1244 const cairo_user_data_key_t *key,
1246 cairo_destroy_func_t destroy);
1249 cairo_surface_get_font_options (cairo_surface_t *surface,
1250 cairo_font_options_t *options);
1253 cairo_surface_flush (cairo_surface_t *surface);
1256 cairo_surface_mark_dirty (cairo_surface_t *surface);
1259 cairo_surface_mark_dirty_rectangle (cairo_surface_t *surface,
1266 cairo_surface_set_device_offset (cairo_surface_t *surface,
1271 cairo_surface_get_device_offset (cairo_surface_t *surface,
1276 cairo_surface_set_fallback_resolution (cairo_surface_t *surface,
1277 double x_pixels_per_inch,
1278 double y_pixels_per_inch);
1279 # 1567 "/usr/include/cairo/cairo.h"
1280 typedef enum _cairo_format {
1281 CAIRO_FORMAT_ARGB32,
1292 cairo_image_surface_create (cairo_format_t format,
1297 cairo_image_surface_create_for_data (unsigned char *data,
1298 cairo_format_t format,
1304 cairo_image_surface_get_data (cairo_surface_t *surface);
1307 cairo_image_surface_get_format (cairo_surface_t *surface);
1310 cairo_image_surface_get_width (cairo_surface_t *surface);
1313 cairo_image_surface_get_height (cairo_surface_t *surface);
1316 cairo_image_surface_get_stride (cairo_surface_t *surface);
1321 cairo_image_surface_create_from_png (const char *filename);
1324 cairo_image_surface_create_from_png_stream (cairo_read_func_t read_func,
1332 cairo_pattern_create_rgb (double red, double green, double blue);
1335 cairo_pattern_create_rgba (double red, double green, double blue,
1339 cairo_pattern_create_for_surface (cairo_surface_t *surface);
1342 cairo_pattern_create_linear (double x0, double y0,
1343 double x1, double y1);
1346 cairo_pattern_create_radial (double cx0, double cy0, double radius0,
1347 double cx1, double cy1, double radius1);
1350 cairo_pattern_reference (cairo_pattern_t *pattern);
1353 cairo_pattern_destroy (cairo_pattern_t *pattern);
1356 cairo_pattern_get_reference_count (cairo_pattern_t *pattern);
1359 cairo_pattern_status (cairo_pattern_t *pattern);
1362 cairo_pattern_get_user_data (cairo_pattern_t *pattern,
1363 const cairo_user_data_key_t *key);
1366 cairo_pattern_set_user_data (cairo_pattern_t *pattern,
1367 const cairo_user_data_key_t *key,
1369 cairo_destroy_func_t destroy);
1370 # 1688 "/usr/include/cairo/cairo.h"
1371 typedef enum _cairo_pattern_type {
1372 CAIRO_PATTERN_TYPE_SOLID,
1373 CAIRO_PATTERN_TYPE_SURFACE,
1374 CAIRO_PATTERN_TYPE_LINEAR,
1375 CAIRO_PATTERN_TYPE_RADIAL
1376 } cairo_pattern_type_t;
1378 cairo_pattern_type_t
1379 cairo_pattern_get_type (cairo_pattern_t *pattern);
1382 cairo_pattern_add_color_stop_rgb (cairo_pattern_t *pattern,
1384 double red, double green, double blue);
1387 cairo_pattern_add_color_stop_rgba (cairo_pattern_t *pattern,
1389 double red, double green, double blue,
1393 cairo_pattern_set_matrix (cairo_pattern_t *pattern,
1394 const cairo_matrix_t *matrix);
1397 cairo_pattern_get_matrix (cairo_pattern_t *pattern,
1398 cairo_matrix_t *matrix);
1399 # 1733 "/usr/include/cairo/cairo.h"
1400 typedef enum _cairo_extend {
1402 CAIRO_EXTEND_REPEAT,
1403 CAIRO_EXTEND_REFLECT,
1408 cairo_pattern_set_extend (cairo_pattern_t *pattern, cairo_extend_t extend);
1411 cairo_pattern_get_extend (cairo_pattern_t *pattern);
1413 typedef enum _cairo_filter {
1417 CAIRO_FILTER_NEAREST,
1418 CAIRO_FILTER_BILINEAR,
1419 CAIRO_FILTER_GAUSSIAN
1423 cairo_pattern_set_filter (cairo_pattern_t *pattern, cairo_filter_t filter);
1426 cairo_pattern_get_filter (cairo_pattern_t *pattern);
1429 cairo_pattern_get_rgba (cairo_pattern_t *pattern,
1430 double *red, double *green,
1431 double *blue, double *alpha);
1434 cairo_pattern_get_surface (cairo_pattern_t *pattern,
1435 cairo_surface_t **surface);
1439 cairo_pattern_get_color_stop_rgba (cairo_pattern_t *pattern,
1440 int index, double *offset,
1441 double *red, double *green,
1442 double *blue, double *alpha);
1445 cairo_pattern_get_color_stop_count (cairo_pattern_t *pattern,
1449 cairo_pattern_get_linear_points (cairo_pattern_t *pattern,
1450 double *x0, double *y0,
1451 double *x1, double *y1);
1454 cairo_pattern_get_radial_circles (cairo_pattern_t *pattern,
1455 double *x0, double *y0, double *r0,
1456 double *x1, double *y1, double *r1);
1461 cairo_matrix_init (cairo_matrix_t *matrix,
1462 double xx, double yx,
1463 double xy, double yy,
1464 double x0, double y0);
1467 cairo_matrix_init_identity (cairo_matrix_t *matrix);
1470 cairo_matrix_init_translate (cairo_matrix_t *matrix,
1471 double tx, double ty);
1474 cairo_matrix_init_scale (cairo_matrix_t *matrix,
1475 double sx, double sy);
1478 cairo_matrix_init_rotate (cairo_matrix_t *matrix,
1482 cairo_matrix_translate (cairo_matrix_t *matrix, double tx, double ty);
1485 cairo_matrix_scale (cairo_matrix_t *matrix, double sx, double sy);
1488 cairo_matrix_rotate (cairo_matrix_t *matrix, double radians);
1491 cairo_matrix_invert (cairo_matrix_t *matrix);
1494 cairo_matrix_multiply (cairo_matrix_t *result,
1495 const cairo_matrix_t *a,
1496 const cairo_matrix_t *b);
1499 cairo_matrix_transform_distance (const cairo_matrix_t *matrix,
1500 double *dx, double *dy);
1503 cairo_matrix_transform_point (const cairo_matrix_t *matrix,
1504 double *x, double *y);
1508 cairo_debug_reset_static_data (void);
1511 # 31 "../gdk/gdkcolor.h" 2
1512 # 1 "../gdk/gdktypes.h" 1
1513 # 32 "../gdk/gdktypes.h"
1514 # 1 "/usr/include/glib-2.0/glib.h" 1
1515 # 30 "/usr/include/glib-2.0/glib.h"
1516 # 1 "/usr/include/glib-2.0/glib/galloca.h" 1
1517 # 30 "/usr/include/glib-2.0/glib/galloca.h"
1518 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1519 # 30 "/usr/include/glib-2.0/glib/gtypes.h"
1520 # 1 "/usr/lib/glib-2.0/include/glibconfig.h" 1
1521 # 9 "/usr/lib/glib-2.0/include/glibconfig.h"
1522 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
1523 # 36 "/usr/include/glib-2.0/glib/gmacros.h"
1524 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
1525 # 152 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4
1526 typedef int ptrdiff_t;
1527 # 326 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4
1528 typedef long int wchar_t;
1529 # 37 "/usr/include/glib-2.0/glib/gmacros.h" 2
1530 # 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2
1532 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 1 3 4
1533 # 11 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 3 4
1534 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/syslimits.h" 1 3 4
1541 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 1 3 4
1542 # 122 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 3 4
1543 # 1 "/usr/include/limits.h" 1 3 4
1544 # 145 "/usr/include/limits.h" 3 4
1545 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
1546 # 153 "/usr/include/bits/posix1_lim.h" 3 4
1547 # 1 "/usr/include/bits/local_lim.h" 1 3 4
1548 # 36 "/usr/include/bits/local_lim.h" 3 4
1549 # 1 "/usr/include/linux/limits.h" 1 3 4
1550 # 37 "/usr/include/bits/local_lim.h" 2 3 4
1551 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4
1552 # 146 "/usr/include/limits.h" 2 3 4
1556 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
1557 # 150 "/usr/include/limits.h" 2 3 4
1558 # 123 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 2 3 4
1559 # 8 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/syslimits.h" 2 3 4
1560 # 12 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 2 3 4
1561 # 12 "/usr/lib/glib-2.0/include/glibconfig.h" 2
1562 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/float.h" 1 3 4
1563 # 13 "/usr/lib/glib-2.0/include/glibconfig.h" 2
1568 # 32 "/usr/lib/glib-2.0/include/glibconfig.h"
1569 typedef signed char gint8;
1570 typedef unsigned char guint8;
1571 typedef signed short gint16;
1572 typedef unsigned short guint16;
1576 typedef signed int gint32;
1577 typedef unsigned int guint32;
1583 __extension__ typedef signed long long gint64;
1584 __extension__ typedef unsigned long long guint64;
1585 # 59 "/usr/lib/glib-2.0/include/glibconfig.h"
1586 typedef signed int gssize;
1587 typedef unsigned int gsize;
1588 # 69 "/usr/lib/glib-2.0/include/glibconfig.h"
1589 typedef gint64 goffset;
1590 # 139 "/usr/lib/glib-2.0/include/glibconfig.h"
1591 typedef struct _GStaticMutex GStaticMutex;
1592 struct _GStaticMutex
1594 struct _GMutex *runtime_mutex;
1597 double dummy_double;
1598 void *dummy_pointer;
1602 # 158 "/usr/lib/glib-2.0/include/glibconfig.h"
1603 typedef union _GSystemThread GSystemThread;
1604 union _GSystemThread
1607 double dummy_double;
1608 void *dummy_pointer;
1611 # 200 "/usr/lib/glib-2.0/include/glibconfig.h"
1615 # 31 "/usr/include/glib-2.0/glib/gtypes.h" 2
1618 # 41 "/usr/include/glib-2.0/glib/gtypes.h"
1620 typedef short gshort;
1623 typedef gint gboolean;
1625 typedef unsigned char guchar;
1626 typedef unsigned short gushort;
1627 typedef unsigned long gulong;
1628 typedef unsigned int guint;
1630 typedef float gfloat;
1631 typedef double gdouble;
1632 # 72 "/usr/include/glib-2.0/glib/gtypes.h"
1633 typedef void* gpointer;
1634 typedef const void *gconstpointer;
1636 typedef gint (*GCompareFunc) (gconstpointer a,
1638 typedef gint (*GCompareDataFunc) (gconstpointer a,
1640 gpointer user_data);
1641 typedef gboolean (*GEqualFunc) (gconstpointer a,
1643 typedef void (*GDestroyNotify) (gpointer data);
1644 typedef void (*GFunc) (gpointer data,
1645 gpointer user_data);
1646 typedef guint (*GHashFunc) (gconstpointer key);
1647 typedef void (*GHFunc) (gpointer key,
1649 gpointer user_data);
1650 typedef void (*GFreeFunc) (gpointer data);
1651 typedef const gchar * (*GTranslateFunc) (const gchar *str,
1653 # 345 "/usr/include/glib-2.0/glib/gtypes.h"
1654 typedef union _GDoubleIEEE754 GDoubleIEEE754;
1655 typedef union _GFloatIEEE754 GFloatIEEE754;
1661 union _GFloatIEEE754
1665 guint mantissa : 23;
1666 guint biased_exponent : 8;
1670 union _GDoubleIEEE754
1674 guint mantissa_low : 32;
1675 guint mantissa_high : 20;
1676 guint biased_exponent : 11;
1680 # 395 "/usr/include/glib-2.0/glib/gtypes.h"
1681 typedef struct _GTimeVal GTimeVal;
1690 # 31 "/usr/include/glib-2.0/glib/galloca.h" 2
1691 # 31 "/usr/include/glib-2.0/glib.h" 2
1692 # 1 "/usr/include/glib-2.0/glib/garray.h" 1
1693 # 32 "/usr/include/glib-2.0/glib/garray.h"
1696 typedef struct _GArray GArray;
1697 typedef struct _GByteArray GByteArray;
1698 typedef struct _GPtrArray GPtrArray;
1717 # 66 "/usr/include/glib-2.0/glib/garray.h"
1718 GArray* g_array_new (gboolean zero_terminated,
1720 guint element_size);
1721 GArray* g_array_sized_new (gboolean zero_terminated,
1724 guint reserved_size);
1725 gchar* g_array_free (GArray *array,
1726 gboolean free_segment);
1727 GArray* g_array_append_vals (GArray *array,
1730 GArray* g_array_prepend_vals (GArray *array,
1733 GArray* g_array_insert_vals (GArray *array,
1737 GArray* g_array_set_size (GArray *array,
1739 GArray* g_array_remove_index (GArray *array,
1741 GArray* g_array_remove_index_fast (GArray *array,
1743 GArray* g_array_remove_range (GArray *array,
1746 void g_array_sort (GArray *array,
1747 GCompareFunc compare_func);
1748 void g_array_sort_with_data (GArray *array,
1749 GCompareDataFunc compare_func,
1750 gpointer user_data);
1757 GPtrArray* g_ptr_array_new (void);
1758 GPtrArray* g_ptr_array_sized_new (guint reserved_size);
1759 gpointer* g_ptr_array_free (GPtrArray *array,
1761 void g_ptr_array_set_size (GPtrArray *array,
1763 gpointer g_ptr_array_remove_index (GPtrArray *array,
1765 gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
1767 gboolean g_ptr_array_remove (GPtrArray *array,
1769 gboolean g_ptr_array_remove_fast (GPtrArray *array,
1771 void g_ptr_array_remove_range (GPtrArray *array,
1774 void g_ptr_array_add (GPtrArray *array,
1776 void g_ptr_array_sort (GPtrArray *array,
1777 GCompareFunc compare_func);
1778 void g_ptr_array_sort_with_data (GPtrArray *array,
1779 GCompareDataFunc compare_func,
1780 gpointer user_data);
1781 void g_ptr_array_foreach (GPtrArray *array,
1783 gpointer user_data);
1790 GByteArray* g_byte_array_new (void);
1791 GByteArray* g_byte_array_sized_new (guint reserved_size);
1792 guint8* g_byte_array_free (GByteArray *array,
1793 gboolean free_segment);
1794 GByteArray* g_byte_array_append (GByteArray *array,
1797 GByteArray* g_byte_array_prepend (GByteArray *array,
1800 GByteArray* g_byte_array_set_size (GByteArray *array,
1802 GByteArray* g_byte_array_remove_index (GByteArray *array,
1804 GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
1806 GByteArray* g_byte_array_remove_range (GByteArray *array,
1809 void g_byte_array_sort (GByteArray *array,
1810 GCompareFunc compare_func);
1811 void g_byte_array_sort_with_data (GByteArray *array,
1812 GCompareDataFunc compare_func,
1813 gpointer user_data);
1817 # 32 "/usr/include/glib-2.0/glib.h" 2
1818 # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
1819 # 30 "/usr/include/glib-2.0/glib/gasyncqueue.h"
1820 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
1821 # 30 "/usr/include/glib-2.0/glib/gthread.h"
1822 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
1823 # 24 "/usr/include/glib-2.0/glib/gerror.h"
1824 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
1825 # 32 "/usr/include/glib-2.0/glib/gquark.h"
1828 typedef guint32 GQuark;
1832 GQuark g_quark_try_string (const gchar *string);
1833 GQuark g_quark_from_static_string (const gchar *string);
1834 GQuark g_quark_from_string (const gchar *string);
1835 const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
1837 const gchar* g_intern_string (const gchar *string);
1838 const gchar* g_intern_static_string (const gchar *string);
1842 # 25 "/usr/include/glib-2.0/glib/gerror.h" 2
1846 typedef struct _GError GError;
1855 GError* g_error_new (GQuark domain,
1857 const gchar *format,
1858 ...) __attribute__((__format__ (__printf__, 3, 4)));
1860 GError* g_error_new_literal (GQuark domain,
1862 const gchar *message);
1864 void g_error_free (GError *error);
1865 GError* g_error_copy (const GError *error);
1867 gboolean g_error_matches (const GError *error,
1874 void g_set_error (GError **err,
1877 const gchar *format,
1878 ...) __attribute__((__format__ (__printf__, 4, 5)));
1882 void g_propagate_error (GError **dest,
1886 void g_clear_error (GError **err);
1890 # 31 "/usr/include/glib-2.0/glib/gthread.h" 2
1892 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
1893 # 31 "/usr/include/glib-2.0/glib/gutils.h"
1894 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 1 3 4
1895 # 43 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 3 4
1896 typedef __builtin_va_list __gnuc_va_list;
1897 # 105 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 3 4
1898 typedef __gnuc_va_list va_list;
1899 # 32 "/usr/include/glib-2.0/glib/gutils.h" 2
1902 # 133 "/usr/include/glib-2.0/glib/gutils.h"
1903 const gchar* g_get_user_name (void);
1904 const gchar* g_get_real_name (void);
1905 const gchar* g_get_home_dir (void);
1906 const gchar* g_get_tmp_dir (void);
1907 const gchar* g_get_host_name (void);
1908 gchar* g_get_prgname (void);
1909 void g_set_prgname (const gchar *prgname);
1910 const gchar* g_get_application_name (void);
1911 void g_set_application_name (const gchar *application_name);
1913 const gchar* g_get_user_data_dir (void);
1914 const gchar* g_get_user_config_dir (void);
1915 const gchar* g_get_user_cache_dir (void);
1916 const gchar* const * g_get_system_data_dirs (void);
1917 # 161 "/usr/include/glib-2.0/glib/gutils.h"
1918 const gchar* const * g_get_system_config_dirs (void);
1920 const gchar* const * g_get_language_names (void);
1921 # 187 "/usr/include/glib-2.0/glib/gutils.h"
1923 G_USER_DIRECTORY_DESKTOP,
1924 G_USER_DIRECTORY_DOCUMENTS,
1925 G_USER_DIRECTORY_DOWNLOAD,
1926 G_USER_DIRECTORY_MUSIC,
1927 G_USER_DIRECTORY_PICTURES,
1928 G_USER_DIRECTORY_PUBLIC_SHARE,
1929 G_USER_DIRECTORY_TEMPLATES,
1930 G_USER_DIRECTORY_VIDEOS,
1932 G_USER_N_DIRECTORIES
1935 const gchar* g_get_user_special_dir (GUserDirectory directory);
1937 typedef struct _GDebugKey GDebugKey;
1946 guint g_parse_debug_string (const gchar *string,
1947 const GDebugKey *keys,
1950 gint g_snprintf (gchar *string,
1952 gchar const *format,
1953 ...) __attribute__((__format__ (__printf__, 3, 4)));
1954 gint g_vsnprintf (gchar *string,
1956 gchar const *format,
1960 gboolean g_path_is_absolute (const gchar *file_name);
1963 const gchar* g_path_skip_root (const gchar *file_name);
1971 const gchar* g_basename (const gchar *file_name);
1972 # 246 "/usr/include/glib-2.0/glib/gutils.h"
1973 gchar* g_get_current_dir (void);
1974 gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__));
1975 gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__));
1978 void g_nullify_pointer (gpointer *nullify_location);
1979 # 262 "/usr/include/glib-2.0/glib/gutils.h"
1980 const gchar* g_getenv (const gchar *variable);
1981 gboolean g_setenv (const gchar *variable,
1983 gboolean overwrite);
1984 void g_unsetenv (const gchar *variable);
1985 gchar** g_listenv (void);
1988 const gchar* _g_getenv_nomalloc (const gchar *variable,
1989 gchar buffer[1024]);
1995 typedef void (*GVoidFunc) (void);
1996 # 288 "/usr/include/glib-2.0/glib/gutils.h"
1997 void g_atexit (GVoidFunc func);
1998 # 302 "/usr/include/glib-2.0/glib/gutils.h"
1999 gchar* g_find_program_in_path (const gchar *program);
2003 extern __inline gint g_bit_nth_lsf (gulong mask,
2004 gint nth_bit) __attribute__((__const__));
2005 extern __inline gint g_bit_nth_msf (gulong mask,
2006 gint nth_bit) __attribute__((__const__));
2007 extern __inline guint g_bit_storage (gulong number) __attribute__((__const__));
2012 typedef struct _GTrashStack GTrashStack;
2018 extern __inline void g_trash_stack_push (GTrashStack **stack_p,
2020 extern __inline gpointer g_trash_stack_pop (GTrashStack **stack_p);
2021 extern __inline gpointer g_trash_stack_peek (GTrashStack **stack_p);
2022 extern __inline guint g_trash_stack_height (GTrashStack **stack_p);
2027 extern __inline gint
2028 g_bit_nth_lsf (gulong mask,
2031 if ((__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit < -1) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0)))
2033 while (nth_bit < ((4 * 8) - 1))
2036 if (mask & (1UL << nth_bit))
2041 extern __inline gint
2042 g_bit_nth_msf (gulong mask,
2045 if (nth_bit < 0 || (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit > 4 * 8) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0)))
2050 if (mask & (1UL << nth_bit))
2055 extern __inline guint
2056 g_bit_storage (gulong number)
2059 return (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (number) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ?
2060 ((4 * 8 - 1) ^ __builtin_clzl(number)) + 1 : 1;
2061 # 375 "/usr/include/glib-2.0/glib/gutils.h"
2063 extern __inline void
2064 g_trash_stack_push (GTrashStack **stack_p,
2067 GTrashStack *data = (GTrashStack *) data_p;
2069 data->next = *stack_p;
2072 extern __inline gpointer
2073 g_trash_stack_pop (GTrashStack **stack_p)
2080 *stack_p = data->next;
2084 data->next = ((void *)0);
2089 extern __inline gpointer
2090 g_trash_stack_peek (GTrashStack **stack_p)
2098 extern __inline guint
2099 g_trash_stack_height (GTrashStack **stack_p)
2104 for (data = *stack_p; data; data = data->next)
2115 extern const guint glib_major_version;
2116 extern const guint glib_minor_version;
2117 extern const guint glib_micro_version;
2118 extern const guint glib_interface_age;
2119 extern const guint glib_binary_age;
2121 const gchar * glib_check_version (guint required_major,
2122 guint required_minor,
2123 guint required_micro);
2132 # 33 "/usr/include/glib-2.0/glib/gthread.h" 2
2133 # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
2134 # 35 "/usr/include/glib-2.0/glib/gatomic.h"
2137 gint g_atomic_int_exchange_and_add (volatile gint *atomic,
2139 void g_atomic_int_add (volatile gint *atomic,
2141 gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic,
2144 gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer *atomic,
2148 gint g_atomic_int_get (volatile gint *atomic);
2149 void g_atomic_int_set (volatile gint *atomic,
2151 gpointer g_atomic_pointer_get (volatile gpointer *atomic);
2152 void g_atomic_pointer_set (volatile gpointer *atomic,
2154 # 66 "/usr/include/glib-2.0/glib/gatomic.h"
2156 # 34 "/usr/include/glib-2.0/glib/gthread.h" 2
2163 extern GQuark g_thread_error_quark (void);
2168 G_THREAD_ERROR_AGAIN
2171 typedef gpointer (*GThreadFunc) (gpointer data);
2175 G_THREAD_PRIORITY_LOW,
2176 G_THREAD_PRIORITY_NORMAL,
2177 G_THREAD_PRIORITY_HIGH,
2178 G_THREAD_PRIORITY_URGENT
2181 typedef struct _GThread GThread;
2188 GThreadPriority priority;
2191 typedef struct _GMutex GMutex;
2192 typedef struct _GCond GCond;
2193 typedef struct _GPrivate GPrivate;
2194 typedef struct _GStaticPrivate GStaticPrivate;
2196 typedef struct _GThreadFunctions GThreadFunctions;
2197 struct _GThreadFunctions
2199 GMutex* (*mutex_new) (void);
2200 void (*mutex_lock) (GMutex *mutex);
2201 gboolean (*mutex_trylock) (GMutex *mutex);
2202 void (*mutex_unlock) (GMutex *mutex);
2203 void (*mutex_free) (GMutex *mutex);
2204 GCond* (*cond_new) (void);
2205 void (*cond_signal) (GCond *cond);
2206 void (*cond_broadcast) (GCond *cond);
2207 void (*cond_wait) (GCond *cond,
2209 gboolean (*cond_timed_wait) (GCond *cond,
2211 GTimeVal *end_time);
2212 void (*cond_free) (GCond *cond);
2213 GPrivate* (*private_new) (GDestroyNotify destructor);
2214 gpointer (*private_get) (GPrivate *private_key);
2215 void (*private_set) (GPrivate *private_key,
2217 void (*thread_create) (GThreadFunc func,
2222 GThreadPriority priority,
2225 void (*thread_yield) (void);
2226 void (*thread_join) (gpointer thread);
2227 void (*thread_exit) (void);
2228 void (*thread_set_priority)(gpointer thread,
2229 GThreadPriority priority);
2230 void (*thread_self) (gpointer thread);
2231 gboolean (*thread_equal) (gpointer thread1,
2235 extern GThreadFunctions g_thread_functions_for_glib_use;
2236 extern gboolean g_thread_use_default_impl;
2237 extern gboolean g_threads_got_initialized;
2239 extern guint64 (*g_thread_gettime) (void);
2245 void g_thread_init (GThreadFunctions *vtable);
2246 # 131 "/usr/include/glib-2.0/glib/gthread.h"
2247 void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
2248 # 141 "/usr/include/glib-2.0/glib/gthread.h"
2249 GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
2250 # 212 "/usr/include/glib-2.0/glib/gthread.h"
2251 GThread* g_thread_create_full (GThreadFunc func,
2256 GThreadPriority priority,
2258 GThread* g_thread_self (void);
2259 void g_thread_exit (gpointer retval);
2260 gpointer g_thread_join (GThread *thread);
2262 void g_thread_set_priority (GThread *thread,
2263 GThreadPriority priority);
2264 # 237 "/usr/include/glib-2.0/glib/gthread.h"
2265 void g_static_mutex_init (GStaticMutex *mutex);
2266 void g_static_mutex_free (GStaticMutex *mutex);
2268 struct _GStaticPrivate
2274 void g_static_private_init (GStaticPrivate *private_key);
2275 gpointer g_static_private_get (GStaticPrivate *private_key);
2276 void g_static_private_set (GStaticPrivate *private_key,
2278 GDestroyNotify notify);
2279 void g_static_private_free (GStaticPrivate *private_key);
2281 typedef struct _GStaticRecMutex GStaticRecMutex;
2282 struct _GStaticRecMutex
2287 GSystemThread owner;
2291 void g_static_rec_mutex_init (GStaticRecMutex *mutex);
2292 void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
2293 gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
2294 void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
2295 void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
2297 guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
2298 void g_static_rec_mutex_free (GStaticRecMutex *mutex);
2300 typedef struct _GStaticRWLock GStaticRWLock;
2301 struct _GStaticRWLock
2308 gboolean have_writer;
2310 guint want_to_write;
2315 void g_static_rw_lock_init (GStaticRWLock* lock);
2316 void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
2317 gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
2318 void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
2319 void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
2320 gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
2321 void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
2322 void g_static_rw_lock_free (GStaticRWLock* lock);
2324 void g_thread_foreach (GFunc thread_func,
2325 gpointer user_data);
2329 G_ONCE_STATUS_NOTCALLED,
2330 G_ONCE_STATUS_PROGRESS,
2334 typedef struct _GOnce GOnce;
2337 volatile GOnceStatus status;
2338 volatile gpointer retval;
2343 gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
2344 # 327 "/usr/include/glib-2.0/glib/gthread.h"
2345 extern __inline gboolean g_once_init_enter (volatile gsize *value_location);
2346 gboolean g_once_init_enter_impl (volatile gsize *value_location);
2347 void g_once_init_leave (volatile gsize *value_location,
2348 gsize initialization_value);
2350 extern __inline gboolean
2351 g_once_init_enter (volatile gsize *value_location)
2353 if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (g_atomic_pointer_get ((void*volatile*) value_location) != ((void *)0)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1))
2356 return g_once_init_enter_impl (value_location);
2358 # 351 "/usr/include/glib-2.0/glib/gthread.h"
2359 extern void glib_dummy_decl (void);
2360 # 394 "/usr/include/glib-2.0/glib/gthread.h"
2362 # 31 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
2366 typedef struct _GAsyncQueue GAsyncQueue;
2371 GAsyncQueue* g_async_queue_new (void);
2377 void g_async_queue_lock (GAsyncQueue *queue);
2378 void g_async_queue_unlock (GAsyncQueue *queue);
2381 GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
2382 void g_async_queue_unref (GAsyncQueue *queue);
2386 void g_async_queue_ref_unlocked (GAsyncQueue *queue);
2387 void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
2391 void g_async_queue_push (GAsyncQueue *queue,
2393 void g_async_queue_push_unlocked (GAsyncQueue *queue,
2396 void g_async_queue_push_sorted (GAsyncQueue *queue,
2398 GCompareDataFunc func,
2399 gpointer user_data);
2400 void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
2402 GCompareDataFunc func,
2403 gpointer user_data);
2408 gpointer g_async_queue_pop (GAsyncQueue *queue);
2409 gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
2412 gpointer g_async_queue_try_pop (GAsyncQueue *queue);
2413 gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
2420 gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
2421 GTimeVal *end_time);
2422 gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
2423 GTimeVal *end_time);
2424 # 100 "/usr/include/glib-2.0/glib/gasyncqueue.h"
2425 gint g_async_queue_length (GAsyncQueue *queue);
2426 gint g_async_queue_length_unlocked (GAsyncQueue *queue);
2427 void g_async_queue_sort (GAsyncQueue *queue,
2428 GCompareDataFunc func,
2429 gpointer user_data);
2430 void g_async_queue_sort_unlocked (GAsyncQueue *queue,
2431 GCompareDataFunc func,
2432 gpointer user_data);
2435 GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
2438 # 33 "/usr/include/glib-2.0/glib.h" 2
2440 # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
2441 # 32 "/usr/include/glib-2.0/glib/gbacktrace.h"
2443 # 43 "/usr/include/glib-2.0/glib/gbacktrace.h"
2444 void g_on_error_query (const gchar *prg_name);
2445 void g_on_error_stack_trace (const gchar *prg_name);
2446 # 59 "/usr/include/glib-2.0/glib/gbacktrace.h"
2448 # 35 "/usr/include/glib-2.0/glib.h" 2
2449 # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
2450 # 26 "/usr/include/glib-2.0/glib/gbase64.h"
2453 gsize g_base64_encode_step (const guchar *in,
2455 gboolean break_lines,
2459 gsize g_base64_encode_close (gboolean break_lines,
2463 gchar* g_base64_encode (const guchar *data,
2464 gsize len) __attribute__((__malloc__));
2465 gsize g_base64_decode_step (const gchar *in,
2470 guchar *g_base64_decode (const gchar *text,
2471 gsize *out_len) __attribute__((__malloc__));
2474 # 36 "/usr/include/glib-2.0/glib.h" 2
2475 # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
2476 # 24 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2477 # 1 "/usr/include/time.h" 1 3 4
2478 # 31 "/usr/include/time.h" 3 4
2487 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
2488 # 40 "/usr/include/time.h" 2 3 4
2492 # 1 "/usr/include/bits/time.h" 1 3 4
2493 # 44 "/usr/include/time.h" 2 3 4
2494 # 57 "/usr/include/time.h" 3 4
2495 # 1 "/usr/include/bits/types.h" 1 3 4
2496 # 28 "/usr/include/bits/types.h" 3 4
2497 # 1 "/usr/include/bits/wordsize.h" 1 3 4
2498 # 29 "/usr/include/bits/types.h" 2 3 4
2501 typedef unsigned char __u_char;
2502 typedef unsigned short int __u_short;
2503 typedef unsigned int __u_int;
2504 typedef unsigned long int __u_long;
2507 typedef signed char __int8_t;
2508 typedef unsigned char __uint8_t;
2509 typedef signed short int __int16_t;
2510 typedef unsigned short int __uint16_t;
2511 typedef signed int __int32_t;
2512 typedef unsigned int __uint32_t;
2517 __extension__ typedef signed long long int __int64_t;
2518 __extension__ typedef unsigned long long int __uint64_t;
2526 __extension__ typedef long long int __quad_t;
2527 __extension__ typedef unsigned long long int __u_quad_t;
2528 # 131 "/usr/include/bits/types.h" 3 4
2529 # 1 "/usr/include/bits/typesizes.h" 1 3 4
2530 # 132 "/usr/include/bits/types.h" 2 3 4
2533 __extension__ typedef __u_quad_t __dev_t;
2534 __extension__ typedef unsigned int __uid_t;
2535 __extension__ typedef unsigned int __gid_t;
2536 __extension__ typedef unsigned long int __ino_t;
2537 __extension__ typedef __u_quad_t __ino64_t;
2538 __extension__ typedef unsigned int __mode_t;
2539 __extension__ typedef unsigned int __nlink_t;
2540 __extension__ typedef long int __off_t;
2541 __extension__ typedef __quad_t __off64_t;
2542 __extension__ typedef int __pid_t;
2543 __extension__ typedef struct { int __val[2]; } __fsid_t;
2544 __extension__ typedef long int __clock_t;
2545 __extension__ typedef unsigned long int __rlim_t;
2546 __extension__ typedef __u_quad_t __rlim64_t;
2547 __extension__ typedef unsigned int __id_t;
2548 __extension__ typedef long int __time_t;
2549 __extension__ typedef unsigned int __useconds_t;
2550 __extension__ typedef long int __suseconds_t;
2552 __extension__ typedef int __daddr_t;
2553 __extension__ typedef long int __swblk_t;
2554 __extension__ typedef int __key_t;
2557 __extension__ typedef int __clockid_t;
2560 __extension__ typedef void * __timer_t;
2563 __extension__ typedef long int __blksize_t;
2568 __extension__ typedef long int __blkcnt_t;
2569 __extension__ typedef __quad_t __blkcnt64_t;
2572 __extension__ typedef unsigned long int __fsblkcnt_t;
2573 __extension__ typedef __u_quad_t __fsblkcnt64_t;
2576 __extension__ typedef unsigned long int __fsfilcnt_t;
2577 __extension__ typedef __u_quad_t __fsfilcnt64_t;
2579 __extension__ typedef int __ssize_t;
2583 typedef __off64_t __loff_t;
2584 typedef __quad_t *__qaddr_t;
2585 typedef char *__caddr_t;
2588 __extension__ typedef int __intptr_t;
2591 __extension__ typedef unsigned int __socklen_t;
2592 # 58 "/usr/include/time.h" 2 3 4
2596 typedef __clock_t clock_t;
2600 # 75 "/usr/include/time.h" 3 4
2603 typedef __time_t time_t;
2607 # 93 "/usr/include/time.h" 3 4
2608 typedef __clockid_t clockid_t;
2609 # 105 "/usr/include/time.h" 3 4
2610 typedef __timer_t timer_t;
2611 # 121 "/usr/include/time.h" 3 4
2639 __const char *tm_zone;
2655 struct timespec it_interval;
2656 struct timespec it_value;
2666 typedef __pid_t pid_t;
2675 extern clock_t clock (void) __attribute__ ((__nothrow__));
2678 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
2681 extern double difftime (time_t __time1, time_t __time0)
2682 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2685 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
2691 extern size_t strftime (char *__restrict __s, size_t __maxsize,
2692 __const char *__restrict __format,
2693 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2695 # 229 "/usr/include/time.h" 3 4
2699 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
2703 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
2709 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
2710 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2714 extern struct tm *localtime_r (__const time_t *__restrict __timer,
2715 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2721 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
2724 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
2732 extern char *asctime_r (__const struct tm *__restrict __tp,
2733 char *__restrict __buf) __attribute__ ((__nothrow__));
2736 extern char *ctime_r (__const time_t *__restrict __timer,
2737 char *__restrict __buf) __attribute__ ((__nothrow__));
2742 extern char *__tzname[2];
2743 extern int __daylight;
2744 extern long int __timezone;
2749 extern char *tzname[2];
2753 extern void tzset (void) __attribute__ ((__nothrow__));
2757 extern int daylight;
2758 extern long int timezone;
2764 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
2765 # 312 "/usr/include/time.h" 3 4
2766 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
2769 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
2772 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2773 # 327 "/usr/include/time.h" 3 4
2774 extern int nanosleep (__const struct timespec *__requested_time,
2775 struct timespec *__remaining);
2779 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
2782 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
2785 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
2786 __attribute__ ((__nothrow__));
2793 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
2794 __const struct timespec *__req,
2795 struct timespec *__rem);
2798 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
2803 extern int timer_create (clockid_t __clock_id,
2804 struct sigevent *__restrict __evp,
2805 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
2808 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
2811 extern int timer_settime (timer_t __timerid, int __flags,
2812 __const struct itimerspec *__restrict __value,
2813 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
2816 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
2817 __attribute__ ((__nothrow__));
2820 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
2821 # 416 "/usr/include/time.h" 3 4
2823 # 25 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
2833 G_BOOKMARK_FILE_ERROR_INVALID_URI,
2834 G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
2835 G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
2836 G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
2837 G_BOOKMARK_FILE_ERROR_READ,
2838 G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
2839 G_BOOKMARK_FILE_ERROR_WRITE,
2840 G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
2841 } GBookmarkFileError;
2843 GQuark g_bookmark_file_error_quark (void);
2848 typedef struct _GBookmarkFile GBookmarkFile;
2850 GBookmarkFile *g_bookmark_file_new (void);
2851 void g_bookmark_file_free (GBookmarkFile *bookmark);
2853 gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
2854 const gchar *filename,
2856 gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
2860 gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
2864 gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
2866 GError **error) __attribute__((__malloc__));
2867 gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
2868 const gchar *filename,
2871 void g_bookmark_file_set_title (GBookmarkFile *bookmark,
2873 const gchar *title);
2874 gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
2876 GError **error) __attribute__((__malloc__));
2877 void g_bookmark_file_set_description (GBookmarkFile *bookmark,
2879 const gchar *description);
2880 gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
2882 GError **error) __attribute__((__malloc__));
2883 void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
2885 const gchar *mime_type);
2886 gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
2888 GError **error) __attribute__((__malloc__));
2889 void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
2891 const gchar **groups,
2893 void g_bookmark_file_add_group (GBookmarkFile *bookmark,
2895 const gchar *group);
2896 gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
2900 gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
2903 GError **error) __attribute__((__malloc__));
2904 void g_bookmark_file_add_application (GBookmarkFile *bookmark,
2908 gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
2912 gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
2915 GError **error) __attribute__((__malloc__));
2916 gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
2923 gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
2930 void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
2932 gboolean is_private);
2933 gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
2936 void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
2939 const gchar *mime_type);
2940 gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
2945 void g_bookmark_file_set_added (GBookmarkFile *bookmark,
2948 time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
2951 void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
2954 time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
2957 void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
2960 time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
2963 gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
2965 gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
2966 gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
2967 gsize *length) __attribute__((__malloc__));
2968 gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
2972 gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
2976 gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
2979 gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
2980 const gchar *old_uri,
2981 const gchar *new_uri,
2985 # 37 "/usr/include/glib-2.0/glib.h" 2
2986 # 1 "/usr/include/glib-2.0/glib/gcache.h" 1
2987 # 30 "/usr/include/glib-2.0/glib/gcache.h"
2988 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
2989 # 30 "/usr/include/glib-2.0/glib/glist.h"
2990 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
2991 # 30 "/usr/include/glib-2.0/glib/gmem.h"
2992 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1
2993 # 28 "/usr/include/glib-2.0/glib/gslice.h"
2998 gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__));
2999 gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__));
3000 gpointer g_slice_copy (gsize block_size,
3001 gconstpointer mem_block) __attribute__((__malloc__));
3002 void g_slice_free1 (gsize block_size,
3003 gpointer mem_block);
3004 void g_slice_free_chain_with_offset (gsize block_size,
3007 # 70 "/usr/include/glib-2.0/glib/gslice.h"
3009 G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
3010 G_SLICE_CONFIG_BYPASS_MAGAZINES,
3011 G_SLICE_CONFIG_WORKING_SET_MSECS,
3012 G_SLICE_CONFIG_COLOR_INCREMENT,
3013 G_SLICE_CONFIG_CHUNK_SIZES,
3014 G_SLICE_CONFIG_CONTENTION_COUNTER
3016 void g_slice_set_config (GSliceConfig ckey, gint64 value);
3017 gint64 g_slice_get_config (GSliceConfig ckey);
3018 gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
3021 # 31 "/usr/include/glib-2.0/glib/gmem.h" 2
3026 typedef struct _GMemVTable GMemVTable;
3027 # 47 "/usr/include/glib-2.0/glib/gmem.h"
3028 gpointer g_malloc (gulong n_bytes) __attribute__((__malloc__));
3029 gpointer g_malloc0 (gulong n_bytes) __attribute__((__malloc__));
3030 gpointer g_realloc (gpointer mem,
3031 gulong n_bytes) __attribute__((warn_unused_result));
3032 void g_free (gpointer mem);
3033 gpointer g_try_malloc (gulong n_bytes) __attribute__((__malloc__));
3034 gpointer g_try_malloc0 (gulong n_bytes) __attribute__((__malloc__));
3035 gpointer g_try_realloc (gpointer mem,
3036 gulong n_bytes) __attribute__((warn_unused_result));
3037 # 79 "/usr/include/glib-2.0/glib/gmem.h"
3040 gpointer (*malloc) (gsize n_bytes);
3041 gpointer (*realloc) (gpointer mem,
3043 void (*free) (gpointer mem);
3045 gpointer (*calloc) (gsize n_blocks,
3046 gsize n_block_bytes);
3047 gpointer (*try_malloc) (gsize n_bytes);
3048 gpointer (*try_realloc) (gpointer mem,
3051 void g_mem_set_vtable (GMemVTable *vtable);
3052 gboolean g_mem_is_system_malloc (void);
3054 extern gboolean g_mem_gc_friendly;
3058 extern GMemVTable *glib_mem_profiler_table;
3059 void g_mem_profile (void);
3064 typedef struct _GAllocator GAllocator;
3065 typedef struct _GMemChunk GMemChunk;
3066 # 124 "/usr/include/glib-2.0/glib/gmem.h"
3067 GMemChunk* g_mem_chunk_new (const gchar *name,
3071 void g_mem_chunk_destroy (GMemChunk *mem_chunk);
3072 gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
3073 gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
3074 void g_mem_chunk_free (GMemChunk *mem_chunk,
3076 void g_mem_chunk_clean (GMemChunk *mem_chunk);
3077 void g_mem_chunk_reset (GMemChunk *mem_chunk);
3078 void g_mem_chunk_print (GMemChunk *mem_chunk);
3079 void g_mem_chunk_info (void);
3080 void g_blow_chunks (void);
3081 GAllocator*g_allocator_new (const gchar *name,
3083 void g_allocator_free (GAllocator *allocator);
3090 # 31 "/usr/include/glib-2.0/glib/glist.h" 2
3094 typedef struct _GList GList;
3105 GList* g_list_alloc (void) __attribute__((warn_unused_result));
3106 void g_list_free (GList *list);
3107 void g_list_free_1 (GList *list);
3109 GList* g_list_append (GList *list,
3110 gpointer data) __attribute__((warn_unused_result));
3111 GList* g_list_prepend (GList *list,
3112 gpointer data) __attribute__((warn_unused_result));
3113 GList* g_list_insert (GList *list,
3115 gint position) __attribute__((warn_unused_result));
3116 GList* g_list_insert_sorted (GList *list,
3118 GCompareFunc func) __attribute__((warn_unused_result));
3119 GList* g_list_insert_sorted_with_data (GList *list,
3121 GCompareDataFunc func,
3122 gpointer user_data) __attribute__((warn_unused_result));
3123 GList* g_list_insert_before (GList *list,
3125 gpointer data) __attribute__((warn_unused_result));
3126 GList* g_list_concat (GList *list1,
3127 GList *list2) __attribute__((warn_unused_result));
3128 GList* g_list_remove (GList *list,
3129 gconstpointer data) __attribute__((warn_unused_result));
3130 GList* g_list_remove_all (GList *list,
3131 gconstpointer data) __attribute__((warn_unused_result));
3132 GList* g_list_remove_link (GList *list,
3133 GList *llink) __attribute__((warn_unused_result));
3134 GList* g_list_delete_link (GList *list,
3135 GList *link_) __attribute__((warn_unused_result));
3136 GList* g_list_reverse (GList *list) __attribute__((warn_unused_result));
3137 GList* g_list_copy (GList *list) __attribute__((warn_unused_result));
3138 GList* g_list_nth (GList *list,
3140 GList* g_list_nth_prev (GList *list,
3142 GList* g_list_find (GList *list,
3143 gconstpointer data);
3144 GList* g_list_find_custom (GList *list,
3147 gint g_list_position (GList *list,
3149 gint g_list_index (GList *list,
3150 gconstpointer data);
3151 GList* g_list_last (GList *list);
3152 GList* g_list_first (GList *list);
3153 guint g_list_length (GList *list);
3154 void g_list_foreach (GList *list,
3156 gpointer user_data);
3157 GList* g_list_sort (GList *list,
3158 GCompareFunc compare_func) __attribute__((warn_unused_result));
3159 GList* g_list_sort_with_data (GList *list,
3160 GCompareDataFunc compare_func,
3161 gpointer user_data) __attribute__((warn_unused_result));
3162 gpointer g_list_nth_data (GList *list,
3170 void g_list_push_allocator (gpointer allocator);
3171 void g_list_pop_allocator (void);
3174 # 31 "/usr/include/glib-2.0/glib/gcache.h" 2
3178 typedef struct _GCache GCache;
3180 typedef gpointer (*GCacheNewFunc) (gpointer key);
3181 typedef gpointer (*GCacheDupFunc) (gpointer value);
3182 typedef void (*GCacheDestroyFunc) (gpointer value);
3186 GCache* g_cache_new (GCacheNewFunc value_new_func,
3187 GCacheDestroyFunc value_destroy_func,
3188 GCacheDupFunc key_dup_func,
3189 GCacheDestroyFunc key_destroy_func,
3190 GHashFunc hash_key_func,
3191 GHashFunc hash_value_func,
3192 GEqualFunc key_equal_func);
3193 void g_cache_destroy (GCache *cache);
3194 gpointer g_cache_insert (GCache *cache,
3196 void g_cache_remove (GCache *cache,
3197 gconstpointer value);
3198 void g_cache_key_foreach (GCache *cache,
3200 gpointer user_data);
3202 void g_cache_value_foreach (GCache *cache,
3204 gpointer user_data);
3208 # 38 "/usr/include/glib-2.0/glib.h" 2
3209 # 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
3210 # 32 "/usr/include/glib-2.0/glib/gcompletion.h"
3213 typedef struct _GCompletion GCompletion;
3215 typedef gchar* (*GCompletionFunc) (gpointer);
3220 typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
3227 GCompletionFunc func;
3231 GCompletionStrncmpFunc strncmp_func;
3234 GCompletion* g_completion_new (GCompletionFunc func);
3235 void g_completion_add_items (GCompletion* cmp,
3237 void g_completion_remove_items (GCompletion* cmp,
3239 void g_completion_clear_items (GCompletion* cmp);
3240 GList* g_completion_complete (GCompletion* cmp,
3241 const gchar* prefix,
3242 gchar** new_prefix);
3243 GList* g_completion_complete_utf8 (GCompletion *cmp,
3244 const gchar* prefix,
3245 gchar** new_prefix);
3246 void g_completion_set_compare (GCompletion *cmp,
3247 GCompletionStrncmpFunc strncmp_func);
3248 void g_completion_free (GCompletion* cmp);
3251 # 39 "/usr/include/glib-2.0/glib.h" 2
3252 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
3253 # 32 "/usr/include/glib-2.0/glib/gconvert.h"
3258 G_CONVERT_ERROR_NO_CONVERSION,
3259 G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
3260 G_CONVERT_ERROR_FAILED,
3261 G_CONVERT_ERROR_PARTIAL_INPUT,
3262 G_CONVERT_ERROR_BAD_URI,
3263 G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
3267 GQuark g_convert_error_quark (void);
3271 typedef struct _GIConv *GIConv;
3273 GIConv g_iconv_open (const gchar *to_codeset,
3274 const gchar *from_codeset);
3275 gsize g_iconv (GIConv converter,
3277 gsize *inbytes_left,
3279 gsize *outbytes_left);
3280 gint g_iconv_close (GIConv converter);
3283 gchar* g_convert (const gchar *str,
3285 const gchar *to_codeset,
3286 const gchar *from_codeset,
3288 gsize *bytes_written,
3289 GError **error) __attribute__((__malloc__));
3290 gchar* g_convert_with_iconv (const gchar *str,
3294 gsize *bytes_written,
3295 GError **error) __attribute__((__malloc__));
3296 gchar* g_convert_with_fallback (const gchar *str,
3298 const gchar *to_codeset,
3299 const gchar *from_codeset,
3302 gsize *bytes_written,
3303 GError **error) __attribute__((__malloc__));
3308 gchar* g_locale_to_utf8 (const gchar *opsysstring,
3311 gsize *bytes_written,
3312 GError **error) __attribute__((__malloc__));
3313 gchar* g_locale_from_utf8 (const gchar *utf8string,
3316 gsize *bytes_written,
3317 GError **error) __attribute__((__malloc__));
3318 # 107 "/usr/include/glib-2.0/glib/gconvert.h"
3319 gchar* g_filename_to_utf8 (const gchar *opsysstring,
3322 gsize *bytes_written,
3323 GError **error) __attribute__((__malloc__));
3324 gchar* g_filename_from_utf8 (const gchar *utf8string,
3327 gsize *bytes_written,
3328 GError **error) __attribute__((__malloc__));
3330 gchar *g_filename_from_uri (const gchar *uri,
3332 GError **error) __attribute__((__malloc__));
3334 gchar *g_filename_to_uri (const gchar *filename,
3335 const gchar *hostname,
3336 GError **error) __attribute__((__malloc__));
3337 gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__));
3338 gboolean g_get_filename_charsets (const gchar ***charsets);
3340 gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
3342 gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
3345 # 40 "/usr/include/glib-2.0/glib.h" 2
3346 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
3347 # 32 "/usr/include/glib-2.0/glib/gdataset.h"
3350 typedef struct _GData GData;
3352 typedef void (*GDataForeachFunc) (GQuark key_id,
3354 gpointer user_data);
3358 void g_datalist_init (GData **datalist);
3359 void g_datalist_clear (GData **datalist);
3360 gpointer g_datalist_id_get_data (GData **datalist,
3362 void g_datalist_id_set_data_full (GData **datalist,
3365 GDestroyNotify destroy_func);
3366 gpointer g_datalist_id_remove_no_notify (GData **datalist,
3368 void g_datalist_foreach (GData **datalist,
3369 GDataForeachFunc func,
3370 gpointer user_data);
3371 # 65 "/usr/include/glib-2.0/glib/gdataset.h"
3372 void g_datalist_set_flags (GData **datalist,
3374 void g_datalist_unset_flags (GData **datalist,
3376 guint g_datalist_get_flags (GData **datalist);
3377 # 89 "/usr/include/glib-2.0/glib/gdataset.h"
3378 void g_dataset_destroy (gconstpointer dataset_location);
3379 gpointer g_dataset_id_get_data (gconstpointer dataset_location,
3381 void g_dataset_id_set_data_full (gconstpointer dataset_location,
3384 GDestroyNotify destroy_func);
3385 gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
3387 void g_dataset_foreach (gconstpointer dataset_location,
3388 GDataForeachFunc func,
3389 gpointer user_data);
3390 # 116 "/usr/include/glib-2.0/glib/gdataset.h"
3392 # 41 "/usr/include/glib-2.0/glib.h" 2
3393 # 1 "/usr/include/glib-2.0/glib/gdate.h" 1
3394 # 35 "/usr/include/glib-2.0/glib/gdate.h"
3396 # 46 "/usr/include/glib-2.0/glib/gdate.h"
3397 typedef gint32 GTime;
3398 typedef guint16 GDateYear;
3399 typedef guint8 GDateDay;
3400 typedef struct _GDate GDate;
3413 G_DATE_BAD_WEEKDAY = 0,
3416 G_DATE_WEDNESDAY = 3,
3417 G_DATE_THURSDAY = 4,
3419 G_DATE_SATURDAY = 6,
3424 G_DATE_BAD_MONTH = 0,
3426 G_DATE_FEBRUARY = 2,
3433 G_DATE_SEPTEMBER = 9,
3434 G_DATE_OCTOBER = 10,
3435 G_DATE_NOVEMBER = 11,
3436 G_DATE_DECEMBER = 12
3438 # 97 "/usr/include/glib-2.0/glib/gdate.h"
3441 guint julian_days : 32;
3460 GDate* g_date_new (void);
3461 GDate* g_date_new_dmy (GDateDay day,
3464 GDate* g_date_new_julian (guint32 julian_day);
3465 void g_date_free (GDate *date);
3472 gboolean g_date_valid (const GDate *date);
3473 gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
3474 gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
3475 gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
3476 gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
3477 gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
3478 gboolean g_date_valid_dmy (GDateDay day,
3480 GDateYear year) __attribute__((__const__));
3482 GDateWeekday g_date_get_weekday (const GDate *date);
3483 GDateMonth g_date_get_month (const GDate *date);
3484 GDateYear g_date_get_year (const GDate *date);
3485 GDateDay g_date_get_day (const GDate *date);
3486 guint32 g_date_get_julian (const GDate *date);
3487 guint g_date_get_day_of_year (const GDate *date);
3494 guint g_date_get_monday_week_of_year (const GDate *date);
3495 guint g_date_get_sunday_week_of_year (const GDate *date);
3496 guint g_date_get_iso8601_week_of_year (const GDate *date);
3502 void g_date_clear (GDate *date,
3509 void g_date_set_parse (GDate *date,
3511 void g_date_set_time_t (GDate *date,
3513 void g_date_set_time_val (GDate *date,
3516 void g_date_set_time (GDate *date,
3519 void g_date_set_month (GDate *date,
3521 void g_date_set_day (GDate *date,
3523 void g_date_set_year (GDate *date,
3525 void g_date_set_dmy (GDate *date,
3529 void g_date_set_julian (GDate *date,
3530 guint32 julian_date);
3531 gboolean g_date_is_first_of_month (const GDate *date);
3532 gboolean g_date_is_last_of_month (const GDate *date);
3535 void g_date_add_days (GDate *date,
3537 void g_date_subtract_days (GDate *date,
3541 void g_date_add_months (GDate *date,
3543 void g_date_subtract_months (GDate *date,
3547 void g_date_add_years (GDate *date,
3549 void g_date_subtract_years (GDate *date,
3551 gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
3552 guint8 g_date_get_days_in_month (GDateMonth month,
3553 GDateYear year) __attribute__((__const__));
3554 guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
3555 guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
3559 gint g_date_days_between (const GDate *date1,
3560 const GDate *date2);
3563 gint g_date_compare (const GDate *lhs,
3565 void g_date_to_struct_tm (const GDate *date,
3568 void g_date_clamp (GDate *date,
3569 const GDate *min_date,
3570 const GDate *max_date);
3573 void g_date_order (GDate *date1, GDate *date2);
3578 gsize g_date_strftime (gchar *s,
3580 const gchar *format,
3582 # 257 "/usr/include/glib-2.0/glib/gdate.h"
3584 # 42 "/usr/include/glib-2.0/glib.h" 2
3585 # 1 "/usr/include/glib-2.0/glib/gdir.h" 1
3586 # 28 "/usr/include/glib-2.0/glib/gdir.h"
3589 typedef struct _GDir GDir;
3597 GDir * g_dir_open (const gchar *path,
3600 const gchar *g_dir_read_name (GDir *dir);
3601 void g_dir_rewind (GDir *dir);
3602 void g_dir_close (GDir *dir);
3605 # 43 "/usr/include/glib-2.0/glib.h" 2
3607 # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
3608 # 26 "/usr/include/glib-2.0/glib/gfileutils.h"
3618 G_FILE_ERROR_NAMETOOLONG,
3620 G_FILE_ERROR_NOTDIR,
3624 G_FILE_ERROR_TXTBSY,
3648 G_FILE_TEST_IS_REGULAR = 1 << 0,
3649 G_FILE_TEST_IS_SYMLINK = 1 << 1,
3650 G_FILE_TEST_IS_DIR = 1 << 2,
3651 G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
3652 G_FILE_TEST_EXISTS = 1 << 4
3655 GQuark g_file_error_quark (void);
3657 GFileError g_file_error_from_errno (gint err_no);
3658 # 83 "/usr/include/glib-2.0/glib/gfileutils.h"
3659 gboolean g_file_test (const gchar *filename,
3661 gboolean g_file_get_contents (const gchar *filename,
3665 gboolean g_file_set_contents (const gchar *filename,
3666 const gchar *contents,
3669 gchar *g_file_read_link (const gchar *filename,
3673 gint g_mkstemp (gchar *tmpl);
3676 gint g_file_open_tmp (const gchar *tmpl,
3680 gchar *g_build_path (const gchar *separator,
3681 const gchar *first_element,
3682 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3683 gchar *g_build_pathv (const gchar *separator,
3684 gchar **args) __attribute__((__malloc__));
3686 gchar *g_build_filename (const gchar *first_element,
3687 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3688 gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
3690 int g_mkdir_with_parents (const gchar *pathname,
3694 # 45 "/usr/include/glib-2.0/glib.h" 2
3695 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1
3696 # 33 "/usr/include/glib-2.0/glib/ghash.h"
3699 typedef struct _GHashTable GHashTable;
3701 typedef gboolean (*GHRFunc) (gpointer key,
3703 gpointer user_data);
3707 GHashTable* g_hash_table_new (GHashFunc hash_func,
3708 GEqualFunc key_equal_func);
3709 GHashTable* g_hash_table_new_full (GHashFunc hash_func,
3710 GEqualFunc key_equal_func,
3711 GDestroyNotify key_destroy_func,
3712 GDestroyNotify value_destroy_func);
3713 void g_hash_table_destroy (GHashTable *hash_table);
3714 void g_hash_table_insert (GHashTable *hash_table,
3717 void g_hash_table_replace (GHashTable *hash_table,
3720 gboolean g_hash_table_remove (GHashTable *hash_table,
3722 void g_hash_table_remove_all (GHashTable *hash_table);
3723 gboolean g_hash_table_steal (GHashTable *hash_table,
3725 void g_hash_table_steal_all (GHashTable *hash_table);
3726 gpointer g_hash_table_lookup (GHashTable *hash_table,
3728 gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
3729 gconstpointer lookup_key,
3732 void g_hash_table_foreach (GHashTable *hash_table,
3734 gpointer user_data);
3735 gpointer g_hash_table_find (GHashTable *hash_table,
3737 gpointer user_data);
3738 guint g_hash_table_foreach_remove (GHashTable *hash_table,
3740 gpointer user_data);
3741 guint g_hash_table_foreach_steal (GHashTable *hash_table,
3743 gpointer user_data);
3744 guint g_hash_table_size (GHashTable *hash_table);
3745 GList * g_hash_table_get_keys (GHashTable *hash_table);
3746 GList * g_hash_table_get_values (GHashTable *hash_table);
3749 GHashTable* g_hash_table_ref (GHashTable *hash_table);
3750 void g_hash_table_unref (GHashTable *hash_table);
3751 # 99 "/usr/include/glib-2.0/glib/ghash.h"
3752 gboolean g_str_equal (gconstpointer v1,
3754 guint g_str_hash (gconstpointer v);
3756 gboolean g_int_equal (gconstpointer v1,
3758 guint g_int_hash (gconstpointer v);
3766 guint g_direct_hash (gconstpointer v) __attribute__((__const__));
3767 gboolean g_direct_equal (gconstpointer v1,
3768 gconstpointer v2) __attribute__((__const__));
3771 # 46 "/usr/include/glib-2.0/glib.h" 2
3772 # 1 "/usr/include/glib-2.0/glib/ghook.h" 1
3773 # 32 "/usr/include/glib-2.0/glib/ghook.h"
3778 typedef struct _GHook GHook;
3779 typedef struct _GHookList GHookList;
3781 typedef gint (*GHookCompareFunc) (GHook *new_hook,
3783 typedef gboolean (*GHookFindFunc) (GHook *hook,
3785 typedef void (*GHookMarshaller) (GHook *hook,
3786 gpointer marshal_data);
3787 typedef gboolean (*GHookCheckMarshaller) (GHook *hook,
3788 gpointer marshal_data);
3789 typedef void (*GHookFunc) (gpointer data);
3790 typedef gboolean (*GHookCheckFunc) (gpointer data);
3791 typedef void (*GHookFinalizeFunc) (GHookList *hook_list,
3795 G_HOOK_FLAG_ACTIVE = 1 << 0,
3796 G_HOOK_FLAG_IN_CALL = 1 << 1,
3797 G_HOOK_FLAG_MASK = 0x0f
3806 guint hook_size : 16;
3810 GHookFinalizeFunc finalize_hook;
3822 GDestroyNotify destroy;
3824 # 102 "/usr/include/glib-2.0/glib/ghook.h"
3825 void g_hook_list_init (GHookList *hook_list,
3827 void g_hook_list_clear (GHookList *hook_list);
3828 GHook* g_hook_alloc (GHookList *hook_list);
3829 void g_hook_free (GHookList *hook_list,
3831 GHook * g_hook_ref (GHookList *hook_list,
3833 void g_hook_unref (GHookList *hook_list,
3835 gboolean g_hook_destroy (GHookList *hook_list,
3837 void g_hook_destroy_link (GHookList *hook_list,
3839 void g_hook_prepend (GHookList *hook_list,
3841 void g_hook_insert_before (GHookList *hook_list,
3844 void g_hook_insert_sorted (GHookList *hook_list,
3846 GHookCompareFunc func);
3847 GHook* g_hook_get (GHookList *hook_list,
3849 GHook* g_hook_find (GHookList *hook_list,
3850 gboolean need_valids,
3853 GHook* g_hook_find_data (GHookList *hook_list,
3854 gboolean need_valids,
3856 GHook* g_hook_find_func (GHookList *hook_list,
3857 gboolean need_valids,
3859 GHook* g_hook_find_func_data (GHookList *hook_list,
3860 gboolean need_valids,
3864 GHook* g_hook_first_valid (GHookList *hook_list,
3865 gboolean may_be_in_call);
3869 GHook* g_hook_next_valid (GHookList *hook_list,
3871 gboolean may_be_in_call);
3873 gint g_hook_compare_ids (GHook *new_hook,
3880 void g_hook_list_invoke (GHookList *hook_list,
3881 gboolean may_recurse);
3885 void g_hook_list_invoke_check (GHookList *hook_list,
3886 gboolean may_recurse);
3889 void g_hook_list_marshal (GHookList *hook_list,
3890 gboolean may_recurse,
3891 GHookMarshaller marshaller,
3892 gpointer marshal_data);
3893 void g_hook_list_marshal_check (GHookList *hook_list,
3894 gboolean may_recurse,
3895 GHookCheckMarshaller marshaller,
3896 gpointer marshal_data);
3899 # 47 "/usr/include/glib-2.0/glib.h" 2
3900 # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
3901 # 31 "/usr/include/glib-2.0/glib/giochannel.h"
3902 # 1 "/usr/include/glib-2.0/glib/gmain.h" 1
3903 # 23 "/usr/include/glib-2.0/glib/gmain.h"
3904 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
3905 # 32 "/usr/include/glib-2.0/glib/gslist.h"
3908 typedef struct _GSList GSList;
3918 GSList* g_slist_alloc (void) __attribute__((warn_unused_result));
3919 void g_slist_free (GSList *list);
3920 void g_slist_free_1 (GSList *list);
3922 GSList* g_slist_append (GSList *list,
3923 gpointer data) __attribute__((warn_unused_result));
3924 GSList* g_slist_prepend (GSList *list,
3925 gpointer data) __attribute__((warn_unused_result));
3926 GSList* g_slist_insert (GSList *list,
3928 gint position) __attribute__((warn_unused_result));
3929 GSList* g_slist_insert_sorted (GSList *list,
3931 GCompareFunc func) __attribute__((warn_unused_result));
3932 GSList* g_slist_insert_sorted_with_data (GSList *list,
3934 GCompareDataFunc func,
3935 gpointer user_data) __attribute__((warn_unused_result));
3936 GSList* g_slist_insert_before (GSList *slist,
3938 gpointer data) __attribute__((warn_unused_result));
3939 GSList* g_slist_concat (GSList *list1,
3940 GSList *list2) __attribute__((warn_unused_result));
3941 GSList* g_slist_remove (GSList *list,
3942 gconstpointer data) __attribute__((warn_unused_result));
3943 GSList* g_slist_remove_all (GSList *list,
3944 gconstpointer data) __attribute__((warn_unused_result));
3945 GSList* g_slist_remove_link (GSList *list,
3946 GSList *link_) __attribute__((warn_unused_result));
3947 GSList* g_slist_delete_link (GSList *list,
3948 GSList *link_) __attribute__((warn_unused_result));
3949 GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result));
3950 GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result));
3951 GSList* g_slist_nth (GSList *list,
3953 GSList* g_slist_find (GSList *list,
3954 gconstpointer data);
3955 GSList* g_slist_find_custom (GSList *list,
3958 gint g_slist_position (GSList *list,
3960 gint g_slist_index (GSList *list,
3961 gconstpointer data);
3962 GSList* g_slist_last (GSList *list);
3963 guint g_slist_length (GSList *list);
3964 void g_slist_foreach (GSList *list,
3966 gpointer user_data);
3967 GSList* g_slist_sort (GSList *list,
3968 GCompareFunc compare_func) __attribute__((warn_unused_result));
3969 GSList* g_slist_sort_with_data (GSList *list,
3970 GCompareDataFunc compare_func,
3971 gpointer user_data) __attribute__((warn_unused_result));
3972 gpointer g_slist_nth_data (GSList *list,
3978 void g_slist_push_allocator (gpointer dummy);
3979 void g_slist_pop_allocator (void);
3982 # 24 "/usr/include/glib-2.0/glib/gmain.h" 2
3987 typedef struct _GMainContext GMainContext;
3988 typedef struct _GMainLoop GMainLoop;
3989 typedef struct _GSource GSource;
3990 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
3991 typedef struct _GSourceFuncs GSourceFuncs;
3993 typedef gboolean (*GSourceFunc) (gpointer data);
3994 typedef void (*GChildWatchFunc) (GPid pid,
4000 gpointer callback_data;
4001 GSourceCallbackFuncs *callback_funcs;
4003 GSourceFuncs *source_funcs;
4006 GMainContext *context;
4021 struct _GSourceCallbackFuncs
4023 void (*ref) (gpointer cb_data);
4024 void (*unref) (gpointer cb_data);
4025 void (*get) (gpointer cb_data,
4031 typedef void (*GSourceDummyMarshal) (void);
4033 struct _GSourceFuncs
4035 gboolean (*prepare) (GSource *source,
4037 gboolean (*check) (GSource *source);
4038 gboolean (*dispatch) (GSource *source,
4039 GSourceFunc callback,
4040 gpointer user_data);
4041 void (*finalize) (GSource *source);
4044 GSourceFunc closure_callback;
4045 GSourceDummyMarshal closure_marshal;
4047 # 116 "/usr/include/glib-2.0/glib/gmain.h"
4048 typedef struct _GPollFD GPollFD;
4049 typedef gint (*GPollFunc) (GPollFD *ufds,
4063 # 142 "/usr/include/glib-2.0/glib/gmain.h"
4064 GMainContext *g_main_context_new (void);
4065 GMainContext *g_main_context_ref (GMainContext *context);
4066 void g_main_context_unref (GMainContext *context);
4067 GMainContext *g_main_context_default (void);
4069 gboolean g_main_context_iteration (GMainContext *context,
4070 gboolean may_block);
4071 gboolean g_main_context_pending (GMainContext *context);
4075 GSource *g_main_context_find_source_by_id (GMainContext *context,
4077 GSource *g_main_context_find_source_by_user_data (GMainContext *context,
4078 gpointer user_data);
4079 GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
4080 GSourceFuncs *funcs,
4081 gpointer user_data);
4085 void g_main_context_wakeup (GMainContext *context);
4086 gboolean g_main_context_acquire (GMainContext *context);
4087 void g_main_context_release (GMainContext *context);
4088 gboolean g_main_context_is_owner (GMainContext *context);
4089 gboolean g_main_context_wait (GMainContext *context,
4093 gboolean g_main_context_prepare (GMainContext *context,
4095 gint g_main_context_query (GMainContext *context,
4100 gint g_main_context_check (GMainContext *context,
4104 void g_main_context_dispatch (GMainContext *context);
4106 void g_main_context_set_poll_func (GMainContext *context,
4108 GPollFunc g_main_context_get_poll_func (GMainContext *context);
4112 void g_main_context_add_poll (GMainContext *context,
4115 void g_main_context_remove_poll (GMainContext *context,
4118 gint g_main_depth (void);
4119 GSource *g_main_current_source (void);
4124 GMainLoop *g_main_loop_new (GMainContext *context,
4125 gboolean is_running);
4126 void g_main_loop_run (GMainLoop *loop);
4127 void g_main_loop_quit (GMainLoop *loop);
4128 GMainLoop *g_main_loop_ref (GMainLoop *loop);
4129 void g_main_loop_unref (GMainLoop *loop);
4130 gboolean g_main_loop_is_running (GMainLoop *loop);
4131 GMainContext *g_main_loop_get_context (GMainLoop *loop);
4135 GSource *g_source_new (GSourceFuncs *source_funcs,
4137 GSource *g_source_ref (GSource *source);
4138 void g_source_unref (GSource *source);
4140 guint g_source_attach (GSource *source,
4141 GMainContext *context);
4142 void g_source_destroy (GSource *source);
4144 void g_source_set_priority (GSource *source,
4146 gint g_source_get_priority (GSource *source);
4147 void g_source_set_can_recurse (GSource *source,
4148 gboolean can_recurse);
4149 gboolean g_source_get_can_recurse (GSource *source);
4150 guint g_source_get_id (GSource *source);
4152 GMainContext *g_source_get_context (GSource *source);
4154 void g_source_set_callback (GSource *source,
4157 GDestroyNotify notify);
4159 void g_source_set_funcs (GSource *source,
4160 GSourceFuncs *funcs);
4161 gboolean g_source_is_destroyed (GSource *source);
4164 void g_source_set_callback_indirect (GSource *source,
4165 gpointer callback_data,
4166 GSourceCallbackFuncs *callback_funcs);
4168 void g_source_add_poll (GSource *source,
4170 void g_source_remove_poll (GSource *source,
4173 void g_source_get_current_time (GSource *source,
4182 GSource *g_idle_source_new (void);
4183 GSource *g_child_watch_source_new (GPid pid);
4184 GSource *g_timeout_source_new (guint interval);
4185 GSource *g_timeout_source_new_seconds (guint interval);
4189 void g_get_current_time (GTimeVal *result);
4190 # 292 "/usr/include/glib-2.0/glib/gmain.h"
4191 gboolean g_source_remove (guint tag);
4192 gboolean g_source_remove_by_user_data (gpointer user_data);
4193 gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs,
4194 gpointer user_data);
4197 guint g_timeout_add_full (gint priority,
4199 GSourceFunc function,
4201 GDestroyNotify notify);
4202 guint g_timeout_add (guint interval,
4203 GSourceFunc function,
4205 guint g_timeout_add_seconds_full (gint priority,
4207 GSourceFunc function,
4209 GDestroyNotify notify);
4210 guint g_timeout_add_seconds (guint interval,
4211 GSourceFunc function,
4213 guint g_child_watch_add_full (gint priority,
4215 GChildWatchFunc function,
4217 GDestroyNotify notify);
4218 guint g_child_watch_add (GPid pid,
4219 GChildWatchFunc function,
4221 guint g_idle_add (GSourceFunc function,
4223 guint g_idle_add_full (gint priority,
4224 GSourceFunc function,
4226 GDestroyNotify notify);
4227 gboolean g_idle_remove_by_data (gpointer data);
4230 extern GSourceFuncs g_timeout_funcs;
4231 extern GSourceFuncs g_child_watch_funcs;
4232 extern GSourceFuncs g_idle_funcs;
4235 # 32 "/usr/include/glib-2.0/glib/giochannel.h" 2
4236 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
4237 # 31 "/usr/include/glib-2.0/glib/gstring.h"
4238 # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
4239 # 28 "/usr/include/glib-2.0/glib/gunicode.h"
4242 typedef guint32 gunichar;
4243 typedef guint16 gunichar2;
4252 G_UNICODE_UNASSIGNED,
4253 G_UNICODE_PRIVATE_USE,
4254 G_UNICODE_SURROGATE,
4255 G_UNICODE_LOWERCASE_LETTER,
4256 G_UNICODE_MODIFIER_LETTER,
4257 G_UNICODE_OTHER_LETTER,
4258 G_UNICODE_TITLECASE_LETTER,
4259 G_UNICODE_UPPERCASE_LETTER,
4260 G_UNICODE_COMBINING_MARK,
4261 G_UNICODE_ENCLOSING_MARK,
4262 G_UNICODE_NON_SPACING_MARK,
4263 G_UNICODE_DECIMAL_NUMBER,
4264 G_UNICODE_LETTER_NUMBER,
4265 G_UNICODE_OTHER_NUMBER,
4266 G_UNICODE_CONNECT_PUNCTUATION,
4267 G_UNICODE_DASH_PUNCTUATION,
4268 G_UNICODE_CLOSE_PUNCTUATION,
4269 G_UNICODE_FINAL_PUNCTUATION,
4270 G_UNICODE_INITIAL_PUNCTUATION,
4271 G_UNICODE_OTHER_PUNCTUATION,
4272 G_UNICODE_OPEN_PUNCTUATION,
4273 G_UNICODE_CURRENCY_SYMBOL,
4274 G_UNICODE_MODIFIER_SYMBOL,
4275 G_UNICODE_MATH_SYMBOL,
4276 G_UNICODE_OTHER_SYMBOL,
4277 G_UNICODE_LINE_SEPARATOR,
4278 G_UNICODE_PARAGRAPH_SEPARATOR,
4279 G_UNICODE_SPACE_SEPARATOR
4289 G_UNICODE_BREAK_MANDATORY,
4290 G_UNICODE_BREAK_CARRIAGE_RETURN,
4291 G_UNICODE_BREAK_LINE_FEED,
4292 G_UNICODE_BREAK_COMBINING_MARK,
4293 G_UNICODE_BREAK_SURROGATE,
4294 G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
4295 G_UNICODE_BREAK_INSEPARABLE,
4296 G_UNICODE_BREAK_NON_BREAKING_GLUE,
4297 G_UNICODE_BREAK_CONTINGENT,
4298 G_UNICODE_BREAK_SPACE,
4299 G_UNICODE_BREAK_AFTER,
4300 G_UNICODE_BREAK_BEFORE,
4301 G_UNICODE_BREAK_BEFORE_AND_AFTER,
4302 G_UNICODE_BREAK_HYPHEN,
4303 G_UNICODE_BREAK_NON_STARTER,
4304 G_UNICODE_BREAK_OPEN_PUNCTUATION,
4305 G_UNICODE_BREAK_CLOSE_PUNCTUATION,
4306 G_UNICODE_BREAK_QUOTATION,
4307 G_UNICODE_BREAK_EXCLAMATION,
4308 G_UNICODE_BREAK_IDEOGRAPHIC,
4309 G_UNICODE_BREAK_NUMERIC,
4310 G_UNICODE_BREAK_INFIX_SEPARATOR,
4311 G_UNICODE_BREAK_SYMBOL,
4312 G_UNICODE_BREAK_ALPHABETIC,
4313 G_UNICODE_BREAK_PREFIX,
4314 G_UNICODE_BREAK_POSTFIX,
4315 G_UNICODE_BREAK_COMPLEX_CONTEXT,
4316 G_UNICODE_BREAK_AMBIGUOUS,
4317 G_UNICODE_BREAK_UNKNOWN,
4318 G_UNICODE_BREAK_NEXT_LINE,
4319 G_UNICODE_BREAK_WORD_JOINER,
4320 G_UNICODE_BREAK_HANGUL_L_JAMO,
4321 G_UNICODE_BREAK_HANGUL_V_JAMO,
4322 G_UNICODE_BREAK_HANGUL_T_JAMO,
4323 G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
4324 G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE
4325 } GUnicodeBreakType;
4329 G_UNICODE_SCRIPT_INVALID_CODE = -1,
4330 G_UNICODE_SCRIPT_COMMON = 0,
4331 G_UNICODE_SCRIPT_INHERITED,
4332 G_UNICODE_SCRIPT_ARABIC,
4333 G_UNICODE_SCRIPT_ARMENIAN,
4334 G_UNICODE_SCRIPT_BENGALI,
4335 G_UNICODE_SCRIPT_BOPOMOFO,
4336 G_UNICODE_SCRIPT_CHEROKEE,
4337 G_UNICODE_SCRIPT_COPTIC,
4338 G_UNICODE_SCRIPT_CYRILLIC,
4339 G_UNICODE_SCRIPT_DESERET,
4340 G_UNICODE_SCRIPT_DEVANAGARI,
4341 G_UNICODE_SCRIPT_ETHIOPIC,
4342 G_UNICODE_SCRIPT_GEORGIAN,
4343 G_UNICODE_SCRIPT_GOTHIC,
4344 G_UNICODE_SCRIPT_GREEK,
4345 G_UNICODE_SCRIPT_GUJARATI,
4346 G_UNICODE_SCRIPT_GURMUKHI,
4347 G_UNICODE_SCRIPT_HAN,
4348 G_UNICODE_SCRIPT_HANGUL,
4349 G_UNICODE_SCRIPT_HEBREW,
4350 G_UNICODE_SCRIPT_HIRAGANA,
4351 G_UNICODE_SCRIPT_KANNADA,
4352 G_UNICODE_SCRIPT_KATAKANA,
4353 G_UNICODE_SCRIPT_KHMER,
4354 G_UNICODE_SCRIPT_LAO,
4355 G_UNICODE_SCRIPT_LATIN,
4356 G_UNICODE_SCRIPT_MALAYALAM,
4357 G_UNICODE_SCRIPT_MONGOLIAN,
4358 G_UNICODE_SCRIPT_MYANMAR,
4359 G_UNICODE_SCRIPT_OGHAM,
4360 G_UNICODE_SCRIPT_OLD_ITALIC,
4361 G_UNICODE_SCRIPT_ORIYA,
4362 G_UNICODE_SCRIPT_RUNIC,
4363 G_UNICODE_SCRIPT_SINHALA,
4364 G_UNICODE_SCRIPT_SYRIAC,
4365 G_UNICODE_SCRIPT_TAMIL,
4366 G_UNICODE_SCRIPT_TELUGU,
4367 G_UNICODE_SCRIPT_THAANA,
4368 G_UNICODE_SCRIPT_THAI,
4369 G_UNICODE_SCRIPT_TIBETAN,
4370 G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
4371 G_UNICODE_SCRIPT_YI,
4372 G_UNICODE_SCRIPT_TAGALOG,
4373 G_UNICODE_SCRIPT_HANUNOO,
4374 G_UNICODE_SCRIPT_BUHID,
4375 G_UNICODE_SCRIPT_TAGBANWA,
4378 G_UNICODE_SCRIPT_BRAILLE,
4379 G_UNICODE_SCRIPT_CYPRIOT,
4380 G_UNICODE_SCRIPT_LIMBU,
4381 G_UNICODE_SCRIPT_OSMANYA,
4382 G_UNICODE_SCRIPT_SHAVIAN,
4383 G_UNICODE_SCRIPT_LINEAR_B,
4384 G_UNICODE_SCRIPT_TAI_LE,
4385 G_UNICODE_SCRIPT_UGARITIC,
4388 G_UNICODE_SCRIPT_NEW_TAI_LUE,
4389 G_UNICODE_SCRIPT_BUGINESE,
4390 G_UNICODE_SCRIPT_GLAGOLITIC,
4391 G_UNICODE_SCRIPT_TIFINAGH,
4392 G_UNICODE_SCRIPT_SYLOTI_NAGRI,
4393 G_UNICODE_SCRIPT_OLD_PERSIAN,
4394 G_UNICODE_SCRIPT_KHAROSHTHI,
4397 G_UNICODE_SCRIPT_UNKNOWN,
4398 G_UNICODE_SCRIPT_BALINESE,
4399 G_UNICODE_SCRIPT_CUNEIFORM,
4400 G_UNICODE_SCRIPT_PHOENICIAN,
4401 G_UNICODE_SCRIPT_PHAGS_PA,
4402 G_UNICODE_SCRIPT_NKO
4411 gboolean g_get_charset (const char **charset);
4415 gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
4416 gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
4417 gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
4418 gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
4419 gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
4420 gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
4421 gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
4422 gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
4423 gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
4424 gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
4425 gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
4426 gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
4427 gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
4428 gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
4429 gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
4430 gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
4431 gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
4435 gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
4436 gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
4437 gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
4441 gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
4443 gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
4446 GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
4449 GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
4452 gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
4458 void g_unicode_canonical_ordering (gunichar *string,
4464 gunichar *g_unicode_canonical_decomposition (gunichar ch,
4465 gsize *result_len) __attribute__((__malloc__));
4469 extern const gchar * const g_utf8_skip;
4473 gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__));
4474 gunichar g_utf8_get_char_validated (const gchar *p,
4475 gssize max_len) __attribute__((__pure__));
4477 gchar* g_utf8_offset_to_pointer (const gchar *str,
4478 glong offset) __attribute__((__pure__));
4479 glong g_utf8_pointer_to_offset (const gchar *str,
4480 const gchar *pos) __attribute__((__pure__));
4481 gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__));
4482 gchar* g_utf8_find_next_char (const gchar *p,
4483 const gchar *end) __attribute__((__pure__));
4484 gchar* g_utf8_find_prev_char (const gchar *str,
4485 const gchar *p) __attribute__((__pure__));
4487 glong g_utf8_strlen (const gchar *p,
4488 gssize max) __attribute__((__pure__));
4491 gchar* g_utf8_strncpy (gchar *dest,
4497 gchar* g_utf8_strchr (const gchar *p,
4500 gchar* g_utf8_strrchr (const gchar *p,
4503 gchar* g_utf8_strreverse (const gchar *str,
4506 gunichar2 *g_utf8_to_utf16 (const gchar *str,
4509 glong *items_written,
4510 GError **error) __attribute__((__malloc__));
4511 gunichar * g_utf8_to_ucs4 (const gchar *str,
4514 glong *items_written,
4515 GError **error) __attribute__((__malloc__));
4516 gunichar * g_utf8_to_ucs4_fast (const gchar *str,
4518 glong *items_written) __attribute__((__malloc__));
4519 gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
4522 glong *items_written,
4523 GError **error) __attribute__((__malloc__));
4524 gchar* g_utf16_to_utf8 (const gunichar2 *str,
4527 glong *items_written,
4528 GError **error) __attribute__((__malloc__));
4529 gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
4532 glong *items_written,
4533 GError **error) __attribute__((__malloc__));
4534 gchar* g_ucs4_to_utf8 (const gunichar *str,
4537 glong *items_written,
4538 GError **error) __attribute__((__malloc__));
4544 gint g_unichar_to_utf8 (gunichar c,
4551 gboolean g_utf8_validate (const gchar *str,
4556 gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
4558 gchar *g_utf8_strup (const gchar *str,
4559 gssize len) __attribute__((__malloc__));
4560 gchar *g_utf8_strdown (const gchar *str,
4561 gssize len) __attribute__((__malloc__));
4562 gchar *g_utf8_casefold (const gchar *str,
4563 gssize len) __attribute__((__malloc__));
4566 G_NORMALIZE_DEFAULT,
4567 G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
4568 G_NORMALIZE_DEFAULT_COMPOSE,
4569 G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
4571 G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
4572 G_NORMALIZE_ALL_COMPOSE,
4573 G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
4576 gchar *g_utf8_normalize (const gchar *str,
4578 GNormalizeMode mode) __attribute__((__malloc__));
4580 gint g_utf8_collate (const gchar *str1,
4581 const gchar *str2) __attribute__((__pure__));
4582 gchar *g_utf8_collate_key (const gchar *str,
4583 gssize len) __attribute__((__malloc__));
4584 gchar *g_utf8_collate_key_for_filename (const gchar *str,
4585 gssize len) __attribute__((__malloc__));
4587 gboolean g_unichar_get_mirror_char (gunichar ch,
4588 gunichar *mirrored_ch);
4590 GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
4595 gchar *_g_utf8_make_valid (const gchar *name);
4599 # 32 "/usr/include/glib-2.0/glib/gstring.h" 2
4604 typedef struct _GString GString;
4605 typedef struct _GStringChunk GStringChunk;
4611 gsize allocated_len;
4616 GStringChunk* g_string_chunk_new (gsize size);
4617 void g_string_chunk_free (GStringChunk *chunk);
4618 void g_string_chunk_clear (GStringChunk *chunk);
4619 gchar* g_string_chunk_insert (GStringChunk *chunk,
4620 const gchar *string);
4621 gchar* g_string_chunk_insert_len (GStringChunk *chunk,
4622 const gchar *string,
4624 gchar* g_string_chunk_insert_const (GStringChunk *chunk,
4625 const gchar *string);
4630 GString* g_string_new (const gchar *init);
4631 GString* g_string_new_len (const gchar *init,
4633 GString* g_string_sized_new (gsize dfl_size);
4634 gchar* g_string_free (GString *string,
4635 gboolean free_segment);
4636 gboolean g_string_equal (const GString *v,
4638 guint g_string_hash (const GString *str);
4639 GString* g_string_assign (GString *string,
4641 GString* g_string_truncate (GString *string,
4643 GString* g_string_set_size (GString *string,
4645 GString* g_string_insert_len (GString *string,
4649 GString* g_string_append (GString *string,
4651 GString* g_string_append_len (GString *string,
4654 GString* g_string_append_c (GString *string,
4656 GString* g_string_append_unichar (GString *string,
4658 GString* g_string_prepend (GString *string,
4660 GString* g_string_prepend_c (GString *string,
4662 GString* g_string_prepend_unichar (GString *string,
4664 GString* g_string_prepend_len (GString *string,
4667 GString* g_string_insert (GString *string,
4670 GString* g_string_insert_c (GString *string,
4673 GString* g_string_insert_unichar (GString *string,
4676 GString* g_string_overwrite (GString *string,
4679 GString* g_string_overwrite_len (GString *string,
4683 GString* g_string_erase (GString *string,
4686 GString* g_string_ascii_down (GString *string);
4687 GString* g_string_ascii_up (GString *string);
4688 void g_string_vprintf (GString *string,
4689 const gchar *format,
4691 void g_string_printf (GString *string,
4692 const gchar *format,
4693 ...) __attribute__((__format__ (__printf__, 2, 3)));
4694 void g_string_append_vprintf (GString *string,
4695 const gchar *format,
4697 void g_string_append_printf (GString *string,
4698 const gchar *format,
4699 ...) __attribute__((__format__ (__printf__, 2, 3)));
4703 static inline GString*
4704 g_string_append_c_inline (GString *gstring,
4707 if (gstring->len + 1 < gstring->allocated_len)
4709 gstring->str[gstring->len++] = c;
4710 gstring->str[gstring->len] = 0;
4713 g_string_insert_c (gstring, -1, c);
4716 # 159 "/usr/include/glib-2.0/glib/gstring.h"
4717 GString* g_string_down (GString *string);
4718 GString* g_string_up (GString *string);
4727 # 33 "/usr/include/glib-2.0/glib/giochannel.h" 2
4734 typedef struct _GIOChannel GIOChannel;
4735 typedef struct _GIOFuncs GIOFuncs;
4750 G_IO_CHANNEL_ERROR_FBIG,
4751 G_IO_CHANNEL_ERROR_INVAL,
4752 G_IO_CHANNEL_ERROR_IO,
4753 G_IO_CHANNEL_ERROR_ISDIR,
4754 G_IO_CHANNEL_ERROR_NOSPC,
4755 G_IO_CHANNEL_ERROR_NXIO,
4756 G_IO_CHANNEL_ERROR_OVERFLOW,
4757 G_IO_CHANNEL_ERROR_PIPE,
4759 G_IO_CHANNEL_ERROR_FAILED
4789 G_IO_FLAG_APPEND = 1 << 0,
4790 G_IO_FLAG_NONBLOCK = 1 << 1,
4791 G_IO_FLAG_IS_READABLE = 1 << 2,
4792 G_IO_FLAG_IS_WRITEABLE = 1 << 3,
4793 G_IO_FLAG_IS_SEEKABLE = 1 << 4,
4794 G_IO_FLAG_MASK = (1 << 5) - 1,
4795 G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
4796 G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
4809 guint line_term_len;
4813 GString *encoded_read_buf;
4815 gchar partial_write_buf[6];
4819 guint use_buffer : 1;
4820 guint do_encode : 1;
4821 guint close_on_unref : 1;
4822 guint is_readable : 1;
4823 guint is_writeable : 1;
4824 guint is_seekable : 1;
4830 typedef gboolean (*GIOFunc) (GIOChannel *source,
4831 GIOCondition condition,
4835 GIOStatus (*io_read) (GIOChannel *channel,
4840 GIOStatus (*io_write) (GIOChannel *channel,
4843 gsize *bytes_written,
4845 GIOStatus (*io_seek) (GIOChannel *channel,
4849 GIOStatus (*io_close) (GIOChannel *channel,
4851 GSource* (*io_create_watch) (GIOChannel *channel,
4852 GIOCondition condition);
4853 void (*io_free) (GIOChannel *channel);
4854 GIOStatus (*io_set_flags) (GIOChannel *channel,
4857 GIOFlags (*io_get_flags) (GIOChannel *channel);
4860 void g_io_channel_init (GIOChannel *channel);
4861 GIOChannel *g_io_channel_ref (GIOChannel *channel);
4862 void g_io_channel_unref (GIOChannel *channel);
4865 GIOError g_io_channel_read (GIOChannel *channel,
4869 GIOError g_io_channel_write (GIOChannel *channel,
4872 gsize *bytes_written);
4873 GIOError g_io_channel_seek (GIOChannel *channel,
4876 void g_io_channel_close (GIOChannel *channel);
4879 GIOStatus g_io_channel_shutdown (GIOChannel *channel,
4882 guint g_io_add_watch_full (GIOChannel *channel,
4884 GIOCondition condition,
4887 GDestroyNotify notify);
4888 GSource * g_io_create_watch (GIOChannel *channel,
4889 GIOCondition condition);
4890 guint g_io_add_watch (GIOChannel *channel,
4891 GIOCondition condition,
4893 gpointer user_data);
4898 void g_io_channel_set_buffer_size (GIOChannel *channel,
4900 gsize g_io_channel_get_buffer_size (GIOChannel *channel);
4901 GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel);
4902 GIOStatus g_io_channel_set_flags (GIOChannel *channel,
4905 GIOFlags g_io_channel_get_flags (GIOChannel *channel);
4906 void g_io_channel_set_line_term (GIOChannel *channel,
4907 const gchar *line_term,
4909 const gchar* g_io_channel_get_line_term (GIOChannel *channel,
4911 void g_io_channel_set_buffered (GIOChannel *channel,
4913 gboolean g_io_channel_get_buffered (GIOChannel *channel);
4914 GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
4915 const gchar *encoding,
4917 const gchar* g_io_channel_get_encoding (GIOChannel *channel);
4918 void g_io_channel_set_close_on_unref (GIOChannel *channel,
4920 gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
4923 GIOStatus g_io_channel_flush (GIOChannel *channel,
4925 GIOStatus g_io_channel_read_line (GIOChannel *channel,
4928 gsize *terminator_pos,
4930 GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
4932 gsize *terminator_pos,
4934 GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
4938 GIOStatus g_io_channel_read_chars (GIOChannel *channel,
4943 GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
4946 GIOStatus g_io_channel_write_chars (GIOChannel *channel,
4949 gsize *bytes_written,
4951 GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
4954 GIOStatus g_io_channel_seek_position (GIOChannel *channel,
4962 GIOChannel* g_io_channel_new_file (const gchar *filename,
4968 GQuark g_io_channel_error_quark (void);
4969 GIOChannelError g_io_channel_error_from_errno (gint en);
4970 # 294 "/usr/include/glib-2.0/glib/giochannel.h"
4971 GIOChannel* g_io_channel_unix_new (int fd);
4972 gint g_io_channel_unix_get_fd (GIOChannel *channel);
4976 extern GSourceFuncs g_io_watch_funcs;
4977 # 352 "/usr/include/glib-2.0/glib/giochannel.h"
4979 # 48 "/usr/include/glib-2.0/glib.h" 2
4980 # 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1
4981 # 28 "/usr/include/glib-2.0/glib/gkeyfile.h"
4986 G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
4987 G_KEY_FILE_ERROR_PARSE,
4988 G_KEY_FILE_ERROR_NOT_FOUND,
4989 G_KEY_FILE_ERROR_KEY_NOT_FOUND,
4990 G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
4991 G_KEY_FILE_ERROR_INVALID_VALUE
4996 GQuark g_key_file_error_quark (void);
4998 typedef struct _GKeyFile GKeyFile;
5002 G_KEY_FILE_NONE = 0,
5003 G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
5004 G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
5007 GKeyFile *g_key_file_new (void);
5008 void g_key_file_free (GKeyFile *key_file);
5009 void g_key_file_set_list_separator (GKeyFile *key_file,
5011 gboolean g_key_file_load_from_file (GKeyFile *key_file,
5013 GKeyFileFlags flags,
5015 gboolean g_key_file_load_from_data (GKeyFile *key_file,
5018 GKeyFileFlags flags,
5020 gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
5022 const gchar **search_dirs,
5024 GKeyFileFlags flags,
5026 gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
5029 GKeyFileFlags flags,
5031 gchar *g_key_file_to_data (GKeyFile *key_file,
5033 GError **error) __attribute__((__malloc__));
5034 gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__));
5035 gchar **g_key_file_get_groups (GKeyFile *key_file,
5036 gsize *length) __attribute__((__malloc__));
5037 gchar **g_key_file_get_keys (GKeyFile *key_file,
5038 const gchar *group_name,
5040 GError **error) __attribute__((__malloc__));
5041 gboolean g_key_file_has_group (GKeyFile *key_file,
5042 const gchar *group_name);
5043 gboolean g_key_file_has_key (GKeyFile *key_file,
5044 const gchar *group_name,
5047 gchar *g_key_file_get_value (GKeyFile *key_file,
5048 const gchar *group_name,
5050 GError **error) __attribute__((__malloc__));
5051 void g_key_file_set_value (GKeyFile *key_file,
5052 const gchar *group_name,
5054 const gchar *value);
5055 gchar *g_key_file_get_string (GKeyFile *key_file,
5056 const gchar *group_name,
5058 GError **error) __attribute__((__malloc__));
5059 void g_key_file_set_string (GKeyFile *key_file,
5060 const gchar *group_name,
5062 const gchar *string);
5063 gchar *g_key_file_get_locale_string (GKeyFile *key_file,
5064 const gchar *group_name,
5066 const gchar *locale,
5067 GError **error) __attribute__((__malloc__));
5068 void g_key_file_set_locale_string (GKeyFile *key_file,
5069 const gchar *group_name,
5071 const gchar *locale,
5072 const gchar *string);
5073 gboolean g_key_file_get_boolean (GKeyFile *key_file,
5074 const gchar *group_name,
5077 void g_key_file_set_boolean (GKeyFile *key_file,
5078 const gchar *group_name,
5081 gint g_key_file_get_integer (GKeyFile *key_file,
5082 const gchar *group_name,
5085 void g_key_file_set_integer (GKeyFile *key_file,
5086 const gchar *group_name,
5089 gdouble g_key_file_get_double (GKeyFile *key_file,
5090 const gchar *group_name,
5093 void g_key_file_set_double (GKeyFile *key_file,
5094 const gchar *group_name,
5097 gchar **g_key_file_get_string_list (GKeyFile *key_file,
5098 const gchar *group_name,
5101 GError **error) __attribute__((__malloc__));
5102 void g_key_file_set_string_list (GKeyFile *key_file,
5103 const gchar *group_name,
5105 const gchar * const list[],
5107 gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
5108 const gchar *group_name,
5110 const gchar *locale,
5112 GError **error) __attribute__((__malloc__));
5113 void g_key_file_set_locale_string_list (GKeyFile *key_file,
5114 const gchar *group_name,
5116 const gchar *locale,
5117 const gchar * const list[],
5119 gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
5120 const gchar *group_name,
5123 GError **error) __attribute__((__malloc__));
5124 void g_key_file_set_boolean_list (GKeyFile *key_file,
5125 const gchar *group_name,
5129 gint *g_key_file_get_integer_list (GKeyFile *key_file,
5130 const gchar *group_name,
5133 GError **error) __attribute__((__malloc__));
5134 void g_key_file_set_double_list (GKeyFile *key_file,
5135 const gchar *group_name,
5139 gdouble *g_key_file_get_double_list (GKeyFile *key_file,
5140 const gchar *group_name,
5143 GError **error) __attribute__((__malloc__));
5144 void g_key_file_set_integer_list (GKeyFile *key_file,
5145 const gchar *group_name,
5149 void g_key_file_set_comment (GKeyFile *key_file,
5150 const gchar *group_name,
5152 const gchar *comment,
5154 gchar *g_key_file_get_comment (GKeyFile *key_file,
5155 const gchar *group_name,
5157 GError **error) __attribute__((__malloc__));
5159 void g_key_file_remove_comment (GKeyFile *key_file,
5160 const gchar *group_name,
5163 void g_key_file_remove_key (GKeyFile *key_file,
5164 const gchar *group_name,
5167 void g_key_file_remove_group (GKeyFile *key_file,
5168 const gchar *group_name,
5170 # 244 "/usr/include/glib-2.0/glib/gkeyfile.h"
5172 # 49 "/usr/include/glib-2.0/glib.h" 2
5176 # 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1
5177 # 26 "/usr/include/glib-2.0/glib/gmappedfile.h"
5180 typedef struct _GMappedFile GMappedFile;
5182 GMappedFile *g_mapped_file_new (const gchar *filename,
5184 GError **error) __attribute__((__malloc__));
5185 gsize g_mapped_file_get_length (GMappedFile *file);
5186 gchar *g_mapped_file_get_contents (GMappedFile *file);
5187 void g_mapped_file_free (GMappedFile *file);
5190 # 53 "/usr/include/glib-2.0/glib.h" 2
5191 # 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1
5192 # 28 "/usr/include/glib-2.0/glib/gmarkup.h"
5197 G_MARKUP_ERROR_BAD_UTF8,
5198 G_MARKUP_ERROR_EMPTY,
5199 G_MARKUP_ERROR_PARSE,
5203 G_MARKUP_ERROR_UNKNOWN_ELEMENT,
5204 G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
5205 G_MARKUP_ERROR_INVALID_CONTENT
5210 GQuark g_markup_error_quark (void);
5214 G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0,
5215 G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1
5216 } GMarkupParseFlags;
5218 typedef struct _GMarkupParseContext GMarkupParseContext;
5219 typedef struct _GMarkupParser GMarkupParser;
5221 struct _GMarkupParser
5224 void (*start_element) (GMarkupParseContext *context,
5225 const gchar *element_name,
5226 const gchar **attribute_names,
5227 const gchar **attribute_values,
5232 void (*end_element) (GMarkupParseContext *context,
5233 const gchar *element_name,
5239 void (*text) (GMarkupParseContext *context,
5250 void (*passthrough) (GMarkupParseContext *context,
5251 const gchar *passthrough_text,
5259 void (*error) (GMarkupParseContext *context,
5261 gpointer user_data);
5264 GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
5265 GMarkupParseFlags flags,
5267 GDestroyNotify user_data_dnotify);
5268 void g_markup_parse_context_free (GMarkupParseContext *context);
5269 gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
5274 gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
5276 const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
5279 void g_markup_parse_context_get_position (GMarkupParseContext *context,
5284 gchar* g_markup_escape_text (const gchar *text,
5287 gchar *g_markup_printf_escaped (const char *format,
5288 ...) __attribute__((__format__ (__printf__, 1, 2)));
5289 gchar *g_markup_vprintf_escaped (const char *format,
5293 # 54 "/usr/include/glib-2.0/glib.h" 2
5295 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
5296 # 37 "/usr/include/glib-2.0/glib/gmessages.h"
5298 # 38 "/usr/include/glib-2.0/glib/gmessages.h" 3
5305 gsize g_printf_string_upper_bound (const gchar* format,
5307 # 54 "/usr/include/glib-2.0/glib/gmessages.h" 3
5311 G_LOG_FLAG_RECURSION = 1 << 0,
5312 G_LOG_FLAG_FATAL = 1 << 1,
5315 G_LOG_LEVEL_ERROR = 1 << 2,
5316 G_LOG_LEVEL_CRITICAL = 1 << 3,
5317 G_LOG_LEVEL_WARNING = 1 << 4,
5318 G_LOG_LEVEL_MESSAGE = 1 << 5,
5319 G_LOG_LEVEL_INFO = 1 << 6,
5320 G_LOG_LEVEL_DEBUG = 1 << 7,
5322 G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
5328 typedef void (*GLogFunc) (const gchar *log_domain,
5329 GLogLevelFlags log_level,
5330 const gchar *message,
5331 gpointer user_data);
5335 guint g_log_set_handler (const gchar *log_domain,
5336 GLogLevelFlags log_levels,
5338 gpointer user_data);
5339 void g_log_remove_handler (const gchar *log_domain,
5341 void g_log_default_handler (const gchar *log_domain,
5342 GLogLevelFlags log_level,
5343 const gchar *message,
5344 gpointer unused_data);
5345 GLogFunc g_log_set_default_handler (GLogFunc log_func,
5346 gpointer user_data);
5347 void g_log (const gchar *log_domain,
5348 GLogLevelFlags log_level,
5349 const gchar *format,
5350 ...) __attribute__((__format__ (__printf__, 3, 4)));
5351 void g_logv (const gchar *log_domain,
5352 GLogLevelFlags log_level,
5353 const gchar *format,
5355 GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
5356 GLogLevelFlags fatal_mask);
5357 GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
5360 __attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain,
5361 GLogLevelFlags log_level,
5362 const gchar *message,
5363 gpointer unused_data);
5366 void g_return_if_fail_warning (const char *log_domain,
5367 const char *pretty_function,
5368 const char *expression);
5369 void g_assert_warning (const char *log_domain,
5372 const char *pretty_function,
5373 const char *expression) __attribute__((__noreturn__));
5374 # 205 "/usr/include/glib-2.0/glib/gmessages.h" 3
5375 typedef void (*GPrintFunc) (const gchar *string);
5376 void g_print (const gchar *format,
5377 ...) __attribute__((__format__ (__printf__, 1, 2)));
5378 GPrintFunc g_set_print_handler (GPrintFunc func);
5379 void g_printerr (const gchar *format,
5380 ...) __attribute__((__format__ (__printf__, 1, 2)));
5381 GPrintFunc g_set_printerr_handler (GPrintFunc func);
5382 # 361 "/usr/include/glib-2.0/glib/gmessages.h" 3
5384 # 56 "/usr/include/glib-2.0/glib.h" 2
5385 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1
5386 # 32 "/usr/include/glib-2.0/glib/gnode.h"
5389 typedef struct _GNode GNode;
5394 G_TRAVERSE_LEAVES = 1 << 0,
5395 G_TRAVERSE_NON_LEAVES = 1 << 1,
5396 G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES,
5397 G_TRAVERSE_MASK = 0x03,
5398 G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
5399 G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
5411 typedef gboolean (*GNodeTraverseFunc) (GNode *node,
5413 typedef void (*GNodeForeachFunc) (GNode *node,
5415 typedef gpointer (*GCopyFunc) (gconstpointer src,
5434 GNode* g_node_new (gpointer data);
5435 void g_node_destroy (GNode *root);
5436 void g_node_unlink (GNode *node);
5437 GNode* g_node_copy_deep (GNode *node,
5438 GCopyFunc copy_func,
5440 GNode* g_node_copy (GNode *node);
5441 GNode* g_node_insert (GNode *parent,
5444 GNode* g_node_insert_before (GNode *parent,
5447 GNode* g_node_insert_after (GNode *parent,
5450 GNode* g_node_prepend (GNode *parent,
5452 guint g_node_n_nodes (GNode *root,
5453 GTraverseFlags flags);
5454 GNode* g_node_get_root (GNode *node);
5455 gboolean g_node_is_ancestor (GNode *node,
5457 guint g_node_depth (GNode *node);
5458 GNode* g_node_find (GNode *root,
5459 GTraverseType order,
5460 GTraverseFlags flags,
5462 # 125 "/usr/include/glib-2.0/glib/gnode.h"
5463 void g_node_traverse (GNode *root,
5464 GTraverseType order,
5465 GTraverseFlags flags,
5467 GNodeTraverseFunc func,
5475 guint g_node_max_height (GNode *root);
5477 void g_node_children_foreach (GNode *node,
5478 GTraverseFlags flags,
5479 GNodeForeachFunc func,
5481 void g_node_reverse_children (GNode *node);
5482 guint g_node_n_children (GNode *node);
5483 GNode* g_node_nth_child (GNode *node,
5485 GNode* g_node_last_child (GNode *node);
5486 GNode* g_node_find_child (GNode *node,
5487 GTraverseFlags flags,
5489 gint g_node_child_position (GNode *node,
5491 gint g_node_child_index (GNode *node,
5494 GNode* g_node_first_sibling (GNode *node);
5495 GNode* g_node_last_sibling (GNode *node);
5496 # 167 "/usr/include/glib-2.0/glib/gnode.h"
5497 void g_node_push_allocator (gpointer dummy);
5498 void g_node_pop_allocator (void);
5501 # 57 "/usr/include/glib-2.0/glib.h" 2
5502 # 1 "/usr/include/glib-2.0/glib/goption.h" 1
5503 # 27 "/usr/include/glib-2.0/glib/goption.h"
5506 typedef struct _GOptionContext GOptionContext;
5507 typedef struct _GOptionGroup GOptionGroup;
5508 typedef struct _GOptionEntry GOptionEntry;
5512 G_OPTION_FLAG_HIDDEN = 1 << 0,
5513 G_OPTION_FLAG_IN_MAIN = 1 << 1,
5514 G_OPTION_FLAG_REVERSE = 1 << 2,
5515 G_OPTION_FLAG_NO_ARG = 1 << 3,
5516 G_OPTION_FLAG_FILENAME = 1 << 4,
5517 G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
5518 G_OPTION_FLAG_NOALIAS = 1 << 6
5524 G_OPTION_ARG_STRING,
5526 G_OPTION_ARG_CALLBACK,
5527 G_OPTION_ARG_FILENAME,
5528 G_OPTION_ARG_STRING_ARRAY,
5529 G_OPTION_ARG_FILENAME_ARRAY,
5530 G_OPTION_ARG_DOUBLE,
5534 typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
5539 typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
5540 GOptionGroup *group,
5544 typedef void (*GOptionErrorFunc) (GOptionContext *context,
5545 GOptionGroup *group,
5553 G_OPTION_ERROR_UNKNOWN_OPTION,
5554 G_OPTION_ERROR_BAD_VALUE,
5555 G_OPTION_ERROR_FAILED
5558 GQuark g_option_error_quark (void);
5561 struct _GOptionEntry
5563 const gchar *long_name;
5570 const gchar *description;
5571 const gchar *arg_description;
5576 GOptionContext *g_option_context_new (const gchar *parameter_string);
5577 void g_option_context_set_summary (GOptionContext *context,
5578 const gchar *summary);
5579 const gchar *g_option_context_get_summary (GOptionContext *context);
5580 void g_option_context_set_description (GOptionContext *context,
5581 const gchar *description);
5582 const gchar *g_option_context_get_description (GOptionContext *context);
5583 void g_option_context_free (GOptionContext *context);
5584 void g_option_context_set_help_enabled (GOptionContext *context,
5585 gboolean help_enabled);
5586 gboolean g_option_context_get_help_enabled (GOptionContext *context);
5587 void g_option_context_set_ignore_unknown_options (GOptionContext *context,
5588 gboolean ignore_unknown);
5589 gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
5591 void g_option_context_add_main_entries (GOptionContext *context,
5592 const GOptionEntry *entries,
5593 const gchar *translation_domain);
5594 gboolean g_option_context_parse (GOptionContext *context,
5598 void g_option_context_set_translate_func (GOptionContext *context,
5599 GTranslateFunc func,
5601 GDestroyNotify destroy_notify);
5602 void g_option_context_set_translation_domain (GOptionContext *context,
5603 const gchar *domain);
5605 void g_option_context_add_group (GOptionContext *context,
5606 GOptionGroup *group);
5607 void g_option_context_set_main_group (GOptionContext *context,
5608 GOptionGroup *group);
5609 GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
5610 gchar *g_option_context_get_help (GOptionContext *context,
5612 GOptionGroup *group);
5614 GOptionGroup *g_option_group_new (const gchar *name,
5615 const gchar *description,
5616 const gchar *help_description,
5618 GDestroyNotify destroy);
5619 void g_option_group_set_parse_hooks (GOptionGroup *group,
5620 GOptionParseFunc pre_parse_func,
5621 GOptionParseFunc post_parse_func);
5622 void g_option_group_set_error_hook (GOptionGroup *group,
5623 GOptionErrorFunc error_func);
5624 void g_option_group_free (GOptionGroup *group);
5625 void g_option_group_add_entries (GOptionGroup *group,
5626 const GOptionEntry *entries);
5627 void g_option_group_set_translate_func (GOptionGroup *group,
5628 GTranslateFunc func,
5630 GDestroyNotify destroy_notify);
5631 void g_option_group_set_translation_domain (GOptionGroup *group,
5632 const gchar *domain);
5636 # 58 "/usr/include/glib-2.0/glib.h" 2
5637 # 1 "/usr/include/glib-2.0/glib/gpattern.h" 1
5638 # 24 "/usr/include/glib-2.0/glib/gpattern.h"
5642 typedef struct _GPatternSpec GPatternSpec;
5644 GPatternSpec* g_pattern_spec_new (const gchar *pattern);
5645 void g_pattern_spec_free (GPatternSpec *pspec);
5646 gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
5647 GPatternSpec *pspec2);
5648 gboolean g_pattern_match (GPatternSpec *pspec,
5649 guint string_length,
5650 const gchar *string,
5651 const gchar *string_reversed);
5652 gboolean g_pattern_match_string (GPatternSpec *pspec,
5653 const gchar *string);
5654 gboolean g_pattern_match_simple (const gchar *pattern,
5655 const gchar *string);
5658 # 59 "/usr/include/glib-2.0/glib.h" 2
5659 # 1 "/usr/include/glib-2.0/glib/gprimes.h" 1
5660 # 32 "/usr/include/glib-2.0/glib/gprimes.h"
5662 # 43 "/usr/include/glib-2.0/glib/gprimes.h"
5663 guint g_spaced_primes_closest (guint num) __attribute__((__const__));
5666 # 60 "/usr/include/glib-2.0/glib.h" 2
5667 # 1 "/usr/include/glib-2.0/glib/gqsort.h" 1
5668 # 33 "/usr/include/glib-2.0/glib/gqsort.h"
5671 void g_qsort_with_data (gconstpointer pbase,
5674 GCompareDataFunc compare_func,
5675 gpointer user_data);
5678 # 61 "/usr/include/glib-2.0/glib.h" 2
5680 # 1 "/usr/include/glib-2.0/glib/gqueue.h" 1
5681 # 32 "/usr/include/glib-2.0/glib/gqueue.h"
5684 typedef struct _GQueue GQueue;
5697 GQueue* g_queue_new (void);
5698 void g_queue_free (GQueue *queue);
5699 void g_queue_init (GQueue *queue);
5700 void g_queue_clear (GQueue *queue);
5701 gboolean g_queue_is_empty (GQueue *queue);
5702 guint g_queue_get_length (GQueue *queue);
5703 void g_queue_reverse (GQueue *queue);
5704 GQueue * g_queue_copy (GQueue *queue);
5705 void g_queue_foreach (GQueue *queue,
5707 gpointer user_data);
5708 GList * g_queue_find (GQueue *queue,
5709 gconstpointer data);
5710 GList * g_queue_find_custom (GQueue *queue,
5713 void g_queue_sort (GQueue *queue,
5714 GCompareDataFunc compare_func,
5715 gpointer user_data);
5717 void g_queue_push_head (GQueue *queue,
5719 void g_queue_push_tail (GQueue *queue,
5721 void g_queue_push_nth (GQueue *queue,
5724 gpointer g_queue_pop_head (GQueue *queue);
5725 gpointer g_queue_pop_tail (GQueue *queue);
5726 gpointer g_queue_pop_nth (GQueue *queue,
5728 gpointer g_queue_peek_head (GQueue *queue);
5729 gpointer g_queue_peek_tail (GQueue *queue);
5730 gpointer g_queue_peek_nth (GQueue *queue,
5732 gint g_queue_index (GQueue *queue,
5733 gconstpointer data);
5734 void g_queue_remove (GQueue *queue,
5735 gconstpointer data);
5736 void g_queue_remove_all (GQueue *queue,
5737 gconstpointer data);
5738 void g_queue_insert_before (GQueue *queue,
5741 void g_queue_insert_after (GQueue *queue,
5744 void g_queue_insert_sorted (GQueue *queue,
5746 GCompareDataFunc func,
5747 gpointer user_data);
5749 void g_queue_push_head_link (GQueue *queue,
5751 void g_queue_push_tail_link (GQueue *queue,
5753 void g_queue_push_nth_link (GQueue *queue,
5756 GList* g_queue_pop_head_link (GQueue *queue);
5757 GList* g_queue_pop_tail_link (GQueue *queue);
5758 GList* g_queue_pop_nth_link (GQueue *queue,
5760 GList* g_queue_peek_head_link (GQueue *queue);
5761 GList* g_queue_peek_tail_link (GQueue *queue);
5762 GList* g_queue_peek_nth_link (GQueue *queue,
5764 gint g_queue_link_index (GQueue *queue,
5766 void g_queue_unlink (GQueue *queue,
5768 void g_queue_delete_link (GQueue *queue,
5772 # 63 "/usr/include/glib-2.0/glib.h" 2
5773 # 1 "/usr/include/glib-2.0/glib/grand.h" 1
5774 # 32 "/usr/include/glib-2.0/glib/grand.h"
5777 typedef struct _GRand GRand;
5778 # 45 "/usr/include/glib-2.0/glib/grand.h"
5779 GRand* g_rand_new_with_seed (guint32 seed);
5780 GRand* g_rand_new_with_seed_array (const guint32 *seed,
5782 GRand* g_rand_new (void);
5783 void g_rand_free (GRand *rand_);
5784 GRand* g_rand_copy (GRand *rand_);
5785 void g_rand_set_seed (GRand *rand_,
5787 void g_rand_set_seed_array (GRand *rand_,
5788 const guint32 *seed,
5793 guint32 g_rand_int (GRand *rand_);
5794 gint32 g_rand_int_range (GRand *rand_,
5797 gdouble g_rand_double (GRand *rand_);
5798 gdouble g_rand_double_range (GRand *rand_,
5801 void g_random_set_seed (guint32 seed);
5805 guint32 g_random_int (void);
5806 gint32 g_random_int_range (gint32 begin,
5808 gdouble g_random_double (void);
5809 gdouble g_random_double_range (gdouble begin,
5814 # 64 "/usr/include/glib-2.0/glib.h" 2
5815 # 1 "/usr/include/glib-2.0/glib/grel.h" 1
5816 # 32 "/usr/include/glib-2.0/glib/grel.h"
5819 typedef struct _GRelation GRelation;
5820 typedef struct _GTuples GTuples;
5826 # 65 "/usr/include/glib-2.0/glib/grel.h"
5827 GRelation* g_relation_new (gint fields);
5828 void g_relation_destroy (GRelation *relation);
5829 void g_relation_index (GRelation *relation,
5831 GHashFunc hash_func,
5832 GEqualFunc key_equal_func);
5833 void g_relation_insert (GRelation *relation,
5835 gint g_relation_delete (GRelation *relation,
5838 GTuples* g_relation_select (GRelation *relation,
5841 gint g_relation_count (GRelation *relation,
5844 gboolean g_relation_exists (GRelation *relation,
5846 void g_relation_print (GRelation *relation);
5848 void g_tuples_destroy (GTuples *tuples);
5849 gpointer g_tuples_index (GTuples *tuples,
5854 # 65 "/usr/include/glib-2.0/glib.h" 2
5855 # 1 "/usr/include/glib-2.0/glib/gregex.h" 1
5856 # 28 "/usr/include/glib-2.0/glib/gregex.h"
5861 G_REGEX_ERROR_COMPILE,
5862 G_REGEX_ERROR_OPTIMIZE,
5863 G_REGEX_ERROR_REPLACE,
5869 GQuark g_regex_error_quark (void);
5875 G_REGEX_CASELESS = 1 << 0,
5876 G_REGEX_MULTILINE = 1 << 1,
5877 G_REGEX_DOTALL = 1 << 2,
5878 G_REGEX_EXTENDED = 1 << 3,
5879 G_REGEX_ANCHORED = 1 << 4,
5880 G_REGEX_DOLLAR_ENDONLY = 1 << 5,
5881 G_REGEX_UNGREEDY = 1 << 9,
5882 G_REGEX_RAW = 1 << 11,
5883 G_REGEX_NO_AUTO_CAPTURE = 1 << 12,
5884 G_REGEX_OPTIMIZE = 1 << 13,
5885 G_REGEX_DUPNAMES = 1 << 19,
5886 G_REGEX_NEWLINE_CR = 1 << 20,
5887 G_REGEX_NEWLINE_LF = 1 << 21,
5888 G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF
5889 } GRegexCompileFlags;
5895 G_REGEX_MATCH_ANCHORED = 1 << 4,
5896 G_REGEX_MATCH_NOTBOL = 1 << 7,
5897 G_REGEX_MATCH_NOTEOL = 1 << 8,
5898 G_REGEX_MATCH_NOTEMPTY = 1 << 10,
5899 G_REGEX_MATCH_PARTIAL = 1 << 15,
5900 G_REGEX_MATCH_NEWLINE_CR = 1 << 20,
5901 G_REGEX_MATCH_NEWLINE_LF = 1 << 21,
5902 G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF,
5903 G_REGEX_MATCH_NEWLINE_ANY = 1 << 22
5906 typedef struct _GRegex GRegex;
5907 typedef struct _GMatchInfo GMatchInfo;
5909 typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
5911 gpointer user_data);
5914 GRegex *g_regex_new (const gchar *pattern,
5915 GRegexCompileFlags compile_options,
5916 GRegexMatchFlags match_options,
5918 GRegex *g_regex_ref (GRegex *regex);
5919 void g_regex_unref (GRegex *regex);
5920 const gchar *g_regex_get_pattern (const GRegex *regex);
5921 gint g_regex_get_max_backref (const GRegex *regex);
5922 gint g_regex_get_capture_count (const GRegex *regex);
5923 gint g_regex_get_string_number (const GRegex *regex,
5925 gchar *g_regex_escape_string (const gchar *string,
5929 gboolean g_regex_match_simple (const gchar *pattern,
5930 const gchar *string,
5931 GRegexCompileFlags compile_options,
5932 GRegexMatchFlags match_options);
5933 gboolean g_regex_match (const GRegex *regex,
5934 const gchar *string,
5935 GRegexMatchFlags match_options,
5936 GMatchInfo **match_info);
5937 gboolean g_regex_match_full (const GRegex *regex,
5938 const gchar *string,
5940 gint start_position,
5941 GRegexMatchFlags match_options,
5942 GMatchInfo **match_info,
5944 gboolean g_regex_match_all (const GRegex *regex,
5945 const gchar *string,
5946 GRegexMatchFlags match_options,
5947 GMatchInfo **match_info);
5948 gboolean g_regex_match_all_full (const GRegex *regex,
5949 const gchar *string,
5951 gint start_position,
5952 GRegexMatchFlags match_options,
5953 GMatchInfo **match_info,
5957 gchar **g_regex_split_simple (const gchar *pattern,
5958 const gchar *string,
5959 GRegexCompileFlags compile_options,
5960 GRegexMatchFlags match_options);
5961 gchar **g_regex_split (const GRegex *regex,
5962 const gchar *string,
5963 GRegexMatchFlags match_options);
5964 gchar **g_regex_split_full (const GRegex *regex,
5965 const gchar *string,
5967 gint start_position,
5968 GRegexMatchFlags match_options,
5973 gchar *g_regex_replace (const GRegex *regex,
5974 const gchar *string,
5976 gint start_position,
5977 const gchar *replacement,
5978 GRegexMatchFlags match_options,
5980 gchar *g_regex_replace_literal (const GRegex *regex,
5981 const gchar *string,
5983 gint start_position,
5984 const gchar *replacement,
5985 GRegexMatchFlags match_options,
5987 gchar *g_regex_replace_eval (const GRegex *regex,
5988 const gchar *string,
5990 gint start_position,
5991 GRegexMatchFlags match_options,
5992 GRegexEvalCallback eval,
5995 gboolean g_regex_check_replacement (const gchar *replacement,
5996 gboolean *has_references,
6000 GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
6001 const gchar *g_match_info_get_string (const GMatchInfo *match_info);
6003 void g_match_info_free (GMatchInfo *match_info);
6004 gboolean g_match_info_next (GMatchInfo *match_info,
6006 gboolean g_match_info_matches (const GMatchInfo *match_info);
6007 gint g_match_info_get_match_count (const GMatchInfo *match_info);
6008 gboolean g_match_info_is_partial_match (const GMatchInfo *match_info);
6009 gchar *g_match_info_expand_references(const GMatchInfo *match_info,
6010 const gchar *string_to_expand,
6012 gchar *g_match_info_fetch (const GMatchInfo *match_info,
6014 gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
6018 gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
6020 gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
6024 gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
6027 # 66 "/usr/include/glib-2.0/glib.h" 2
6028 # 1 "/usr/include/glib-2.0/glib/gscanner.h" 1
6029 # 33 "/usr/include/glib-2.0/glib/gscanner.h"
6032 typedef struct _GScanner GScanner;
6033 typedef struct _GScannerConfig GScannerConfig;
6034 typedef union _GTokenValue GTokenValue;
6036 typedef void (*GScannerMsgFunc) (GScanner *scanner,
6039 # 60 "/usr/include/glib-2.0/glib/gscanner.h"
6044 G_ERR_UNEXP_EOF_IN_STRING,
6045 G_ERR_UNEXP_EOF_IN_COMMENT,
6046 G_ERR_NON_DIGIT_IN_CONST,
6049 G_ERR_FLOAT_MALFORMED
6057 G_TOKEN_LEFT_PAREN = '(',
6058 G_TOKEN_RIGHT_PAREN = ')',
6059 G_TOKEN_LEFT_CURLY = '{',
6060 G_TOKEN_RIGHT_CURLY = '}',
6061 G_TOKEN_LEFT_BRACE = '[',
6062 G_TOKEN_RIGHT_BRACE = ']',
6063 G_TOKEN_EQUAL_SIGN = '=',
6064 G_TOKEN_COMMA = ',',
6080 G_TOKEN_IDENTIFIER_NULL,
6082 G_TOKEN_COMMENT_SINGLE,
6083 G_TOKEN_COMMENT_MULTI,
6090 gchar *v_identifier;
6103 struct _GScannerConfig
6107 gchar *cset_skip_characters;
6108 gchar *cset_identifier_first;
6109 gchar *cset_identifier_nth;
6110 gchar *cpair_comment_single;
6114 guint case_sensitive : 1;
6119 guint skip_comment_multi : 1;
6120 guint skip_comment_single : 1;
6121 guint scan_comment_multi : 1;
6122 guint scan_identifier : 1;
6123 guint scan_identifier_1char : 1;
6124 guint scan_identifier_NULL : 1;
6125 guint scan_symbols : 1;
6126 guint scan_binary : 1;
6127 guint scan_octal : 1;
6128 guint scan_float : 1;
6130 guint scan_hex_dollar : 1;
6131 guint scan_string_sq : 1;
6132 guint scan_string_dq : 1;
6133 guint numbers_2_int : 1;
6134 guint int_2_float : 1;
6135 guint identifier_2_string : 1;
6136 guint char_2_token : 1;
6137 guint symbol_2_token : 1;
6138 guint scope_0_fallback : 1;
6139 guint store_int64 : 1;
6140 guint padding_dummy;
6147 guint max_parse_errors;
6153 const gchar *input_name;
6159 GScannerConfig *config;
6168 GTokenType next_token;
6169 GTokenValue next_value;
6171 guint next_position;
6174 GHashTable *symbol_table;
6177 const gchar *text_end;
6182 GScannerMsgFunc msg_handler;
6185 GScanner* g_scanner_new (const GScannerConfig *config_templ);
6186 void g_scanner_destroy (GScanner *scanner);
6187 void g_scanner_input_file (GScanner *scanner,
6189 void g_scanner_sync_file_offset (GScanner *scanner);
6190 void g_scanner_input_text (GScanner *scanner,
6193 GTokenType g_scanner_get_next_token (GScanner *scanner);
6194 GTokenType g_scanner_peek_next_token (GScanner *scanner);
6195 GTokenType g_scanner_cur_token (GScanner *scanner);
6196 GTokenValue g_scanner_cur_value (GScanner *scanner);
6197 guint g_scanner_cur_line (GScanner *scanner);
6198 guint g_scanner_cur_position (GScanner *scanner);
6199 gboolean g_scanner_eof (GScanner *scanner);
6200 guint g_scanner_set_scope (GScanner *scanner,
6202 void g_scanner_scope_add_symbol (GScanner *scanner,
6204 const gchar *symbol,
6206 void g_scanner_scope_remove_symbol (GScanner *scanner,
6208 const gchar *symbol);
6209 gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
6211 const gchar *symbol);
6212 void g_scanner_scope_foreach_symbol (GScanner *scanner,
6215 gpointer user_data);
6216 gpointer g_scanner_lookup_symbol (GScanner *scanner,
6217 const gchar *symbol);
6218 void g_scanner_unexp_token (GScanner *scanner,
6219 GTokenType expected_token,
6220 const gchar *identifier_spec,
6221 const gchar *symbol_spec,
6222 const gchar *symbol_name,
6223 const gchar *message,
6225 void g_scanner_error (GScanner *scanner,
6226 const gchar *format,
6227 ...) __attribute__((__format__ (__printf__, 2, 3)));
6228 void g_scanner_warn (GScanner *scanner,
6229 const gchar *format,
6230 ...) __attribute__((__format__ (__printf__, 2, 3)));
6231 # 272 "/usr/include/glib-2.0/glib/gscanner.h"
6233 # 67 "/usr/include/glib-2.0/glib.h" 2
6234 # 1 "/usr/include/glib-2.0/glib/gsequence.h" 1
6235 # 26 "/usr/include/glib-2.0/glib/gsequence.h"
6236 typedef struct _GSequence GSequence;
6237 typedef struct _GSequenceNode GSequenceIter;
6239 typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
6245 GSequence * g_sequence_new (GDestroyNotify data_destroy);
6246 void g_sequence_free (GSequence *seq);
6247 gint g_sequence_get_length (GSequence *seq);
6248 void g_sequence_foreach (GSequence *seq,
6250 gpointer user_data);
6251 void g_sequence_foreach_range (GSequenceIter *begin,
6254 gpointer user_data);
6255 void g_sequence_sort (GSequence *seq,
6256 GCompareDataFunc cmp_func,
6258 void g_sequence_sort_iter (GSequence *seq,
6259 GSequenceIterCompareFunc cmp_func,
6264 GSequenceIter *g_sequence_get_begin_iter (GSequence *seq);
6265 GSequenceIter *g_sequence_get_end_iter (GSequence *seq);
6266 GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq,
6268 GSequenceIter *g_sequence_append (GSequence *seq,
6270 GSequenceIter *g_sequence_prepend (GSequence *seq,
6272 GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
6274 void g_sequence_move (GSequenceIter *src,
6275 GSequenceIter *dest);
6276 void g_sequence_swap (GSequenceIter *a,
6278 GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
6280 GCompareDataFunc cmp_func,
6282 GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
6284 GSequenceIterCompareFunc iter_cmp,
6286 void g_sequence_sort_changed (GSequenceIter *iter,
6287 GCompareDataFunc cmp_func,
6289 void g_sequence_sort_changed_iter (GSequenceIter *iter,
6290 GSequenceIterCompareFunc iter_cmp,
6292 void g_sequence_remove (GSequenceIter *iter);
6293 void g_sequence_remove_range (GSequenceIter *begin,
6294 GSequenceIter *end);
6295 void g_sequence_move_range (GSequenceIter *dest,
6296 GSequenceIter *begin,
6297 GSequenceIter *end);
6298 GSequenceIter *g_sequence_search (GSequence *seq,
6300 GCompareDataFunc cmp_func,
6302 GSequenceIter *g_sequence_search_iter (GSequence *seq,
6304 GSequenceIterCompareFunc iter_cmp,
6309 gpointer g_sequence_get (GSequenceIter *iter);
6310 void g_sequence_set (GSequenceIter *iter,
6314 gboolean g_sequence_iter_is_begin (GSequenceIter *iter);
6315 gboolean g_sequence_iter_is_end (GSequenceIter *iter);
6316 GSequenceIter *g_sequence_iter_next (GSequenceIter *iter);
6317 GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter);
6318 gint g_sequence_iter_get_position (GSequenceIter *iter);
6319 GSequenceIter *g_sequence_iter_move (GSequenceIter *iter,
6321 GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
6325 gint g_sequence_iter_compare (GSequenceIter *a,
6327 GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
6328 GSequenceIter *end);
6329 # 68 "/usr/include/glib-2.0/glib.h" 2
6330 # 1 "/usr/include/glib-2.0/glib/gshell.h" 1
6331 # 26 "/usr/include/glib-2.0/glib/gshell.h"
6339 G_SHELL_ERROR_BAD_QUOTING,
6341 G_SHELL_ERROR_EMPTY_STRING,
6342 G_SHELL_ERROR_FAILED
6345 GQuark g_shell_error_quark (void);
6347 gchar* g_shell_quote (const gchar *unquoted_string);
6348 gchar* g_shell_unquote (const gchar *quoted_string,
6350 gboolean g_shell_parse_argv (const gchar *command_line,
6356 # 69 "/usr/include/glib-2.0/glib.h" 2
6358 # 1 "/usr/include/glib-2.0/glib/gspawn.h" 1
6359 # 26 "/usr/include/glib-2.0/glib/gspawn.h"
6369 G_SPAWN_ERROR_CHDIR,
6370 G_SPAWN_ERROR_ACCES,
6373 G_SPAWN_ERROR_NOEXEC,
6374 G_SPAWN_ERROR_NAMETOOLONG,
6375 G_SPAWN_ERROR_NOENT,
6376 G_SPAWN_ERROR_NOMEM,
6377 G_SPAWN_ERROR_NOTDIR,
6379 G_SPAWN_ERROR_TXTBUSY,
6381 G_SPAWN_ERROR_NFILE,
6382 G_SPAWN_ERROR_MFILE,
6383 G_SPAWN_ERROR_INVAL,
6384 G_SPAWN_ERROR_ISDIR,
6385 G_SPAWN_ERROR_LIBBAD,
6386 G_SPAWN_ERROR_FAILED
6391 typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
6395 G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
6396 G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
6398 G_SPAWN_SEARCH_PATH = 1 << 2,
6400 G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3,
6401 G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4,
6402 G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5,
6403 G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6
6406 GQuark g_spawn_error_quark (void);
6407 # 82 "/usr/include/glib-2.0/glib/gspawn.h"
6408 gboolean g_spawn_async (const gchar *working_directory,
6412 GSpawnChildSetupFunc child_setup,
6421 gboolean g_spawn_async_with_pipes (const gchar *working_directory,
6425 GSpawnChildSetupFunc child_setup,
6428 gint *standard_input,
6429 gint *standard_output,
6430 gint *standard_error,
6438 gboolean g_spawn_sync (const gchar *working_directory,
6442 GSpawnChildSetupFunc child_setup,
6444 gchar **standard_output,
6445 gchar **standard_error,
6449 gboolean g_spawn_command_line_sync (const gchar *command_line,
6450 gchar **standard_output,
6451 gchar **standard_error,
6454 gboolean g_spawn_command_line_async (const gchar *command_line,
6457 void g_spawn_close_pid (GPid pid);
6461 # 71 "/usr/include/glib-2.0/glib.h" 2
6462 # 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1
6463 # 33 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6468 G_ASCII_ALNUM = 1 << 0,
6469 G_ASCII_ALPHA = 1 << 1,
6470 G_ASCII_CNTRL = 1 << 2,
6471 G_ASCII_DIGIT = 1 << 3,
6472 G_ASCII_GRAPH = 1 << 4,
6473 G_ASCII_LOWER = 1 << 5,
6474 G_ASCII_PRINT = 1 << 6,
6475 G_ASCII_PUNCT = 1 << 7,
6476 G_ASCII_SPACE = 1 << 8,
6477 G_ASCII_UPPER = 1 << 9,
6478 G_ASCII_XDIGIT = 1 << 10
6481 extern const guint16 * const g_ascii_table;
6482 # 85 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6483 gchar g_ascii_tolower (gchar c) __attribute__((__const__));
6484 gchar g_ascii_toupper (gchar c) __attribute__((__const__));
6486 gint g_ascii_digit_value (gchar c) __attribute__((__const__));
6487 gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
6493 gchar* g_strdelimit (gchar *string,
6494 const gchar *delimiters,
6495 gchar new_delimiter);
6496 gchar* g_strcanon (gchar *string,
6497 const gchar *valid_chars,
6499 const gchar* g_strerror (gint errnum) __attribute__((__const__));
6500 const gchar* g_strsignal (gint signum) __attribute__((__const__));
6501 gchar* g_strreverse (gchar *string);
6502 gsize g_strlcpy (gchar *dest,
6505 gsize g_strlcat (gchar *dest,
6508 gchar * g_strstr_len (const gchar *haystack,
6509 gssize haystack_len,
6510 const gchar *needle);
6511 gchar * g_strrstr (const gchar *haystack,
6512 const gchar *needle);
6513 gchar * g_strrstr_len (const gchar *haystack,
6514 gssize haystack_len,
6515 const gchar *needle);
6517 gboolean g_str_has_suffix (const gchar *str,
6518 const gchar *suffix);
6519 gboolean g_str_has_prefix (const gchar *str,
6520 const gchar *prefix);
6524 gdouble g_strtod (const gchar *nptr,
6526 gdouble g_ascii_strtod (const gchar *nptr,
6528 guint64 g_ascii_strtoull (const gchar *nptr,
6531 gint64 g_ascii_strtoll (const gchar *nptr,
6538 gchar * g_ascii_dtostr (gchar *buffer,
6541 gchar * g_ascii_formatd (gchar *buffer,
6543 const gchar *format,
6547 gchar* g_strchug (gchar *string);
6549 gchar* g_strchomp (gchar *string);
6553 gint g_ascii_strcasecmp (const gchar *s1,
6555 gint g_ascii_strncasecmp (const gchar *s1,
6558 gchar* g_ascii_strdown (const gchar *str,
6559 gssize len) __attribute__((__malloc__));
6560 gchar* g_ascii_strup (const gchar *str,
6561 gssize len) __attribute__((__malloc__));
6562 # 172 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6563 gint g_strcasecmp (const gchar *s1,
6565 gint g_strncasecmp (const gchar *s1,
6568 gchar* g_strdown (gchar *string);
6569 gchar* g_strup (gchar *string);
6576 gchar* g_strdup (const gchar *str) __attribute__((__malloc__));
6577 gchar* g_strdup_printf (const gchar *format,
6578 ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__));
6579 gchar* g_strdup_vprintf (const gchar *format,
6580 va_list args) __attribute__((__malloc__));
6581 gchar* g_strndup (const gchar *str,
6582 gsize n) __attribute__((__malloc__));
6583 gchar* g_strnfill (gsize length,
6584 gchar fill_char) __attribute__((__malloc__));
6585 gchar* g_strconcat (const gchar *string1,
6586 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
6587 gchar* g_strjoin (const gchar *separator,
6588 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
6594 gchar* g_strcompress (const gchar *source) __attribute__((__malloc__));
6595 # 213 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6596 gchar* g_strescape (const gchar *source,
6597 const gchar *exceptions) __attribute__((__malloc__));
6599 gpointer g_memdup (gconstpointer mem,
6600 guint byte_size) __attribute__((__malloc__));
6601 # 228 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6602 gchar** g_strsplit (const gchar *string,
6603 const gchar *delimiter,
6604 gint max_tokens) __attribute__((__malloc__));
6605 gchar ** g_strsplit_set (const gchar *string,
6606 const gchar *delimiters,
6607 gint max_tokens) __attribute__((__malloc__));
6608 gchar* g_strjoinv (const gchar *separator,
6609 gchar **str_array) __attribute__((__malloc__));
6610 void g_strfreev (gchar **str_array);
6611 gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__));
6612 guint g_strv_length (gchar **str_array);
6614 gchar* g_stpcpy (gchar *dest,
6617 const gchar *g_strip_context (const gchar *msgid,
6618 const gchar *msgval);
6621 # 72 "/usr/include/glib-2.0/glib.h" 2
6624 # 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1
6625 # 32 "/usr/include/glib-2.0/glib/gthreadpool.h"
6628 typedef struct _GThreadPool GThreadPool;
6647 GThreadPool* g_thread_pool_new (GFunc func,
6657 void g_thread_pool_push (GThreadPool *pool,
6664 void g_thread_pool_set_max_threads (GThreadPool *pool,
6667 gint g_thread_pool_get_max_threads (GThreadPool *pool);
6671 guint g_thread_pool_get_num_threads (GThreadPool *pool);
6674 guint g_thread_pool_unprocessed (GThreadPool *pool);
6680 void g_thread_pool_free (GThreadPool *pool,
6686 void g_thread_pool_set_max_unused_threads (gint max_threads);
6687 gint g_thread_pool_get_max_unused_threads (void);
6688 guint g_thread_pool_get_num_unused_threads (void);
6691 void g_thread_pool_stop_unused_threads (void);
6694 void g_thread_pool_set_sort_function (GThreadPool *pool,
6695 GCompareDataFunc func,
6696 gpointer user_data);
6699 void g_thread_pool_set_max_idle_time (guint interval);
6700 guint g_thread_pool_get_max_idle_time (void);
6703 # 75 "/usr/include/glib-2.0/glib.h" 2
6704 # 1 "/usr/include/glib-2.0/glib/gtimer.h" 1
6705 # 32 "/usr/include/glib-2.0/glib/gtimer.h"
6712 typedef struct _GTimer GTimer;
6716 GTimer* g_timer_new (void);
6717 void g_timer_destroy (GTimer *timer);
6718 void g_timer_start (GTimer *timer);
6719 void g_timer_stop (GTimer *timer);
6720 void g_timer_reset (GTimer *timer);
6721 void g_timer_continue (GTimer *timer);
6722 gdouble g_timer_elapsed (GTimer *timer,
6723 gulong *microseconds);
6725 void g_usleep (gulong microseconds);
6727 void g_time_val_add (GTimeVal *time_,
6728 glong microseconds);
6729 gboolean g_time_val_from_iso8601 (const gchar *iso_date,
6731 gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
6734 # 76 "/usr/include/glib-2.0/glib.h" 2
6735 # 1 "/usr/include/glib-2.0/glib/gtree.h" 1
6736 # 32 "/usr/include/glib-2.0/glib/gtree.h"
6739 typedef struct _GTree GTree;
6741 typedef gboolean (*GTraverseFunc) (gpointer key,
6747 GTree* g_tree_new (GCompareFunc key_compare_func);
6748 GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
6749 gpointer key_compare_data);
6750 GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
6751 gpointer key_compare_data,
6752 GDestroyNotify key_destroy_func,
6753 GDestroyNotify value_destroy_func);
6754 void g_tree_destroy (GTree *tree);
6755 void g_tree_insert (GTree *tree,
6758 void g_tree_replace (GTree *tree,
6761 gboolean g_tree_remove (GTree *tree,
6763 gboolean g_tree_steal (GTree *tree,
6765 gpointer g_tree_lookup (GTree *tree,
6767 gboolean g_tree_lookup_extended (GTree *tree,
6768 gconstpointer lookup_key,
6771 void g_tree_foreach (GTree *tree,
6773 gpointer user_data);
6776 void g_tree_traverse (GTree *tree,
6777 GTraverseFunc traverse_func,
6778 GTraverseType traverse_type,
6779 gpointer user_data);
6782 gpointer g_tree_search (GTree *tree,
6783 GCompareFunc search_func,
6784 gconstpointer user_data);
6785 gint g_tree_height (GTree *tree);
6786 gint g_tree_nnodes (GTree *tree);
6791 # 77 "/usr/include/glib-2.0/glib.h" 2
6792 # 33 "../gdk/gdktypes.h" 2
6793 # 1 "/usr/include/pango-1.0/pango/pango.h" 1
6794 # 25 "/usr/include/pango-1.0/pango/pango.h"
6795 # 1 "/usr/include/pango-1.0/pango/pango-attributes.h" 1
6796 # 25 "/usr/include/pango-1.0/pango/pango-attributes.h"
6797 # 1 "/usr/include/pango-1.0/pango/pango-font.h" 1
6798 # 25 "/usr/include/pango-1.0/pango/pango-font.h"
6799 # 1 "/usr/include/pango-1.0/pango/pango-coverage.h" 1
6800 # 27 "/usr/include/pango-1.0/pango/pango-coverage.h"
6803 typedef struct _PangoCoverage PangoCoverage;
6806 PANGO_COVERAGE_NONE,
6807 PANGO_COVERAGE_FALLBACK,
6808 PANGO_COVERAGE_APPROXIMATE,
6809 PANGO_COVERAGE_EXACT
6810 } PangoCoverageLevel;
6812 PangoCoverage * pango_coverage_new (void);
6813 PangoCoverage * pango_coverage_ref (PangoCoverage *coverage);
6814 void pango_coverage_unref (PangoCoverage *coverage);
6815 PangoCoverage * pango_coverage_copy (PangoCoverage *coverage);
6816 PangoCoverageLevel pango_coverage_get (PangoCoverage *coverage,
6818 void pango_coverage_set (PangoCoverage *coverage,
6820 PangoCoverageLevel level);
6821 void pango_coverage_max (PangoCoverage *coverage,
6822 PangoCoverage *other);
6824 void pango_coverage_to_bytes (PangoCoverage *coverage,
6827 PangoCoverage *pango_coverage_from_bytes (guchar *bytes,
6831 # 26 "/usr/include/pango-1.0/pango/pango-font.h" 2
6832 # 1 "/usr/include/pango-1.0/pango/pango-types.h" 1
6833 # 26 "/usr/include/pango-1.0/pango/pango-types.h"
6834 # 1 "/usr/include/glib-2.0/glib-object.h" 1
6835 # 25 "/usr/include/glib-2.0/glib-object.h"
6836 # 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
6837 # 26 "/usr/include/glib-2.0/gobject/gboxed.h"
6838 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
6839 # 28 "/usr/include/glib-2.0/gobject/gtype.h"
6841 # 92 "/usr/include/glib-2.0/gobject/gtype.h"
6842 typedef gsize GType;
6846 typedef struct _GValue GValue;
6847 typedef union _GTypeCValue GTypeCValue;
6848 typedef struct _GTypePlugin GTypePlugin;
6849 typedef struct _GTypeClass GTypeClass;
6850 typedef struct _GTypeInterface GTypeInterface;
6851 typedef struct _GTypeInstance GTypeInstance;
6852 typedef struct _GTypeInfo GTypeInfo;
6853 typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo;
6854 typedef struct _GInterfaceInfo GInterfaceInfo;
6855 typedef struct _GTypeValueTable GTypeValueTable;
6856 typedef struct _GTypeQuery GTypeQuery;
6866 struct _GTypeInstance
6869 GTypeClass *g_class;
6871 struct _GTypeInterface
6875 GType g_instance_type;
6880 const gchar *type_name;
6882 guint instance_size;
6884 # 157 "/usr/include/glib-2.0/gobject/gtype.h"
6887 G_TYPE_DEBUG_NONE = 0,
6888 G_TYPE_DEBUG_OBJECTS = 1 << 0,
6889 G_TYPE_DEBUG_SIGNALS = 1 << 1,
6890 G_TYPE_DEBUG_MASK = 0x03
6895 void g_type_init (void);
6896 void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags);
6897 const gchar* g_type_name (GType type);
6898 GQuark g_type_qname (GType type);
6899 GType g_type_from_name (const gchar *name);
6900 GType g_type_parent (GType type);
6901 guint g_type_depth (GType type);
6902 GType g_type_next_base (GType leaf_type,
6904 gboolean g_type_is_a (GType type,
6906 gpointer g_type_class_ref (GType type);
6907 gpointer g_type_class_peek (GType type);
6908 gpointer g_type_class_peek_static (GType type);
6909 void g_type_class_unref (gpointer g_class);
6910 gpointer g_type_class_peek_parent (gpointer g_class);
6911 gpointer g_type_interface_peek (gpointer instance_class,
6913 gpointer g_type_interface_peek_parent (gpointer g_iface);
6915 gpointer g_type_default_interface_ref (GType g_type);
6916 gpointer g_type_default_interface_peek (GType g_type);
6917 void g_type_default_interface_unref (gpointer g_iface);
6920 GType* g_type_children (GType type,
6922 GType* g_type_interfaces (GType type,
6923 guint *n_interfaces);
6926 void g_type_set_qdata (GType type,
6929 gpointer g_type_get_qdata (GType type,
6931 void g_type_query (GType type,
6936 typedef void (*GBaseInitFunc) (gpointer g_class);
6937 typedef void (*GBaseFinalizeFunc) (gpointer g_class);
6938 typedef void (*GClassInitFunc) (gpointer g_class,
6939 gpointer class_data);
6940 typedef void (*GClassFinalizeFunc) (gpointer g_class,
6941 gpointer class_data);
6942 typedef void (*GInstanceInitFunc) (GTypeInstance *instance,
6944 typedef void (*GInterfaceInitFunc) (gpointer g_iface,
6945 gpointer iface_data);
6946 typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface,
6947 gpointer iface_data);
6948 typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data,
6949 GTypeClass *g_class);
6950 typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data,
6954 G_TYPE_FLAG_CLASSED = (1 << 0),
6955 G_TYPE_FLAG_INSTANTIATABLE = (1 << 1),
6956 G_TYPE_FLAG_DERIVABLE = (1 << 2),
6957 G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3)
6958 } GTypeFundamentalFlags;
6961 G_TYPE_FLAG_ABSTRACT = (1 << 4),
6962 G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5)
6969 GBaseInitFunc base_init;
6970 GBaseFinalizeFunc base_finalize;
6973 GClassInitFunc class_init;
6974 GClassFinalizeFunc class_finalize;
6975 gconstpointer class_data;
6978 guint16 instance_size;
6979 guint16 n_preallocs;
6980 GInstanceInitFunc instance_init;
6983 const GTypeValueTable *value_table;
6985 struct _GTypeFundamentalInfo
6987 GTypeFundamentalFlags type_flags;
6989 struct _GInterfaceInfo
6991 GInterfaceInitFunc interface_init;
6992 GInterfaceFinalizeFunc interface_finalize;
6993 gpointer interface_data;
6995 struct _GTypeValueTable
6997 void (*value_init) (GValue *value);
6998 void (*value_free) (GValue *value);
6999 void (*value_copy) (const GValue *src_value,
7000 GValue *dest_value);
7002 gpointer (*value_peek_pointer) (const GValue *value);
7003 gchar *collect_format;
7004 gchar* (*collect_value) (GValue *value,
7005 guint n_collect_values,
7006 GTypeCValue *collect_values,
7007 guint collect_flags);
7008 gchar *lcopy_format;
7009 gchar* (*lcopy_value) (const GValue *value,
7010 guint n_collect_values,
7011 GTypeCValue *collect_values,
7012 guint collect_flags);
7014 GType g_type_register_static (GType parent_type,
7015 const gchar *type_name,
7016 const GTypeInfo *info,
7018 GType g_type_register_static_simple (GType parent_type,
7019 const gchar *type_name,
7021 GClassInitFunc class_init,
7022 guint instance_size,
7023 GInstanceInitFunc instance_init,
7026 GType g_type_register_dynamic (GType parent_type,
7027 const gchar *type_name,
7028 GTypePlugin *plugin,
7030 GType g_type_register_fundamental (GType type_id,
7031 const gchar *type_name,
7032 const GTypeInfo *info,
7033 const GTypeFundamentalInfo *finfo,
7035 void g_type_add_interface_static (GType instance_type,
7036 GType interface_type,
7037 const GInterfaceInfo *info);
7038 void g_type_add_interface_dynamic (GType instance_type,
7039 GType interface_type,
7040 GTypePlugin *plugin);
7041 void g_type_interface_add_prerequisite (GType interface_type,
7042 GType prerequisite_type);
7043 GType*g_type_interface_prerequisites (GType interface_type,
7044 guint *n_prerequisites);
7045 void g_type_class_add_private (gpointer g_class,
7046 gsize private_size);
7047 gpointer g_type_instance_get_private (GTypeInstance *instance,
7048 GType private_type);
7049 # 393 "/usr/include/glib-2.0/gobject/gtype.h"
7050 GTypePlugin* g_type_get_plugin (GType type);
7051 GTypePlugin* g_type_interface_get_plugin (GType instance_type,
7052 GType interface_type);
7053 GType g_type_fundamental_next (void);
7054 GType g_type_fundamental (GType type_id);
7055 GTypeInstance* g_type_create_instance (GType type);
7056 void g_type_free_instance (GTypeInstance *instance);
7058 void g_type_add_class_cache_func (gpointer cache_data,
7059 GTypeClassCacheFunc cache_func);
7060 void g_type_remove_class_cache_func (gpointer cache_data,
7061 GTypeClassCacheFunc cache_func);
7062 void g_type_class_unref_uncached (gpointer g_class);
7064 void g_type_add_interface_check (gpointer check_data,
7065 GTypeInterfaceCheckFunc check_func);
7066 void g_type_remove_interface_check (gpointer check_data,
7067 GTypeInterfaceCheckFunc check_func);
7069 GTypeValueTable* g_type_value_table_peek (GType type);
7073 gboolean g_type_check_instance (GTypeInstance *instance) __attribute__((__pure__));
7074 GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance,
7076 gboolean g_type_check_instance_is_a (GTypeInstance *instance,
7077 GType iface_type) __attribute__((__pure__));
7078 GTypeClass* g_type_check_class_cast (GTypeClass *g_class,
7080 gboolean g_type_check_class_is_a (GTypeClass *g_class,
7081 GType is_a_type) __attribute__((__pure__));
7082 gboolean g_type_check_is_value_type (GType type) __attribute__((__const__));
7083 gboolean g_type_check_value (GValue *value) __attribute__((__pure__));
7084 gboolean g_type_check_value_holds (GValue *value,
7085 GType type) __attribute__((__pure__));
7086 gboolean g_type_test_flags (GType type,
7087 guint flags) __attribute__((__const__));
7091 const gchar* g_type_name_from_instance (GTypeInstance *instance);
7092 const gchar* g_type_name_from_class (GTypeClass *g_class);
7096 __attribute__((visibility("hidden"))) void g_value_c_init (void);
7097 __attribute__((visibility("hidden"))) void g_value_types_init (void);
7098 __attribute__((visibility("hidden"))) void g_enum_types_init (void);
7099 __attribute__((visibility("hidden"))) void g_param_type_init (void);
7100 __attribute__((visibility("hidden"))) void g_boxed_type_init (void);
7101 __attribute__((visibility("hidden"))) void g_object_type_init (void);
7102 __attribute__((visibility("hidden"))) void g_param_spec_types_init (void);
7103 __attribute__((visibility("hidden"))) void g_value_transforms_init (void);
7104 __attribute__((visibility("hidden"))) void g_signal_init (void);
7105 # 495 "/usr/include/glib-2.0/gobject/gtype.h"
7106 extern GTypeDebugFlags _g_type_debug_flags;
7109 # 27 "/usr/include/glib-2.0/gobject/gboxed.h" 2
7119 typedef gpointer (*GBoxedCopyFunc) (gpointer boxed);
7120 typedef void (*GBoxedFreeFunc) (gpointer boxed);
7124 gpointer g_boxed_copy (GType boxed_type,
7125 gconstpointer src_boxed);
7126 void g_boxed_free (GType boxed_type,
7128 void g_value_set_boxed (GValue *value,
7129 gconstpointer v_boxed);
7130 void g_value_set_static_boxed (GValue *value,
7131 gconstpointer v_boxed);
7132 gpointer g_value_get_boxed (const GValue *value);
7133 gpointer g_value_dup_boxed (const GValue *value);
7137 GType g_boxed_type_register_static (const gchar *name,
7138 GBoxedCopyFunc boxed_copy,
7139 GBoxedFreeFunc boxed_free);
7140 # 70 "/usr/include/glib-2.0/gobject/gboxed.h"
7141 void g_value_take_boxed (GValue *value,
7142 gconstpointer v_boxed);
7144 void g_value_set_boxed_take_ownership (GValue *value,
7145 gconstpointer v_boxed);
7147 GType g_closure_get_type (void) __attribute__((__const__));
7148 GType g_value_get_type (void) __attribute__((__const__));
7149 GType g_value_array_get_type (void) __attribute__((__const__));
7150 GType g_date_get_type (void) __attribute__((__const__));
7151 GType g_strv_get_type (void) __attribute__((__const__));
7152 GType g_gstring_get_type (void) __attribute__((__const__));
7153 GType g_hash_table_get_type (void) __attribute__((__const__));
7154 GType g_regex_get_type (void) __attribute__((__const__));
7156 typedef gchar** GStrv;
7159 # 26 "/usr/include/glib-2.0/glib-object.h" 2
7160 # 1 "/usr/include/glib-2.0/gobject/genums.h" 1
7161 # 26 "/usr/include/glib-2.0/gobject/genums.h"
7162 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
7163 # 27 "/usr/include/glib-2.0/gobject/genums.h" 2
7166 # 46 "/usr/include/glib-2.0/gobject/genums.h"
7167 typedef struct _GEnumClass GEnumClass;
7168 typedef struct _GFlagsClass GFlagsClass;
7169 typedef struct _GEnumValue GEnumValue;
7170 typedef struct _GFlagsValue GFlagsValue;
7173 GTypeClass g_type_class;
7183 GTypeClass g_type_class;
7188 GFlagsValue *values;
7193 const gchar *value_name;
7194 const gchar *value_nick;
7199 const gchar *value_name;
7200 const gchar *value_nick;
7205 GEnumValue* g_enum_get_value (GEnumClass *enum_class,
7207 GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
7209 GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
7211 GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class,
7213 GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class,
7215 GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class,
7217 void g_value_set_enum (GValue *value,
7219 gint g_value_get_enum (const GValue *value);
7220 void g_value_set_flags (GValue *value,
7222 guint g_value_get_flags (const GValue *value);
7230 GType g_enum_register_static (const gchar *name,
7231 const GEnumValue *const_static_values);
7232 GType g_flags_register_static (const gchar *name,
7233 const GFlagsValue *const_static_values);
7237 void g_enum_complete_type_info (GType g_enum_type,
7239 const GEnumValue *const_values);
7240 void g_flags_complete_type_info (GType g_flags_type,
7242 const GFlagsValue *const_values);
7245 # 27 "/usr/include/glib-2.0/glib-object.h" 2
7246 # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
7247 # 26 "/usr/include/glib-2.0/gobject/gobject.h"
7248 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
7249 # 27 "/usr/include/glib-2.0/gobject/gobject.h" 2
7250 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
7251 # 28 "/usr/include/glib-2.0/gobject/gvalue.h"
7252 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
7253 # 29 "/usr/include/glib-2.0/gobject/gvalue.h" 2
7256 # 41 "/usr/include/glib-2.0/gobject/gvalue.h"
7257 typedef void (*GValueTransform) (const GValue *src_value,
7258 GValue *dest_value);
7280 GValue* g_value_init (GValue *value,
7282 void g_value_copy (const GValue *src_value,
7283 GValue *dest_value);
7284 GValue* g_value_reset (GValue *value);
7285 void g_value_unset (GValue *value);
7286 void g_value_set_instance (GValue *value,
7291 gboolean g_value_fits_pointer (const GValue *value);
7292 gpointer g_value_peek_pointer (const GValue *value);
7296 gboolean g_value_type_compatible (GType src_type,
7298 gboolean g_value_type_transformable (GType src_type,
7300 gboolean g_value_transform (const GValue *src_value,
7301 GValue *dest_value);
7302 void g_value_register_transform_func (GType src_type,
7304 GValueTransform transform_func);
7309 # 28 "/usr/include/glib-2.0/gobject/gobject.h" 2
7310 # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
7311 # 28 "/usr/include/glib-2.0/gobject/gparam.h"
7312 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
7313 # 29 "/usr/include/glib-2.0/gobject/gparam.h" 2
7316 # 49 "/usr/include/glib-2.0/gobject/gparam.h"
7319 G_PARAM_READABLE = 1 << 0,
7320 G_PARAM_WRITABLE = 1 << 1,
7321 G_PARAM_CONSTRUCT = 1 << 2,
7322 G_PARAM_CONSTRUCT_ONLY = 1 << 3,
7323 G_PARAM_LAX_VALIDATION = 1 << 4,
7324 G_PARAM_STATIC_NAME = 1 << 5,
7326 G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,
7328 G_PARAM_STATIC_NICK = 1 << 6,
7329 G_PARAM_STATIC_BLURB = 1 << 7
7331 # 71 "/usr/include/glib-2.0/gobject/gparam.h"
7332 typedef struct _GParamSpec GParamSpec;
7333 typedef struct _GParamSpecClass GParamSpecClass;
7334 typedef struct _GParameter GParameter;
7335 typedef struct _GParamSpecPool GParamSpecPool;
7338 GTypeInstance g_type_instance;
7352 struct _GParamSpecClass
7354 GTypeClass g_type_class;
7358 void (*finalize) (GParamSpec *pspec);
7361 void (*value_set_default) (GParamSpec *pspec,
7363 gboolean (*value_validate) (GParamSpec *pspec,
7365 gint (*values_cmp) (GParamSpec *pspec,
7366 const GValue *value1,
7367 const GValue *value2);
7379 GParamSpec* g_param_spec_ref (GParamSpec *pspec);
7380 void g_param_spec_unref (GParamSpec *pspec);
7381 void g_param_spec_sink (GParamSpec *pspec);
7382 GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec);
7383 gpointer g_param_spec_get_qdata (GParamSpec *pspec,
7385 void g_param_spec_set_qdata (GParamSpec *pspec,
7388 void g_param_spec_set_qdata_full (GParamSpec *pspec,
7391 GDestroyNotify destroy);
7392 gpointer g_param_spec_steal_qdata (GParamSpec *pspec,
7394 GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec);
7396 void g_param_value_set_default (GParamSpec *pspec,
7398 gboolean g_param_value_defaults (GParamSpec *pspec,
7400 gboolean g_param_value_validate (GParamSpec *pspec,
7402 gboolean g_param_value_convert (GParamSpec *pspec,
7403 const GValue *src_value,
7405 gboolean strict_validation);
7406 gint g_param_values_cmp (GParamSpec *pspec,
7407 const GValue *value1,
7408 const GValue *value2);
7409 const gchar* g_param_spec_get_name (GParamSpec *pspec);
7410 const gchar* g_param_spec_get_nick (GParamSpec *pspec);
7411 const gchar* g_param_spec_get_blurb (GParamSpec *pspec);
7412 void g_value_set_param (GValue *value,
7414 GParamSpec* g_value_get_param (const GValue *value);
7415 GParamSpec* g_value_dup_param (const GValue *value);
7418 void g_value_take_param (GValue *value,
7421 void g_value_set_param_take_ownership (GValue *value,
7426 typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
7427 struct _GParamSpecTypeInfo
7430 guint16 instance_size;
7431 guint16 n_preallocs;
7432 void (*instance_init) (GParamSpec *pspec);
7436 void (*finalize) (GParamSpec *pspec);
7437 void (*value_set_default) (GParamSpec *pspec,
7439 gboolean (*value_validate) (GParamSpec *pspec,
7441 gint (*values_cmp) (GParamSpec *pspec,
7442 const GValue *value1,
7443 const GValue *value2);
7445 GType g_param_type_register_static (const gchar *name,
7446 const GParamSpecTypeInfo *pspec_info);
7449 GType _g_param_type_register_static_constant (const gchar *name,
7450 const GParamSpecTypeInfo *pspec_info,
7455 gpointer g_param_spec_internal (GType param_type,
7460 GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing);
7461 void g_param_spec_pool_insert (GParamSpecPool *pool,
7464 void g_param_spec_pool_remove (GParamSpecPool *pool,
7466 GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool,
7467 const gchar *param_name,
7469 gboolean walk_ancestors);
7470 GList* g_param_spec_pool_list_owned (GParamSpecPool *pool,
7472 GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool,
7475 # 233 "/usr/include/glib-2.0/gobject/gparam.h"
7477 # 29 "/usr/include/glib-2.0/gobject/gobject.h" 2
7478 # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
7479 # 27 "/usr/include/glib-2.0/gobject/gclosure.h"
7480 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
7481 # 28 "/usr/include/glib-2.0/gobject/gclosure.h" 2
7484 # 40 "/usr/include/glib-2.0/gobject/gclosure.h"
7485 typedef struct _GClosure GClosure;
7486 typedef struct _GClosureNotifyData GClosureNotifyData;
7487 typedef void (*GCallback) (void);
7488 typedef void (*GClosureNotify) (gpointer data,
7490 typedef void (*GClosureMarshal) (GClosure *closure,
7491 GValue *return_value,
7492 guint n_param_values,
7493 const GValue *param_values,
7494 gpointer invocation_hint,
7495 gpointer marshal_data);
7496 typedef struct _GCClosure GCClosure;
7500 struct _GClosureNotifyData
7503 GClosureNotify notify;
7508 volatile guint ref_count : 15;
7509 volatile guint meta_marshal : 1;
7510 volatile guint n_guards : 1;
7511 volatile guint n_fnotifiers : 2;
7512 volatile guint n_inotifiers : 8;
7513 volatile guint in_inotify : 1;
7514 volatile guint floating : 1;
7516 volatile guint derivative_flag : 1;
7518 volatile guint in_marshal : 1;
7519 volatile guint is_invalid : 1;
7521 void (*marshal) (GClosure *closure,
7522 GValue *return_value,
7523 guint n_param_values,
7524 const GValue *param_values,
7525 gpointer invocation_hint,
7526 gpointer marshal_data);
7529 GClosureNotifyData *notifiers;
7530 # 96 "/usr/include/glib-2.0/gobject/gclosure.h"
7542 GClosure* g_cclosure_new (GCallback callback_func,
7544 GClosureNotify destroy_data);
7545 GClosure* g_cclosure_new_swap (GCallback callback_func,
7547 GClosureNotify destroy_data);
7548 GClosure* g_signal_type_cclosure_new (GType itype,
7549 guint struct_offset);
7553 GClosure* g_closure_ref (GClosure *closure);
7554 void g_closure_sink (GClosure *closure);
7555 void g_closure_unref (GClosure *closure);
7557 GClosure* g_closure_new_simple (guint sizeof_closure,
7559 void g_closure_add_finalize_notifier (GClosure *closure,
7560 gpointer notify_data,
7561 GClosureNotify notify_func);
7562 void g_closure_remove_finalize_notifier (GClosure *closure,
7563 gpointer notify_data,
7564 GClosureNotify notify_func);
7565 void g_closure_add_invalidate_notifier (GClosure *closure,
7566 gpointer notify_data,
7567 GClosureNotify notify_func);
7568 void g_closure_remove_invalidate_notifier (GClosure *closure,
7569 gpointer notify_data,
7570 GClosureNotify notify_func);
7571 void g_closure_add_marshal_guards (GClosure *closure,
7572 gpointer pre_marshal_data,
7573 GClosureNotify pre_marshal_notify,
7574 gpointer post_marshal_data,
7575 GClosureNotify post_marshal_notify);
7576 void g_closure_set_marshal (GClosure *closure,
7577 GClosureMarshal marshal);
7578 void g_closure_set_meta_marshal (GClosure *closure,
7579 gpointer marshal_data,
7580 GClosureMarshal meta_marshal);
7581 void g_closure_invalidate (GClosure *closure);
7582 void g_closure_invoke (GClosure *closure,
7583 GValue *return_value,
7584 guint n_param_values,
7585 const GValue *param_values,
7586 gpointer invocation_hint);
7587 # 164 "/usr/include/glib-2.0/gobject/gclosure.h"
7589 # 30 "/usr/include/glib-2.0/gobject/gobject.h" 2
7590 # 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
7591 # 26 "/usr/include/glib-2.0/gobject/gsignal.h"
7592 # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
7593 # 27 "/usr/include/glib-2.0/gobject/gsignal.h" 2
7594 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
7595 # 28 "/usr/include/glib-2.0/gobject/gsignal.h" 2
7596 # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
7597 # 29 "/usr/include/glib-2.0/gobject/gsignal.h" 2
7598 # 1 "/usr/include/glib-2.0/gobject/gmarshal.h" 1
7605 extern void g_cclosure_marshal_VOID__VOID (GClosure *closure,
7606 GValue *return_value,
7607 guint n_param_values,
7608 const GValue *param_values,
7609 gpointer invocation_hint,
7610 gpointer marshal_data);
7613 extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
7614 GValue *return_value,
7615 guint n_param_values,
7616 const GValue *param_values,
7617 gpointer invocation_hint,
7618 gpointer marshal_data);
7621 extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure,
7622 GValue *return_value,
7623 guint n_param_values,
7624 const GValue *param_values,
7625 gpointer invocation_hint,
7626 gpointer marshal_data);
7629 extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
7630 GValue *return_value,
7631 guint n_param_values,
7632 const GValue *param_values,
7633 gpointer invocation_hint,
7634 gpointer marshal_data);
7637 extern void g_cclosure_marshal_VOID__INT (GClosure *closure,
7638 GValue *return_value,
7639 guint n_param_values,
7640 const GValue *param_values,
7641 gpointer invocation_hint,
7642 gpointer marshal_data);
7645 extern void g_cclosure_marshal_VOID__UINT (GClosure *closure,
7646 GValue *return_value,
7647 guint n_param_values,
7648 const GValue *param_values,
7649 gpointer invocation_hint,
7650 gpointer marshal_data);
7653 extern void g_cclosure_marshal_VOID__LONG (GClosure *closure,
7654 GValue *return_value,
7655 guint n_param_values,
7656 const GValue *param_values,
7657 gpointer invocation_hint,
7658 gpointer marshal_data);
7661 extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure,
7662 GValue *return_value,
7663 guint n_param_values,
7664 const GValue *param_values,
7665 gpointer invocation_hint,
7666 gpointer marshal_data);
7669 extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure,
7670 GValue *return_value,
7671 guint n_param_values,
7672 const GValue *param_values,
7673 gpointer invocation_hint,
7674 gpointer marshal_data);
7677 extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
7678 GValue *return_value,
7679 guint n_param_values,
7680 const GValue *param_values,
7681 gpointer invocation_hint,
7682 gpointer marshal_data);
7685 extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
7686 GValue *return_value,
7687 guint n_param_values,
7688 const GValue *param_values,
7689 gpointer invocation_hint,
7690 gpointer marshal_data);
7693 extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
7694 GValue *return_value,
7695 guint n_param_values,
7696 const GValue *param_values,
7697 gpointer invocation_hint,
7698 gpointer marshal_data);
7701 extern void g_cclosure_marshal_VOID__STRING (GClosure *closure,
7702 GValue *return_value,
7703 guint n_param_values,
7704 const GValue *param_values,
7705 gpointer invocation_hint,
7706 gpointer marshal_data);
7709 extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure,
7710 GValue *return_value,
7711 guint n_param_values,
7712 const GValue *param_values,
7713 gpointer invocation_hint,
7714 gpointer marshal_data);
7717 extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure,
7718 GValue *return_value,
7719 guint n_param_values,
7720 const GValue *param_values,
7721 gpointer invocation_hint,
7722 gpointer marshal_data);
7725 extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure,
7726 GValue *return_value,
7727 guint n_param_values,
7728 const GValue *param_values,
7729 gpointer invocation_hint,
7730 gpointer marshal_data);
7733 extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
7734 GValue *return_value,
7735 guint n_param_values,
7736 const GValue *param_values,
7737 gpointer invocation_hint,
7738 gpointer marshal_data);
7741 extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
7742 GValue *return_value,
7743 guint n_param_values,
7744 const GValue *param_values,
7745 gpointer invocation_hint,
7746 gpointer marshal_data);
7749 extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
7750 GValue *return_value,
7751 guint n_param_values,
7752 const GValue *param_values,
7753 gpointer invocation_hint,
7754 gpointer marshal_data);
7758 extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
7759 GValue *return_value,
7760 guint n_param_values,
7761 const GValue *param_values,
7762 gpointer invocation_hint,
7763 gpointer marshal_data);
7766 # 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2
7771 typedef struct _GSignalQuery GSignalQuery;
7772 typedef struct _GSignalInvocationHint GSignalInvocationHint;
7773 typedef GClosureMarshal GSignalCMarshaller;
7774 typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint,
7775 guint n_param_values,
7776 const GValue *param_values,
7778 typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
7779 GValue *return_accu,
7780 const GValue *handler_return,
7787 G_SIGNAL_RUN_FIRST = 1 << 0,
7788 G_SIGNAL_RUN_LAST = 1 << 1,
7789 G_SIGNAL_RUN_CLEANUP = 1 << 2,
7790 G_SIGNAL_NO_RECURSE = 1 << 3,
7791 G_SIGNAL_DETAILED = 1 << 4,
7792 G_SIGNAL_ACTION = 1 << 5,
7793 G_SIGNAL_NO_HOOKS = 1 << 6
7798 G_CONNECT_AFTER = 1 << 0,
7799 G_CONNECT_SWAPPED = 1 << 1
7803 G_SIGNAL_MATCH_ID = 1 << 0,
7804 G_SIGNAL_MATCH_DETAIL = 1 << 1,
7805 G_SIGNAL_MATCH_CLOSURE = 1 << 2,
7806 G_SIGNAL_MATCH_FUNC = 1 << 3,
7807 G_SIGNAL_MATCH_DATA = 1 << 4,
7808 G_SIGNAL_MATCH_UNBLOCKED = 1 << 5
7815 struct _GSignalInvocationHint
7819 GSignalFlags run_type;
7821 struct _GSignalQuery
7824 const gchar *signal_name;
7826 GSignalFlags signal_flags;
7829 const GType *param_types;
7834 guint g_signal_newv (const gchar *signal_name,
7836 GSignalFlags signal_flags,
7837 GClosure *class_closure,
7838 GSignalAccumulator accumulator,
7840 GSignalCMarshaller c_marshaller,
7843 GType *param_types);
7844 guint g_signal_new_valist (const gchar *signal_name,
7846 GSignalFlags signal_flags,
7847 GClosure *class_closure,
7848 GSignalAccumulator accumulator,
7850 GSignalCMarshaller c_marshaller,
7854 guint g_signal_new (const gchar *signal_name,
7856 GSignalFlags signal_flags,
7858 GSignalAccumulator accumulator,
7860 GSignalCMarshaller c_marshaller,
7864 void g_signal_emitv (const GValue *instance_and_params,
7867 GValue *return_value);
7868 void g_signal_emit_valist (gpointer instance,
7872 void g_signal_emit (gpointer instance,
7876 void g_signal_emit_by_name (gpointer instance,
7877 const gchar *detailed_signal,
7879 guint g_signal_lookup (const gchar *name,
7881 const gchar* g_signal_name (guint signal_id);
7882 void g_signal_query (guint signal_id,
7883 GSignalQuery *query);
7884 guint* g_signal_list_ids (GType itype,
7886 gboolean g_signal_parse_name (const gchar *detailed_signal,
7890 gboolean force_detail_quark);
7891 GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance);
7895 void g_signal_stop_emission (gpointer instance,
7898 void g_signal_stop_emission_by_name (gpointer instance,
7899 const gchar *detailed_signal);
7900 gulong g_signal_add_emission_hook (guint signal_id,
7902 GSignalEmissionHook hook_func,
7904 GDestroyNotify data_destroy);
7905 void g_signal_remove_emission_hook (guint signal_id,
7910 gboolean g_signal_has_handler_pending (gpointer instance,
7913 gboolean may_be_blocked);
7914 gulong g_signal_connect_closure_by_id (gpointer instance,
7919 gulong g_signal_connect_closure (gpointer instance,
7920 const gchar *detailed_signal,
7923 gulong g_signal_connect_data (gpointer instance,
7924 const gchar *detailed_signal,
7925 GCallback c_handler,
7927 GClosureNotify destroy_data,
7928 GConnectFlags connect_flags);
7929 void g_signal_handler_block (gpointer instance,
7931 void g_signal_handler_unblock (gpointer instance,
7933 void g_signal_handler_disconnect (gpointer instance,
7935 gboolean g_signal_handler_is_connected (gpointer instance,
7937 gulong g_signal_handler_find (gpointer instance,
7938 GSignalMatchType mask,
7944 guint g_signal_handlers_block_matched (gpointer instance,
7945 GSignalMatchType mask,
7951 guint g_signal_handlers_unblock_matched (gpointer instance,
7952 GSignalMatchType mask,
7958 guint g_signal_handlers_disconnect_matched (gpointer instance,
7959 GSignalMatchType mask,
7968 void g_signal_override_class_closure (guint signal_id,
7969 GType instance_type,
7970 GClosure *class_closure);
7971 void g_signal_chain_from_overridden (const GValue *instance_and_params,
7972 GValue *return_value);
7973 # 259 "/usr/include/glib-2.0/gobject/gsignal.h"
7974 gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint,
7975 GValue *return_accu,
7976 const GValue *handler_return,
7980 void g_signal_handlers_destroy (gpointer instance);
7981 void _g_signals_destroy (GType itype);
7984 # 31 "/usr/include/glib-2.0/gobject/gobject.h" 2
7987 # 58 "/usr/include/glib-2.0/gobject/gobject.h"
7988 typedef struct _GObject GObject;
7989 typedef struct _GObjectClass GObjectClass;
7990 typedef struct _GObject GInitiallyUnowned;
7991 typedef struct _GObjectClass GInitiallyUnownedClass;
7992 typedef struct _GObjectConstructParam GObjectConstructParam;
7993 typedef void (*GObjectGetPropertyFunc) (GObject *object,
7997 typedef void (*GObjectSetPropertyFunc) (GObject *object,
7999 const GValue *value,
8001 typedef void (*GObjectFinalizeFunc) (GObject *object);
8002 typedef void (*GWeakNotify) (gpointer data,
8003 GObject *where_the_object_was);
8006 GTypeInstance g_type_instance;
8009 volatile guint ref_count;
8012 struct _GObjectClass
8014 GTypeClass g_type_class;
8017 GSList *construct_properties;
8021 GObject* (*constructor) (GType type,
8022 guint n_construct_properties,
8023 GObjectConstructParam *construct_properties);
8025 void (*set_property) (GObject *object,
8027 const GValue *value,
8029 void (*get_property) (GObject *object,
8033 void (*dispose) (GObject *object);
8034 void (*finalize) (GObject *object);
8036 void (*dispatch_properties_changed) (GObject *object,
8038 GParamSpec **pspecs);
8040 void (*notify) (GObject *object,
8044 void (*constructed) (GObject *object);
8050 struct _GObjectConstructParam
8058 GType g_initially_unowned_get_type (void);
8059 void g_object_class_install_property (GObjectClass *oclass,
8062 GParamSpec* g_object_class_find_property (GObjectClass *oclass,
8063 const gchar *property_name);
8064 GParamSpec**g_object_class_list_properties (GObjectClass *oclass,
8065 guint *n_properties);
8066 void g_object_class_override_property (GObjectClass *oclass,
8070 void g_object_interface_install_property (gpointer g_iface,
8072 GParamSpec* g_object_interface_find_property (gpointer g_iface,
8073 const gchar *property_name);
8074 GParamSpec**g_object_interface_list_properties (gpointer g_iface,
8075 guint *n_properties_p);
8077 gpointer g_object_new (GType object_type,
8078 const gchar *first_property_name,
8080 gpointer g_object_newv (GType object_type,
8082 GParameter *parameters);
8083 GObject* g_object_new_valist (GType object_type,
8084 const gchar *first_property_name,
8086 void g_object_set (gpointer object,
8087 const gchar *first_property_name,
8088 ...) __attribute__((__sentinel__));
8089 void g_object_get (gpointer object,
8090 const gchar *first_property_name,
8091 ...) __attribute__((__sentinel__));
8092 gpointer g_object_connect (gpointer object,
8093 const gchar *signal_spec,
8094 ...) __attribute__((__sentinel__));
8095 void g_object_disconnect (gpointer object,
8096 const gchar *signal_spec,
8097 ...) __attribute__((__sentinel__));
8098 void g_object_set_valist (GObject *object,
8099 const gchar *first_property_name,
8101 void g_object_get_valist (GObject *object,
8102 const gchar *first_property_name,
8104 void g_object_set_property (GObject *object,
8105 const gchar *property_name,
8106 const GValue *value);
8107 void g_object_get_property (GObject *object,
8108 const gchar *property_name,
8110 void g_object_freeze_notify (GObject *object);
8111 void g_object_notify (GObject *object,
8112 const gchar *property_name);
8113 void g_object_thaw_notify (GObject *object);
8114 gboolean g_object_is_floating (gpointer object);
8115 gpointer g_object_ref_sink (gpointer object);
8116 gpointer g_object_ref (gpointer object);
8117 void g_object_unref (gpointer object);
8118 void g_object_weak_ref (GObject *object,
8121 void g_object_weak_unref (GObject *object,
8124 void g_object_add_weak_pointer (GObject *object,
8125 gpointer *weak_pointer_location);
8126 void g_object_remove_weak_pointer (GObject *object,
8127 gpointer *weak_pointer_location);
8129 typedef void (*GToggleNotify) (gpointer data,
8131 gboolean is_last_ref);
8133 void g_object_add_toggle_ref (GObject *object,
8134 GToggleNotify notify,
8136 void g_object_remove_toggle_ref (GObject *object,
8137 GToggleNotify notify,
8140 gpointer g_object_get_qdata (GObject *object,
8142 void g_object_set_qdata (GObject *object,
8145 void g_object_set_qdata_full (GObject *object,
8148 GDestroyNotify destroy);
8149 gpointer g_object_steal_qdata (GObject *object,
8151 gpointer g_object_get_data (GObject *object,
8153 void g_object_set_data (GObject *object,
8156 void g_object_set_data_full (GObject *object,
8159 GDestroyNotify destroy);
8160 gpointer g_object_steal_data (GObject *object,
8162 void g_object_watch_closure (GObject *object,
8164 GClosure* g_cclosure_new_object (GCallback callback_func,
8166 GClosure* g_cclosure_new_object_swap (GCallback callback_func,
8168 GClosure* g_closure_new_object (guint sizeof_closure,
8170 void g_value_set_object (GValue *value,
8172 gpointer g_value_get_object (const GValue *value);
8173 gpointer g_value_dup_object (const GValue *value);
8174 gulong g_signal_connect_object (gpointer instance,
8175 const gchar *detailed_signal,
8176 GCallback c_handler,
8178 GConnectFlags connect_flags);
8181 void g_object_force_floating (GObject *object);
8182 void g_object_run_dispose (GObject *object);
8185 void g_value_take_object (GValue *value,
8188 void g_value_set_object_take_ownership (GValue *value,
8193 gsize g_object_compat_control (gsize what,
8195 # 284 "/usr/include/glib-2.0/gobject/gobject.h"
8197 # 28 "/usr/include/glib-2.0/glib-object.h" 2
8198 # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
8199 # 29 "/usr/include/glib-2.0/glib-object.h" 2
8200 # 1 "/usr/include/glib-2.0/gobject/gparamspecs.h" 1
8201 # 28 "/usr/include/glib-2.0/gobject/gparamspecs.h"
8202 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
8203 # 29 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
8204 # 1 "/usr/include/glib-2.0/gobject/genums.h" 1
8205 # 30 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
8206 # 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
8207 # 31 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
8208 # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
8209 # 32 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
8212 # 105 "/usr/include/glib-2.0/gobject/gparamspecs.h"
8213 typedef struct _GParamSpecChar GParamSpecChar;
8214 typedef struct _GParamSpecUChar GParamSpecUChar;
8215 typedef struct _GParamSpecBoolean GParamSpecBoolean;
8216 typedef struct _GParamSpecInt GParamSpecInt;
8217 typedef struct _GParamSpecUInt GParamSpecUInt;
8218 typedef struct _GParamSpecLong GParamSpecLong;
8219 typedef struct _GParamSpecULong GParamSpecULong;
8220 typedef struct _GParamSpecInt64 GParamSpecInt64;
8221 typedef struct _GParamSpecUInt64 GParamSpecUInt64;
8222 typedef struct _GParamSpecUnichar GParamSpecUnichar;
8223 typedef struct _GParamSpecEnum GParamSpecEnum;
8224 typedef struct _GParamSpecFlags GParamSpecFlags;
8225 typedef struct _GParamSpecFloat GParamSpecFloat;
8226 typedef struct _GParamSpecDouble GParamSpecDouble;
8227 typedef struct _GParamSpecString GParamSpecString;
8228 typedef struct _GParamSpecParam GParamSpecParam;
8229 typedef struct _GParamSpecBoxed GParamSpecBoxed;
8230 typedef struct _GParamSpecPointer GParamSpecPointer;
8231 typedef struct _GParamSpecValueArray GParamSpecValueArray;
8232 typedef struct _GParamSpecObject GParamSpecObject;
8233 typedef struct _GParamSpecOverride GParamSpecOverride;
8234 typedef struct _GParamSpecGType GParamSpecGType;
8236 struct _GParamSpecChar
8238 GParamSpec parent_instance;
8242 gint8 default_value;
8244 struct _GParamSpecUChar
8246 GParamSpec parent_instance;
8250 guint8 default_value;
8252 struct _GParamSpecBoolean
8254 GParamSpec parent_instance;
8256 gboolean default_value;
8258 struct _GParamSpecInt
8260 GParamSpec parent_instance;
8266 struct _GParamSpecUInt
8268 GParamSpec parent_instance;
8272 guint default_value;
8274 struct _GParamSpecLong
8276 GParamSpec parent_instance;
8280 glong default_value;
8282 struct _GParamSpecULong
8284 GParamSpec parent_instance;
8288 gulong default_value;
8290 struct _GParamSpecInt64
8292 GParamSpec parent_instance;
8296 gint64 default_value;
8298 struct _GParamSpecUInt64
8300 GParamSpec parent_instance;
8304 guint64 default_value;
8306 struct _GParamSpecUnichar
8308 GParamSpec parent_instance;
8310 gunichar default_value;
8312 struct _GParamSpecEnum
8314 GParamSpec parent_instance;
8316 GEnumClass *enum_class;
8319 struct _GParamSpecFlags
8321 GParamSpec parent_instance;
8323 GFlagsClass *flags_class;
8324 guint default_value;
8326 struct _GParamSpecFloat
8328 GParamSpec parent_instance;
8332 gfloat default_value;
8335 struct _GParamSpecDouble
8337 GParamSpec parent_instance;
8341 gdouble default_value;
8344 struct _GParamSpecString
8346 GParamSpec parent_instance;
8348 gchar *default_value;
8352 guint null_fold_if_empty : 1;
8353 guint ensure_non_null : 1;
8355 struct _GParamSpecParam
8357 GParamSpec parent_instance;
8359 struct _GParamSpecBoxed
8361 GParamSpec parent_instance;
8363 struct _GParamSpecPointer
8365 GParamSpec parent_instance;
8367 struct _GParamSpecValueArray
8369 GParamSpec parent_instance;
8370 GParamSpec *element_spec;
8371 guint fixed_n_elements;
8373 struct _GParamSpecObject
8375 GParamSpec parent_instance;
8377 struct _GParamSpecOverride
8380 GParamSpec parent_instance;
8381 GParamSpec *overridden;
8383 struct _GParamSpecGType
8385 GParamSpec parent_instance;
8390 GParamSpec* g_param_spec_char (const gchar *name,
8395 gint8 default_value,
8397 GParamSpec* g_param_spec_uchar (const gchar *name,
8402 guint8 default_value,
8404 GParamSpec* g_param_spec_boolean (const gchar *name,
8407 gboolean default_value,
8409 GParamSpec* g_param_spec_int (const gchar *name,
8416 GParamSpec* g_param_spec_uint (const gchar *name,
8421 guint default_value,
8423 GParamSpec* g_param_spec_long (const gchar *name,
8428 glong default_value,
8430 GParamSpec* g_param_spec_ulong (const gchar *name,
8435 gulong default_value,
8437 GParamSpec* g_param_spec_int64 (const gchar *name,
8442 gint64 default_value,
8444 GParamSpec* g_param_spec_uint64 (const gchar *name,
8449 guint64 default_value,
8451 GParamSpec* g_param_spec_unichar (const gchar *name,
8454 gunichar default_value,
8456 GParamSpec* g_param_spec_enum (const gchar *name,
8462 GParamSpec* g_param_spec_flags (const gchar *name,
8466 guint default_value,
8468 GParamSpec* g_param_spec_float (const gchar *name,
8473 gfloat default_value,
8475 GParamSpec* g_param_spec_double (const gchar *name,
8480 gdouble default_value,
8482 GParamSpec* g_param_spec_string (const gchar *name,
8485 const gchar *default_value,
8487 GParamSpec* g_param_spec_param (const gchar *name,
8492 GParamSpec* g_param_spec_boxed (const gchar *name,
8497 GParamSpec* g_param_spec_pointer (const gchar *name,
8501 GParamSpec* g_param_spec_value_array (const gchar *name,
8504 GParamSpec *element_spec,
8506 GParamSpec* g_param_spec_object (const gchar *name,
8511 GParamSpec* g_param_spec_override (const gchar *name,
8512 GParamSpec *overridden);
8513 GParamSpec* g_param_spec_gtype (const gchar *name,
8518 # 435 "/usr/include/glib-2.0/gobject/gparamspecs.h"
8519 extern GType *g_param_spec_types;
8522 # 30 "/usr/include/glib-2.0/glib-object.h" 2
8523 # 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
8524 # 31 "/usr/include/glib-2.0/glib-object.h" 2
8525 # 1 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 1
8526 # 26 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
8527 # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
8528 # 27 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 2
8532 void g_source_set_closure (GSource *source,
8535 GType g_io_channel_get_type (void);
8536 GType g_io_condition_get_type (void);
8542 # 32 "/usr/include/glib-2.0/glib-object.h" 2
8543 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
8544 # 33 "/usr/include/glib-2.0/glib-object.h" 2
8545 # 1 "/usr/include/glib-2.0/gobject/gtypemodule.h" 1
8546 # 26 "/usr/include/glib-2.0/gobject/gtypemodule.h"
8547 # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
8548 # 27 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
8549 # 1 "/usr/include/glib-2.0/gobject/genums.h" 1
8550 # 28 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
8554 typedef struct _GTypeModule GTypeModule;
8555 typedef struct _GTypeModuleClass GTypeModuleClass;
8556 # 41 "/usr/include/glib-2.0/gobject/gtypemodule.h"
8559 GObject parent_instance;
8563 GSList *interface_infos;
8569 struct _GTypeModuleClass
8571 GObjectClass parent_class;
8574 gboolean (* load) (GTypeModule *module);
8575 void (* unload) (GTypeModule *module);
8579 void (*reserved1) (void);
8580 void (*reserved2) (void);
8581 void (*reserved3) (void);
8582 void (*reserved4) (void);
8584 # 112 "/usr/include/glib-2.0/gobject/gtypemodule.h"
8585 GType g_type_module_get_type (void) __attribute__((__const__));
8586 gboolean g_type_module_use (GTypeModule *module);
8587 void g_type_module_unuse (GTypeModule *module);
8588 void g_type_module_set_name (GTypeModule *module,
8590 GType g_type_module_register_type (GTypeModule *module,
8592 const gchar *type_name,
8593 const GTypeInfo *type_info,
8595 void g_type_module_add_interface (GTypeModule *module,
8596 GType instance_type,
8597 GType interface_type,
8598 const GInterfaceInfo *interface_info);
8599 GType g_type_module_register_enum (GTypeModule *module,
8601 const GEnumValue *const_static_values);
8602 GType g_type_module_register_flags (GTypeModule *module,
8604 const GFlagsValue *const_static_values);
8607 # 34 "/usr/include/glib-2.0/glib-object.h" 2
8608 # 1 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 1
8609 # 26 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
8610 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
8611 # 27 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 2
8614 # 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
8615 typedef struct _GTypePluginClass GTypePluginClass;
8616 typedef void (*GTypePluginUse) (GTypePlugin *plugin);
8617 typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
8618 typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
8621 GTypeValueTable *value_table);
8622 typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
8623 GType instance_type,
8624 GType interface_type,
8625 GInterfaceInfo *info);
8626 struct _GTypePluginClass
8629 GTypeInterface base_iface;
8632 GTypePluginUse use_plugin;
8633 GTypePluginUnuse unuse_plugin;
8634 GTypePluginCompleteTypeInfo complete_type_info;
8635 GTypePluginCompleteInterfaceInfo complete_interface_info;
8640 GType g_type_plugin_get_type (void) __attribute__((__const__));
8641 void g_type_plugin_use (GTypePlugin *plugin);
8642 void g_type_plugin_unuse (GTypePlugin *plugin);
8643 void g_type_plugin_complete_type_info (GTypePlugin *plugin,
8646 GTypeValueTable *value_table);
8647 void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
8648 GType instance_type,
8649 GType interface_type,
8650 GInterfaceInfo *info);
8653 # 35 "/usr/include/glib-2.0/glib-object.h" 2
8654 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
8655 # 36 "/usr/include/glib-2.0/glib-object.h" 2
8656 # 1 "/usr/include/glib-2.0/gobject/gvaluearray.h" 1
8657 # 28 "/usr/include/glib-2.0/gobject/gvaluearray.h"
8658 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
8659 # 29 "/usr/include/glib-2.0/gobject/gvaluearray.h" 2
8666 typedef struct _GValueArray GValueArray;
8678 GValue* g_value_array_get_nth (GValueArray *value_array,
8680 GValueArray* g_value_array_new (guint n_prealloced);
8681 void g_value_array_free (GValueArray *value_array);
8682 GValueArray* g_value_array_copy (const GValueArray *value_array);
8683 GValueArray* g_value_array_prepend (GValueArray *value_array,
8684 const GValue *value);
8685 GValueArray* g_value_array_append (GValueArray *value_array,
8686 const GValue *value);
8687 GValueArray* g_value_array_insert (GValueArray *value_array,
8689 const GValue *value);
8690 GValueArray* g_value_array_remove (GValueArray *value_array,
8692 GValueArray* g_value_array_sort (GValueArray *value_array,
8693 GCompareFunc compare_func);
8694 GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
8695 GCompareDataFunc compare_func,
8696 gpointer user_data);
8700 # 37 "/usr/include/glib-2.0/glib-object.h" 2
8701 # 1 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 1
8702 # 28 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
8703 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
8704 # 29 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 2
8707 # 51 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
8708 void g_value_set_char (GValue *value,
8710 gchar g_value_get_char (const GValue *value);
8711 void g_value_set_uchar (GValue *value,
8713 guchar g_value_get_uchar (const GValue *value);
8714 void g_value_set_boolean (GValue *value,
8715 gboolean v_boolean);
8716 gboolean g_value_get_boolean (const GValue *value);
8717 void g_value_set_int (GValue *value,
8719 gint g_value_get_int (const GValue *value);
8720 void g_value_set_uint (GValue *value,
8722 guint g_value_get_uint (const GValue *value);
8723 void g_value_set_long (GValue *value,
8725 glong g_value_get_long (const GValue *value);
8726 void g_value_set_ulong (GValue *value,
8728 gulong g_value_get_ulong (const GValue *value);
8729 void g_value_set_int64 (GValue *value,
8731 gint64 g_value_get_int64 (const GValue *value);
8732 void g_value_set_uint64 (GValue *value,
8734 guint64 g_value_get_uint64 (const GValue *value);
8735 void g_value_set_float (GValue *value,
8737 gfloat g_value_get_float (const GValue *value);
8738 void g_value_set_double (GValue *value,
8740 gdouble g_value_get_double (const GValue *value);
8741 void g_value_set_string (GValue *value,
8742 const gchar *v_string);
8743 void g_value_set_static_string (GValue *value,
8744 const gchar *v_string);
8745 const gchar* g_value_get_string (const GValue *value);
8746 gchar* g_value_dup_string (const GValue *value);
8747 void g_value_set_pointer (GValue *value,
8748 gpointer v_pointer);
8749 gpointer g_value_get_pointer (const GValue *value);
8750 GType g_gtype_get_type (void);
8751 void g_value_set_gtype (GValue *value,
8753 GType g_value_get_gtype (const GValue *value);
8757 GType g_pointer_type_register_static (const gchar *name);
8760 gchar* g_strdup_value_contents (const GValue *value);
8763 void g_value_take_string (GValue *value,
8766 void g_value_set_string_take_ownership (GValue *value,
8772 typedef gchar* gchararray;
8776 # 38 "/usr/include/glib-2.0/glib-object.h" 2
8777 # 27 "/usr/include/pango-1.0/pango/pango-types.h" 2
8781 typedef struct _PangoLogAttr PangoLogAttr;
8783 typedef struct _PangoEngineLang PangoEngineLang;
8784 typedef struct _PangoEngineShape PangoEngineShape;
8786 typedef struct _PangoFont PangoFont;
8787 typedef struct _PangoFontMap PangoFontMap;
8789 typedef struct _PangoRectangle PangoRectangle;
8794 typedef guint32 PangoGlyph;
8795 # 64 "/usr/include/pango-1.0/pango/pango-types.h"
8796 int pango_units_from_double (double d) __attribute__((__const__));
8797 double pango_units_to_double (int i) __attribute__((__const__));
8804 struct _PangoRectangle
8811 # 87 "/usr/include/pango-1.0/pango/pango-types.h"
8812 void pango_extents_to_pixels (PangoRectangle *ink_rect,
8813 PangoRectangle *logical_rect);
8814 # 118 "/usr/include/pango-1.0/pango/pango-types.h"
8816 PANGO_DIRECTION_LTR,
8817 PANGO_DIRECTION_RTL,
8818 PANGO_DIRECTION_TTB_LTR,
8819 PANGO_DIRECTION_TTB_RTL,
8820 PANGO_DIRECTION_WEAK_LTR,
8821 PANGO_DIRECTION_WEAK_RTL,
8822 PANGO_DIRECTION_NEUTRAL
8825 PangoDirection pango_unichar_direction (gunichar ch) __attribute__((__const__));
8826 PangoDirection pango_find_base_dir (const gchar *text,
8830 gboolean pango_get_mirror_char (gunichar ch,
8831 gunichar *mirrored_ch);
8835 # 1 "/usr/include/pango-1.0/pango/pango-gravity.h" 1
8836 # 27 "/usr/include/pango-1.0/pango/pango-gravity.h"
8838 # 50 "/usr/include/pango-1.0/pango/pango-gravity.h"
8840 PANGO_GRAVITY_SOUTH,
8842 PANGO_GRAVITY_NORTH,
8846 # 77 "/usr/include/pango-1.0/pango/pango-gravity.h"
8848 PANGO_GRAVITY_HINT_NATURAL,
8849 PANGO_GRAVITY_HINT_STRONG,
8850 PANGO_GRAVITY_HINT_LINE
8852 # 97 "/usr/include/pango-1.0/pango/pango-gravity.h"
8853 # 1 "/usr/include/pango-1.0/pango/pango-matrix.h" 1
8854 # 28 "/usr/include/pango-1.0/pango/pango-matrix.h"
8857 typedef struct _PangoMatrix PangoMatrix;
8858 # 52 "/usr/include/pango-1.0/pango/pango-matrix.h"
8868 # 85 "/usr/include/pango-1.0/pango/pango-matrix.h"
8869 # 1 "/usr/include/pango-1.0/pango/pango-types.h" 1
8870 # 86 "/usr/include/pango-1.0/pango/pango-matrix.h" 2
8872 GType pango_matrix_get_type (void) __attribute__((__const__));
8874 PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix);
8875 void pango_matrix_free (PangoMatrix *matrix);
8877 void pango_matrix_translate (PangoMatrix *matrix,
8880 void pango_matrix_scale (PangoMatrix *matrix,
8883 void pango_matrix_rotate (PangoMatrix *matrix,
8885 void pango_matrix_concat (PangoMatrix *matrix,
8886 const PangoMatrix *new_matrix);
8887 void pango_matrix_transform_point (const PangoMatrix *matrix,
8890 void pango_matrix_transform_distance (const PangoMatrix *matrix,
8893 void pango_matrix_transform_rectangle (const PangoMatrix *matrix,
8894 PangoRectangle *rect);
8895 void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix,
8896 PangoRectangle *rect);
8897 double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) __attribute__((__pure__));
8901 # 98 "/usr/include/pango-1.0/pango/pango-gravity.h" 2
8902 # 1 "/usr/include/pango-1.0/pango/pango-script.h" 1
8903 # 27 "/usr/include/pango-1.0/pango/pango-script.h"
8904 # 1 "/usr/include/pango-1.0/pango/pango-language.h" 1
8905 # 28 "/usr/include/pango-1.0/pango/pango-language.h"
8909 typedef struct _PangoLanguage PangoLanguage;
8913 GType pango_language_get_type (void) __attribute__((__const__));
8914 PangoLanguage *pango_language_from_string (const char *language);
8918 const char *pango_language_get_sample_string (PangoLanguage *language) __attribute__((__const__));
8919 PangoLanguage *pango_language_get_default (void) __attribute__((__const__));
8921 gboolean pango_language_matches (PangoLanguage *language,
8922 const char *range_list) __attribute__((__pure__));
8925 # 28 "/usr/include/pango-1.0/pango/pango-script.h" 2
8935 typedef struct _PangoScriptIter PangoScriptIter;
8938 PANGO_SCRIPT_INVALID_CODE = -1,
8939 PANGO_SCRIPT_COMMON = 0,
8940 PANGO_SCRIPT_INHERITED,
8941 PANGO_SCRIPT_ARABIC,
8942 PANGO_SCRIPT_ARMENIAN,
8943 PANGO_SCRIPT_BENGALI,
8944 PANGO_SCRIPT_BOPOMOFO,
8945 PANGO_SCRIPT_CHEROKEE,
8946 PANGO_SCRIPT_COPTIC,
8947 PANGO_SCRIPT_CYRILLIC,
8948 PANGO_SCRIPT_DESERET,
8949 PANGO_SCRIPT_DEVANAGARI,
8950 PANGO_SCRIPT_ETHIOPIC,
8951 PANGO_SCRIPT_GEORGIAN,
8952 PANGO_SCRIPT_GOTHIC,
8954 PANGO_SCRIPT_GUJARATI,
8955 PANGO_SCRIPT_GURMUKHI,
8957 PANGO_SCRIPT_HANGUL,
8958 PANGO_SCRIPT_HEBREW,
8959 PANGO_SCRIPT_HIRAGANA,
8960 PANGO_SCRIPT_KANNADA,
8961 PANGO_SCRIPT_KATAKANA,
8965 PANGO_SCRIPT_MALAYALAM,
8966 PANGO_SCRIPT_MONGOLIAN,
8967 PANGO_SCRIPT_MYANMAR,
8969 PANGO_SCRIPT_OLD_ITALIC,
8972 PANGO_SCRIPT_SINHALA,
8973 PANGO_SCRIPT_SYRIAC,
8975 PANGO_SCRIPT_TELUGU,
8976 PANGO_SCRIPT_THAANA,
8978 PANGO_SCRIPT_TIBETAN,
8979 PANGO_SCRIPT_CANADIAN_ABORIGINAL,
8981 PANGO_SCRIPT_TAGALOG,
8982 PANGO_SCRIPT_HANUNOO,
8984 PANGO_SCRIPT_TAGBANWA,
8987 PANGO_SCRIPT_BRAILLE,
8988 PANGO_SCRIPT_CYPRIOT,
8990 PANGO_SCRIPT_OSMANYA,
8991 PANGO_SCRIPT_SHAVIAN,
8992 PANGO_SCRIPT_LINEAR_B,
8993 PANGO_SCRIPT_TAI_LE,
8994 PANGO_SCRIPT_UGARITIC,
8997 PANGO_SCRIPT_NEW_TAI_LUE,
8998 PANGO_SCRIPT_BUGINESE,
8999 PANGO_SCRIPT_GLAGOLITIC,
9000 PANGO_SCRIPT_TIFINAGH,
9001 PANGO_SCRIPT_SYLOTI_NAGRI,
9002 PANGO_SCRIPT_OLD_PERSIAN,
9003 PANGO_SCRIPT_KHAROSHTHI,
9006 PANGO_SCRIPT_UNKNOWN,
9007 PANGO_SCRIPT_BALINESE,
9008 PANGO_SCRIPT_CUNEIFORM,
9009 PANGO_SCRIPT_PHOENICIAN,
9010 PANGO_SCRIPT_PHAGS_PA,
9014 PangoScript pango_script_for_unichar (gunichar ch) __attribute__((__const__));
9016 PangoScriptIter *pango_script_iter_new (const char *text,
9018 void pango_script_iter_get_range (PangoScriptIter *iter,
9021 PangoScript *script);
9022 gboolean pango_script_iter_next (PangoScriptIter *iter);
9023 void pango_script_iter_free (PangoScriptIter *iter);
9025 PangoLanguage *pango_script_get_sample_language (PangoScript script) __attribute__((__pure__));
9026 gboolean pango_language_includes_script (PangoLanguage *language,
9027 PangoScript script) __attribute__((__pure__));
9030 # 99 "/usr/include/pango-1.0/pango/pango-gravity.h" 2
9032 double pango_gravity_to_rotation (PangoGravity gravity) __attribute__((__const__));
9033 PangoGravity pango_gravity_get_for_matrix (const PangoMatrix *matrix) __attribute__((__pure__));
9034 PangoGravity pango_gravity_get_for_script (PangoScript script,
9035 PangoGravity base_gravity,
9036 PangoGravityHint hint) __attribute__((__const__));
9040 # 139 "/usr/include/pango-1.0/pango/pango-types.h" 2
9047 # 27 "/usr/include/pango-1.0/pango/pango-font.h" 2
9053 typedef struct _PangoFontDescription PangoFontDescription;
9054 typedef struct _PangoFontMetrics PangoFontMetrics;
9055 # 43 "/usr/include/pango-1.0/pango/pango-font.h"
9058 PANGO_STYLE_OBLIQUE,
9063 PANGO_VARIANT_NORMAL,
9064 PANGO_VARIANT_SMALL_CAPS
9068 PANGO_WEIGHT_ULTRALIGHT = 200,
9069 PANGO_WEIGHT_LIGHT = 300,
9070 PANGO_WEIGHT_NORMAL = 400,
9071 PANGO_WEIGHT_SEMIBOLD = 600,
9072 PANGO_WEIGHT_BOLD = 700,
9073 PANGO_WEIGHT_ULTRABOLD = 800,
9074 PANGO_WEIGHT_HEAVY = 900
9078 PANGO_STRETCH_ULTRA_CONDENSED,
9079 PANGO_STRETCH_EXTRA_CONDENSED,
9080 PANGO_STRETCH_CONDENSED,
9081 PANGO_STRETCH_SEMI_CONDENSED,
9082 PANGO_STRETCH_NORMAL,
9083 PANGO_STRETCH_SEMI_EXPANDED,
9084 PANGO_STRETCH_EXPANDED,
9085 PANGO_STRETCH_EXTRA_EXPANDED,
9086 PANGO_STRETCH_ULTRA_EXPANDED
9090 PANGO_FONT_MASK_FAMILY = 1 << 0,
9091 PANGO_FONT_MASK_STYLE = 1 << 1,
9092 PANGO_FONT_MASK_VARIANT = 1 << 2,
9093 PANGO_FONT_MASK_WEIGHT = 1 << 3,
9094 PANGO_FONT_MASK_STRETCH = 1 << 4,
9095 PANGO_FONT_MASK_SIZE = 1 << 5,
9096 PANGO_FONT_MASK_GRAVITY = 1 << 6
9098 # 101 "/usr/include/pango-1.0/pango/pango-font.h"
9099 GType pango_font_description_get_type (void) __attribute__((__const__));
9100 PangoFontDescription *pango_font_description_new (void);
9101 PangoFontDescription *pango_font_description_copy (const PangoFontDescription *desc);
9102 PangoFontDescription *pango_font_description_copy_static (const PangoFontDescription *desc);
9103 guint pango_font_description_hash (const PangoFontDescription *desc) __attribute__((__pure__));
9104 gboolean pango_font_description_equal (const PangoFontDescription *desc1,
9105 const PangoFontDescription *desc2) __attribute__((__pure__));
9106 void pango_font_description_free (PangoFontDescription *desc);
9107 void pango_font_descriptions_free (PangoFontDescription **descs,
9110 void pango_font_description_set_family (PangoFontDescription *desc,
9111 const char *family);
9112 void pango_font_description_set_family_static (PangoFontDescription *desc,
9113 const char *family);
9114 const char *pango_font_description_get_family (const PangoFontDescription *desc) __attribute__((__pure__));
9115 void pango_font_description_set_style (PangoFontDescription *desc,
9117 PangoStyle pango_font_description_get_style (const PangoFontDescription *desc) __attribute__((__pure__));
9118 void pango_font_description_set_variant (PangoFontDescription *desc,
9119 PangoVariant variant);
9120 PangoVariant pango_font_description_get_variant (const PangoFontDescription *desc) __attribute__((__pure__));
9121 void pango_font_description_set_weight (PangoFontDescription *desc,
9122 PangoWeight weight);
9123 PangoWeight pango_font_description_get_weight (const PangoFontDescription *desc) __attribute__((__pure__));
9124 void pango_font_description_set_stretch (PangoFontDescription *desc,
9125 PangoStretch stretch);
9126 PangoStretch pango_font_description_get_stretch (const PangoFontDescription *desc) __attribute__((__pure__));
9127 void pango_font_description_set_size (PangoFontDescription *desc,
9129 gint pango_font_description_get_size (const PangoFontDescription *desc) __attribute__((__pure__));
9130 void pango_font_description_set_absolute_size (PangoFontDescription *desc,
9132 gboolean pango_font_description_get_size_is_absolute (const PangoFontDescription *desc) __attribute__((__pure__));
9133 void pango_font_description_set_gravity (PangoFontDescription *desc,
9134 PangoGravity gravity);
9135 PangoGravity pango_font_description_get_gravity (const PangoFontDescription *desc) __attribute__((__pure__));
9137 PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc) __attribute__((__pure__));
9138 void pango_font_description_unset_fields (PangoFontDescription *desc,
9139 PangoFontMask to_unset);
9141 void pango_font_description_merge (PangoFontDescription *desc,
9142 const PangoFontDescription *desc_to_merge,
9143 gboolean replace_existing);
9144 void pango_font_description_merge_static (PangoFontDescription *desc,
9145 const PangoFontDescription *desc_to_merge,
9146 gboolean replace_existing);
9148 gboolean pango_font_description_better_match (const PangoFontDescription *desc,
9149 const PangoFontDescription *old_match,
9150 const PangoFontDescription *new_match) __attribute__((__pure__));
9152 PangoFontDescription *pango_font_description_from_string (const char *str);
9153 char * pango_font_description_to_string (const PangoFontDescription *desc);
9154 char * pango_font_description_to_filename (const PangoFontDescription *desc);
9161 GType pango_font_metrics_get_type (void) __attribute__((__const__));
9162 PangoFontMetrics *pango_font_metrics_ref (PangoFontMetrics *metrics);
9163 void pango_font_metrics_unref (PangoFontMetrics *metrics);
9164 int pango_font_metrics_get_ascent (PangoFontMetrics *metrics) __attribute__((__pure__));
9165 int pango_font_metrics_get_descent (PangoFontMetrics *metrics) __attribute__((__pure__));
9166 int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics) __attribute__((__pure__));
9167 int pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics) __attribute__((__pure__));
9168 int pango_font_metrics_get_underline_position (PangoFontMetrics *metrics) __attribute__((__pure__));
9169 int pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics) __attribute__((__pure__));
9170 int pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics) __attribute__((__pure__));
9171 int pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics) __attribute__((__pure__));
9172 # 203 "/usr/include/pango-1.0/pango/pango-font.h"
9173 typedef struct _PangoFontFamily PangoFontFamily;
9174 typedef struct _PangoFontFace PangoFontFace;
9176 GType pango_font_family_get_type (void) __attribute__((__const__));
9178 void pango_font_family_list_faces (PangoFontFamily *family,
9179 PangoFontFace ***faces,
9181 const char *pango_font_family_get_name (PangoFontFamily *family) __attribute__((__pure__));
9182 gboolean pango_font_family_is_monospace (PangoFontFamily *family) __attribute__((__pure__));
9183 # 257 "/usr/include/pango-1.0/pango/pango-font.h"
9184 GType pango_font_face_get_type (void) __attribute__((__const__));
9186 PangoFontDescription *pango_font_face_describe (PangoFontFace *face);
9187 const char *pango_font_face_get_face_name (PangoFontFace *face) __attribute__((__pure__));
9188 void pango_font_face_list_sizes (PangoFontFace *face,
9191 gboolean pango_font_face_is_synthesized (PangoFontFace *face) __attribute__((__pure__));
9192 # 309 "/usr/include/pango-1.0/pango/pango-font.h"
9193 GType pango_font_get_type (void) __attribute__((__const__));
9195 PangoFontDescription *pango_font_describe (PangoFont *font);
9196 PangoFontDescription *pango_font_describe_with_absolute_size (PangoFont *font);
9197 PangoCoverage * pango_font_get_coverage (PangoFont *font,
9198 PangoLanguage *language);
9199 PangoEngineShape * pango_font_find_shaper (PangoFont *font,
9200 PangoLanguage *language,
9202 PangoFontMetrics * pango_font_get_metrics (PangoFont *font,
9203 PangoLanguage *language);
9204 void pango_font_get_glyph_extents (PangoFont *font,
9206 PangoRectangle *ink_rect,
9207 PangoRectangle *logical_rect);
9208 PangoFontMap *pango_font_get_font_map (PangoFont *font);
9209 # 381 "/usr/include/pango-1.0/pango/pango-font.h"
9211 # 26 "/usr/include/pango-1.0/pango/pango-attributes.h" 2
9218 typedef struct _PangoColor PangoColor;
9228 GType pango_color_get_type (void) __attribute__((__const__));
9230 PangoColor *pango_color_copy (const PangoColor *src);
9231 void pango_color_free (PangoColor *color);
9232 gboolean pango_color_parse (PangoColor *color,
9234 gchar *pango_color_to_string(const PangoColor *color);
9239 typedef struct _PangoAttribute PangoAttribute;
9240 typedef struct _PangoAttrClass PangoAttrClass;
9242 typedef struct _PangoAttrString PangoAttrString;
9243 typedef struct _PangoAttrLanguage PangoAttrLanguage;
9244 typedef struct _PangoAttrInt PangoAttrInt;
9245 typedef struct _PangoAttrSize PangoAttrSize;
9246 typedef struct _PangoAttrFloat PangoAttrFloat;
9247 typedef struct _PangoAttrColor PangoAttrColor;
9248 typedef struct _PangoAttrFontDesc PangoAttrFontDesc;
9249 typedef struct _PangoAttrShape PangoAttrShape;
9252 typedef struct _PangoAttrList PangoAttrList;
9253 typedef struct _PangoAttrIterator PangoAttrIterator;
9258 PANGO_ATTR_LANGUAGE,
9265 PANGO_ATTR_FONT_DESC,
9266 PANGO_ATTR_FOREGROUND,
9267 PANGO_ATTR_BACKGROUND,
9268 PANGO_ATTR_UNDERLINE,
9269 PANGO_ATTR_STRIKETHROUGH,
9273 PANGO_ATTR_FALLBACK,
9274 PANGO_ATTR_LETTER_SPACING,
9275 PANGO_ATTR_UNDERLINE_COLOR,
9276 PANGO_ATTR_STRIKETHROUGH_COLOR,
9277 PANGO_ATTR_ABSOLUTE_SIZE,
9279 PANGO_ATTR_GRAVITY_HINT
9283 PANGO_UNDERLINE_NONE,
9284 PANGO_UNDERLINE_SINGLE,
9285 PANGO_UNDERLINE_DOUBLE,
9286 PANGO_UNDERLINE_LOW,
9287 PANGO_UNDERLINE_ERROR
9290 struct _PangoAttribute
9292 const PangoAttrClass *klass;
9297 typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute,
9300 typedef gpointer (*PangoAttrDataCopyFunc) (gconstpointer data);
9302 struct _PangoAttrClass
9306 PangoAttribute * (*copy) (const PangoAttribute *attr);
9307 void (*destroy) (PangoAttribute *attr);
9308 gboolean (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2);
9311 struct _PangoAttrString
9313 PangoAttribute attr;
9317 struct _PangoAttrLanguage
9319 PangoAttribute attr;
9320 PangoLanguage *value;
9323 struct _PangoAttrInt
9325 PangoAttribute attr;
9329 struct _PangoAttrFloat
9331 PangoAttribute attr;
9335 struct _PangoAttrColor
9337 PangoAttribute attr;
9341 struct _PangoAttrSize
9343 PangoAttribute attr;
9348 struct _PangoAttrShape
9350 PangoAttribute attr;
9351 PangoRectangle ink_rect;
9352 PangoRectangle logical_rect;
9355 PangoAttrDataCopyFunc copy_func;
9356 GDestroyNotify destroy_func;
9359 struct _PangoAttrFontDesc
9361 PangoAttribute attr;
9362 PangoFontDescription *desc;
9365 PangoAttrType pango_attr_type_register (const gchar *name);
9367 PangoAttribute * pango_attribute_copy (const PangoAttribute *attr);
9368 void pango_attribute_destroy (PangoAttribute *attr);
9369 gboolean pango_attribute_equal (const PangoAttribute *attr1,
9370 const PangoAttribute *attr2) __attribute__((__pure__));
9372 PangoAttribute *pango_attr_language_new (PangoLanguage *language);
9373 PangoAttribute *pango_attr_family_new (const char *family);
9374 PangoAttribute *pango_attr_foreground_new (guint16 red,
9377 PangoAttribute *pango_attr_background_new (guint16 red,
9380 PangoAttribute *pango_attr_size_new (int size);
9381 PangoAttribute *pango_attr_size_new_absolute (int size);
9382 PangoAttribute *pango_attr_style_new (PangoStyle style);
9383 PangoAttribute *pango_attr_weight_new (PangoWeight weight);
9384 PangoAttribute *pango_attr_variant_new (PangoVariant variant);
9385 PangoAttribute *pango_attr_stretch_new (PangoStretch stretch);
9386 PangoAttribute *pango_attr_font_desc_new (const PangoFontDescription *desc);
9388 PangoAttribute *pango_attr_underline_new (PangoUnderline underline);
9389 PangoAttribute *pango_attr_underline_color_new (guint16 red,
9392 PangoAttribute *pango_attr_strikethrough_new (gboolean strikethrough);
9393 PangoAttribute *pango_attr_strikethrough_color_new (guint16 red,
9397 PangoAttribute *pango_attr_rise_new (int rise);
9398 PangoAttribute *pango_attr_scale_new (double scale_factor);
9399 PangoAttribute *pango_attr_fallback_new (gboolean enable_fallback);
9400 PangoAttribute *pango_attr_letter_spacing_new (int letter_spacing);
9402 PangoAttribute *pango_attr_shape_new (const PangoRectangle *ink_rect,
9403 const PangoRectangle *logical_rect);
9404 PangoAttribute *pango_attr_shape_new_with_data (const PangoRectangle *ink_rect,
9405 const PangoRectangle *logical_rect,
9407 PangoAttrDataCopyFunc copy_func,
9408 GDestroyNotify destroy_func);
9410 PangoAttribute *pango_attr_gravity_new (PangoGravity gravity);
9411 PangoAttribute *pango_attr_gravity_hint_new (PangoGravityHint hint);
9413 GType pango_attr_list_get_type (void) __attribute__((__const__));
9414 PangoAttrList * pango_attr_list_new (void);
9415 PangoAttrList * pango_attr_list_ref (PangoAttrList *list);
9416 void pango_attr_list_unref (PangoAttrList *list);
9417 PangoAttrList * pango_attr_list_copy (PangoAttrList *list);
9418 void pango_attr_list_insert (PangoAttrList *list,
9419 PangoAttribute *attr);
9420 void pango_attr_list_insert_before (PangoAttrList *list,
9421 PangoAttribute *attr);
9422 void pango_attr_list_change (PangoAttrList *list,
9423 PangoAttribute *attr);
9424 void pango_attr_list_splice (PangoAttrList *list,
9425 PangoAttrList *other,
9429 PangoAttrList *pango_attr_list_filter (PangoAttrList *list,
9430 PangoAttrFilterFunc func,
9433 PangoAttrIterator *pango_attr_list_get_iterator (PangoAttrList *list);
9435 void pango_attr_iterator_range (PangoAttrIterator *iterator,
9438 gboolean pango_attr_iterator_next (PangoAttrIterator *iterator);
9439 PangoAttrIterator *pango_attr_iterator_copy (PangoAttrIterator *iterator);
9440 void pango_attr_iterator_destroy (PangoAttrIterator *iterator);
9441 PangoAttribute * pango_attr_iterator_get (PangoAttrIterator *iterator,
9442 PangoAttrType type);
9443 void pango_attr_iterator_get_font (PangoAttrIterator *iterator,
9444 PangoFontDescription *desc,
9445 PangoLanguage **language,
9446 GSList **extra_attrs);
9447 GSList * pango_attr_iterator_get_attrs (PangoAttrIterator *iterator);
9450 gboolean pango_parse_markup (const char *markup_text,
9452 gunichar accel_marker,
9453 PangoAttrList **attr_list,
9455 gunichar *accel_char,
9459 # 26 "/usr/include/pango-1.0/pango/pango.h" 2
9460 # 1 "/usr/include/pango-1.0/pango/pango-break.h" 1
9461 # 27 "/usr/include/pango-1.0/pango/pango-break.h"
9464 # 1 "/usr/include/pango-1.0/pango/pango-item.h" 1
9465 # 27 "/usr/include/pango-1.0/pango/pango-item.h"
9468 typedef struct _PangoAnalysis PangoAnalysis;
9469 typedef struct _PangoItem PangoItem;
9474 struct _PangoAnalysis
9476 PangoEngineShape *shape_engine;
9477 PangoEngineLang *lang_engine;
9485 PangoLanguage *language;
9487 GSList *extra_attrs;
9495 PangoAnalysis analysis;
9500 GType pango_item_get_type (void) __attribute__((__const__));
9502 PangoItem *pango_item_new (void);
9503 PangoItem *pango_item_copy (PangoItem *item);
9504 void pango_item_free (PangoItem *item);
9505 PangoItem *pango_item_split (PangoItem *orig,
9510 # 30 "/usr/include/pango-1.0/pango/pango-break.h" 2
9514 struct _PangoLogAttr
9516 guint is_line_break : 1;
9518 guint is_mandatory_break : 1;
9520 guint is_char_break : 1;
9527 guint is_cursor_position : 1;
9534 guint is_word_start : 1;
9535 guint is_word_end : 1;
9536 # 64 "/usr/include/pango-1.0/pango/pango-break.h"
9537 guint is_sentence_boundary : 1;
9538 guint is_sentence_start : 1;
9539 guint is_sentence_end : 1;
9544 guint backspace_deletes_character : 1;
9549 guint is_expandable_space : 1;
9555 void pango_break (const gchar *text,
9557 PangoAnalysis *analysis,
9558 PangoLogAttr *attrs,
9561 void pango_find_paragraph_boundary (const gchar *text,
9563 gint *paragraph_delimiter_index,
9564 gint *next_paragraph_start);
9566 void pango_get_log_attrs (const char *text,
9569 PangoLanguage *language,
9570 PangoLogAttr *log_attrs,
9572 # 115 "/usr/include/pango-1.0/pango/pango-break.h"
9574 # 27 "/usr/include/pango-1.0/pango/pango.h" 2
9575 # 1 "/usr/include/pango-1.0/pango/pango-context.h" 1
9576 # 26 "/usr/include/pango-1.0/pango/pango-context.h"
9577 # 1 "/usr/include/pango-1.0/pango/pango-fontmap.h" 1
9578 # 26 "/usr/include/pango-1.0/pango/pango-fontmap.h"
9579 # 1 "/usr/include/pango-1.0/pango/pango-fontset.h" 1
9580 # 30 "/usr/include/pango-1.0/pango/pango-fontset.h"
9582 # 40 "/usr/include/pango-1.0/pango/pango-fontset.h"
9583 GType pango_fontset_get_type (void) __attribute__((__const__));
9585 typedef struct _PangoFontset PangoFontset;
9586 # 57 "/usr/include/pango-1.0/pango/pango-fontset.h"
9587 typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset,
9591 PangoFont * pango_fontset_get_font (PangoFontset *fontset,
9593 PangoFontMetrics *pango_fontset_get_metrics (PangoFontset *fontset);
9594 void pango_fontset_foreach (PangoFontset *fontset,
9595 PangoFontsetForeachFunc func,
9597 # 125 "/usr/include/pango-1.0/pango/pango-fontset.h"
9599 # 27 "/usr/include/pango-1.0/pango/pango-fontmap.h" 2
9607 typedef struct _PangoContext PangoContext;
9609 GType pango_font_map_get_type (void) __attribute__((__const__));
9610 PangoFont * pango_font_map_load_font (PangoFontMap *fontmap,
9611 PangoContext *context,
9612 const PangoFontDescription *desc);
9613 PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontmap,
9614 PangoContext *context,
9615 const PangoFontDescription *desc,
9616 PangoLanguage *language);
9617 void pango_font_map_list_families (PangoFontMap *fontmap,
9618 PangoFontFamily ***families,
9620 # 93 "/usr/include/pango-1.0/pango/pango-fontmap.h"
9622 # 27 "/usr/include/pango-1.0/pango/pango-context.h" 2
9632 typedef struct _PangoContextClass PangoContextClass;
9633 # 50 "/usr/include/pango-1.0/pango/pango-context.h"
9634 GType pango_context_get_type (void) __attribute__((__const__));
9641 PangoFontMap *pango_context_get_font_map (PangoContext *context);
9643 void pango_context_list_families (PangoContext *context,
9644 PangoFontFamily ***families,
9646 PangoFont * pango_context_load_font (PangoContext *context,
9647 const PangoFontDescription *desc);
9648 PangoFontset *pango_context_load_fontset (PangoContext *context,
9649 const PangoFontDescription *desc,
9650 PangoLanguage *language);
9652 PangoFontMetrics *pango_context_get_metrics (PangoContext *context,
9653 const PangoFontDescription *desc,
9654 PangoLanguage *language);
9656 void pango_context_set_font_description (PangoContext *context,
9657 const PangoFontDescription *desc);
9658 PangoFontDescription * pango_context_get_font_description (PangoContext *context);
9659 PangoLanguage *pango_context_get_language (PangoContext *context);
9660 void pango_context_set_language (PangoContext *context,
9661 PangoLanguage *language);
9662 void pango_context_set_base_dir (PangoContext *context,
9663 PangoDirection direction);
9664 PangoDirection pango_context_get_base_dir (PangoContext *context);
9665 void pango_context_set_base_gravity (PangoContext *context,
9666 PangoGravity gravity);
9667 PangoGravity pango_context_get_base_gravity (PangoContext *context);
9668 PangoGravity pango_context_get_gravity (PangoContext *context);
9669 void pango_context_set_gravity_hint (PangoContext *context,
9670 PangoGravityHint hint);
9671 PangoGravityHint pango_context_get_gravity_hint (PangoContext *context);
9673 void pango_context_set_matrix (PangoContext *context,
9674 const PangoMatrix *matrix);
9675 const PangoMatrix *pango_context_get_matrix (PangoContext *context);
9681 GList *pango_itemize (PangoContext *context,
9685 PangoAttrList *attrs,
9686 PangoAttrIterator *cached_iter);
9687 GList *pango_itemize_with_base_dir (PangoContext *context,
9688 PangoDirection base_dir,
9692 PangoAttrList *attrs,
9693 PangoAttrIterator *cached_iter);
9696 # 28 "/usr/include/pango-1.0/pango/pango.h" 2
9698 # 1 "/usr/include/pango-1.0/pango/pango-engine.h" 1
9699 # 28 "/usr/include/pango-1.0/pango/pango-engine.h"
9700 # 1 "/usr/include/pango-1.0/pango/pango-glyph.h" 1
9701 # 28 "/usr/include/pango-1.0/pango/pango-glyph.h"
9704 typedef struct _PangoGlyphGeometry PangoGlyphGeometry;
9705 typedef struct _PangoGlyphVisAttr PangoGlyphVisAttr;
9706 typedef struct _PangoGlyphInfo PangoGlyphInfo;
9707 typedef struct _PangoGlyphString PangoGlyphString;
9710 typedef gint32 PangoGlyphUnit;
9714 struct _PangoGlyphGeometry
9716 PangoGlyphUnit width;
9717 PangoGlyphUnit x_offset;
9718 PangoGlyphUnit y_offset;
9723 struct _PangoGlyphVisAttr
9725 guint is_cluster_start : 1;
9730 struct _PangoGlyphInfo
9733 PangoGlyphGeometry geometry;
9734 PangoGlyphVisAttr attr;
9740 struct _PangoGlyphString {
9743 PangoGlyphInfo *glyphs;
9758 PangoGlyphString *pango_glyph_string_new (void);
9759 void pango_glyph_string_set_size (PangoGlyphString *string,
9761 GType pango_glyph_string_get_type (void) __attribute__((__const__));
9762 PangoGlyphString *pango_glyph_string_copy (PangoGlyphString *string);
9763 void pango_glyph_string_free (PangoGlyphString *string);
9764 void pango_glyph_string_extents (PangoGlyphString *glyphs,
9766 PangoRectangle *ink_rect,
9767 PangoRectangle *logical_rect);
9768 int pango_glyph_string_get_width(PangoGlyphString *glyphs) __attribute__((__pure__));
9770 void pango_glyph_string_extents_range (PangoGlyphString *glyphs,
9774 PangoRectangle *ink_rect,
9775 PangoRectangle *logical_rect);
9777 void pango_glyph_string_get_logical_widths (PangoGlyphString *glyphs,
9780 int embedding_level,
9781 int *logical_widths);
9783 void pango_glyph_string_index_to_x (PangoGlyphString *glyphs,
9786 PangoAnalysis *analysis,
9790 void pango_glyph_string_x_to_index (PangoGlyphString *glyphs,
9793 PangoAnalysis *analysis,
9800 void pango_shape (const gchar *text,
9802 const PangoAnalysis *analysis,
9803 PangoGlyphString *glyphs);
9805 GList *pango_reorder_items (GList *logical_items);
9808 # 29 "/usr/include/pango-1.0/pango/pango-engine.h" 2
9812 # 377 "/usr/include/pango-1.0/pango/pango-engine.h"
9814 # 30 "/usr/include/pango-1.0/pango/pango.h" 2
9815 # 1 "/usr/include/pango-1.0/pango/pango-enum-types.h" 1
9816 # 9 "/usr/include/pango-1.0/pango/pango-enum-types.h"
9819 GType pango_attr_type_get_type (void);
9821 GType pango_underline_get_type (void);
9824 GType pango_coverage_level_get_type (void);
9827 GType pango_style_get_type (void);
9829 GType pango_variant_get_type (void);
9831 GType pango_weight_get_type (void);
9833 GType pango_stretch_get_type (void);
9835 GType pango_font_mask_get_type (void);
9838 GType pango_gravity_get_type (void);
9840 GType pango_gravity_hint_get_type (void);
9843 GType pango_alignment_get_type (void);
9845 GType pango_wrap_mode_get_type (void);
9847 GType pango_ellipsize_mode_get_type (void);
9850 GType pango_render_part_get_type (void);
9853 GType pango_script_get_type (void);
9856 GType pango_tab_align_get_type (void);
9859 GType pango_direction_get_type (void);
9862 # 31 "/usr/include/pango-1.0/pango/pango.h" 2
9863 # 1 "/usr/include/pango-1.0/pango/pango-features.h" 1
9864 # 32 "/usr/include/pango-1.0/pango/pango.h" 2
9869 # 1 "/usr/include/pango-1.0/pango/pango-glyph-item.h" 1
9870 # 30 "/usr/include/pango-1.0/pango/pango-glyph-item.h"
9873 typedef struct _PangoGlyphItem PangoGlyphItem;
9875 struct _PangoGlyphItem
9878 PangoGlyphString *glyphs;
9881 PangoGlyphItem *pango_glyph_item_split (PangoGlyphItem *orig,
9884 void pango_glyph_item_free (PangoGlyphItem *glyph_item);
9885 GSList * pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item,
9887 PangoAttrList *list);
9888 void pango_glyph_item_letter_space (PangoGlyphItem *glyph_item,
9890 PangoLogAttr *log_attrs,
9891 int letter_spacing);
9894 # 37 "/usr/include/pango-1.0/pango/pango.h" 2
9897 # 1 "/usr/include/pango-1.0/pango/pango-layout.h" 1
9898 # 28 "/usr/include/pango-1.0/pango/pango-layout.h"
9899 # 1 "/usr/include/pango-1.0/pango/pango-tabs.h" 1
9900 # 27 "/usr/include/pango-1.0/pango/pango-tabs.h"
9903 typedef struct _PangoTabArray PangoTabArray;
9908 # 42 "/usr/include/pango-1.0/pango/pango-tabs.h"
9913 PangoTabArray *pango_tab_array_new (gint initial_size,
9914 gboolean positions_in_pixels);
9915 PangoTabArray *pango_tab_array_new_with_positions (gint size,
9916 gboolean positions_in_pixels,
9917 PangoTabAlign first_alignment,
9918 gint first_position,
9920 GType pango_tab_array_get_type (void) __attribute__((__const__));
9921 PangoTabArray *pango_tab_array_copy (PangoTabArray *src);
9922 void pango_tab_array_free (PangoTabArray *tab_array);
9923 gint pango_tab_array_get_size (PangoTabArray *tab_array);
9924 void pango_tab_array_resize (PangoTabArray *tab_array,
9926 void pango_tab_array_set_tab (PangoTabArray *tab_array,
9928 PangoTabAlign alignment,
9930 void pango_tab_array_get_tab (PangoTabArray *tab_array,
9932 PangoTabAlign *alignment,
9934 void pango_tab_array_get_tabs (PangoTabArray *tab_array,
9935 PangoTabAlign **alignments,
9938 gboolean pango_tab_array_get_positions_in_pixels (PangoTabArray *tab_array);
9942 # 29 "/usr/include/pango-1.0/pango/pango-layout.h" 2
9946 typedef struct _PangoLayout PangoLayout;
9947 typedef struct _PangoLayoutClass PangoLayoutClass;
9948 typedef struct _PangoLayoutLine PangoLayoutLine;
9951 typedef PangoGlyphItem PangoLayoutRun;
9962 PANGO_WRAP_WORD_CHAR
9964 # 64 "/usr/include/pango-1.0/pango/pango-layout.h"
9966 PANGO_ELLIPSIZE_NONE,
9967 PANGO_ELLIPSIZE_START,
9968 PANGO_ELLIPSIZE_MIDDLE,
9970 } PangoEllipsizeMode;
9972 struct _PangoLayoutLine
9974 PangoLayout *layout;
9978 guint is_paragraph_start : 1;
9979 guint resolved_dir : 3;
9981 # 92 "/usr/include/pango-1.0/pango/pango-layout.h"
9982 GType pango_layout_get_type (void) __attribute__((__const__));
9983 PangoLayout *pango_layout_new (PangoContext *context);
9984 PangoLayout *pango_layout_copy (PangoLayout *src);
9986 PangoContext *pango_layout_get_context (PangoLayout *layout);
9988 void pango_layout_set_attributes (PangoLayout *layout,
9989 PangoAttrList *attrs);
9990 PangoAttrList *pango_layout_get_attributes (PangoLayout *layout);
9992 void pango_layout_set_text (PangoLayout *layout,
9995 const char *pango_layout_get_text (PangoLayout *layout);
9997 void pango_layout_set_markup (PangoLayout *layout,
10001 void pango_layout_set_markup_with_accel (PangoLayout *layout,
10002 const char *markup,
10004 gunichar accel_marker,
10005 gunichar *accel_char);
10007 void pango_layout_set_font_description (PangoLayout *layout,
10008 const PangoFontDescription *desc);
10010 const PangoFontDescription *pango_layout_get_font_description (PangoLayout *layout);
10012 void pango_layout_set_width (PangoLayout *layout,
10014 int pango_layout_get_width (PangoLayout *layout);
10015 void pango_layout_set_wrap (PangoLayout *layout,
10016 PangoWrapMode wrap);
10017 PangoWrapMode pango_layout_get_wrap (PangoLayout *layout);
10018 gboolean pango_layout_is_wrapped (PangoLayout *layout);
10019 void pango_layout_set_indent (PangoLayout *layout,
10021 int pango_layout_get_indent (PangoLayout *layout);
10022 void pango_layout_set_spacing (PangoLayout *layout,
10024 int pango_layout_get_spacing (PangoLayout *layout);
10025 void pango_layout_set_justify (PangoLayout *layout,
10027 gboolean pango_layout_get_justify (PangoLayout *layout);
10028 void pango_layout_set_auto_dir (PangoLayout *layout,
10029 gboolean auto_dir);
10030 gboolean pango_layout_get_auto_dir (PangoLayout *layout);
10031 void pango_layout_set_alignment (PangoLayout *layout,
10032 PangoAlignment alignment);
10033 PangoAlignment pango_layout_get_alignment (PangoLayout *layout);
10035 void pango_layout_set_tabs (PangoLayout *layout,
10036 PangoTabArray *tabs);
10038 PangoTabArray* pango_layout_get_tabs (PangoLayout *layout);
10040 void pango_layout_set_single_paragraph_mode (PangoLayout *layout,
10042 gboolean pango_layout_get_single_paragraph_mode (PangoLayout *layout);
10044 void pango_layout_set_ellipsize (PangoLayout *layout,
10045 PangoEllipsizeMode ellipsize);
10046 PangoEllipsizeMode pango_layout_get_ellipsize (PangoLayout *layout);
10047 gboolean pango_layout_is_ellipsized (PangoLayout *layout);
10049 int pango_layout_get_unknown_glyphs_count (PangoLayout *layout);
10051 void pango_layout_context_changed (PangoLayout *layout);
10053 void pango_layout_get_log_attrs (PangoLayout *layout,
10054 PangoLogAttr **attrs,
10057 void pango_layout_index_to_pos (PangoLayout *layout,
10059 PangoRectangle *pos);
10060 void pango_layout_index_to_line_x (PangoLayout *layout,
10065 void pango_layout_get_cursor_pos (PangoLayout *layout,
10067 PangoRectangle *strong_pos,
10068 PangoRectangle *weak_pos);
10069 void pango_layout_move_cursor_visually (PangoLayout *layout,
10075 int *new_trailing);
10076 gboolean pango_layout_xy_to_index (PangoLayout *layout,
10081 void pango_layout_get_extents (PangoLayout *layout,
10082 PangoRectangle *ink_rect,
10083 PangoRectangle *logical_rect);
10084 void pango_layout_get_pixel_extents (PangoLayout *layout,
10085 PangoRectangle *ink_rect,
10086 PangoRectangle *logical_rect);
10087 void pango_layout_get_size (PangoLayout *layout,
10090 void pango_layout_get_pixel_size (PangoLayout *layout,
10094 int pango_layout_get_line_count (PangoLayout *layout);
10095 PangoLayoutLine *pango_layout_get_line (PangoLayout *layout,
10097 PangoLayoutLine *pango_layout_get_line_readonly (PangoLayout *layout,
10099 GSList * pango_layout_get_lines (PangoLayout *layout);
10100 GSList * pango_layout_get_lines_readonly (PangoLayout *layout);
10105 GType pango_layout_line_get_type (void) __attribute__((__const__));
10107 PangoLayoutLine *pango_layout_line_ref (PangoLayoutLine *line);
10108 void pango_layout_line_unref (PangoLayoutLine *line);
10110 gboolean pango_layout_line_x_to_index (PangoLayoutLine *line,
10114 void pango_layout_line_index_to_x (PangoLayoutLine *line,
10118 void pango_layout_line_get_x_ranges (PangoLayoutLine *line,
10123 void pango_layout_line_get_extents (PangoLayoutLine *line,
10124 PangoRectangle *ink_rect,
10125 PangoRectangle *logical_rect);
10126 void pango_layout_line_get_pixel_extents (PangoLayoutLine *layout_line,
10127 PangoRectangle *ink_rect,
10128 PangoRectangle *logical_rect);
10130 typedef struct _PangoLayoutIter PangoLayoutIter;
10134 GType pango_layout_iter_get_type (void) __attribute__((__const__));
10136 PangoLayoutIter *pango_layout_get_iter (PangoLayout *layout);
10137 void pango_layout_iter_free (PangoLayoutIter *iter);
10139 int pango_layout_iter_get_index (PangoLayoutIter *iter);
10140 PangoLayoutRun *pango_layout_iter_get_run (PangoLayoutIter *iter);
10141 PangoLayoutRun *pango_layout_iter_get_run_readonly (PangoLayoutIter *iter);
10142 PangoLayoutLine *pango_layout_iter_get_line (PangoLayoutIter *iter);
10143 PangoLayoutLine *pango_layout_iter_get_line_readonly (PangoLayoutIter *iter);
10144 gboolean pango_layout_iter_at_last_line (PangoLayoutIter *iter);
10146 gboolean pango_layout_iter_next_char (PangoLayoutIter *iter);
10147 gboolean pango_layout_iter_next_cluster (PangoLayoutIter *iter);
10148 gboolean pango_layout_iter_next_run (PangoLayoutIter *iter);
10149 gboolean pango_layout_iter_next_line (PangoLayoutIter *iter);
10151 void pango_layout_iter_get_char_extents (PangoLayoutIter *iter,
10152 PangoRectangle *logical_rect);
10153 void pango_layout_iter_get_cluster_extents (PangoLayoutIter *iter,
10154 PangoRectangle *ink_rect,
10155 PangoRectangle *logical_rect);
10156 void pango_layout_iter_get_run_extents (PangoLayoutIter *iter,
10157 PangoRectangle *ink_rect,
10158 PangoRectangle *logical_rect);
10159 void pango_layout_iter_get_line_extents (PangoLayoutIter *iter,
10160 PangoRectangle *ink_rect,
10161 PangoRectangle *logical_rect);
10165 void pango_layout_iter_get_line_yrange (PangoLayoutIter *iter,
10168 void pango_layout_iter_get_layout_extents (PangoLayoutIter *iter,
10169 PangoRectangle *ink_rect,
10170 PangoRectangle *logical_rect);
10171 int pango_layout_iter_get_baseline (PangoLayoutIter *iter);
10174 # 40 "/usr/include/pango-1.0/pango/pango.h" 2
10176 # 1 "/usr/include/pango-1.0/pango/pango-renderer.h" 1
10177 # 26 "/usr/include/pango-1.0/pango/pango-renderer.h"
10179 # 35 "/usr/include/pango-1.0/pango/pango-renderer.h"
10180 typedef struct _PangoRenderer PangoRenderer;
10181 typedef struct _PangoRendererClass PangoRendererClass;
10182 typedef struct _PangoRendererPrivate PangoRendererPrivate;
10183 # 52 "/usr/include/pango-1.0/pango/pango-renderer.h"
10186 PANGO_RENDER_PART_FOREGROUND,
10187 PANGO_RENDER_PART_BACKGROUND,
10188 PANGO_RENDER_PART_UNDERLINE,
10189 PANGO_RENDER_PART_STRIKETHROUGH
10191 # 71 "/usr/include/pango-1.0/pango/pango-renderer.h"
10192 struct _PangoRenderer
10195 GObject parent_instance;
10197 PangoUnderline underline;
10198 gboolean strikethrough;
10202 PangoMatrix *matrix;
10205 PangoRendererPrivate *priv;
10207 # 109 "/usr/include/pango-1.0/pango/pango-renderer.h"
10208 struct _PangoRendererClass
10211 GObjectClass parent_class;
10219 void (*draw_glyphs) (PangoRenderer *renderer,
10221 PangoGlyphString *glyphs,
10224 void (*draw_rectangle) (PangoRenderer *renderer,
10225 PangoRenderPart part,
10230 void (*draw_error_underline) (PangoRenderer *renderer,
10237 void (*draw_shape) (PangoRenderer *renderer,
10238 PangoAttrShape *attr,
10245 void (*draw_trapezoid) (PangoRenderer *renderer,
10246 PangoRenderPart part,
10253 void (*draw_glyph) (PangoRenderer *renderer,
10261 void (*part_changed) (PangoRenderer *renderer,
10262 PangoRenderPart part);
10266 void (*begin) (PangoRenderer *renderer);
10267 void (*end) (PangoRenderer *renderer);
10271 void (*prepare_run) (PangoRenderer *renderer,
10272 PangoLayoutRun *run);
10277 void (*_pango_reserved1) (void);
10278 void (*_pango_reserved2) (void);
10279 void (*_pango_reserved3) (void);
10280 void (*_pango_reserved4) (void);
10283 GType pango_renderer_get_type (void) __attribute__((__const__));
10285 void pango_renderer_draw_layout (PangoRenderer *renderer,
10286 PangoLayout *layout,
10289 void pango_renderer_draw_layout_line (PangoRenderer *renderer,
10290 PangoLayoutLine *line,
10293 void pango_renderer_draw_glyphs (PangoRenderer *renderer,
10295 PangoGlyphString *glyphs,
10298 void pango_renderer_draw_rectangle (PangoRenderer *renderer,
10299 PangoRenderPart part,
10304 void pango_renderer_draw_error_underline (PangoRenderer *renderer,
10309 void pango_renderer_draw_trapezoid (PangoRenderer *renderer,
10310 PangoRenderPart part,
10317 void pango_renderer_draw_glyph (PangoRenderer *renderer,
10323 void pango_renderer_activate (PangoRenderer *renderer);
10324 void pango_renderer_deactivate (PangoRenderer *renderer);
10326 void pango_renderer_part_changed (PangoRenderer *renderer,
10327 PangoRenderPart part);
10329 void pango_renderer_set_color (PangoRenderer *renderer,
10330 PangoRenderPart part,
10331 const PangoColor *color);
10332 PangoColor *pango_renderer_get_color (PangoRenderer *renderer,
10333 PangoRenderPart part);
10335 void pango_renderer_set_matrix (PangoRenderer *renderer,
10336 const PangoMatrix *matrix);
10337 const PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer);
10340 # 42 "/usr/include/pango-1.0/pango/pango.h" 2
10344 # 1 "/usr/include/pango-1.0/pango/pango-utils.h" 1
10345 # 25 "/usr/include/pango-1.0/pango/pango-utils.h"
10346 # 1 "/usr/include/stdio.h" 1 3 4
10347 # 30 "/usr/include/stdio.h" 3 4
10352 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
10353 # 35 "/usr/include/stdio.h" 2 3 4
10354 # 45 "/usr/include/stdio.h" 3 4
10359 typedef struct _IO_FILE FILE;
10365 # 65 "/usr/include/stdio.h" 3 4
10366 typedef struct _IO_FILE __FILE;
10367 # 75 "/usr/include/stdio.h" 3 4
10368 # 1 "/usr/include/libio.h" 1 3 4
10369 # 32 "/usr/include/libio.h" 3 4
10370 # 1 "/usr/include/_G_config.h" 1 3 4
10371 # 15 "/usr/include/_G_config.h" 3 4
10372 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
10373 # 16 "/usr/include/_G_config.h" 2 3 4
10378 # 1 "/usr/include/wchar.h" 1 3 4
10379 # 78 "/usr/include/wchar.h" 3 4
10386 unsigned int __wch;
10393 # 21 "/usr/include/_G_config.h" 2 3 4
10398 __mbstate_t __state;
10403 __mbstate_t __state;
10405 # 53 "/usr/include/_G_config.h" 3 4
10406 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
10407 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
10408 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
10409 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
10410 # 33 "/usr/include/libio.h" 2 3 4
10411 # 170 "/usr/include/libio.h" 3 4
10412 struct _IO_jump_t; struct _IO_FILE;
10413 # 180 "/usr/include/libio.h" 3 4
10414 typedef void _IO_lock_t;
10420 struct _IO_marker {
10421 struct _IO_marker *_next;
10422 struct _IO_FILE *_sbuf;
10427 # 203 "/usr/include/libio.h" 3 4
10431 enum __codecvt_result
10438 # 271 "/usr/include/libio.h" 3 4
10445 char* _IO_read_ptr;
10446 char* _IO_read_end;
10447 char* _IO_read_base;
10448 char* _IO_write_base;
10449 char* _IO_write_ptr;
10450 char* _IO_write_end;
10451 char* _IO_buf_base;
10454 char *_IO_save_base;
10455 char *_IO_backup_base;
10456 char *_IO_save_end;
10458 struct _IO_marker *_markers;
10460 struct _IO_FILE *_chain;
10468 __off_t _old_offset;
10472 unsigned short _cur_column;
10473 signed char _vtable_offset;
10479 # 319 "/usr/include/libio.h" 3 4
10481 # 328 "/usr/include/libio.h" 3 4
10490 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
10495 typedef struct _IO_FILE _IO_FILE;
10498 struct _IO_FILE_plus;
10500 extern struct _IO_FILE_plus _IO_2_1_stdin_;
10501 extern struct _IO_FILE_plus _IO_2_1_stdout_;
10502 extern struct _IO_FILE_plus _IO_2_1_stderr_;
10503 # 364 "/usr/include/libio.h" 3 4
10504 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
10512 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
10521 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
10524 typedef int __io_close_fn (void *__cookie);
10525 # 416 "/usr/include/libio.h" 3 4
10526 extern int __underflow (_IO_FILE *);
10527 extern int __uflow (_IO_FILE *);
10528 extern int __overflow (_IO_FILE *, int);
10529 # 458 "/usr/include/libio.h" 3 4
10530 extern int _IO_getc (_IO_FILE *__fp);
10531 extern int _IO_putc (int __c, _IO_FILE *__fp);
10532 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10533 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10535 extern int _IO_peekc_locked (_IO_FILE *__fp);
10541 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10542 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10543 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10544 # 488 "/usr/include/libio.h" 3 4
10545 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
10546 __gnuc_va_list, int *__restrict);
10547 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
10549 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
10550 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
10552 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
10553 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
10555 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
10556 # 76 "/usr/include/stdio.h" 2 3 4
10557 # 89 "/usr/include/stdio.h" 3 4
10562 typedef _G_fpos64_t fpos_t;
10565 # 141 "/usr/include/stdio.h" 3 4
10566 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
10567 # 142 "/usr/include/stdio.h" 2 3 4
10571 extern struct _IO_FILE *stdin;
10572 extern struct _IO_FILE *stdout;
10573 extern struct _IO_FILE *stderr;
10581 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
10583 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
10593 # 175 "/usr/include/stdio.h" 3 4
10594 extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") ;
10595 # 186 "/usr/include/stdio.h" 3 4
10596 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
10602 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
10603 # 204 "/usr/include/stdio.h" 3 4
10604 extern char *tempnam (__const char *__dir, __const char *__pfx)
10605 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
10614 extern int fclose (FILE *__stream);
10619 extern int fflush (FILE *__stream);
10621 # 229 "/usr/include/stdio.h" 3 4
10622 extern int fflush_unlocked (FILE *__stream);
10623 # 243 "/usr/include/stdio.h" 3 4
10625 # 260 "/usr/include/stdio.h" 3 4
10626 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64")
10629 extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64")
10639 # 283 "/usr/include/stdio.h" 3 4
10640 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
10641 # 304 "/usr/include/stdio.h" 3 4
10645 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
10649 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
10650 int __modes, size_t __n) __attribute__ ((__nothrow__));
10656 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
10657 size_t __size) __attribute__ ((__nothrow__));
10660 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
10669 extern int fprintf (FILE *__restrict __stream,
10670 __const char *__restrict __format, ...);
10675 extern int printf (__const char *__restrict __format, ...);
10677 extern int sprintf (char *__restrict __s,
10678 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
10684 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
10685 __gnuc_va_list __arg);
10690 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
10692 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
10693 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
10699 extern int snprintf (char *__restrict __s, size_t __maxlen,
10700 __const char *__restrict __format, ...)
10701 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
10703 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
10704 __const char *__restrict __format, __gnuc_va_list __arg)
10705 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
10707 # 398 "/usr/include/stdio.h" 3 4
10713 extern int fscanf (FILE *__restrict __stream,
10714 __const char *__restrict __format, ...) ;
10719 extern int scanf (__const char *__restrict __format, ...) ;
10721 extern int sscanf (__const char *__restrict __s,
10722 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
10723 # 441 "/usr/include/stdio.h" 3 4
10725 # 504 "/usr/include/stdio.h" 3 4
10731 extern int fgetc (FILE *__stream);
10732 extern int getc (FILE *__stream);
10738 extern int getchar (void);
10740 # 528 "/usr/include/stdio.h" 3 4
10741 extern int getc_unlocked (FILE *__stream);
10742 extern int getchar_unlocked (void);
10743 # 539 "/usr/include/stdio.h" 3 4
10744 extern int fgetc_unlocked (FILE *__stream);
10756 extern int fputc (int __c, FILE *__stream);
10757 extern int putc (int __c, FILE *__stream);
10763 extern int putchar (int __c);
10765 # 572 "/usr/include/stdio.h" 3 4
10766 extern int fputc_unlocked (int __c, FILE *__stream);
10774 extern int putc_unlocked (int __c, FILE *__stream);
10775 extern int putchar_unlocked (int __c);
10782 extern int getw (FILE *__stream);
10785 extern int putw (int __w, FILE *__stream);
10794 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
10802 extern char *gets (char *__s) ;
10804 # 653 "/usr/include/stdio.h" 3 4
10810 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
10816 extern int puts (__const char *__s);
10823 extern int ungetc (int __c, FILE *__stream);
10830 extern size_t fread (void *__restrict __ptr, size_t __size,
10831 size_t __n, FILE *__restrict __stream) ;
10836 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
10837 size_t __n, FILE *__restrict __s) ;
10839 # 706 "/usr/include/stdio.h" 3 4
10840 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
10841 size_t __n, FILE *__restrict __stream) ;
10842 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
10843 size_t __n, FILE *__restrict __stream) ;
10852 extern int fseek (FILE *__stream, long int __off, int __whence);
10857 extern long int ftell (FILE *__stream) ;
10862 extern void rewind (FILE *__stream);
10864 # 750 "/usr/include/stdio.h" 3 4
10865 extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64");
10868 extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64");
10877 # 775 "/usr/include/stdio.h" 3 4
10878 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64");
10880 extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64");
10888 # 793 "/usr/include/stdio.h" 3 4
10891 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
10893 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
10895 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
10900 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
10901 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
10902 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
10911 extern void perror (__const char *__s);
10918 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
10919 # 27 "/usr/include/bits/sys_errlist.h" 3 4
10920 extern int sys_nerr;
10921 extern __const char *__const sys_errlist[];
10922 # 823 "/usr/include/stdio.h" 2 3 4
10927 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
10932 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
10933 # 842 "/usr/include/stdio.h" 3 4
10934 extern FILE *popen (__const char *__command, __const char *__modes) ;
10940 extern int pclose (FILE *__stream);
10946 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
10947 # 882 "/usr/include/stdio.h" 3 4
10948 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
10952 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
10955 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
10956 # 903 "/usr/include/stdio.h" 3 4
10957 # 1 "/usr/include/bits/stdio.h" 1 3 4
10958 # 36 "/usr/include/bits/stdio.h" 3 4
10959 extern __inline int
10960 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
10962 return vfprintf (stdout, __fmt, __arg);
10967 extern __inline int
10970 return _IO_getc (stdin);
10976 extern __inline int
10977 fgetc_unlocked (FILE *__fp)
10979 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
10986 extern __inline int
10987 getc_unlocked (FILE *__fp)
10989 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
10993 extern __inline int
10994 getchar_unlocked (void)
10996 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
11002 extern __inline int
11005 return _IO_putc (__c, stdout);
11011 extern __inline int
11012 fputc_unlocked (int __c, FILE *__stream)
11014 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
11021 extern __inline int
11022 putc_unlocked (int __c, FILE *__stream)
11024 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
11028 extern __inline int
11029 putchar_unlocked (int __c)
11031 return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
11033 # 125 "/usr/include/bits/stdio.h" 3 4
11034 extern __inline int
11035 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
11037 return (((__stream)->_flags & 0x10) != 0);
11041 extern __inline int
11042 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
11044 return (((__stream)->_flags & 0x20) != 0);
11046 # 904 "/usr/include/stdio.h" 2 3 4
11047 # 912 "/usr/include/stdio.h" 3 4
11049 # 26 "/usr/include/pango-1.0/pango/pango-utils.h" 2
11055 char ** pango_split_file_list (const char *str);
11057 char *pango_trim_string (const char *str);
11058 gint pango_read_line (FILE *stream,
11060 gboolean pango_skip_space (const char **pos);
11061 gboolean pango_scan_word (const char **pos,
11063 gboolean pango_scan_string (const char **pos,
11065 gboolean pango_scan_int (const char **pos,
11067 # 51 "/usr/include/pango-1.0/pango/pango-utils.h"
11068 gboolean pango_parse_enum (GType type,
11072 char **possible_values);
11073 # 64 "/usr/include/pango-1.0/pango/pango-utils.h"
11074 gboolean pango_parse_style (const char *str,
11077 gboolean pango_parse_variant (const char *str,
11078 PangoVariant *variant,
11080 gboolean pango_parse_weight (const char *str,
11081 PangoWeight *weight,
11083 gboolean pango_parse_stretch (const char *str,
11084 PangoStretch *stretch,
11086 # 97 "/usr/include/pango-1.0/pango/pango-utils.h"
11087 void pango_quantize_line_geometry (int *thickness,
11092 guint8 * pango_log2vis_get_embedding_levels (const gchar *text,
11094 PangoDirection *pbase_dir);
11099 gboolean pango_is_zero_width (gunichar ch) __attribute__((__const__));
11100 # 131 "/usr/include/pango-1.0/pango/pango-utils.h"
11101 int pango_version (void) __attribute__((__const__));
11104 const char * pango_version_string (void) __attribute__((__const__));
11107 const char * pango_version_check (int required_major,
11108 int required_minor,
11109 int required_micro) __attribute__((__const__));
11112 # 46 "/usr/include/pango-1.0/pango/pango.h" 2
11113 # 34 "../gdk/gdktypes.h" 2
11114 # 51 "../gdk/gdktypes.h"
11115 # 1 "../gdk/gdkconfig.h" 1
11116 # 52 "../gdk/gdktypes.h" 2
11129 typedef struct _GdkPoint GdkPoint;
11130 typedef struct _GdkRectangle GdkRectangle;
11131 typedef struct _GdkSegment GdkSegment;
11132 typedef struct _GdkSpan GdkSpan;
11139 typedef guint32 GdkWChar;
11141 typedef struct _GdkAtom *GdkAtom;
11142 # 87 "../gdk/gdktypes.h"
11143 typedef guint32 GdkNativeWindow;
11148 typedef struct _GdkColor GdkColor;
11149 typedef struct _GdkColormap GdkColormap;
11150 typedef struct _GdkCursor GdkCursor;
11151 typedef struct _GdkFont GdkFont;
11152 typedef struct _GdkGC GdkGC;
11153 typedef struct _GdkImage GdkImage;
11154 typedef struct _GdkRegion GdkRegion;
11155 typedef struct _GdkVisual GdkVisual;
11157 typedef struct _GdkDrawable GdkDrawable;
11158 typedef struct _GdkDrawable GdkBitmap;
11159 typedef struct _GdkDrawable GdkPixmap;
11160 typedef struct _GdkDrawable GdkWindow;
11161 typedef struct _GdkDisplay GdkDisplay;
11162 typedef struct _GdkScreen GdkScreen;
11174 GDK_SHIFT_MASK = 1 << 0,
11175 GDK_LOCK_MASK = 1 << 1,
11176 GDK_CONTROL_MASK = 1 << 2,
11177 GDK_MOD1_MASK = 1 << 3,
11178 GDK_MOD2_MASK = 1 << 4,
11179 GDK_MOD3_MASK = 1 << 5,
11180 GDK_MOD4_MASK = 1 << 6,
11181 GDK_MOD5_MASK = 1 << 7,
11182 GDK_BUTTON1_MASK = 1 << 8,
11183 GDK_BUTTON2_MASK = 1 << 9,
11184 GDK_BUTTON3_MASK = 1 << 10,
11185 GDK_BUTTON4_MASK = 1 << 11,
11186 GDK_BUTTON5_MASK = 1 << 12,
11192 GDK_SUPER_MASK = 1 << 26,
11193 GDK_HYPER_MASK = 1 << 27,
11194 GDK_META_MASK = 1 << 28,
11196 GDK_RELEASE_MASK = 1 << 30,
11198 GDK_MODIFIER_MASK = 0x5c001fff
11203 GDK_INPUT_READ = 1 << 0,
11204 GDK_INPUT_WRITE = 1 << 1,
11205 GDK_INPUT_EXCEPTION = 1 << 2
11206 } GdkInputCondition;
11212 GDK_ERROR_PARAM = -2,
11213 GDK_ERROR_FILE = -3,
11223 GDK_GRAB_SUCCESS = 0,
11224 GDK_GRAB_ALREADY_GRABBED = 1,
11225 GDK_GRAB_INVALID_TIME = 2,
11226 GDK_GRAB_NOT_VIEWABLE = 3,
11227 GDK_GRAB_FROZEN = 4
11230 typedef void (*GdkInputFunction) (gpointer data,
11232 GdkInputCondition condition);
11234 typedef void (*GdkDestroyNotify) (gpointer data);
11242 struct _GdkRectangle
11266 # 32 "../gdk/gdkcolor.h" 2
11269 # 42 "../gdk/gdkcolor.h"
11281 typedef struct _GdkColormapClass GdkColormapClass;
11282 # 64 "../gdk/gdkcolor.h"
11283 struct _GdkColormap
11286 GObject parent_instance;
11295 gpointer windowing_data;
11298 struct _GdkColormapClass
11300 GObjectClass parent_class;
11304 GType gdk_colormap_get_type (void) __attribute__((__const__));
11306 GdkColormap* gdk_colormap_new (GdkVisual *visual,
11307 gboolean allocate);
11315 GdkColormap* gdk_colormap_get_system (void);
11318 GdkScreen *gdk_colormap_get_screen (GdkColormap *cmap);
11319 # 111 "../gdk/gdkcolor.h"
11320 gint gdk_colormap_alloc_colors (GdkColormap *colormap,
11323 gboolean writeable,
11324 gboolean best_match,
11325 gboolean *success);
11326 gboolean gdk_colormap_alloc_color (GdkColormap *colormap,
11328 gboolean writeable,
11329 gboolean best_match);
11330 void gdk_colormap_free_colors (GdkColormap *colormap,
11333 void gdk_colormap_query_color (GdkColormap *colormap,
11337 GdkVisual *gdk_colormap_get_visual (GdkColormap *colormap);
11339 GdkColor *gdk_color_copy (const GdkColor *color);
11340 void gdk_color_free (GdkColor *color);
11341 gboolean gdk_color_parse (const gchar *spec,
11343 guint gdk_color_hash (const GdkColor *colora);
11344 gboolean gdk_color_equal (const GdkColor *colora,
11345 const GdkColor *colorb);
11346 gchar * gdk_color_to_string (const GdkColor *color);
11348 GType gdk_color_get_type (void) __attribute__((__const__));
11349 # 170 "../gdk/gdkcolor.h"
11351 # 24 "../gdk/gdkcairo.h" 2
11352 # 1 "../gdk/gdkpixbuf.h" 1
11353 # 32 "../gdk/gdkpixbuf.h"
11354 # 1 "../gdk/gdkrgb.h" 1
11355 # 32 "../gdk/gdkrgb.h"
11358 typedef struct _GdkRgbCmap GdkRgbCmap;
11360 struct _GdkRgbCmap {
11361 guint32 colors[256];
11367 # 55 "../gdk/gdkrgb.h"
11368 void gdk_rgb_find_color (GdkColormap *colormap,
11373 GDK_RGB_DITHER_NONE,
11374 GDK_RGB_DITHER_NORMAL,
11378 void gdk_draw_rgb_image (GdkDrawable *drawable,
11387 void gdk_draw_rgb_image_dithalign (GdkDrawable *drawable,
11398 void gdk_draw_rgb_32_image (GdkDrawable *drawable,
11407 void gdk_draw_rgb_32_image_dithalign (GdkDrawable *drawable,
11418 void gdk_draw_gray_image (GdkDrawable *drawable,
11427 void gdk_draw_indexed_image (GdkDrawable *drawable,
11437 GdkRgbCmap *gdk_rgb_cmap_new (guint32 *colors,
11439 void gdk_rgb_cmap_free (GdkRgbCmap *cmap);
11441 void gdk_rgb_set_verbose (gboolean verbose);
11444 void gdk_rgb_set_install (gboolean install);
11445 void gdk_rgb_set_min_colors (gint min_colors);
11448 GdkColormap *gdk_rgb_get_colormap (void);
11449 GdkVisual * gdk_rgb_get_visual (void);
11450 gboolean gdk_rgb_ditherable (void);
11451 gboolean gdk_rgb_colormap_ditherable (GdkColormap *cmap);
11455 # 33 "../gdk/gdkpixbuf.h" 2
11456 # 1 "../gdk-pixbuf/gdk-pixbuf.h" 1
11457 # 30 "../gdk-pixbuf/gdk-pixbuf.h"
11458 # 1 "../gdk-pixbuf/gdk-pixbuf-features.h" 1
11459 # 36 "../gdk-pixbuf/gdk-pixbuf-features.h"
11460 extern const guint gdk_pixbuf_major_version;
11461 extern const guint gdk_pixbuf_minor_version;
11462 extern const guint gdk_pixbuf_micro_version;
11463 extern const char *gdk_pixbuf_version;
11464 # 31 "../gdk-pixbuf/gdk-pixbuf.h" 2
11467 # 1 "../gdk-pixbuf/gdk-pixbuf-core.h" 1
11468 # 32 "../gdk-pixbuf/gdk-pixbuf-core.h"
11474 GDK_PIXBUF_ALPHA_BILEVEL,
11475 GDK_PIXBUF_ALPHA_FULL
11476 } GdkPixbufAlphaMode;
11487 typedef struct _GdkPixbuf GdkPixbuf;
11495 typedef void (* GdkPixbufDestroyNotify) (guchar *pixels, gpointer data);
11501 GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
11503 GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
11505 GDK_PIXBUF_ERROR_BAD_OPTION,
11507 GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
11509 GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION,
11510 GDK_PIXBUF_ERROR_FAILED
11513 GQuark gdk_pixbuf_error_quark (void);
11517 GType gdk_pixbuf_get_type (void) __attribute__((__const__));
11518 # 91 "../gdk-pixbuf/gdk-pixbuf-core.h"
11519 GdkColorspace gdk_pixbuf_get_colorspace (const GdkPixbuf *pixbuf);
11520 int gdk_pixbuf_get_n_channels (const GdkPixbuf *pixbuf);
11521 gboolean gdk_pixbuf_get_has_alpha (const GdkPixbuf *pixbuf);
11522 int gdk_pixbuf_get_bits_per_sample (const GdkPixbuf *pixbuf);
11523 guchar *gdk_pixbuf_get_pixels (const GdkPixbuf *pixbuf);
11524 int gdk_pixbuf_get_width (const GdkPixbuf *pixbuf);
11525 int gdk_pixbuf_get_height (const GdkPixbuf *pixbuf);
11526 int gdk_pixbuf_get_rowstride (const GdkPixbuf *pixbuf);
11531 GdkPixbuf *gdk_pixbuf_new (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample,
11532 int width, int height);
11536 GdkPixbuf *gdk_pixbuf_copy (const GdkPixbuf *pixbuf);
11539 GdkPixbuf *gdk_pixbuf_new_subpixbuf (GdkPixbuf *src_pixbuf,
11544 # 126 "../gdk-pixbuf/gdk-pixbuf-core.h"
11545 GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename,
11547 GdkPixbuf *gdk_pixbuf_new_from_file_at_size (const char *filename,
11551 GdkPixbuf *gdk_pixbuf_new_from_file_at_scale (const char *filename,
11554 gboolean preserve_aspect_ratio,
11557 GdkPixbuf *gdk_pixbuf_new_from_data (const guchar *data,
11558 GdkColorspace colorspace,
11559 gboolean has_alpha,
11560 int bits_per_sample,
11561 int width, int height,
11563 GdkPixbufDestroyNotify destroy_fn,
11564 gpointer destroy_fn_data);
11566 GdkPixbuf *gdk_pixbuf_new_from_xpm_data (const char **data);
11567 GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length,
11568 const guint8 *data,
11569 gboolean copy_pixels,
11573 void gdk_pixbuf_fill (GdkPixbuf *pixbuf,
11575 # 165 "../gdk-pixbuf/gdk-pixbuf-core.h"
11576 gboolean gdk_pixbuf_save (GdkPixbuf *pixbuf,
11577 const char *filename,
11580 ...) __attribute__((__sentinel__));
11582 gboolean gdk_pixbuf_savev (GdkPixbuf *pixbuf,
11583 const char *filename,
11585 char **option_keys,
11586 char **option_values,
11591 typedef gboolean (*GdkPixbufSaveFunc) (const gchar *buf,
11596 gboolean gdk_pixbuf_save_to_callback (GdkPixbuf *pixbuf,
11597 GdkPixbufSaveFunc save_func,
11598 gpointer user_data,
11601 ...) __attribute__((__sentinel__));
11603 gboolean gdk_pixbuf_save_to_callbackv (GdkPixbuf *pixbuf,
11604 GdkPixbufSaveFunc save_func,
11605 gpointer user_data,
11607 char **option_keys,
11608 char **option_values,
11613 gboolean gdk_pixbuf_save_to_buffer (GdkPixbuf *pixbuf,
11615 gsize *buffer_size,
11618 ...) __attribute__((__sentinel__));
11620 gboolean gdk_pixbuf_save_to_bufferv (GdkPixbuf *pixbuf,
11622 gsize *buffer_size,
11624 char **option_keys,
11625 char **option_values,
11629 GdkPixbuf *gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf, gboolean substitute_color,
11630 guchar r, guchar g, guchar b);
11633 void gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,
11634 int src_x, int src_y,
11635 int width, int height,
11636 GdkPixbuf *dest_pixbuf,
11637 int dest_x, int dest_y);
11640 void gdk_pixbuf_saturate_and_pixelate (const GdkPixbuf *src,
11643 gboolean pixelate);
11646 GdkPixbuf *gdk_pixbuf_apply_embedded_orientation (GdkPixbuf *src);
11648 const gchar * gdk_pixbuf_get_option (GdkPixbuf *pixbuf,
11653 # 34 "../gdk-pixbuf/gdk-pixbuf.h" 2
11654 # 1 "../gdk-pixbuf/gdk-pixbuf-transform.h" 1
11655 # 33 "../gdk-pixbuf/gdk-pixbuf-transform.h"
11662 GDK_INTERP_NEAREST,
11664 GDK_INTERP_BILINEAR,
11669 GDK_PIXBUF_ROTATE_NONE = 0,
11670 GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE = 90,
11671 GDK_PIXBUF_ROTATE_UPSIDEDOWN = 180,
11672 GDK_PIXBUF_ROTATE_CLOCKWISE = 270
11673 } GdkPixbufRotation;
11675 void gdk_pixbuf_scale (const GdkPixbuf *src,
11685 GdkInterpType interp_type);
11686 void gdk_pixbuf_composite (const GdkPixbuf *src,
11696 GdkInterpType interp_type,
11697 int overall_alpha);
11698 void gdk_pixbuf_composite_color (const GdkPixbuf *src,
11708 GdkInterpType interp_type,
11716 GdkPixbuf *gdk_pixbuf_scale_simple (const GdkPixbuf *src,
11719 GdkInterpType interp_type);
11721 GdkPixbuf *gdk_pixbuf_composite_color_simple (const GdkPixbuf *src,
11724 GdkInterpType interp_type,
11730 GdkPixbuf *gdk_pixbuf_rotate_simple (const GdkPixbuf *src,
11731 GdkPixbufRotation angle);
11732 GdkPixbuf *gdk_pixbuf_flip (const GdkPixbuf *src,
11733 gboolean horizontal);
11736 # 35 "../gdk-pixbuf/gdk-pixbuf.h" 2
11737 # 1 "../gdk-pixbuf/gdk-pixbuf-animation.h" 1
11738 # 34 "../gdk-pixbuf/gdk-pixbuf-animation.h"
11743 typedef struct _GdkPixbufAnimation GdkPixbufAnimation;
11744 typedef struct _GdkPixbufAnimationIter GdkPixbufAnimationIter;
11745 # 49 "../gdk-pixbuf/gdk-pixbuf-animation.h"
11746 GType gdk_pixbuf_animation_get_type (void) __attribute__((__const__));
11752 GdkPixbufAnimation *gdk_pixbuf_animation_new_from_file (const char *filename,
11760 int gdk_pixbuf_animation_get_width (GdkPixbufAnimation *animation);
11761 int gdk_pixbuf_animation_get_height (GdkPixbufAnimation *animation);
11762 gboolean gdk_pixbuf_animation_is_static_image (GdkPixbufAnimation *animation);
11763 GdkPixbuf *gdk_pixbuf_animation_get_static_image (GdkPixbufAnimation *animation);
11765 GdkPixbufAnimationIter *gdk_pixbuf_animation_get_iter (GdkPixbufAnimation *animation,
11766 const GTimeVal *start_time);
11767 GType gdk_pixbuf_animation_iter_get_type (void) __attribute__((__const__));
11768 int gdk_pixbuf_animation_iter_get_delay_time (GdkPixbufAnimationIter *iter);
11769 GdkPixbuf *gdk_pixbuf_animation_iter_get_pixbuf (GdkPixbufAnimationIter *iter);
11770 gboolean gdk_pixbuf_animation_iter_on_currently_loading_frame (GdkPixbufAnimationIter *iter);
11771 gboolean gdk_pixbuf_animation_iter_advance (GdkPixbufAnimationIter *iter,
11772 const GTimeVal *current_time);
11773 # 145 "../gdk-pixbuf/gdk-pixbuf-animation.h"
11775 # 36 "../gdk-pixbuf/gdk-pixbuf.h" 2
11776 # 1 "../gdk-pixbuf/gdk-pixbuf-simple-anim.h" 1
11777 # 29 "../gdk-pixbuf/gdk-pixbuf-simple-anim.h"
11780 typedef struct _GdkPixbufSimpleAnim GdkPixbufSimpleAnim;
11781 typedef struct _GdkPixbufSimpleAnimClass GdkPixbufSimpleAnimClass;
11782 # 42 "../gdk-pixbuf/gdk-pixbuf-simple-anim.h"
11783 GType gdk_pixbuf_simple_anim_get_type (void) __attribute__((__const__));
11784 GType gdk_pixbuf_simple_anim_iter_get_type (void) __attribute__((__const__));
11786 GdkPixbufSimpleAnim *gdk_pixbuf_simple_anim_new (gint width,
11789 void gdk_pixbuf_simple_anim_add_frame (GdkPixbufSimpleAnim *animation,
11790 GdkPixbuf *pixbuf);
11793 # 37 "../gdk-pixbuf/gdk-pixbuf.h" 2
11794 # 1 "../gdk-pixbuf/gdk-pixbuf-io.h" 1
11795 # 34 "../gdk-pixbuf/gdk-pixbuf-io.h"
11796 # 1 "/usr/include/glib-2.0/gmodule.h" 1
11797 # 32 "/usr/include/glib-2.0/gmodule.h"
11799 # 44 "/usr/include/glib-2.0/gmodule.h"
11802 G_MODULE_BIND_LAZY = 1 << 0,
11803 G_MODULE_BIND_LOCAL = 1 << 1,
11804 G_MODULE_BIND_MASK = 0x03
11807 typedef struct _GModule GModule;
11808 typedef const gchar* (*GModuleCheckInit) (GModule *module);
11809 typedef void (*GModuleUnload) (GModule *module);
11817 gboolean g_module_supported (void) __attribute__((__const__));
11820 GModule* g_module_open (const gchar *file_name,
11821 GModuleFlags flags);
11824 gboolean g_module_close (GModule *module);
11827 void g_module_make_resident (GModule *module);
11830 const gchar* g_module_error (void);
11833 gboolean g_module_symbol (GModule *module,
11834 const gchar *symbol_name,
11838 const gchar* g_module_name (GModule *module);
11839 # 95 "/usr/include/glib-2.0/gmodule.h"
11840 gchar* g_module_build_path (const gchar *directory,
11841 const gchar *module_name);
11845 # 35 "../gdk-pixbuf/gdk-pixbuf-io.h" 2
11851 typedef struct _GdkPixbufFormat GdkPixbufFormat;
11853 GSList *gdk_pixbuf_get_formats (void);
11854 gchar *gdk_pixbuf_format_get_name (GdkPixbufFormat *format);
11855 gchar *gdk_pixbuf_format_get_description (GdkPixbufFormat *format);
11856 gchar **gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format);
11857 gchar **gdk_pixbuf_format_get_extensions (GdkPixbufFormat *format);
11858 gboolean gdk_pixbuf_format_is_writable (GdkPixbufFormat *format);
11859 gboolean gdk_pixbuf_format_is_scalable (GdkPixbufFormat *format);
11860 gboolean gdk_pixbuf_format_is_disabled (GdkPixbufFormat *format);
11861 void gdk_pixbuf_format_set_disabled (GdkPixbufFormat *format,
11862 gboolean disabled);
11863 gchar *gdk_pixbuf_format_get_license (GdkPixbufFormat *format);
11865 GdkPixbufFormat *gdk_pixbuf_get_file_info (const gchar *filename,
11868 # 166 "../gdk-pixbuf/gdk-pixbuf-io.h"
11870 # 38 "../gdk-pixbuf/gdk-pixbuf.h" 2
11871 # 1 "../gdk-pixbuf/gdk-pixbuf-loader.h" 1
11872 # 35 "../gdk-pixbuf/gdk-pixbuf-loader.h"
11874 # 45 "../gdk-pixbuf/gdk-pixbuf-loader.h"
11875 typedef struct _GdkPixbufLoader GdkPixbufLoader;
11876 struct _GdkPixbufLoader
11878 GObject parent_instance;
11884 typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
11885 struct _GdkPixbufLoaderClass
11887 GObjectClass parent_class;
11889 void (*size_prepared) (GdkPixbufLoader *loader,
11893 void (*area_prepared) (GdkPixbufLoader *loader);
11896 void (*area_updated) (GdkPixbufLoader *loader,
11902 void (*closed) (GdkPixbufLoader *loader);
11905 GType gdk_pixbuf_loader_get_type (void) __attribute__((__const__));
11906 GdkPixbufLoader * gdk_pixbuf_loader_new (void);
11907 GdkPixbufLoader * gdk_pixbuf_loader_new_with_type (const char *image_type,
11909 GdkPixbufLoader * gdk_pixbuf_loader_new_with_mime_type (const char *mime_type,
11911 void gdk_pixbuf_loader_set_size (GdkPixbufLoader *loader,
11914 gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
11918 GdkPixbuf * gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader);
11919 GdkPixbufAnimation * gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader);
11920 gboolean gdk_pixbuf_loader_close (GdkPixbufLoader *loader,
11922 GdkPixbufFormat *gdk_pixbuf_loader_get_format (GdkPixbufLoader *loader);
11925 # 39 "../gdk-pixbuf/gdk-pixbuf.h" 2
11926 # 1 "../gdk-pixbuf/gdk-pixbuf-enum-types.h" 1
11927 # 9 "../gdk-pixbuf/gdk-pixbuf-enum-types.h"
11930 GType gdk_pixbuf_alpha_mode_get_type (void) __attribute__((__const__));
11932 GType gdk_colorspace_get_type (void) __attribute__((__const__));
11934 GType gdk_pixbuf_error_get_type (void) __attribute__((__const__));
11937 GType gdk_interp_type_get_type (void) __attribute__((__const__));
11939 GType gdk_pixbuf_rotation_get_type (void) __attribute__((__const__));
11942 # 40 "../gdk-pixbuf/gdk-pixbuf.h" 2
11943 # 34 "../gdk/gdkpixbuf.h" 2
11949 void gdk_pixbuf_render_threshold_alpha (GdkPixbuf *pixbuf,
11957 int alpha_threshold);
11958 # 75 "../gdk/gdkpixbuf.h"
11959 void gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf *pixbuf,
11960 GdkColormap *colormap,
11961 GdkPixmap **pixmap_return,
11962 GdkBitmap **mask_return,
11963 int alpha_threshold);
11965 void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf,
11966 GdkPixmap **pixmap_return,
11967 GdkBitmap **mask_return,
11968 int alpha_threshold);
11973 GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest,
11983 GdkPixbuf *gdk_pixbuf_get_from_image (GdkPixbuf *dest,
11994 # 25 "../gdk/gdkcairo.h" 2
11995 # 1 "/usr/include/pango-1.0/pango/pangocairo.h" 1
11996 # 30 "/usr/include/pango-1.0/pango/pangocairo.h"
11998 # 41 "/usr/include/pango-1.0/pango/pangocairo.h"
11999 typedef struct _PangoCairoFont PangoCairoFont;
12000 # 55 "/usr/include/pango-1.0/pango/pangocairo.h"
12001 typedef struct _PangoCairoFontMap PangoCairoFontMap;
12006 typedef void (* PangoCairoShapeRendererFunc) (cairo_t *cr,
12007 PangoAttrShape *attr,
12014 GType pango_cairo_font_map_get_type (void) __attribute__((__const__));
12016 PangoFontMap *pango_cairo_font_map_new (void);
12017 PangoFontMap *pango_cairo_font_map_new_for_font_type (cairo_font_type_t fonttype);
12018 PangoFontMap *pango_cairo_font_map_get_default (void);
12019 cairo_font_type_t pango_cairo_font_map_get_font_type (PangoCairoFontMap *fontmap);
12021 void pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap,
12023 double pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap);
12024 PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap);
12029 GType pango_cairo_font_get_type (void) __attribute__((__const__));
12031 cairo_scaled_font_t *pango_cairo_font_get_scaled_font (PangoCairoFont *font);
12035 void pango_cairo_update_context (cairo_t *cr,
12036 PangoContext *context);
12038 void pango_cairo_context_set_font_options (PangoContext *context,
12039 const cairo_font_options_t *options);
12040 const cairo_font_options_t *pango_cairo_context_get_font_options (PangoContext *context);
12042 void pango_cairo_context_set_resolution (PangoContext *context,
12044 double pango_cairo_context_get_resolution (PangoContext *context);
12046 void pango_cairo_context_set_shape_renderer (PangoContext *context,
12047 PangoCairoShapeRendererFunc func,
12049 GDestroyNotify dnotify);
12050 PangoCairoShapeRendererFunc pango_cairo_context_get_shape_renderer (PangoContext *context,
12055 PangoLayout *pango_cairo_create_layout (cairo_t *cr);
12056 void pango_cairo_update_layout (cairo_t *cr,
12057 PangoLayout *layout);
12062 void pango_cairo_show_glyph_string (cairo_t *cr,
12064 PangoGlyphString *glyphs);
12065 void pango_cairo_show_layout_line (cairo_t *cr,
12066 PangoLayoutLine *line);
12067 void pango_cairo_show_layout (cairo_t *cr,
12068 PangoLayout *layout);
12070 void pango_cairo_show_error_underline (cairo_t *cr,
12079 void pango_cairo_glyph_string_path (cairo_t *cr,
12081 PangoGlyphString *glyphs);
12082 void pango_cairo_layout_line_path (cairo_t *cr,
12083 PangoLayoutLine *line);
12084 void pango_cairo_layout_path (cairo_t *cr,
12085 PangoLayout *layout);
12087 void pango_cairo_error_underline_path (cairo_t *cr,
12094 # 26 "../gdk/gdkcairo.h" 2
12098 cairo_t *gdk_cairo_create (GdkDrawable *drawable);
12100 void gdk_cairo_set_source_color (cairo_t *cr,
12102 void gdk_cairo_set_source_pixbuf (cairo_t *cr,
12106 void gdk_cairo_set_source_pixmap (cairo_t *cr,
12111 void gdk_cairo_rectangle (cairo_t *cr,
12112 GdkRectangle *rectangle);
12113 void gdk_cairo_region (cairo_t *cr,
12114 GdkRegion *region);
12117 # 31 "../gdk/gdk.h" 2
12119 # 1 "../gdk/gdkcursor.h" 1
12120 # 33 "../gdk/gdkcursor.h"
12131 GDK_BASED_ARROW_DOWN = 4,
12132 GDK_BASED_ARROW_UP = 6,
12135 GDK_BOTTOM_LEFT_CORNER = 12,
12136 GDK_BOTTOM_RIGHT_CORNER = 14,
12137 GDK_BOTTOM_SIDE = 16,
12138 GDK_BOTTOM_TEE = 18,
12139 GDK_BOX_SPIRAL = 20,
12140 GDK_CENTER_PTR = 22,
12143 GDK_COFFEE_MUG = 28,
12145 GDK_CROSS_REVERSE = 32,
12146 GDK_CROSSHAIR = 34,
12147 GDK_DIAMOND_CROSS = 36,
12150 GDK_DOUBLE_ARROW = 42,
12151 GDK_DRAFT_LARGE = 44,
12152 GDK_DRAFT_SMALL = 46,
12153 GDK_DRAPED_BOX = 48,
12162 GDK_IRON_CROSS = 66,
12164 GDK_LEFT_SIDE = 70,
12166 GDK_LEFTBUTTON = 74,
12170 GDK_MIDDLEBUTTON = 82,
12175 GDK_QUESTION_ARROW = 92,
12176 GDK_RIGHT_PTR = 94,
12177 GDK_RIGHT_SIDE = 96,
12178 GDK_RIGHT_TEE = 98,
12179 GDK_RIGHTBUTTON = 100,
12180 GDK_RTL_LOGO = 102,
12181 GDK_SAILBOAT = 104,
12182 GDK_SB_DOWN_ARROW = 106,
12183 GDK_SB_H_DOUBLE_ARROW = 108,
12184 GDK_SB_LEFT_ARROW = 110,
12185 GDK_SB_RIGHT_ARROW = 112,
12186 GDK_SB_UP_ARROW = 114,
12187 GDK_SB_V_DOUBLE_ARROW = 116,
12191 GDK_SPRAYCAN = 124,
12195 GDK_TOP_LEFT_ARROW = 132,
12196 GDK_TOP_LEFT_CORNER = 134,
12197 GDK_TOP_RIGHT_CORNER = 136,
12198 GDK_TOP_SIDE = 138,
12201 GDK_UL_ANGLE = 144,
12202 GDK_UMBRELLA = 146,
12203 GDK_UR_ANGLE = 148,
12207 GDK_CURSOR_IS_PIXMAP = -1
12212 GdkCursorType type;
12220 GType gdk_cursor_get_type (void) __attribute__((__const__));
12222 GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display,
12223 GdkCursorType cursor_type);
12225 GdkCursor* gdk_cursor_new (GdkCursorType cursor_type);
12227 GdkCursor* gdk_cursor_new_from_pixmap (GdkPixmap *source,
12229 const GdkColor *fg,
12230 const GdkColor *bg,
12233 GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display,
12237 GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor);
12238 GdkCursor* gdk_cursor_ref (GdkCursor *cursor);
12239 void gdk_cursor_unref (GdkCursor *cursor);
12240 GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
12241 const gchar *name);
12242 GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor);
12249 # 33 "../gdk/gdk.h" 2
12250 # 1 "../gdk/gdkdisplay.h" 1
12251 # 28 "../gdk/gdkdisplay.h"
12252 # 1 "../gdk/gdkevents.h" 1
12253 # 32 "../gdk/gdkevents.h"
12254 # 1 "../gdk/gdkdnd.h" 1
12255 # 31 "../gdk/gdkdnd.h"
12258 typedef struct _GdkDragContext GdkDragContext;
12262 GDK_ACTION_DEFAULT = 1 << 0,
12263 GDK_ACTION_COPY = 1 << 1,
12264 GDK_ACTION_MOVE = 1 << 2,
12265 GDK_ACTION_LINK = 1 << 3,
12266 GDK_ACTION_PRIVATE = 1 << 4,
12267 GDK_ACTION_ASK = 1 << 5
12272 GDK_DRAG_PROTO_MOTIF,
12273 GDK_DRAG_PROTO_XDND,
12274 GDK_DRAG_PROTO_ROOTWIN,
12276 GDK_DRAG_PROTO_NONE,
12277 GDK_DRAG_PROTO_WIN32_DROPFILES,
12278 GDK_DRAG_PROTO_OLE2,
12279 GDK_DRAG_PROTO_LOCAL
12286 typedef struct _GdkDragContextClass GdkDragContextClass;
12287 # 70 "../gdk/gdkdnd.h"
12288 struct _GdkDragContext {
12289 GObject parent_instance;
12293 GdkDragProtocol protocol;
12295 gboolean is_source;
12297 GdkWindow *source_window;
12298 GdkWindow *dest_window;
12301 GdkDragAction actions;
12302 GdkDragAction suggested_action;
12303 GdkDragAction action;
12305 guint32 start_time;
12309 gpointer windowing_data;
12312 struct _GdkDragContextClass {
12313 GObjectClass parent_class;
12320 GType gdk_drag_context_get_type (void) __attribute__((__const__));
12321 GdkDragContext * gdk_drag_context_new (void);
12322 # 112 "../gdk/gdkdnd.h"
12323 void gdk_drag_status (GdkDragContext *context,
12324 GdkDragAction action,
12326 void gdk_drop_reply (GdkDragContext *context,
12329 void gdk_drop_finish (GdkDragContext *context,
12332 GdkAtom gdk_drag_get_selection (GdkDragContext *context);
12336 GdkDragContext * gdk_drag_begin (GdkWindow *window,
12339 guint32 gdk_drag_get_protocol_for_display (GdkDisplay *display,
12341 GdkDragProtocol *protocol);
12342 void gdk_drag_find_window_for_screen (GdkDragContext *context,
12343 GdkWindow *drag_window,
12347 GdkWindow **dest_window,
12348 GdkDragProtocol *protocol);
12351 guint32 gdk_drag_get_protocol (guint32 xid,
12352 GdkDragProtocol *protocol);
12353 void gdk_drag_find_window (GdkDragContext *context,
12354 GdkWindow *drag_window,
12357 GdkWindow **dest_window,
12358 GdkDragProtocol *protocol);
12361 gboolean gdk_drag_motion (GdkDragContext *context,
12362 GdkWindow *dest_window,
12363 GdkDragProtocol protocol,
12366 GdkDragAction suggested_action,
12367 GdkDragAction possible_actions,
12369 void gdk_drag_drop (GdkDragContext *context,
12371 void gdk_drag_abort (GdkDragContext *context,
12373 gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
12376 # 33 "../gdk/gdkevents.h" 2
12377 # 1 "../gdk/gdkinput.h" 1
12378 # 32 "../gdk/gdkinput.h"
12380 # 41 "../gdk/gdkinput.h"
12381 typedef struct _GdkDeviceKey GdkDeviceKey;
12382 typedef struct _GdkDeviceAxis GdkDeviceAxis;
12383 typedef struct _GdkDevice GdkDevice;
12384 typedef struct _GdkDeviceClass GdkDeviceClass;
12385 typedef struct _GdkTimeCoord GdkTimeCoord;
12389 GDK_EXTENSION_EVENTS_NONE,
12390 GDK_EXTENSION_EVENTS_ALL,
12391 GDK_EXTENSION_EVENTS_CURSOR
12392 } GdkExtensionMode;
12421 struct _GdkDeviceKey
12424 GdkModifierType modifiers;
12427 struct _GdkDeviceAxis
12436 GObject parent_instance;
12440 GdkInputSource source;
12442 gboolean has_cursor;
12445 GdkDeviceAxis *axes;
12448 GdkDeviceKey *keys;
12456 struct _GdkTimeCoord
12462 GType gdk_device_get_type (void) __attribute__((__const__));
12466 GList * gdk_devices_list (void);
12470 void gdk_device_set_source (GdkDevice *device,
12471 GdkInputSource source);
12473 gboolean gdk_device_set_mode (GdkDevice *device,
12474 GdkInputMode mode);
12476 void gdk_device_set_key (GdkDevice *device,
12479 GdkModifierType modifiers);
12481 void gdk_device_set_axis_use (GdkDevice *device,
12484 void gdk_device_get_state (GdkDevice *device,
12487 GdkModifierType *mask);
12488 gboolean gdk_device_get_history (GdkDevice *device,
12492 GdkTimeCoord ***events,
12494 void gdk_device_free_history (GdkTimeCoord **events,
12496 gboolean gdk_device_get_axis (GdkDevice *device,
12501 void gdk_input_set_extension_events (GdkWindow *window,
12503 GdkExtensionMode mode);
12506 GdkDevice *gdk_device_get_core_pointer (void);
12510 # 34 "../gdk/gdkevents.h" 2
12520 typedef struct _GdkEventAny GdkEventAny;
12521 typedef struct _GdkEventExpose GdkEventExpose;
12522 typedef struct _GdkEventNoExpose GdkEventNoExpose;
12523 typedef struct _GdkEventVisibility GdkEventVisibility;
12524 typedef struct _GdkEventMotion GdkEventMotion;
12525 typedef struct _GdkEventButton GdkEventButton;
12526 typedef struct _GdkEventScroll GdkEventScroll;
12527 typedef struct _GdkEventKey GdkEventKey;
12528 typedef struct _GdkEventFocus GdkEventFocus;
12529 typedef struct _GdkEventCrossing GdkEventCrossing;
12530 typedef struct _GdkEventConfigure GdkEventConfigure;
12531 typedef struct _GdkEventProperty GdkEventProperty;
12532 typedef struct _GdkEventSelection GdkEventSelection;
12533 typedef struct _GdkEventOwnerChange GdkEventOwnerChange;
12534 typedef struct _GdkEventProximity GdkEventProximity;
12535 typedef struct _GdkEventClient GdkEventClient;
12536 typedef struct _GdkEventDND GdkEventDND;
12537 typedef struct _GdkEventWindowState GdkEventWindowState;
12538 typedef struct _GdkEventSetting GdkEventSetting;
12539 typedef struct _GdkEventGrabBroken GdkEventGrabBroken;
12541 typedef union _GdkEvent GdkEvent;
12543 typedef void (*GdkEventFunc) (GdkEvent *event,
12548 typedef void GdkXEvent;
12553 GDK_FILTER_CONTINUE,
12554 GDK_FILTER_TRANSLATE,
12560 typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent,
12563 # 111 "../gdk/gdkevents.h"
12570 GDK_MOTION_NOTIFY = 3,
12571 GDK_BUTTON_PRESS = 4,
12572 GDK_2BUTTON_PRESS = 5,
12573 GDK_3BUTTON_PRESS = 6,
12574 GDK_BUTTON_RELEASE = 7,
12576 GDK_KEY_RELEASE = 9,
12577 GDK_ENTER_NOTIFY = 10,
12578 GDK_LEAVE_NOTIFY = 11,
12579 GDK_FOCUS_CHANGE = 12,
12580 GDK_CONFIGURE = 13,
12583 GDK_PROPERTY_NOTIFY = 16,
12584 GDK_SELECTION_CLEAR = 17,
12585 GDK_SELECTION_REQUEST = 18,
12586 GDK_SELECTION_NOTIFY = 19,
12587 GDK_PROXIMITY_IN = 20,
12588 GDK_PROXIMITY_OUT = 21,
12589 GDK_DRAG_ENTER = 22,
12590 GDK_DRAG_LEAVE = 23,
12591 GDK_DRAG_MOTION = 24,
12592 GDK_DRAG_STATUS = 25,
12593 GDK_DROP_START = 26,
12594 GDK_DROP_FINISHED = 27,
12595 GDK_CLIENT_EVENT = 28,
12596 GDK_VISIBILITY_NOTIFY = 29,
12597 GDK_NO_EXPOSE = 30,
12599 GDK_WINDOW_STATE = 32,
12601 GDK_OWNER_CHANGE = 34,
12602 GDK_GRAB_BROKEN = 35
12610 GDK_EXPOSURE_MASK = 1 << 1,
12611 GDK_POINTER_MOTION_MASK = 1 << 2,
12612 GDK_POINTER_MOTION_HINT_MASK = 1 << 3,
12613 GDK_BUTTON_MOTION_MASK = 1 << 4,
12614 GDK_BUTTON1_MOTION_MASK = 1 << 5,
12615 GDK_BUTTON2_MOTION_MASK = 1 << 6,
12616 GDK_BUTTON3_MOTION_MASK = 1 << 7,
12617 GDK_BUTTON_PRESS_MASK = 1 << 8,
12618 GDK_BUTTON_RELEASE_MASK = 1 << 9,
12619 GDK_KEY_PRESS_MASK = 1 << 10,
12620 GDK_KEY_RELEASE_MASK = 1 << 11,
12621 GDK_ENTER_NOTIFY_MASK = 1 << 12,
12622 GDK_LEAVE_NOTIFY_MASK = 1 << 13,
12623 GDK_FOCUS_CHANGE_MASK = 1 << 14,
12624 GDK_STRUCTURE_MASK = 1 << 15,
12625 GDK_PROPERTY_CHANGE_MASK = 1 << 16,
12626 GDK_VISIBILITY_NOTIFY_MASK = 1 << 17,
12627 GDK_PROXIMITY_IN_MASK = 1 << 18,
12628 GDK_PROXIMITY_OUT_MASK = 1 << 19,
12629 GDK_SUBSTRUCTURE_MASK = 1 << 20,
12630 GDK_SCROLL_MASK = 1 << 21,
12631 GDK_ALL_EVENTS_MASK = 0x3FFFFE
12636 GDK_VISIBILITY_UNOBSCURED,
12637 GDK_VISIBILITY_PARTIAL,
12638 GDK_VISIBILITY_FULLY_OBSCURED
12639 } GdkVisibilityState;
12647 } GdkScrollDirection;
12648 # 204 "../gdk/gdkevents.h"
12651 GDK_NOTIFY_ANCESTOR = 0,
12652 GDK_NOTIFY_VIRTUAL = 1,
12653 GDK_NOTIFY_INFERIOR = 2,
12654 GDK_NOTIFY_NONLINEAR = 3,
12655 GDK_NOTIFY_NONLINEAR_VIRTUAL = 4,
12656 GDK_NOTIFY_UNKNOWN = 5
12666 GDK_CROSSING_NORMAL,
12668 GDK_CROSSING_UNGRAB
12673 GDK_PROPERTY_NEW_VALUE,
12674 GDK_PROPERTY_DELETE
12675 } GdkPropertyState;
12679 GDK_WINDOW_STATE_WITHDRAWN = 1 << 0,
12680 GDK_WINDOW_STATE_ICONIFIED = 1 << 1,
12681 GDK_WINDOW_STATE_MAXIMIZED = 1 << 2,
12682 GDK_WINDOW_STATE_STICKY = 1 << 3,
12683 GDK_WINDOW_STATE_FULLSCREEN = 1 << 4,
12684 GDK_WINDOW_STATE_ABOVE = 1 << 5,
12685 GDK_WINDOW_STATE_BELOW = 1 << 6
12690 GDK_SETTING_ACTION_NEW,
12691 GDK_SETTING_ACTION_CHANGED,
12692 GDK_SETTING_ACTION_DELETED
12693 } GdkSettingAction;
12697 GDK_OWNER_CHANGE_NEW_OWNER,
12698 GDK_OWNER_CHANGE_DESTROY,
12699 GDK_OWNER_CHANGE_CLOSE
12702 struct _GdkEventAny
12709 struct _GdkEventExpose
12719 struct _GdkEventNoExpose
12726 struct _GdkEventVisibility
12731 GdkVisibilityState state;
12734 struct _GdkEventMotion
12746 gdouble x_root, y_root;
12749 struct _GdkEventButton
12761 gdouble x_root, y_root;
12764 struct _GdkEventScroll
12773 GdkScrollDirection direction;
12775 gdouble x_root, y_root;
12778 struct _GdkEventKey
12788 guint16 hardware_keycode;
12790 guint is_modifier : 1;
12793 struct _GdkEventCrossing
12798 GdkWindow *subwindow;
12804 GdkCrossingMode mode;
12805 GdkNotifyType detail;
12810 struct _GdkEventFocus
12818 struct _GdkEventConfigure
12828 struct _GdkEventProperty
12838 struct _GdkEventSelection
12847 GdkNativeWindow requestor;
12850 struct _GdkEventOwnerChange
12855 GdkNativeWindow owner;
12856 GdkOwnerChange reason;
12859 guint32 selection_time;
12865 struct _GdkEventProximity
12874 struct _GdkEventClient
12879 GdkAtom message_type;
12880 gushort data_format;
12888 struct _GdkEventSetting
12893 GdkSettingAction action;
12897 struct _GdkEventWindowState
12902 GdkWindowState changed_mask;
12903 GdkWindowState new_window_state;
12906 struct _GdkEventGrabBroken {
12912 GdkWindow *grab_window;
12917 struct _GdkEventDND {
12921 GdkDragContext *context;
12924 gshort x_root, y_root;
12931 GdkEventExpose expose;
12932 GdkEventNoExpose no_expose;
12933 GdkEventVisibility visibility;
12934 GdkEventMotion motion;
12935 GdkEventButton button;
12936 GdkEventScroll scroll;
12938 GdkEventCrossing crossing;
12939 GdkEventFocus focus_change;
12940 GdkEventConfigure configure;
12941 GdkEventProperty property;
12942 GdkEventSelection selection;
12943 GdkEventOwnerChange owner_change;
12944 GdkEventProximity proximity;
12945 GdkEventClient client;
12947 GdkEventWindowState window_state;
12948 GdkEventSetting setting;
12949 GdkEventGrabBroken grab_broken;
12952 GType gdk_event_get_type (void) __attribute__((__const__));
12954 gboolean gdk_events_pending (void);
12955 GdkEvent* gdk_event_get (void);
12957 GdkEvent* gdk_event_peek (void);
12958 GdkEvent* gdk_event_get_graphics_expose (GdkWindow *window);
12959 void gdk_event_put (GdkEvent *event);
12961 GdkEvent* gdk_event_new (GdkEventType type);
12962 GdkEvent* gdk_event_copy (GdkEvent *event);
12963 void gdk_event_free (GdkEvent *event);
12965 guint32 gdk_event_get_time (GdkEvent *event);
12966 gboolean gdk_event_get_state (GdkEvent *event,
12967 GdkModifierType *state);
12968 gboolean gdk_event_get_coords (GdkEvent *event,
12971 gboolean gdk_event_get_root_coords (GdkEvent *event,
12974 gboolean gdk_event_get_axis (GdkEvent *event,
12975 GdkAxisUse axis_use,
12977 void gdk_event_request_motions (GdkEventMotion *event);
12978 void gdk_event_handler_set (GdkEventFunc func,
12980 GDestroyNotify notify);
12982 void gdk_event_set_screen (GdkEvent *event,
12983 GdkScreen *screen);
12984 GdkScreen *gdk_event_get_screen (GdkEvent *event);
12986 void gdk_set_show_events (gboolean show_events);
12987 gboolean gdk_get_show_events (void);
12990 void gdk_add_client_message_filter (GdkAtom message_type,
12991 GdkFilterFunc func,
12994 gboolean gdk_setting_get (const gchar *name,
12999 # 29 "../gdk/gdkdisplay.h" 2
13004 typedef struct _GdkDisplayClass GdkDisplayClass;
13005 typedef struct _GdkDisplayPointerHooks GdkDisplayPointerHooks;
13006 # 43 "../gdk/gdkdisplay.h"
13009 GObject parent_instance;
13012 GList *queued_events;
13013 GList *queued_tail;
13018 guint32 button_click_time[2];
13019 GdkWindow *button_window[2];
13020 gint button_number[2];
13022 guint double_click_time;
13023 GdkDevice *core_pointer;
13025 const GdkDisplayPointerHooks *pointer_hooks;
13029 guint double_click_distance;
13034 struct _GdkDisplayClass
13036 GObjectClass parent_class;
13038 const gchar * (*get_display_name) (GdkDisplay *display);
13039 gint (*get_n_screens) (GdkDisplay *display);
13040 GdkScreen * (*get_screen) (GdkDisplay *display,
13042 GdkScreen * (*get_default_screen) (GdkDisplay *display);
13046 void (*closed) (GdkDisplay *display,
13047 gboolean is_error);
13050 struct _GdkDisplayPointerHooks
13052 void (*get_pointer) (GdkDisplay *display,
13053 GdkScreen **screen,
13056 GdkModifierType *mask);
13057 GdkWindow* (*window_get_pointer) (GdkDisplay *display,
13061 GdkModifierType *mask);
13062 GdkWindow* (*window_at_pointer) (GdkDisplay *display,
13067 GType gdk_display_get_type (void) __attribute__((__const__));
13068 GdkDisplay *gdk_display_open (const gchar *display_name);
13070 const gchar * gdk_display_get_name (GdkDisplay *display);
13072 gint gdk_display_get_n_screens (GdkDisplay *display);
13073 GdkScreen * gdk_display_get_screen (GdkDisplay *display,
13075 GdkScreen * gdk_display_get_default_screen (GdkDisplay *display);
13076 void gdk_display_pointer_ungrab (GdkDisplay *display,
13078 void gdk_display_keyboard_ungrab (GdkDisplay *display,
13080 gboolean gdk_display_pointer_is_grabbed (GdkDisplay *display);
13081 void gdk_display_beep (GdkDisplay *display);
13082 void gdk_display_sync (GdkDisplay *display);
13083 void gdk_display_flush (GdkDisplay *display);
13085 void gdk_display_close (GdkDisplay *display);
13087 GList * gdk_display_list_devices (GdkDisplay *display);
13089 GdkEvent* gdk_display_get_event (GdkDisplay *display);
13090 GdkEvent* gdk_display_peek_event (GdkDisplay *display);
13091 void gdk_display_put_event (GdkDisplay *display,
13094 void gdk_display_add_client_message_filter (GdkDisplay *display,
13095 GdkAtom message_type,
13096 GdkFilterFunc func,
13099 void gdk_display_set_double_click_time (GdkDisplay *display,
13101 void gdk_display_set_double_click_distance (GdkDisplay *display,
13104 GdkDisplay *gdk_display_get_default (void);
13106 GdkDevice *gdk_display_get_core_pointer (GdkDisplay *display);
13108 void gdk_display_get_pointer (GdkDisplay *display,
13109 GdkScreen **screen,
13112 GdkModifierType *mask);
13113 GdkWindow * gdk_display_get_window_at_pointer (GdkDisplay *display,
13116 void gdk_display_warp_pointer (GdkDisplay *display,
13121 GdkDisplayPointerHooks *gdk_display_set_pointer_hooks (GdkDisplay *display,
13122 const GdkDisplayPointerHooks *new_hooks);
13124 GdkDisplay *gdk_display_open_default_libgtk_only (void);
13126 gboolean gdk_display_supports_cursor_alpha (GdkDisplay *display);
13127 gboolean gdk_display_supports_cursor_color (GdkDisplay *display);
13128 guint gdk_display_get_default_cursor_size (GdkDisplay *display);
13129 void gdk_display_get_maximal_cursor_size (GdkDisplay *display,
13133 GdkWindow *gdk_display_get_default_group (GdkDisplay *display);
13135 gboolean gdk_display_supports_selection_notification (GdkDisplay *display);
13136 gboolean gdk_display_request_selection_notification (GdkDisplay *display,
13137 GdkAtom selection);
13139 gboolean gdk_display_supports_clipboard_persistence (GdkDisplay *display);
13140 void gdk_display_store_clipboard (GdkDisplay *display,
13141 GdkWindow *clipboard_window,
13146 gboolean gdk_display_supports_shapes (GdkDisplay *display);
13147 gboolean gdk_display_supports_input_shapes (GdkDisplay *display);
13148 gboolean gdk_display_supports_composite (GdkDisplay *display);
13151 # 34 "../gdk/gdk.h" 2
13153 # 1 "../gdk/gdkdrawable.h" 1
13154 # 30 "../gdk/gdkdrawable.h"
13155 # 1 "../gdk/gdkgc.h" 1
13156 # 33 "../gdk/gdkgc.h"
13159 typedef struct _GdkGCValues GdkGCValues;
13160 typedef struct _GdkGCClass GdkGCClass;
13187 GDK_OPAQUE_STIPPLED
13189 # 84 "../gdk/gdkgc.h"
13230 GDK_LINE_ON_OFF_DASH,
13231 GDK_LINE_DOUBLE_DASH
13236 GDK_CLIP_BY_CHILDREN = 0,
13237 GDK_INCLUDE_INFERIORS = 1
13238 } GdkSubwindowMode;
13242 GDK_GC_FOREGROUND = 1 << 0,
13243 GDK_GC_BACKGROUND = 1 << 1,
13244 GDK_GC_FONT = 1 << 2,
13245 GDK_GC_FUNCTION = 1 << 3,
13246 GDK_GC_FILL = 1 << 4,
13247 GDK_GC_TILE = 1 << 5,
13248 GDK_GC_STIPPLE = 1 << 6,
13249 GDK_GC_CLIP_MASK = 1 << 7,
13250 GDK_GC_SUBWINDOW = 1 << 8,
13251 GDK_GC_TS_X_ORIGIN = 1 << 9,
13252 GDK_GC_TS_Y_ORIGIN = 1 << 10,
13253 GDK_GC_CLIP_X_ORIGIN = 1 << 11,
13254 GDK_GC_CLIP_Y_ORIGIN = 1 << 12,
13255 GDK_GC_EXPOSURES = 1 << 13,
13256 GDK_GC_LINE_WIDTH = 1 << 14,
13257 GDK_GC_LINE_STYLE = 1 << 15,
13258 GDK_GC_CAP_STYLE = 1 << 16,
13259 GDK_GC_JOIN_STYLE = 1 << 17
13262 struct _GdkGCValues
13264 GdkColor foreground;
13265 GdkColor background;
13267 GdkFunction function;
13270 GdkPixmap *stipple;
13271 GdkPixmap *clip_mask;
13272 GdkSubwindowMode subwindow_mode;
13275 gint clip_x_origin;
13276 gint clip_y_origin;
13277 gint graphics_exposures;
13279 GdkLineStyle line_style;
13280 GdkCapStyle cap_style;
13281 GdkJoinStyle join_style;
13283 # 185 "../gdk/gdkgc.h"
13286 GObject parent_instance;
13288 gint clip_x_origin;
13289 gint clip_y_origin;
13293 GdkColormap *colormap;
13298 GObjectClass parent_class;
13300 void (*get_values) (GdkGC *gc,
13301 GdkGCValues *values);
13302 void (*set_values) (GdkGC *gc,
13303 GdkGCValues *values,
13304 GdkGCValuesMask mask);
13305 void (*set_dashes) (GdkGC *gc,
13311 void (*_gdk_reserved1) (void);
13312 void (*_gdk_reserved2) (void);
13313 void (*_gdk_reserved3) (void);
13314 void (*_gdk_reserved4) (void);
13318 GType gdk_gc_get_type (void) __attribute__((__const__));
13319 GdkGC *gdk_gc_new (GdkDrawable *drawable);
13320 GdkGC *gdk_gc_new_with_values (GdkDrawable *drawable,
13321 GdkGCValues *values,
13322 GdkGCValuesMask values_mask);
13329 void gdk_gc_get_values (GdkGC *gc,
13330 GdkGCValues *values);
13331 void gdk_gc_set_values (GdkGC *gc,
13332 GdkGCValues *values,
13333 GdkGCValuesMask values_mask);
13334 void gdk_gc_set_foreground (GdkGC *gc,
13335 const GdkColor *color);
13336 void gdk_gc_set_background (GdkGC *gc,
13337 const GdkColor *color);
13342 void gdk_gc_set_function (GdkGC *gc,
13343 GdkFunction function);
13344 void gdk_gc_set_fill (GdkGC *gc,
13346 void gdk_gc_set_tile (GdkGC *gc,
13348 void gdk_gc_set_stipple (GdkGC *gc,
13349 GdkPixmap *stipple);
13350 void gdk_gc_set_ts_origin (GdkGC *gc,
13353 void gdk_gc_set_clip_origin (GdkGC *gc,
13356 void gdk_gc_set_clip_mask (GdkGC *gc,
13358 void gdk_gc_set_clip_rectangle (GdkGC *gc,
13359 GdkRectangle *rectangle);
13360 void gdk_gc_set_clip_region (GdkGC *gc,
13361 GdkRegion *region);
13362 void gdk_gc_set_subwindow (GdkGC *gc,
13363 GdkSubwindowMode mode);
13364 void gdk_gc_set_exposures (GdkGC *gc,
13365 gboolean exposures);
13366 void gdk_gc_set_line_attributes (GdkGC *gc,
13368 GdkLineStyle line_style,
13369 GdkCapStyle cap_style,
13370 GdkJoinStyle join_style);
13371 void gdk_gc_set_dashes (GdkGC *gc,
13375 void gdk_gc_offset (GdkGC *gc,
13378 void gdk_gc_copy (GdkGC *dst_gc,
13382 void gdk_gc_set_colormap (GdkGC *gc,
13383 GdkColormap *colormap);
13384 GdkColormap *gdk_gc_get_colormap (GdkGC *gc);
13385 void gdk_gc_set_rgb_fg_color (GdkGC *gc,
13386 const GdkColor *color);
13387 void gdk_gc_set_rgb_bg_color (GdkGC *gc,
13388 const GdkColor *color);
13389 GdkScreen * gdk_gc_get_screen (GdkGC *gc);
13396 # 31 "../gdk/gdkdrawable.h" 2
13404 typedef struct _GdkDrawableClass GdkDrawableClass;
13405 typedef struct _GdkTrapezoid GdkTrapezoid;
13406 # 48 "../gdk/gdkdrawable.h"
13407 struct _GdkDrawable
13409 GObject parent_instance;
13412 struct _GdkDrawableClass
13414 GObjectClass parent_class;
13416 GdkGC *(*create_gc) (GdkDrawable *drawable,
13417 GdkGCValues *values,
13418 GdkGCValuesMask mask);
13419 void (*draw_rectangle) (GdkDrawable *drawable,
13426 void (*draw_arc) (GdkDrawable *drawable,
13435 void (*draw_polygon) (GdkDrawable *drawable,
13440 void (*draw_text) (GdkDrawable *drawable,
13447 void (*draw_text_wc) (GdkDrawable *drawable,
13452 const GdkWChar *text,
13454 void (*draw_drawable) (GdkDrawable *drawable,
13463 void (*draw_points) (GdkDrawable *drawable,
13467 void (*draw_segments) (GdkDrawable *drawable,
13471 void (*draw_lines) (GdkDrawable *drawable,
13476 void (*draw_glyphs) (GdkDrawable *drawable,
13481 PangoGlyphString *glyphs);
13483 void (*draw_image) (GdkDrawable *drawable,
13493 gint (*get_depth) (GdkDrawable *drawable);
13494 void (*get_size) (GdkDrawable *drawable,
13498 void (*set_colormap) (GdkDrawable *drawable,
13499 GdkColormap *cmap);
13501 GdkColormap* (*get_colormap) (GdkDrawable *drawable);
13502 GdkVisual* (*get_visual) (GdkDrawable *drawable);
13503 GdkScreen* (*get_screen) (GdkDrawable *drawable);
13505 GdkImage* (*get_image) (GdkDrawable *drawable,
13511 GdkRegion* (*get_clip_region) (GdkDrawable *drawable);
13512 GdkRegion* (*get_visible_region) (GdkDrawable *drawable);
13514 GdkDrawable* (*get_composite_drawable) (GdkDrawable *drawable,
13519 gint *composite_x_offset,
13520 gint *composite_y_offset);
13522 void (*draw_pixbuf) (GdkDrawable *drawable,
13531 GdkRgbDither dither,
13534 GdkImage* (*_copy_to_image) (GdkDrawable *drawable,
13543 void (*draw_glyphs_transformed) (GdkDrawable *drawable,
13545 PangoMatrix *matrix,
13549 PangoGlyphString *glyphs);
13550 void (*draw_trapezoids) (GdkDrawable *drawable,
13552 GdkTrapezoid *trapezoids,
13553 gint n_trapezoids);
13555 cairo_surface_t *(*ref_cairo_surface) (GdkDrawable *drawable);
13558 void (*_gdk_reserved4) (void);
13559 void (*_gdk_reserved5) (void);
13560 void (*_gdk_reserved6) (void);
13561 void (*_gdk_reserved7) (void);
13562 void (*_gdk_reserved9) (void);
13563 void (*_gdk_reserved10) (void);
13564 void (*_gdk_reserved11) (void);
13565 void (*_gdk_reserved12) (void);
13566 void (*_gdk_reserved13) (void);
13567 void (*_gdk_reserved14) (void);
13568 void (*_gdk_reserved15) (void);
13569 void (*_gdk_reserved16) (void);
13572 struct _GdkTrapezoid
13574 double y1, x11, x21, y2, x12, x22;
13577 GType gdk_drawable_get_type (void) __attribute__((__const__));
13578 # 232 "../gdk/gdkdrawable.h"
13579 void gdk_drawable_get_size (GdkDrawable *drawable,
13582 void gdk_drawable_set_colormap (GdkDrawable *drawable,
13583 GdkColormap *colormap);
13584 GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable);
13585 GdkVisual* gdk_drawable_get_visual (GdkDrawable *drawable);
13586 gint gdk_drawable_get_depth (GdkDrawable *drawable);
13587 GdkScreen* gdk_drawable_get_screen (GdkDrawable *drawable);
13588 GdkDisplay* gdk_drawable_get_display (GdkDrawable *drawable);
13589 # 250 "../gdk/gdkdrawable.h"
13590 void gdk_draw_point (GdkDrawable *drawable,
13594 void gdk_draw_line (GdkDrawable *drawable,
13600 void gdk_draw_rectangle (GdkDrawable *drawable,
13607 void gdk_draw_arc (GdkDrawable *drawable,
13616 void gdk_draw_polygon (GdkDrawable *drawable,
13623 void gdk_draw_string (GdkDrawable *drawable,
13628 const gchar *string);
13629 # 308 "../gdk/gdkdrawable.h"
13630 void gdk_draw_drawable (GdkDrawable *drawable,
13639 void gdk_draw_image (GdkDrawable *drawable,
13648 void gdk_draw_points (GdkDrawable *drawable,
13652 void gdk_draw_segments (GdkDrawable *drawable,
13656 void gdk_draw_lines (GdkDrawable *drawable,
13660 void gdk_draw_pixbuf (GdkDrawable *drawable,
13669 GdkRgbDither dither,
13673 void gdk_draw_glyphs (GdkDrawable *drawable,
13678 PangoGlyphString *glyphs);
13679 void gdk_draw_layout_line (GdkDrawable *drawable,
13683 PangoLayoutLine *line);
13684 void gdk_draw_layout (GdkDrawable *drawable,
13688 PangoLayout *layout);
13690 void gdk_draw_layout_line_with_colors (GdkDrawable *drawable,
13694 PangoLayoutLine *line,
13695 const GdkColor *foreground,
13696 const GdkColor *background);
13697 void gdk_draw_layout_with_colors (GdkDrawable *drawable,
13701 PangoLayout *layout,
13702 const GdkColor *foreground,
13703 const GdkColor *background);
13705 void gdk_draw_glyphs_transformed (GdkDrawable *drawable,
13707 PangoMatrix *matrix,
13711 PangoGlyphString *glyphs);
13712 void gdk_draw_trapezoids (GdkDrawable *drawable,
13714 GdkTrapezoid *trapezoids,
13715 gint n_trapezoids);
13722 GdkImage* gdk_drawable_get_image (GdkDrawable *drawable,
13727 GdkImage *gdk_drawable_copy_to_image (GdkDrawable *drawable,
13736 GdkRegion *gdk_drawable_get_clip_region (GdkDrawable *drawable);
13737 GdkRegion *gdk_drawable_get_visible_region (GdkDrawable *drawable);
13740 # 36 "../gdk/gdk.h" 2
13741 # 1 "../gdk/gdkenumtypes.h" 1
13742 # 9 "../gdk/gdkenumtypes.h"
13745 GType gdk_cursor_type_get_type (void) __attribute__((__const__));
13748 GType gdk_drag_action_get_type (void) __attribute__((__const__));
13750 GType gdk_drag_protocol_get_type (void) __attribute__((__const__));
13753 GType gdk_filter_return_get_type (void) __attribute__((__const__));
13755 GType gdk_event_type_get_type (void) __attribute__((__const__));
13757 GType gdk_event_mask_get_type (void) __attribute__((__const__));
13759 GType gdk_visibility_state_get_type (void) __attribute__((__const__));
13761 GType gdk_scroll_direction_get_type (void) __attribute__((__const__));
13763 GType gdk_notify_type_get_type (void) __attribute__((__const__));
13765 GType gdk_crossing_mode_get_type (void) __attribute__((__const__));
13767 GType gdk_property_state_get_type (void) __attribute__((__const__));
13769 GType gdk_window_state_get_type (void) __attribute__((__const__));
13771 GType gdk_setting_action_get_type (void) __attribute__((__const__));
13773 GType gdk_owner_change_get_type (void) __attribute__((__const__));
13776 GType gdk_font_type_get_type (void) __attribute__((__const__));
13779 GType gdk_cap_style_get_type (void) __attribute__((__const__));
13781 GType gdk_fill_get_type (void) __attribute__((__const__));
13783 GType gdk_function_get_type (void) __attribute__((__const__));
13785 GType gdk_join_style_get_type (void) __attribute__((__const__));
13787 GType gdk_line_style_get_type (void) __attribute__((__const__));
13789 GType gdk_subwindow_mode_get_type (void) __attribute__((__const__));
13791 GType gdk_gc_values_mask_get_type (void) __attribute__((__const__));
13794 GType gdk_image_type_get_type (void) __attribute__((__const__));
13797 GType gdk_extension_mode_get_type (void) __attribute__((__const__));
13799 GType gdk_input_source_get_type (void) __attribute__((__const__));
13801 GType gdk_input_mode_get_type (void) __attribute__((__const__));
13803 GType gdk_axis_use_get_type (void) __attribute__((__const__));
13806 GType gdk_prop_mode_get_type (void) __attribute__((__const__));
13809 GType gdk_fill_rule_get_type (void) __attribute__((__const__));
13811 GType gdk_overlap_type_get_type (void) __attribute__((__const__));
13814 GType gdk_rgb_dither_get_type (void) __attribute__((__const__));
13817 GType gdk_byte_order_get_type (void) __attribute__((__const__));
13819 GType gdk_modifier_type_get_type (void) __attribute__((__const__));
13821 GType gdk_input_condition_get_type (void) __attribute__((__const__));
13823 GType gdk_status_get_type (void) __attribute__((__const__));
13825 GType gdk_grab_status_get_type (void) __attribute__((__const__));
13828 GType gdk_visual_type_get_type (void) __attribute__((__const__));
13831 GType gdk_window_class_get_type (void) __attribute__((__const__));
13833 GType gdk_window_type_get_type (void) __attribute__((__const__));
13835 GType gdk_window_attributes_type_get_type (void) __attribute__((__const__));
13837 GType gdk_window_hints_get_type (void) __attribute__((__const__));
13839 GType gdk_window_type_hint_get_type (void) __attribute__((__const__));
13841 GType gdk_wm_decoration_get_type (void) __attribute__((__const__));
13843 GType gdk_wm_function_get_type (void) __attribute__((__const__));
13845 GType gdk_gravity_get_type (void) __attribute__((__const__));
13847 GType gdk_window_edge_get_type (void) __attribute__((__const__));
13850 # 37 "../gdk/gdk.h" 2
13852 # 1 "../gdk/gdkfont.h" 1
13853 # 35 "../gdk/gdkfont.h"
13875 GType gdk_font_get_type (void) __attribute__((__const__));
13877 GdkFont* gdk_font_ref (GdkFont *font);
13878 void gdk_font_unref (GdkFont *font);
13879 gint gdk_font_id (const GdkFont *font);
13880 gboolean gdk_font_equal (const GdkFont *fonta,
13881 const GdkFont *fontb);
13883 GdkFont *gdk_font_load_for_display (GdkDisplay *display,
13884 const gchar *font_name);
13885 GdkFont *gdk_fontset_load_for_display (GdkDisplay *display,
13886 const gchar *fontset_name);
13887 GdkFont *gdk_font_from_description_for_display (GdkDisplay *display,
13888 PangoFontDescription *font_desc);
13889 # 134 "../gdk/gdkfont.h"
13891 # 39 "../gdk/gdk.h" 2
13893 # 1 "../gdk/gdkimage.h" 1
13894 # 32 "../gdk/gdkimage.h"
13896 # 45 "../gdk/gdkimage.h"
13904 typedef struct _GdkImageClass GdkImageClass;
13905 # 61 "../gdk/gdkimage.h"
13908 GObject parent_instance;
13914 GdkByteOrder byte_order;
13920 guint16 bits_per_pixel;
13923 GdkColormap *colormap;
13926 gpointer windowing_data;
13929 struct _GdkImageClass
13931 GObjectClass parent_class;
13934 GType gdk_image_get_type (void) __attribute__((__const__));
13936 GdkImage* gdk_image_new (GdkImageType type,
13940 # 107 "../gdk/gdkimage.h"
13941 void gdk_image_put_pixel (GdkImage *image,
13945 guint32 gdk_image_get_pixel (GdkImage *image,
13949 void gdk_image_set_colormap (GdkImage *image,
13950 GdkColormap *colormap);
13951 GdkColormap* gdk_image_get_colormap (GdkImage *image);
13952 # 131 "../gdk/gdkimage.h"
13954 # 41 "../gdk/gdk.h" 2
13956 # 1 "../gdk/gdkkeys.h" 1
13957 # 32 "../gdk/gdkkeys.h"
13960 typedef struct _GdkKeymapKey GdkKeymapKey;
13963 struct _GdkKeymapKey
13969 # 52 "../gdk/gdkkeys.h"
13970 typedef struct _GdkKeymap GdkKeymap;
13971 typedef struct _GdkKeymapClass GdkKeymapClass;
13972 # 62 "../gdk/gdkkeys.h"
13975 GObject parent_instance;
13976 GdkDisplay *display;
13979 struct _GdkKeymapClass
13981 GObjectClass parent_class;
13983 void (*direction_changed) (GdkKeymap *keymap);
13984 void (*keys_changed) (GdkKeymap *keymap);
13987 GType gdk_keymap_get_type (void) __attribute__((__const__));
13990 GdkKeymap* gdk_keymap_get_default (void);
13992 GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display);
13995 guint gdk_keymap_lookup_key (GdkKeymap *keymap,
13996 const GdkKeymapKey *key);
13997 gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
13998 guint hardware_keycode,
13999 GdkModifierType state,
14002 gint *effective_group,
14004 GdkModifierType *consumed_modifiers);
14005 gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
14007 GdkKeymapKey **keys,
14009 gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap,
14010 guint hardware_keycode,
14011 GdkKeymapKey **keys,
14014 PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap);
14015 gboolean gdk_keymap_have_bidi_layouts (GdkKeymap *keymap);
14019 gchar* gdk_keyval_name (guint keyval) __attribute__((__const__));
14020 guint gdk_keyval_from_name (const gchar *keyval_name);
14021 void gdk_keyval_convert_case (guint symbol,
14024 guint gdk_keyval_to_upper (guint keyval) __attribute__((__const__));
14025 guint gdk_keyval_to_lower (guint keyval) __attribute__((__const__));
14026 gboolean gdk_keyval_is_upper (guint keyval) __attribute__((__const__));
14027 gboolean gdk_keyval_is_lower (guint keyval) __attribute__((__const__));
14029 guint32 gdk_keyval_to_unicode (guint keyval) __attribute__((__const__));
14030 guint gdk_unicode_to_keyval (guint32 wc) __attribute__((__const__));
14034 # 43 "../gdk/gdk.h" 2
14035 # 1 "../gdk/gdkdisplaymanager.h" 1
14036 # 33 "../gdk/gdkdisplaymanager.h"
14039 typedef struct _GdkDisplayManager GdkDisplayManager;
14040 typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass;
14041 # 45 "../gdk/gdkdisplaymanager.h"
14042 struct _GdkDisplayManagerClass
14044 GObjectClass parent_class;
14046 void (*display_opened) (GdkDisplayManager *display_manager,
14047 GdkDisplay *display);
14050 GType gdk_display_manager_get_type (void) __attribute__((__const__));
14052 GdkDisplayManager *gdk_display_manager_get (void);
14053 GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *display_manager);
14054 void gdk_display_manager_set_default_display (GdkDisplayManager *display_manager,
14055 GdkDisplay *display);
14056 GSList * gdk_display_manager_list_displays (GdkDisplayManager *display_manager);
14059 # 44 "../gdk/gdk.h" 2
14060 # 1 "../gdk/gdkpango.h" 1
14061 # 25 "../gdk/gdkpango.h"
14066 typedef struct _GdkPangoRenderer GdkPangoRenderer;
14067 typedef struct _GdkPangoRendererClass GdkPangoRendererClass;
14068 typedef struct _GdkPangoRendererPrivate GdkPangoRendererPrivate;
14069 # 64 "../gdk/gdkpango.h"
14070 struct _GdkPangoRenderer
14073 PangoRenderer parent_instance;
14075 GdkPangoRendererPrivate *priv;
14077 # 79 "../gdk/gdkpango.h"
14078 struct _GdkPangoRendererClass
14081 PangoRendererClass parent_class;
14084 GType gdk_pango_renderer_get_type (void) __attribute__((__const__));
14086 PangoRenderer *gdk_pango_renderer_new (GdkScreen *screen);
14087 PangoRenderer *gdk_pango_renderer_get_default (GdkScreen *screen);
14089 void gdk_pango_renderer_set_drawable (GdkPangoRenderer *gdk_renderer,
14090 GdkDrawable *drawable);
14091 void gdk_pango_renderer_set_gc (GdkPangoRenderer *gdk_renderer,
14093 void gdk_pango_renderer_set_stipple (GdkPangoRenderer *gdk_renderer,
14094 PangoRenderPart part,
14095 GdkBitmap *stipple);
14096 void gdk_pango_renderer_set_override_color (GdkPangoRenderer *gdk_renderer,
14097 PangoRenderPart part,
14098 const GdkColor *color);
14102 PangoContext *gdk_pango_context_get_for_screen (GdkScreen *screen);
14104 PangoContext *gdk_pango_context_get (void);
14105 # 119 "../gdk/gdkpango.h"
14106 GdkRegion *gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line,
14109 gint *index_ranges,
14111 GdkRegion *gdk_pango_layout_get_clip_region (PangoLayout *layout,
14114 gint *index_ranges,
14121 typedef struct _GdkPangoAttrStipple GdkPangoAttrStipple;
14122 typedef struct _GdkPangoAttrEmbossed GdkPangoAttrEmbossed;
14123 typedef struct _GdkPangoAttrEmbossColor GdkPangoAttrEmbossColor;
14125 struct _GdkPangoAttrStipple
14127 PangoAttribute attr;
14128 GdkBitmap *stipple;
14131 struct _GdkPangoAttrEmbossed
14133 PangoAttribute attr;
14137 struct _GdkPangoAttrEmbossColor
14139 PangoAttribute attr;
14143 PangoAttribute *gdk_pango_attr_stipple_new (GdkBitmap *stipple);
14144 PangoAttribute *gdk_pango_attr_embossed_new (gboolean embossed);
14145 PangoAttribute *gdk_pango_attr_emboss_color_new (const GdkColor *color);
14148 # 45 "../gdk/gdk.h" 2
14150 # 1 "../gdk/gdkpixmap.h" 1
14151 # 33 "../gdk/gdkpixmap.h"
14154 typedef struct _GdkPixmapObject GdkPixmapObject;
14155 typedef struct _GdkPixmapObjectClass GdkPixmapObjectClass;
14156 # 46 "../gdk/gdkpixmap.h"
14157 struct _GdkPixmapObject
14159 GdkDrawable parent_instance;
14166 struct _GdkPixmapObjectClass
14168 GdkDrawableClass parent_class;
14172 GType gdk_pixmap_get_type (void) __attribute__((__const__));
14176 GdkPixmap* gdk_pixmap_new (GdkDrawable *drawable,
14180 GdkBitmap* gdk_bitmap_create_from_data (GdkDrawable *drawable,
14184 GdkPixmap* gdk_pixmap_create_from_data (GdkDrawable *drawable,
14189 const GdkColor *fg,
14190 const GdkColor *bg);
14192 GdkPixmap* gdk_pixmap_create_from_xpm (GdkDrawable *drawable,
14194 const GdkColor *transparent_color,
14195 const gchar *filename);
14196 GdkPixmap* gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable,
14197 GdkColormap *colormap,
14199 const GdkColor *transparent_color,
14200 const gchar *filename);
14201 GdkPixmap* gdk_pixmap_create_from_xpm_d (GdkDrawable *drawable,
14203 const GdkColor *transparent_color,
14205 GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d (GdkDrawable *drawable,
14206 GdkColormap *colormap,
14208 const GdkColor *transparent_color,
14214 GdkPixmap* gdk_pixmap_foreign_new (GdkNativeWindow anid);
14215 GdkPixmap* gdk_pixmap_lookup (GdkNativeWindow anid);
14218 GdkPixmap* gdk_pixmap_foreign_new_for_display (GdkDisplay *display,
14219 GdkNativeWindow anid);
14220 GdkPixmap* gdk_pixmap_lookup_for_display (GdkDisplay *display,
14221 GdkNativeWindow anid);
14222 GdkPixmap* gdk_pixmap_foreign_new_for_screen (GdkScreen *screen,
14223 GdkNativeWindow anid,
14227 # 124 "../gdk/gdkpixmap.h"
14229 # 47 "../gdk/gdk.h" 2
14230 # 1 "../gdk/gdkproperty.h" 1
14231 # 32 "../gdk/gdkproperty.h"
14236 GDK_PROP_MODE_REPLACE,
14237 GDK_PROP_MODE_PREPEND,
14238 GDK_PROP_MODE_APPEND
14241 GdkAtom gdk_atom_intern (const gchar *atom_name,
14242 gboolean only_if_exists);
14243 GdkAtom gdk_atom_intern_static_string (const gchar *atom_name);
14244 gchar* gdk_atom_name (GdkAtom atom);
14246 gboolean gdk_property_get (GdkWindow *window,
14252 GdkAtom *actual_property_type,
14253 gint *actual_format,
14254 gint *actual_length,
14256 void gdk_property_change (GdkWindow *window,
14261 const guchar *data,
14263 void gdk_property_delete (GdkWindow *window,
14266 gint gdk_text_property_to_text_list (GdkAtom encoding,
14268 const guchar *text,
14271 gint gdk_text_property_to_utf8_list (GdkAtom encoding,
14273 const guchar *text,
14276 gboolean gdk_utf8_to_compound_text (const gchar *str,
14281 gint gdk_string_to_compound_text (const gchar *str,
14288 gint gdk_text_property_to_text_list_for_display (GdkDisplay *display,
14291 const guchar *text,
14294 gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
14297 const guchar *text,
14301 gchar *gdk_utf8_to_string_target (const gchar *str);
14302 gint gdk_string_to_compound_text_for_display (GdkDisplay *display,
14308 gboolean gdk_utf8_to_compound_text_for_display (GdkDisplay *display,
14315 void gdk_free_text_list (gchar **list);
14316 void gdk_free_compound_text (guchar *ctext);
14319 # 48 "../gdk/gdk.h" 2
14320 # 1 "../gdk/gdkregion.h" 1
14321 # 32 "../gdk/gdkregion.h"
14341 GDK_OVERLAP_RECTANGLE_IN,
14342 GDK_OVERLAP_RECTANGLE_OUT,
14343 GDK_OVERLAP_RECTANGLE_PART
14346 typedef void (*GdkSpanFunc) (GdkSpan *span,
14349 GdkRegion *gdk_region_new (void);
14350 GdkRegion *gdk_region_polygon (GdkPoint *points,
14352 GdkFillRule fill_rule);
14353 GdkRegion *gdk_region_copy (GdkRegion *region);
14354 GdkRegion *gdk_region_rectangle (GdkRectangle *rectangle);
14355 void gdk_region_destroy (GdkRegion *region);
14357 void gdk_region_get_clipbox (GdkRegion *region,
14358 GdkRectangle *rectangle);
14359 void gdk_region_get_rectangles (GdkRegion *region,
14360 GdkRectangle **rectangles,
14361 gint *n_rectangles);
14363 gboolean gdk_region_empty (GdkRegion *region);
14364 gboolean gdk_region_equal (GdkRegion *region1,
14365 GdkRegion *region2);
14366 gboolean gdk_region_point_in (GdkRegion *region,
14369 GdkOverlapType gdk_region_rect_in (GdkRegion *region,
14370 GdkRectangle *rectangle);
14372 void gdk_region_offset (GdkRegion *region,
14375 void gdk_region_shrink (GdkRegion *region,
14378 void gdk_region_union_with_rect (GdkRegion *region,
14379 GdkRectangle *rect);
14380 void gdk_region_intersect (GdkRegion *source1,
14381 GdkRegion *source2);
14382 void gdk_region_union (GdkRegion *source1,
14383 GdkRegion *source2);
14384 void gdk_region_subtract (GdkRegion *source1,
14385 GdkRegion *source2);
14386 void gdk_region_xor (GdkRegion *source1,
14387 GdkRegion *source2);
14389 void gdk_region_spans_intersect_foreach (GdkRegion *region,
14393 GdkSpanFunc function,
14397 # 49 "../gdk/gdk.h" 2
14399 # 1 "../gdk/gdkscreen.h" 1
14400 # 31 "../gdk/gdkscreen.h"
14403 typedef struct _GdkScreenClass GdkScreenClass;
14404 # 42 "../gdk/gdkscreen.h"
14407 GObject parent_instance;
14411 GdkGC *normal_gcs[32];
14412 GdkGC *exposure_gcs[32];
14414 cairo_font_options_t *font_options;
14418 struct _GdkScreenClass
14420 GObjectClass parent_class;
14422 void (*size_changed) (GdkScreen *screen);
14423 void (*composited_changed) (GdkScreen *screen);
14426 GType gdk_screen_get_type (void) __attribute__((__const__));
14427 GdkColormap *gdk_screen_get_default_colormap (GdkScreen *screen);
14428 void gdk_screen_set_default_colormap (GdkScreen *screen,
14429 GdkColormap *colormap);
14430 GdkColormap* gdk_screen_get_system_colormap (GdkScreen *screen);
14431 GdkVisual* gdk_screen_get_system_visual (GdkScreen *screen);
14432 GdkColormap *gdk_screen_get_rgb_colormap (GdkScreen *screen);
14433 GdkVisual * gdk_screen_get_rgb_visual (GdkScreen *screen);
14434 GdkColormap *gdk_screen_get_rgba_colormap (GdkScreen *screen);
14435 GdkVisual * gdk_screen_get_rgba_visual (GdkScreen *screen);
14436 gboolean gdk_screen_is_composited (GdkScreen *screen);
14438 GdkWindow * gdk_screen_get_root_window (GdkScreen *screen);
14439 GdkDisplay * gdk_screen_get_display (GdkScreen *screen);
14440 gint gdk_screen_get_number (GdkScreen *screen);
14441 gint gdk_screen_get_width (GdkScreen *screen);
14442 gint gdk_screen_get_height (GdkScreen *screen);
14443 gint gdk_screen_get_width_mm (GdkScreen *screen);
14444 gint gdk_screen_get_height_mm (GdkScreen *screen);
14446 GList * gdk_screen_list_visuals (GdkScreen *screen);
14447 GList * gdk_screen_get_toplevel_windows (GdkScreen *screen);
14448 gchar * gdk_screen_make_display_name (GdkScreen *screen);
14450 gint gdk_screen_get_n_monitors (GdkScreen *screen);
14451 void gdk_screen_get_monitor_geometry (GdkScreen *screen,
14453 GdkRectangle *dest);
14454 gint gdk_screen_get_monitor_at_point (GdkScreen *screen,
14457 gint gdk_screen_get_monitor_at_window (GdkScreen *screen,
14458 GdkWindow *window);
14460 void gdk_screen_broadcast_client_message (GdkScreen *screen,
14463 GdkScreen *gdk_screen_get_default (void);
14465 gboolean gdk_screen_get_setting (GdkScreen *screen,
14469 void gdk_screen_set_font_options (GdkScreen *screen,
14470 const cairo_font_options_t *options);
14471 const cairo_font_options_t *gdk_screen_get_font_options (GdkScreen *screen);
14473 void gdk_screen_set_resolution (GdkScreen *screen,
14475 gdouble gdk_screen_get_resolution (GdkScreen *screen);
14477 GdkWindow *gdk_screen_get_active_window (GdkScreen *screen);
14478 GList *gdk_screen_get_window_stack (GdkScreen *screen);
14481 # 51 "../gdk/gdk.h" 2
14482 # 1 "../gdk/gdkselection.h" 1
14483 # 32 "../gdk/gdkselection.h"
14485 # 66 "../gdk/gdkselection.h"
14486 gboolean gdk_selection_owner_set (GdkWindow *owner,
14489 gboolean send_event);
14490 GdkWindow* gdk_selection_owner_get (GdkAtom selection);
14493 gboolean gdk_selection_owner_set_for_display (GdkDisplay *display,
14497 gboolean send_event);
14498 GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display,
14499 GdkAtom selection);
14501 void gdk_selection_convert (GdkWindow *requestor,
14505 gboolean gdk_selection_property_get (GdkWindow *requestor,
14507 GdkAtom *prop_type,
14508 gint *prop_format);
14511 void gdk_selection_send_notify (guint32 requestor,
14518 void gdk_selection_send_notify_for_display (GdkDisplay *display,
14526 # 52 "../gdk/gdk.h" 2
14527 # 1 "../gdk/gdkspawn.h" 1
14528 # 28 "../gdk/gdkspawn.h"
14531 gboolean gdk_spawn_on_screen (GdkScreen *screen,
14532 const gchar *working_directory,
14536 GSpawnChildSetupFunc child_setup,
14537 gpointer user_data,
14541 gboolean gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
14542 const gchar *working_directory,
14546 GSpawnChildSetupFunc child_setup,
14547 gpointer user_data,
14549 gint *standard_input,
14550 gint *standard_output,
14551 gint *standard_error,
14554 gboolean gdk_spawn_command_line_on_screen (GdkScreen *screen,
14555 const gchar *command_line,
14559 # 53 "../gdk/gdk.h" 2
14561 # 1 "../gdk/gdkvisual.h" 1
14562 # 32 "../gdk/gdkvisual.h"
14564 # 41 "../gdk/gdkvisual.h"
14565 typedef struct _GdkVisualClass GdkVisualClass;
14566 # 51 "../gdk/gdkvisual.h"
14569 GDK_VISUAL_STATIC_GRAY,
14570 GDK_VISUAL_GRAYSCALE,
14571 GDK_VISUAL_STATIC_COLOR,
14572 GDK_VISUAL_PSEUDO_COLOR,
14573 GDK_VISUAL_TRUE_COLOR,
14574 GDK_VISUAL_DIRECT_COLOR
14576 # 73 "../gdk/gdkvisual.h"
14579 GObject parent_instance;
14581 GdkVisualType type;
14583 GdkByteOrder byte_order;
14584 gint colormap_size;
14591 guint32 green_mask;
14600 GType gdk_visual_get_type (void) __attribute__((__const__));
14603 gint gdk_visual_get_best_depth (void);
14604 GdkVisualType gdk_visual_get_best_type (void);
14605 GdkVisual* gdk_visual_get_system (void);
14606 GdkVisual* gdk_visual_get_best (void);
14607 GdkVisual* gdk_visual_get_best_with_depth (gint depth);
14608 GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
14609 GdkVisual* gdk_visual_get_best_with_both (gint depth,
14610 GdkVisualType visual_type);
14612 void gdk_query_depths (gint **depths,
14614 void gdk_query_visual_types (GdkVisualType **visual_types,
14617 GList* gdk_list_visuals (void);
14620 GdkScreen *gdk_visual_get_screen (GdkVisual *visual);
14628 # 55 "../gdk/gdk.h" 2
14629 # 1 "../gdk/gdkwindow.h" 1
14630 # 34 "../gdk/gdkwindow.h"
14633 typedef struct _GdkGeometry GdkGeometry;
14634 typedef struct _GdkWindowAttr GdkWindowAttr;
14635 typedef struct _GdkPointerHooks GdkPointerHooks;
14636 # 49 "../gdk/gdkwindow.h"
14642 # 68 "../gdk/gdkwindow.h"
14646 GDK_WINDOW_TOPLEVEL,
14652 # 86 "../gdk/gdkwindow.h"
14655 GDK_WA_TITLE = 1 << 1,
14658 GDK_WA_CURSOR = 1 << 4,
14659 GDK_WA_COLORMAP = 1 << 5,
14660 GDK_WA_VISUAL = 1 << 6,
14661 GDK_WA_WMCLASS = 1 << 7,
14662 GDK_WA_NOREDIR = 1 << 8,
14663 GDK_WA_TYPE_HINT = 1 << 9
14664 } GdkWindowAttributesType;
14670 GDK_HINT_POS = 1 << 0,
14671 GDK_HINT_MIN_SIZE = 1 << 1,
14672 GDK_HINT_MAX_SIZE = 1 << 2,
14673 GDK_HINT_BASE_SIZE = 1 << 3,
14674 GDK_HINT_ASPECT = 1 << 4,
14675 GDK_HINT_RESIZE_INC = 1 << 5,
14676 GDK_HINT_WIN_GRAVITY = 1 << 6,
14677 GDK_HINT_USER_POS = 1 << 7,
14678 GDK_HINT_USER_SIZE = 1 << 8
14680 # 127 "../gdk/gdkwindow.h"
14683 GDK_WINDOW_TYPE_HINT_NORMAL,
14684 GDK_WINDOW_TYPE_HINT_DIALOG,
14685 GDK_WINDOW_TYPE_HINT_MENU,
14686 GDK_WINDOW_TYPE_HINT_TOOLBAR,
14687 GDK_WINDOW_TYPE_HINT_SPLASHSCREEN,
14688 GDK_WINDOW_TYPE_HINT_UTILITY,
14689 GDK_WINDOW_TYPE_HINT_DOCK,
14690 GDK_WINDOW_TYPE_HINT_DESKTOP,
14691 GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU,
14692 GDK_WINDOW_TYPE_HINT_POPUP_MENU,
14693 GDK_WINDOW_TYPE_HINT_TOOLTIP,
14694 GDK_WINDOW_TYPE_HINT_NOTIFICATION,
14695 GDK_WINDOW_TYPE_HINT_COMBO,
14696 GDK_WINDOW_TYPE_HINT_DND
14697 } GdkWindowTypeHint;
14706 GDK_DECOR_ALL = 1 << 0,
14707 GDK_DECOR_BORDER = 1 << 1,
14708 GDK_DECOR_RESIZEH = 1 << 2,
14709 GDK_DECOR_TITLE = 1 << 3,
14710 GDK_DECOR_MENU = 1 << 4,
14711 GDK_DECOR_MINIMIZE = 1 << 5,
14712 GDK_DECOR_MAXIMIZE = 1 << 6
14717 GDK_FUNC_ALL = 1 << 0,
14718 GDK_FUNC_RESIZE = 1 << 1,
14719 GDK_FUNC_MOVE = 1 << 2,
14720 GDK_FUNC_MINIMIZE = 1 << 3,
14721 GDK_FUNC_MAXIMIZE = 1 << 4,
14722 GDK_FUNC_CLOSE = 1 << 5
14731 GDK_GRAVITY_NORTH_WEST = 1,
14733 GDK_GRAVITY_NORTH_EAST,
14735 GDK_GRAVITY_CENTER,
14737 GDK_GRAVITY_SOUTH_WEST,
14739 GDK_GRAVITY_SOUTH_EAST,
14746 GDK_WINDOW_EDGE_NORTH_WEST,
14747 GDK_WINDOW_EDGE_NORTH,
14748 GDK_WINDOW_EDGE_NORTH_EAST,
14749 GDK_WINDOW_EDGE_WEST,
14750 GDK_WINDOW_EDGE_EAST,
14751 GDK_WINDOW_EDGE_SOUTH_WEST,
14752 GDK_WINDOW_EDGE_SOUTH,
14753 GDK_WINDOW_EDGE_SOUTH_EAST
14756 struct _GdkWindowAttr
14763 GdkWindowClass wclass;
14765 GdkColormap *colormap;
14766 GdkWindowType window_type;
14768 gchar *wmclass_name;
14769 gchar *wmclass_class;
14770 gboolean override_redirect;
14771 GdkWindowTypeHint type_hint;
14774 struct _GdkGeometry
14784 gdouble min_aspect;
14785 gdouble max_aspect;
14786 GdkGravity win_gravity;
14789 struct _GdkPointerHooks
14791 GdkWindow* (*get_pointer) (GdkWindow *window,
14794 GdkModifierType *mask);
14795 GdkWindow* (*window_at_pointer) (GdkScreen *screen,
14800 typedef struct _GdkWindowObject GdkWindowObject;
14801 typedef struct _GdkWindowObjectClass GdkWindowObjectClass;
14802 # 257 "../gdk/gdkwindow.h"
14803 struct _GdkWindowObject
14805 GdkDrawable parent_instance;
14809 GdkWindowObject *parent;
14811 gpointer user_data;
14816 gint extension_events;
14822 GdkPixmap *bg_pixmap;
14824 GSList *paint_stack;
14826 GdkRegion *update_area;
14827 guint update_freeze_count;
14829 guint8 window_type;
14831 guint8 resize_count;
14833 GdkWindowState state;
14835 guint guffaw_gravity : 1;
14836 guint input_only : 1;
14837 guint modal_hint : 1;
14838 guint composited : 1;
14840 guint destroyed : 2;
14842 guint accept_focus : 1;
14843 guint focus_on_map : 1;
14846 GdkEventMask event_mask;
14848 guint update_and_descendants_freeze_count;
14851 struct _GdkWindowObjectClass
14853 GdkDrawableClass parent_class;
14858 GType gdk_window_object_get_type (void) __attribute__((__const__));
14859 GdkWindow* gdk_window_new (GdkWindow *parent,
14860 GdkWindowAttr *attributes,
14861 gint attributes_mask);
14862 void gdk_window_destroy (GdkWindow *window);
14863 GdkWindowType gdk_window_get_window_type (GdkWindow *window);
14864 GdkWindow* gdk_window_at_pointer (gint *win_x,
14866 void gdk_window_show (GdkWindow *window);
14867 void gdk_window_hide (GdkWindow *window);
14868 void gdk_window_withdraw (GdkWindow *window);
14869 void gdk_window_show_unraised (GdkWindow *window);
14870 void gdk_window_move (GdkWindow *window,
14873 void gdk_window_resize (GdkWindow *window,
14876 void gdk_window_move_resize (GdkWindow *window,
14881 void gdk_window_reparent (GdkWindow *window,
14882 GdkWindow *new_parent,
14885 void gdk_window_clear (GdkWindow *window);
14886 void gdk_window_clear_area (GdkWindow *window,
14891 void gdk_window_clear_area_e (GdkWindow *window,
14896 void gdk_window_raise (GdkWindow *window);
14897 void gdk_window_lower (GdkWindow *window);
14898 void gdk_window_focus (GdkWindow *window,
14899 guint32 timestamp);
14900 void gdk_window_set_user_data (GdkWindow *window,
14901 gpointer user_data);
14902 void gdk_window_set_override_redirect (GdkWindow *window,
14903 gboolean override_redirect);
14904 void gdk_window_set_accept_focus (GdkWindow *window,
14905 gboolean accept_focus);
14906 void gdk_window_set_focus_on_map (GdkWindow *window,
14907 gboolean focus_on_map);
14908 void gdk_window_add_filter (GdkWindow *window,
14909 GdkFilterFunc function,
14911 void gdk_window_remove_filter (GdkWindow *window,
14912 GdkFilterFunc function,
14914 void gdk_window_scroll (GdkWindow *window,
14917 void gdk_window_move_region (GdkWindow *window,
14928 void gdk_window_shape_combine_mask (GdkWindow *window,
14932 void gdk_window_shape_combine_region (GdkWindow *window,
14933 GdkRegion *shape_region,
14936 # 398 "../gdk/gdkwindow.h"
14937 void gdk_window_set_child_shapes (GdkWindow *window);
14939 void gdk_window_set_composited (GdkWindow *window,
14940 gboolean composited);
14941 # 410 "../gdk/gdkwindow.h"
14942 void gdk_window_merge_child_shapes (GdkWindow *window);
14944 void gdk_window_input_shape_combine_mask (GdkWindow *window,
14948 void gdk_window_input_shape_combine_region (GdkWindow *window,
14949 GdkRegion *shape_region,
14952 void gdk_window_set_child_input_shapes (GdkWindow *window);
14953 void gdk_window_merge_child_input_shapes (GdkWindow *window);
14954 # 430 "../gdk/gdkwindow.h"
14955 gboolean gdk_window_is_visible (GdkWindow *window);
14956 gboolean gdk_window_is_viewable (GdkWindow *window);
14958 GdkWindowState gdk_window_get_state (GdkWindow *window);
14963 gboolean gdk_window_set_static_gravities (GdkWindow *window,
14964 gboolean use_static);
14968 GdkWindow* gdk_window_foreign_new (GdkNativeWindow anid);
14969 GdkWindow* gdk_window_lookup (GdkNativeWindow anid);
14971 GdkWindow *gdk_window_foreign_new_for_display (GdkDisplay *display,
14972 GdkNativeWindow anid);
14973 GdkWindow* gdk_window_lookup_for_display (GdkDisplay *display,
14974 GdkNativeWindow anid);
14975 # 464 "../gdk/gdkwindow.h"
14976 void gdk_window_set_type_hint (GdkWindow *window,
14977 GdkWindowTypeHint hint);
14978 GdkWindowTypeHint gdk_window_get_type_hint (GdkWindow *window);
14980 void gdk_window_set_modal_hint (GdkWindow *window,
14983 void gdk_window_set_skip_taskbar_hint (GdkWindow *window,
14984 gboolean skips_taskbar);
14985 void gdk_window_set_skip_pager_hint (GdkWindow *window,
14986 gboolean skips_pager);
14987 void gdk_window_set_urgency_hint (GdkWindow *window,
14990 void gdk_window_set_geometry_hints (GdkWindow *window,
14991 GdkGeometry *geometry,
14992 GdkWindowHints geom_mask);
14993 void gdk_set_sm_client_id (const gchar *sm_client_id);
14995 void gdk_window_begin_paint_rect (GdkWindow *window,
14996 GdkRectangle *rectangle);
14997 void gdk_window_begin_paint_region (GdkWindow *window,
14998 GdkRegion *region);
14999 void gdk_window_end_paint (GdkWindow *window);
15001 void gdk_window_set_title (GdkWindow *window,
15002 const gchar *title);
15003 void gdk_window_set_role (GdkWindow *window,
15004 const gchar *role);
15005 void gdk_window_set_startup_id (GdkWindow *window,
15006 const gchar *startup_id);
15007 void gdk_window_set_transient_for (GdkWindow *window,
15008 GdkWindow *parent);
15009 void gdk_window_set_background (GdkWindow *window,
15010 const GdkColor *color);
15011 void gdk_window_set_back_pixmap (GdkWindow *window,
15013 gboolean parent_relative);
15014 void gdk_window_set_cursor (GdkWindow *window,
15015 GdkCursor *cursor);
15016 void gdk_window_get_user_data (GdkWindow *window,
15018 void gdk_window_get_geometry (GdkWindow *window,
15024 void gdk_window_get_position (GdkWindow *window,
15027 gint gdk_window_get_origin (GdkWindow *window,
15033 gboolean gdk_window_get_deskrelative_origin (GdkWindow *window,
15038 void gdk_window_get_root_origin (GdkWindow *window,
15041 void gdk_window_get_frame_extents (GdkWindow *window,
15042 GdkRectangle *rect);
15043 GdkWindow* gdk_window_get_pointer (GdkWindow *window,
15046 GdkModifierType *mask);
15047 GdkWindow * gdk_window_get_parent (GdkWindow *window);
15048 GdkWindow * gdk_window_get_toplevel (GdkWindow *window);
15050 GList * gdk_window_get_children (GdkWindow *window);
15051 GList * gdk_window_peek_children (GdkWindow *window);
15052 GdkEventMask gdk_window_get_events (GdkWindow *window);
15053 void gdk_window_set_events (GdkWindow *window,
15054 GdkEventMask event_mask);
15056 void gdk_window_set_icon_list (GdkWindow *window,
15058 void gdk_window_set_icon (GdkWindow *window,
15059 GdkWindow *icon_window,
15062 void gdk_window_set_icon_name (GdkWindow *window,
15063 const gchar *name);
15064 void gdk_window_set_group (GdkWindow *window,
15065 GdkWindow *leader);
15066 GdkWindow* gdk_window_get_group (GdkWindow *window);
15067 void gdk_window_set_decorations (GdkWindow *window,
15068 GdkWMDecoration decorations);
15069 gboolean gdk_window_get_decorations (GdkWindow *window,
15070 GdkWMDecoration *decorations);
15071 void gdk_window_set_functions (GdkWindow *window,
15072 GdkWMFunction functions);
15074 GList * gdk_window_get_toplevels (void);
15077 void gdk_window_beep (GdkWindow *window);
15078 void gdk_window_iconify (GdkWindow *window);
15079 void gdk_window_deiconify (GdkWindow *window);
15080 void gdk_window_stick (GdkWindow *window);
15081 void gdk_window_unstick (GdkWindow *window);
15082 void gdk_window_maximize (GdkWindow *window);
15083 void gdk_window_unmaximize (GdkWindow *window);
15084 void gdk_window_fullscreen (GdkWindow *window);
15085 void gdk_window_unfullscreen (GdkWindow *window);
15086 void gdk_window_set_keep_above (GdkWindow *window,
15088 void gdk_window_set_keep_below (GdkWindow *window,
15090 void gdk_window_set_opacity (GdkWindow *window,
15092 void gdk_window_register_dnd (GdkWindow *window);
15094 void gdk_window_begin_resize_drag (GdkWindow *window,
15095 GdkWindowEdge edge,
15099 guint32 timestamp);
15100 void gdk_window_begin_move_drag (GdkWindow *window,
15104 guint32 timestamp);
15107 void gdk_window_invalidate_rect (GdkWindow *window,
15108 GdkRectangle *rect,
15109 gboolean invalidate_children);
15110 void gdk_window_invalidate_region (GdkWindow *window,
15112 gboolean invalidate_children);
15113 void gdk_window_invalidate_maybe_recurse (GdkWindow *window,
15115 gboolean (*child_func) (GdkWindow *, gpointer),
15116 gpointer user_data);
15117 GdkRegion *gdk_window_get_update_area (GdkWindow *window);
15119 void gdk_window_freeze_updates (GdkWindow *window);
15120 void gdk_window_thaw_updates (GdkWindow *window);
15122 void gdk_window_freeze_toplevel_updates_libgtk_only (GdkWindow *window);
15123 void gdk_window_thaw_toplevel_updates_libgtk_only (GdkWindow *window);
15125 void gdk_window_process_all_updates (void);
15126 void gdk_window_process_updates (GdkWindow *window,
15127 gboolean update_children);
15130 void gdk_window_set_debug_updates (gboolean setting);
15132 void gdk_window_constrain_size (GdkGeometry *geometry,
15139 void gdk_window_get_internal_paint_info (GdkWindow *window,
15140 GdkDrawable **real_drawable,
15144 void gdk_window_enable_synchronized_configure (GdkWindow *window);
15145 void gdk_window_configure_finished (GdkWindow *window);
15148 GdkPointerHooks *gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks);
15151 GdkWindow *gdk_get_default_root_window (void);
15152 # 655 "../gdk/gdkwindow.h"
15154 # 56 "../gdk/gdk.h" 2
15162 void gdk_parse_args (gint *argc,
15164 void gdk_init (gint *argc,
15166 gboolean gdk_init_check (gint *argc,
15168 void gdk_add_option_entries_libgtk_only (GOptionGroup *group);
15169 void gdk_pre_parse_libgtk_only (void);
15174 gchar* gdk_set_locale (void);
15176 const char *gdk_get_program_class (void);
15177 void gdk_set_program_class (const char *program_class);
15181 void gdk_error_trap_push (void);
15182 gint gdk_error_trap_pop (void);
15189 gchar* gdk_get_display (void);
15190 const gchar* gdk_get_display_arg_name (void);
15194 gint gdk_input_add_full (gint source,
15195 GdkInputCondition condition,
15196 GdkInputFunction function,
15198 GdkDestroyNotify destroy);
15199 # 109 "../gdk/gdk.h"
15200 GdkGrabStatus gdk_pointer_grab (GdkWindow *window,
15201 gboolean owner_events,
15202 GdkEventMask event_mask,
15203 GdkWindow *confine_to,
15206 GdkGrabStatus gdk_keyboard_grab (GdkWindow *window,
15207 gboolean owner_events,
15210 gboolean gdk_pointer_grab_info_libgtk_only (GdkDisplay *display,
15211 GdkWindow **grab_window,
15212 gboolean *owner_events);
15213 gboolean gdk_keyboard_grab_info_libgtk_only (GdkDisplay *display,
15214 GdkWindow **grab_window,
15215 gboolean *owner_events);
15218 void gdk_pointer_ungrab (guint32 time_);
15219 void gdk_keyboard_ungrab (guint32 time_);
15220 gboolean gdk_pointer_is_grabbed (void);
15222 gint gdk_screen_width (void) __attribute__((__const__));
15223 gint gdk_screen_height (void) __attribute__((__const__));
15225 gint gdk_screen_width_mm (void) __attribute__((__const__));
15226 gint gdk_screen_height_mm (void) __attribute__((__const__));
15228 void gdk_beep (void);
15231 void gdk_flush (void);
15234 void gdk_set_double_click_time (guint msec);
15239 gboolean gdk_rectangle_intersect (GdkRectangle *src1,
15240 GdkRectangle *src2,
15241 GdkRectangle *dest);
15242 void gdk_rectangle_union (GdkRectangle *src1,
15243 GdkRectangle *src2,
15244 GdkRectangle *dest);
15246 GType gdk_rectangle_get_type (void) __attribute__((__const__));
15247 # 170 "../gdk/gdk.h"
15248 gboolean gdk_event_send_client_message (GdkEvent *event,
15249 GdkNativeWindow winid);
15250 void gdk_event_send_clientmessage_toall (GdkEvent *event);
15252 gboolean gdk_event_send_client_message_for_display (GdkDisplay *display,
15254 GdkNativeWindow winid);
15256 void gdk_notify_startup_complete (void);
15258 void gdk_notify_startup_complete_with_id (const gchar* startup_id);
15259 # 189 "../gdk/gdk.h"
15260 extern GCallback gdk_threads_lock;
15261 extern GCallback gdk_threads_unlock;
15263 void gdk_threads_enter (void);
15264 void gdk_threads_leave (void);
15265 void gdk_threads_init (void);
15266 void gdk_threads_set_lock_functions (GCallback enter_fn,
15267 GCallback leave_fn);
15269 guint gdk_threads_add_idle_full (gint priority,
15270 GSourceFunc function,
15272 GDestroyNotify notify);
15273 guint gdk_threads_add_idle (GSourceFunc function,
15275 guint gdk_threads_add_timeout_full (gint priority,
15277 GSourceFunc function,
15279 GDestroyNotify notify);
15280 guint gdk_threads_add_timeout (guint interval,
15281 GSourceFunc function,
15283 # 227 "../gdk/gdk.h"
15285 # 33 "gtknotebook.h" 2
15286 # 1 "../gtk/gtkcontainer.h" 1
15287 # 32 "../gtk/gtkcontainer.h"
15288 # 1 "../gtk/gtkenums.h" 1
15289 # 32 "../gtk/gtkenums.h"
15297 GTK_ANCHOR_NORTH_WEST,
15298 GTK_ANCHOR_NORTH_EAST,
15300 GTK_ANCHOR_SOUTH_WEST,
15301 GTK_ANCHOR_SOUTH_EAST,
15304 GTK_ANCHOR_N = GTK_ANCHOR_NORTH,
15305 GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST,
15306 GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST,
15307 GTK_ANCHOR_S = GTK_ANCHOR_SOUTH,
15308 GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST,
15309 GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST,
15310 GTK_ANCHOR_W = GTK_ANCHOR_WEST,
15311 GTK_ANCHOR_E = GTK_ANCHOR_EAST
15327 GTK_EXPAND = 1 << 0,
15328 GTK_SHRINK = 1 << 1,
15330 } GtkAttachOptions;
15335 GTK_BUTTONBOX_DEFAULT_STYLE,
15336 GTK_BUTTONBOX_SPREAD,
15337 GTK_BUTTONBOX_EDGE,
15338 GTK_BUTTONBOX_START,
15340 GTK_BUTTONBOX_CENTER
15341 } GtkButtonBoxStyle;
15346 GTK_CURVE_TYPE_LINEAR,
15347 GTK_CURVE_TYPE_SPLINE,
15348 GTK_CURVE_TYPE_FREE
15353 GTK_DELETE_WORD_ENDS,
15357 GTK_DELETE_DISPLAY_LINES,
15358 GTK_DELETE_DISPLAY_LINE_ENDS,
15359 GTK_DELETE_PARAGRAPH_ENDS,
15360 GTK_DELETE_PARAGRAPHS,
15361 GTK_DELETE_WHITESPACE
15367 GTK_DIR_TAB_FORWARD,
15368 GTK_DIR_TAB_BACKWARD,
15373 } GtkDirectionType;
15378 GTK_EXPANDER_COLLAPSED,
15379 GTK_EXPANDER_SEMI_COLLAPSED,
15380 GTK_EXPANDER_SEMI_EXPANDED,
15381 GTK_EXPANDER_EXPANDED
15382 } GtkExpanderStyle;
15387 GTK_ICON_SIZE_INVALID,
15388 GTK_ICON_SIZE_MENU,
15389 GTK_ICON_SIZE_SMALL_TOOLBAR,
15390 GTK_ICON_SIZE_LARGE_TOOLBAR,
15391 GTK_ICON_SIZE_BUTTON,
15393 GTK_ICON_SIZE_DIALOG
15399 GTK_SENSITIVITY_AUTO,
15400 GTK_SENSITIVITY_ON,
15401 GTK_SENSITIVITY_OFF
15402 } GtkSensitivityType;
15421 } GtkTextDirection;
15428 GTK_JUSTIFY_CENTER,
15430 } GtkJustification;
15437 GTK_MATCH_ALL_TAIL,
15448 GTK_MENU_DIR_PARENT,
15449 GTK_MENU_DIR_CHILD,
15452 } GtkMenuDirectionType;
15463 GTK_MOVEMENT_LOGICAL_POSITIONS,
15464 GTK_MOVEMENT_VISUAL_POSITIONS,
15465 GTK_MOVEMENT_WORDS,
15466 GTK_MOVEMENT_DISPLAY_LINES,
15467 GTK_MOVEMENT_DISPLAY_LINE_ENDS,
15468 GTK_MOVEMENT_PARAGRAPHS,
15469 GTK_MOVEMENT_PARAGRAPH_ENDS,
15470 GTK_MOVEMENT_PAGES,
15471 GTK_MOVEMENT_BUFFER_ENDS,
15472 GTK_MOVEMENT_HORIZONTAL_PAGES
15480 GTK_SCROLL_HORIZONTAL_STEPS,
15481 GTK_SCROLL_HORIZONTAL_PAGES,
15482 GTK_SCROLL_HORIZONTAL_ENDS
15488 GTK_ORIENTATION_HORIZONTAL,
15489 GTK_ORIENTATION_VERTICAL
15495 GTK_CORNER_TOP_LEFT,
15496 GTK_CORNER_BOTTOM_LEFT,
15497 GTK_CORNER_TOP_RIGHT,
15498 GTK_CORNER_BOTTOM_RIGHT
15511 GTK_PATH_PRIO_LOWEST = 0,
15512 GTK_PATH_PRIO_GTK = 4,
15513 GTK_PATH_PRIO_APPLICATION = 8,
15514 GTK_PATH_PRIO_THEME = 10,
15515 GTK_PATH_PRIO_RC = 12,
15516 GTK_PATH_PRIO_HIGHEST = 15
15517 } GtkPathPriorityType;
15524 GTK_PATH_WIDGET_CLASS,
15532 GTK_POLICY_AUTOMATIC,
15548 GTK_PREVIEW_GRAYSCALE
15565 GTK_RESIZE_IMMEDIATE
15572 GTK_RUN_FIRST = G_SIGNAL_RUN_FIRST,
15573 GTK_RUN_LAST = G_SIGNAL_RUN_LAST,
15574 GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST),
15575 GTK_RUN_NO_RECURSE = G_SIGNAL_NO_RECURSE,
15576 GTK_RUN_ACTION = G_SIGNAL_ACTION,
15577 GTK_RUN_NO_HOOKS = G_SIGNAL_NO_HOOKS
15578 } GtkSignalRunType;
15586 GTK_SCROLL_STEP_BACKWARD,
15587 GTK_SCROLL_STEP_FORWARD,
15588 GTK_SCROLL_PAGE_BACKWARD,
15589 GTK_SCROLL_PAGE_FORWARD,
15590 GTK_SCROLL_STEP_UP,
15591 GTK_SCROLL_STEP_DOWN,
15592 GTK_SCROLL_PAGE_UP,
15593 GTK_SCROLL_PAGE_DOWN,
15594 GTK_SCROLL_STEP_LEFT,
15595 GTK_SCROLL_STEP_RIGHT,
15596 GTK_SCROLL_PAGE_LEFT,
15597 GTK_SCROLL_PAGE_RIGHT,
15605 GTK_SELECTION_NONE,
15606 GTK_SELECTION_SINGLE,
15607 GTK_SELECTION_BROWSE,
15608 GTK_SELECTION_MULTIPLE,
15609 GTK_SELECTION_EXTENDED = GTK_SELECTION_MULTIPLE
15610 } GtkSelectionMode;
15618 GTK_SHADOW_ETCHED_IN,
15619 GTK_SHADOW_ETCHED_OUT
15627 GTK_STATE_PRELIGHT,
15628 GTK_STATE_SELECTED,
15629 GTK_STATE_INSENSITIVE
15636 GTK_DIRECTION_LEFT,
15637 GTK_DIRECTION_RIGHT
15638 } GtkSubmenuDirection;
15645 } GtkSubmenuPlacement;
15654 GTK_TOOLBAR_BOTH_HORIZ
15660 GTK_UPDATE_CONTINUOUS,
15661 GTK_UPDATE_DISCONTINUOUS,
15668 GTK_VISIBILITY_NONE,
15669 GTK_VISIBILITY_PARTIAL,
15670 GTK_VISIBILITY_FULL
15677 GTK_WIN_POS_CENTER,
15679 GTK_WIN_POS_CENTER_ALWAYS,
15680 GTK_WIN_POS_CENTER_ON_PARENT
15681 } GtkWindowPosition;
15686 GTK_WINDOW_TOPLEVEL,
15702 GTK_SORT_ASCENDING,
15703 GTK_SORT_DESCENDING
15709 GTK_IM_PREEDIT_NOTHING,
15710 GTK_IM_PREEDIT_CALLBACK,
15711 GTK_IM_PREEDIT_NONE
15712 } GtkIMPreeditStyle;
15716 GTK_IM_STATUS_NOTHING,
15717 GTK_IM_STATUS_CALLBACK,
15719 } GtkIMStatusStyle;
15723 GTK_PACK_DIRECTION_LTR,
15724 GTK_PACK_DIRECTION_RTL,
15725 GTK_PACK_DIRECTION_TTB,
15726 GTK_PACK_DIRECTION_BTT
15727 } GtkPackDirection;
15730 GTK_PRINT_PAGES_ALL,
15731 GTK_PRINT_PAGES_CURRENT,
15732 GTK_PRINT_PAGES_RANGES
15742 GTK_PAGE_ORIENTATION_PORTRAIT,
15743 GTK_PAGE_ORIENTATION_LANDSCAPE,
15744 GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT,
15745 GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE
15746 } GtkPageOrientation;
15749 GTK_PRINT_QUALITY_LOW,
15750 GTK_PRINT_QUALITY_NORMAL,
15751 GTK_PRINT_QUALITY_HIGH,
15752 GTK_PRINT_QUALITY_DRAFT
15756 GTK_PRINT_DUPLEX_SIMPLEX,
15757 GTK_PRINT_DUPLEX_HORIZONTAL,
15758 GTK_PRINT_DUPLEX_VERTICAL
15770 GTK_TREE_VIEW_GRID_LINES_NONE,
15771 GTK_TREE_VIEW_GRID_LINES_HORIZONTAL,
15772 GTK_TREE_VIEW_GRID_LINES_VERTICAL,
15773 GTK_TREE_VIEW_GRID_LINES_BOTH
15774 } GtkTreeViewGridLines;
15777 GTK_DRAG_RESULT_SUCCESS,
15778 GTK_DRAG_RESULT_NO_TARGET,
15779 GTK_DRAG_RESULT_USER_CANCELLED,
15780 GTK_DRAG_RESULT_TIMEOUT_EXPIRED,
15781 GTK_DRAG_RESULT_GRAB_BROKEN,
15782 GTK_DRAG_RESULT_ERROR
15786 # 33 "../gtk/gtkcontainer.h" 2
15787 # 1 "../gtk/gtkwidget.h" 1
15788 # 31 "../gtk/gtkwidget.h"
15789 # 1 "../gtk/gtkaccelgroup.h" 1
15790 # 34 "../gtk/gtkaccelgroup.h"
15792 # 47 "../gtk/gtkaccelgroup.h"
15795 GTK_ACCEL_VISIBLE = 1 << 0,
15796 GTK_ACCEL_LOCKED = 1 << 1,
15797 GTK_ACCEL_MASK = 0x07
15802 typedef struct _GtkAccelGroup GtkAccelGroup;
15803 typedef struct _GtkAccelGroupClass GtkAccelGroupClass;
15804 typedef struct _GtkAccelKey GtkAccelKey;
15805 typedef struct _GtkAccelGroupEntry GtkAccelGroupEntry;
15806 typedef gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group,
15807 GObject *acceleratable,
15809 GdkModifierType modifier);
15811 typedef gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key,
15815 struct _GtkAccelGroup
15819 GdkModifierType modifier_mask;
15820 GSList *acceleratables;
15822 GtkAccelGroupEntry *priv_accels;
15825 struct _GtkAccelGroupClass
15827 GObjectClass parent_class;
15829 void (*accel_changed) (GtkAccelGroup *accel_group,
15831 GdkModifierType modifier,
15832 GClosure *accel_closure);
15835 void (*_gtk_reserved1) (void);
15836 void (*_gtk_reserved2) (void);
15837 void (*_gtk_reserved3) (void);
15838 void (*_gtk_reserved4) (void);
15841 struct _GtkAccelKey
15844 GdkModifierType accel_mods;
15845 guint accel_flags : 16;
15850 GType gtk_accel_group_get_type (void) __attribute__((__const__));
15851 GtkAccelGroup* gtk_accel_group_new (void);
15852 void gtk_accel_group_lock (GtkAccelGroup *accel_group);
15853 void gtk_accel_group_unlock (GtkAccelGroup *accel_group);
15854 void gtk_accel_group_connect (GtkAccelGroup *accel_group,
15856 GdkModifierType accel_mods,
15857 GtkAccelFlags accel_flags,
15858 GClosure *closure);
15859 void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group,
15860 const gchar *accel_path,
15861 GClosure *closure);
15862 gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group,
15863 GClosure *closure);
15864 gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group,
15866 GdkModifierType accel_mods);
15867 gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group,
15868 GQuark accel_quark,
15869 GObject *acceleratable,
15871 GdkModifierType accel_mods);
15875 void _gtk_accel_group_attach (GtkAccelGroup *accel_group,
15877 void _gtk_accel_group_detach (GtkAccelGroup *accel_group,
15879 gboolean gtk_accel_groups_activate (GObject *object,
15881 GdkModifierType accel_mods);
15882 GSList* gtk_accel_groups_from_object (GObject *object);
15883 GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group,
15884 GtkAccelGroupFindFunc find_func,
15886 GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure);
15890 gboolean gtk_accelerator_valid (guint keyval,
15891 GdkModifierType modifiers) __attribute__((__const__));
15892 void gtk_accelerator_parse (const gchar *accelerator,
15893 guint *accelerator_key,
15894 GdkModifierType *accelerator_mods);
15895 gchar* gtk_accelerator_name (guint accelerator_key,
15896 GdkModifierType accelerator_mods);
15897 gchar* gtk_accelerator_get_label (guint accelerator_key,
15898 GdkModifierType accelerator_mods);
15899 void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask);
15900 guint gtk_accelerator_get_default_mod_mask (void);
15904 GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group,
15906 GdkModifierType accel_mods,
15909 void _gtk_accel_group_reconnect (GtkAccelGroup *accel_group,
15910 GQuark accel_path_quark);
15912 struct _GtkAccelGroupEntry
15916 GQuark accel_path_quark;
15926 # 32 "../gtk/gtkwidget.h" 2
15927 # 1 "../gtk/gtkobject.h" 1
15928 # 32 "../gtk/gtkobject.h"
15929 # 1 "../gtk/gtktypeutils.h" 1
15930 # 34 "../gtk/gtktypeutils.h"
15932 # 62 "../gtk/gtktypeutils.h"
15933 typedef GType GtkFundamentalType;
15934 # 89 "../gtk/gtktypeutils.h"
15935 typedef GType GtkType;
15939 typedef GTypeInstance GtkTypeObject;
15940 typedef GTypeClass GtkTypeClass;
15941 typedef GBaseInitFunc GtkClassInitFunc;
15942 typedef GInstanceInitFunc GtkObjectInitFunc;
15950 # 1 "../gtk/gtktypebuiltins.h" 1
15951 # 9 "../gtk/gtktypebuiltins.h"
15954 GType gtk_accel_flags_get_type (void) __attribute__((__const__));
15957 GType gtk_assistant_page_type_get_type (void) __attribute__((__const__));
15960 GType gtk_builder_error_get_type (void) __attribute__((__const__));
15963 GType gtk_calendar_display_options_get_type (void) __attribute__((__const__));
15966 GType gtk_cell_renderer_state_get_type (void) __attribute__((__const__));
15968 GType gtk_cell_renderer_mode_get_type (void) __attribute__((__const__));
15971 GType gtk_cell_renderer_accel_mode_get_type (void) __attribute__((__const__));
15974 GType gtk_cell_type_get_type (void) __attribute__((__const__));
15976 GType gtk_clist_drag_pos_get_type (void) __attribute__((__const__));
15978 GType gtk_button_action_get_type (void) __attribute__((__const__));
15981 GType gtk_ctree_pos_get_type (void) __attribute__((__const__));
15983 GType gtk_ctree_line_style_get_type (void) __attribute__((__const__));
15985 GType gtk_ctree_expander_style_get_type (void) __attribute__((__const__));
15987 GType gtk_ctree_expansion_type_get_type (void) __attribute__((__const__));
15990 GType gtk_debug_flag_get_type (void) __attribute__((__const__));
15993 GType gtk_dialog_flags_get_type (void) __attribute__((__const__));
15995 GType gtk_response_type_get_type (void) __attribute__((__const__));
15998 GType gtk_dest_defaults_get_type (void) __attribute__((__const__));
16000 GType gtk_target_flags_get_type (void) __attribute__((__const__));
16003 GType gtk_anchor_type_get_type (void) __attribute__((__const__));
16005 GType gtk_arrow_type_get_type (void) __attribute__((__const__));
16007 GType gtk_attach_options_get_type (void) __attribute__((__const__));
16009 GType gtk_button_box_style_get_type (void) __attribute__((__const__));
16011 GType gtk_curve_type_get_type (void) __attribute__((__const__));
16013 GType gtk_delete_type_get_type (void) __attribute__((__const__));
16015 GType gtk_direction_type_get_type (void) __attribute__((__const__));
16017 GType gtk_expander_style_get_type (void) __attribute__((__const__));
16019 GType gtk_icon_size_get_type (void) __attribute__((__const__));
16021 GType gtk_sensitivity_type_get_type (void) __attribute__((__const__));
16023 GType gtk_side_type_get_type (void) __attribute__((__const__));
16025 GType gtk_text_direction_get_type (void) __attribute__((__const__));
16027 GType gtk_justification_get_type (void) __attribute__((__const__));
16029 GType gtk_match_type_get_type (void) __attribute__((__const__));
16031 GType gtk_menu_direction_type_get_type (void) __attribute__((__const__));
16033 GType gtk_metric_type_get_type (void) __attribute__((__const__));
16035 GType gtk_movement_step_get_type (void) __attribute__((__const__));
16037 GType gtk_scroll_step_get_type (void) __attribute__((__const__));
16039 GType gtk_orientation_get_type (void) __attribute__((__const__));
16041 GType gtk_corner_type_get_type (void) __attribute__((__const__));
16043 GType gtk_pack_type_get_type (void) __attribute__((__const__));
16045 GType gtk_path_priority_type_get_type (void) __attribute__((__const__));
16047 GType gtk_path_type_get_type (void) __attribute__((__const__));
16049 GType gtk_policy_type_get_type (void) __attribute__((__const__));
16051 GType gtk_position_type_get_type (void) __attribute__((__const__));
16053 GType gtk_preview_type_get_type (void) __attribute__((__const__));
16055 GType gtk_relief_style_get_type (void) __attribute__((__const__));
16057 GType gtk_resize_mode_get_type (void) __attribute__((__const__));
16059 GType gtk_signal_run_type_get_type (void) __attribute__((__const__));
16061 GType gtk_scroll_type_get_type (void) __attribute__((__const__));
16063 GType gtk_selection_mode_get_type (void) __attribute__((__const__));
16065 GType gtk_shadow_type_get_type (void) __attribute__((__const__));
16067 GType gtk_state_type_get_type (void) __attribute__((__const__));
16069 GType gtk_submenu_direction_get_type (void) __attribute__((__const__));
16071 GType gtk_submenu_placement_get_type (void) __attribute__((__const__));
16073 GType gtk_toolbar_style_get_type (void) __attribute__((__const__));
16075 GType gtk_update_type_get_type (void) __attribute__((__const__));
16077 GType gtk_visibility_get_type (void) __attribute__((__const__));
16079 GType gtk_window_position_get_type (void) __attribute__((__const__));
16081 GType gtk_window_type_get_type (void) __attribute__((__const__));
16083 GType gtk_wrap_mode_get_type (void) __attribute__((__const__));
16085 GType gtk_sort_type_get_type (void) __attribute__((__const__));
16087 GType gtk_im_preedit_style_get_type (void) __attribute__((__const__));
16089 GType gtk_im_status_style_get_type (void) __attribute__((__const__));
16091 GType gtk_pack_direction_get_type (void) __attribute__((__const__));
16093 GType gtk_print_pages_get_type (void) __attribute__((__const__));
16095 GType gtk_page_set_get_type (void) __attribute__((__const__));
16097 GType gtk_page_orientation_get_type (void) __attribute__((__const__));
16099 GType gtk_print_quality_get_type (void) __attribute__((__const__));
16101 GType gtk_print_duplex_get_type (void) __attribute__((__const__));
16103 GType gtk_unit_get_type (void) __attribute__((__const__));
16105 GType gtk_tree_view_grid_lines_get_type (void) __attribute__((__const__));
16107 GType gtk_drag_result_get_type (void) __attribute__((__const__));
16110 GType gtk_file_chooser_action_get_type (void) __attribute__((__const__));
16112 GType gtk_file_chooser_confirmation_get_type (void) __attribute__((__const__));
16114 GType gtk_file_chooser_error_get_type (void) __attribute__((__const__));
16117 GType gtk_file_filter_flags_get_type (void) __attribute__((__const__));
16120 GType gtk_icon_lookup_flags_get_type (void) __attribute__((__const__));
16122 GType gtk_icon_theme_error_get_type (void) __attribute__((__const__));
16125 GType gtk_icon_view_drop_position_get_type (void) __attribute__((__const__));
16128 GType gtk_image_type_get_type (void) __attribute__((__const__));
16131 GType gtk_message_type_get_type (void) __attribute__((__const__));
16133 GType gtk_buttons_type_get_type (void) __attribute__((__const__));
16136 GType gtk_notebook_tab_get_type (void) __attribute__((__const__));
16139 GType gtk_object_flags_get_type (void) __attribute__((__const__));
16141 GType gtk_arg_flags_get_type (void) __attribute__((__const__));
16144 GType gtk_print_status_get_type (void) __attribute__((__const__));
16146 GType gtk_print_operation_result_get_type (void) __attribute__((__const__));
16148 GType gtk_print_operation_action_get_type (void) __attribute__((__const__));
16150 GType gtk_print_error_get_type (void) __attribute__((__const__));
16153 GType gtk_private_flags_get_type (void) __attribute__((__const__));
16156 GType gtk_progress_bar_style_get_type (void) __attribute__((__const__));
16158 GType gtk_progress_bar_orientation_get_type (void) __attribute__((__const__));
16161 GType gtk_rc_flags_get_type (void) __attribute__((__const__));
16163 GType gtk_rc_token_type_get_type (void) __attribute__((__const__));
16166 GType gtk_recent_sort_type_get_type (void) __attribute__((__const__));
16168 GType gtk_recent_chooser_error_get_type (void) __attribute__((__const__));
16171 GType gtk_recent_filter_flags_get_type (void) __attribute__((__const__));
16174 GType gtk_recent_manager_error_get_type (void) __attribute__((__const__));
16177 GType gtk_size_group_mode_get_type (void) __attribute__((__const__));
16180 GType gtk_spin_button_update_policy_get_type (void) __attribute__((__const__));
16182 GType gtk_spin_type_get_type (void) __attribute__((__const__));
16185 GType gtk_text_buffer_target_info_get_type (void) __attribute__((__const__));
16188 GType gtk_text_search_flags_get_type (void) __attribute__((__const__));
16191 GType gtk_text_window_type_get_type (void) __attribute__((__const__));
16194 GType gtk_toolbar_child_type_get_type (void) __attribute__((__const__));
16196 GType gtk_toolbar_space_style_get_type (void) __attribute__((__const__));
16199 GType gtk_tree_view_mode_get_type (void) __attribute__((__const__));
16202 GType gtk_tree_model_flags_get_type (void) __attribute__((__const__));
16205 GType gtk_tree_view_drop_position_get_type (void) __attribute__((__const__));
16208 GType gtk_tree_view_column_sizing_get_type (void) __attribute__((__const__));
16211 GType gtk_ui_manager_item_type_get_type (void) __attribute__((__const__));
16214 GType gtk_widget_flags_get_type (void) __attribute__((__const__));
16216 GType gtk_widget_help_type_get_type (void) __attribute__((__const__));
16219 # 105 "../gtk/gtktypeutils.h" 2
16225 GType gtk_identifier_get_type (void) __attribute__((__const__));
16231 typedef struct _GtkArg GtkArg;
16232 typedef struct _GtkObject GtkObject;
16233 typedef gboolean (*GtkFunction) (gpointer data);
16234 typedef void (*GtkDestroyNotify) (gpointer data);
16235 typedef void (*GtkCallbackMarshal) (GtkObject *object,
16239 typedef void (*GtkSignalFunc) (void);
16243 typedef struct _GtkTypeInfo GtkTypeInfo;
16244 typedef GSignalCMarshaller GtkSignalMarshaller;
16266 gboolean bool_data;
16272 gdouble double_data;
16273 gchar *string_data;
16274 GtkObject *object_data;
16275 gpointer pointer_data;
16284 # 218 "../gtk/gtktypeutils.h"
16285 struct _GtkTypeInfo
16290 GtkClassInitFunc class_init_func;
16291 GtkObjectInitFunc object_init_func;
16292 gpointer reserved_1;
16293 gpointer reserved_2;
16294 GtkClassInitFunc base_class_init_func;
16299 gpointer gtk_type_class (GtkType type);
16303 GtkType gtk_type_unique (GtkType parent_type,
16304 const GtkTypeInfo *gtkinfo);
16305 gpointer gtk_type_new (GtkType type);
16306 # 249 "../gtk/gtktypeutils.h"
16307 typedef GEnumValue GtkEnumValue;
16308 typedef GFlagsValue GtkFlagValue;
16309 GtkEnumValue* gtk_type_enum_get_values (GtkType enum_type);
16310 GtkFlagValue* gtk_type_flags_get_values (GtkType flags_type);
16311 GtkEnumValue* gtk_type_enum_find_value (GtkType enum_type,
16312 const gchar *value_name);
16313 GtkFlagValue* gtk_type_flags_find_value (GtkType flags_type,
16314 const gchar *value_name);
16320 void gtk_type_init (GTypeDebugFlags debug_flags);
16324 # 33 "../gtk/gtkobject.h" 2
16325 # 1 "../gtk/gtkdebug.h" 1
16326 # 32 "../gtk/gtkdebug.h"
16330 GTK_DEBUG_MISC = 1 << 0,
16331 GTK_DEBUG_PLUGSOCKET = 1 << 1,
16332 GTK_DEBUG_TEXT = 1 << 2,
16333 GTK_DEBUG_TREE = 1 << 3,
16334 GTK_DEBUG_UPDATES = 1 << 4,
16335 GTK_DEBUG_KEYBINDINGS = 1 << 5,
16336 GTK_DEBUG_MULTIHEAD = 1 << 6,
16337 GTK_DEBUG_MODULES = 1 << 7,
16338 GTK_DEBUG_GEOMETRY = 1 << 8,
16339 GTK_DEBUG_ICONTHEME = 1 << 9,
16340 GTK_DEBUG_PRINTING = 1 << 10,
16341 GTK_DEBUG_BUILDER = 1 << 11
16343 # 71 "../gtk/gtkdebug.h"
16344 extern guint gtk_debug_flags;
16347 # 34 "../gtk/gtkobject.h" 2
16350 # 58 "../gtk/gtkobject.h"
16353 GTK_IN_DESTRUCTION = 1 << 0,
16355 GTK_FLOATING = 1 << 1,
16357 GTK_RESERVED_1 = 1 << 2,
16358 GTK_RESERVED_2 = 1 << 3
16360 # 80 "../gtk/gtkobject.h"
16361 typedef struct _GtkObjectClass GtkObjectClass;
16366 GInitiallyUnowned parent_instance;
16376 struct _GtkObjectClass
16378 GInitiallyUnownedClass parent_class;
16381 void (*set_arg) (GtkObject *object,
16384 void (*get_arg) (GtkObject *object,
16387 # 115 "../gtk/gtkobject.h"
16388 void (*destroy) (GtkObject *object);
16395 GtkType gtk_object_get_type (void) __attribute__((__const__));
16398 void gtk_object_sink (GtkObject *object);
16400 void gtk_object_destroy (GtkObject *object);
16406 GtkObject* gtk_object_new (GtkType type,
16407 const gchar *first_property_name,
16409 GtkObject* gtk_object_ref (GtkObject *object);
16410 void gtk_object_unref (GtkObject *object);
16411 void gtk_object_weakref (GtkObject *object,
16412 GtkDestroyNotify notify,
16414 void gtk_object_weakunref (GtkObject *object,
16415 GtkDestroyNotify notify,
16417 # 157 "../gtk/gtkobject.h"
16418 void gtk_object_set_data (GtkObject *object,
16421 void gtk_object_set_data_full (GtkObject *object,
16424 GtkDestroyNotify destroy);
16425 void gtk_object_remove_data (GtkObject *object,
16427 gpointer gtk_object_get_data (GtkObject *object,
16429 void gtk_object_remove_no_notify (GtkObject *object,
16437 void gtk_object_set_user_data (GtkObject *object,
16439 gpointer gtk_object_get_user_data (GtkObject *object);
16445 void gtk_object_set_data_by_id (GtkObject *object,
16448 void gtk_object_set_data_by_id_full (GtkObject *object,
16451 GtkDestroyNotify destroy);
16452 gpointer gtk_object_get_data_by_id (GtkObject *object,
16454 void gtk_object_remove_data_by_id (GtkObject *object,
16456 void gtk_object_remove_no_notify_by_id (GtkObject *object,
16465 GTK_ARG_READABLE = G_PARAM_READABLE,
16466 GTK_ARG_WRITABLE = G_PARAM_WRITABLE,
16467 GTK_ARG_CONSTRUCT = G_PARAM_CONSTRUCT,
16468 GTK_ARG_CONSTRUCT_ONLY = G_PARAM_CONSTRUCT_ONLY,
16469 GTK_ARG_CHILD_ARG = 1 << 4
16472 void gtk_object_get (GtkObject *object,
16473 const gchar *first_property_name,
16474 ...) __attribute__((__sentinel__));
16475 void gtk_object_set (GtkObject *object,
16476 const gchar *first_property_name,
16477 ...) __attribute__((__sentinel__));
16478 void gtk_object_add_arg_type (const gchar *arg_name,
16486 # 33 "../gtk/gtkwidget.h" 2
16487 # 1 "../gtk/gtkadjustment.h" 1
16488 # 34 "../gtk/gtkadjustment.h"
16490 # 44 "../gtk/gtkadjustment.h"
16491 typedef struct _GtkAdjustment GtkAdjustment;
16492 typedef struct _GtkAdjustmentClass GtkAdjustmentClass;
16494 struct _GtkAdjustment
16496 GtkObject parent_instance;
16501 gdouble step_increment;
16502 gdouble page_increment;
16506 struct _GtkAdjustmentClass
16508 GtkObjectClass parent_class;
16510 void (* changed) (GtkAdjustment *adjustment);
16511 void (* value_changed) (GtkAdjustment *adjustment);
16514 void (*_gtk_reserved1) (void);
16515 void (*_gtk_reserved2) (void);
16516 void (*_gtk_reserved3) (void);
16517 void (*_gtk_reserved4) (void);
16521 GType gtk_adjustment_get_type (void) __attribute__((__const__));
16522 GtkObject* gtk_adjustment_new (gdouble value,
16525 gdouble step_increment,
16526 gdouble page_increment,
16527 gdouble page_size);
16528 void gtk_adjustment_changed (GtkAdjustment *adjustment);
16529 void gtk_adjustment_value_changed (GtkAdjustment *adjustment);
16530 void gtk_adjustment_clamp_page (GtkAdjustment *adjustment,
16533 gdouble gtk_adjustment_get_value (GtkAdjustment *adjustment);
16534 void gtk_adjustment_set_value (GtkAdjustment *adjustment,
16538 # 34 "../gtk/gtkwidget.h" 2
16539 # 1 "../gtk/gtkstyle.h" 1
16540 # 35 "../gtk/gtkstyle.h"
16542 # 49 "../gtk/gtkstyle.h"
16543 typedef struct _GtkBorder GtkBorder;
16544 typedef struct _GtkStyle GtkStyle;
16545 typedef struct _GtkStyleClass GtkStyleClass;
16546 typedef struct _GtkThemeEngine GtkThemeEngine;
16547 typedef struct _GtkRcStyle GtkRcStyle;
16548 typedef struct _GtkIconSet GtkIconSet;
16549 typedef struct _GtkIconSource GtkIconSource;
16550 typedef struct _GtkRcProperty GtkRcProperty;
16551 typedef struct _GtkSettings GtkSettings;
16552 typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec,
16553 const GString *rc_string,
16554 GValue *property_value);
16559 typedef struct _GtkWidget GtkWidget;
16565 GObject parent_instance;
16576 GdkColor text_aa[5];
16580 PangoFontDescription *font_desc;
16587 GdkGC *light_gc[5];
16592 GdkGC *text_aa_gc[5];
16596 GdkPixmap *bg_pixmap[5];
16603 GdkColormap *colormap;
16604 GdkFont *private_font;
16605 PangoFontDescription *private_font_desc;
16608 GtkRcStyle *rc_style;
16611 GArray *property_cache;
16612 GSList *icon_factories;
16615 struct _GtkStyleClass
16617 GObjectClass parent_class;
16623 void (*realize) (GtkStyle *style);
16628 void (*unrealize) (GtkStyle *style);
16632 void (*copy) (GtkStyle *style,
16640 GtkStyle *(*clone) (GtkStyle *style);
16645 void (*init_from_rc) (GtkStyle *style,
16646 GtkRcStyle *rc_style);
16648 void (*set_background) (GtkStyle *style,
16650 GtkStateType state_type);
16653 GdkPixbuf * (* render_icon) (GtkStyle *style,
16654 const GtkIconSource *source,
16655 GtkTextDirection direction,
16656 GtkStateType state,
16659 const gchar *detail);
16664 void (*draw_hline) (GtkStyle *style,
16666 GtkStateType state_type,
16667 GdkRectangle *area,
16669 const gchar *detail,
16673 void (*draw_vline) (GtkStyle *style,
16675 GtkStateType state_type,
16676 GdkRectangle *area,
16678 const gchar *detail,
16682 void (*draw_shadow) (GtkStyle *style,
16684 GtkStateType state_type,
16685 GtkShadowType shadow_type,
16686 GdkRectangle *area,
16688 const gchar *detail,
16693 void (*draw_polygon) (GtkStyle *style,
16695 GtkStateType state_type,
16696 GtkShadowType shadow_type,
16697 GdkRectangle *area,
16699 const gchar *detail,
16703 void (*draw_arrow) (GtkStyle *style,
16705 GtkStateType state_type,
16706 GtkShadowType shadow_type,
16707 GdkRectangle *area,
16709 const gchar *detail,
16710 GtkArrowType arrow_type,
16716 void (*draw_diamond) (GtkStyle *style,
16718 GtkStateType state_type,
16719 GtkShadowType shadow_type,
16720 GdkRectangle *area,
16722 const gchar *detail,
16727 void (*draw_string) (GtkStyle *style,
16729 GtkStateType state_type,
16730 GdkRectangle *area,
16732 const gchar *detail,
16735 const gchar *string);
16736 void (*draw_box) (GtkStyle *style,
16738 GtkStateType state_type,
16739 GtkShadowType shadow_type,
16740 GdkRectangle *area,
16742 const gchar *detail,
16747 void (*draw_flat_box) (GtkStyle *style,
16749 GtkStateType state_type,
16750 GtkShadowType shadow_type,
16751 GdkRectangle *area,
16753 const gchar *detail,
16758 void (*draw_check) (GtkStyle *style,
16760 GtkStateType state_type,
16761 GtkShadowType shadow_type,
16762 GdkRectangle *area,
16764 const gchar *detail,
16769 void (*draw_option) (GtkStyle *style,
16771 GtkStateType state_type,
16772 GtkShadowType shadow_type,
16773 GdkRectangle *area,
16775 const gchar *detail,
16780 void (*draw_tab) (GtkStyle *style,
16782 GtkStateType state_type,
16783 GtkShadowType shadow_type,
16784 GdkRectangle *area,
16786 const gchar *detail,
16791 void (*draw_shadow_gap) (GtkStyle *style,
16793 GtkStateType state_type,
16794 GtkShadowType shadow_type,
16795 GdkRectangle *area,
16797 const gchar *detail,
16802 GtkPositionType gap_side,
16805 void (*draw_box_gap) (GtkStyle *style,
16807 GtkStateType state_type,
16808 GtkShadowType shadow_type,
16809 GdkRectangle *area,
16811 const gchar *detail,
16816 GtkPositionType gap_side,
16819 void (*draw_extension) (GtkStyle *style,
16821 GtkStateType state_type,
16822 GtkShadowType shadow_type,
16823 GdkRectangle *area,
16825 const gchar *detail,
16830 GtkPositionType gap_side);
16831 void (*draw_focus) (GtkStyle *style,
16833 GtkStateType state_type,
16834 GdkRectangle *area,
16836 const gchar *detail,
16841 void (*draw_slider) (GtkStyle *style,
16843 GtkStateType state_type,
16844 GtkShadowType shadow_type,
16845 GdkRectangle *area,
16847 const gchar *detail,
16852 GtkOrientation orientation);
16853 void (*draw_handle) (GtkStyle *style,
16855 GtkStateType state_type,
16856 GtkShadowType shadow_type,
16857 GdkRectangle *area,
16859 const gchar *detail,
16864 GtkOrientation orientation);
16866 void (*draw_expander) (GtkStyle *style,
16868 GtkStateType state_type,
16869 GdkRectangle *area,
16871 const gchar *detail,
16874 GtkExpanderStyle expander_style);
16875 void (*draw_layout) (GtkStyle *style,
16877 GtkStateType state_type,
16879 GdkRectangle *area,
16881 const gchar *detail,
16884 PangoLayout *layout);
16885 void (*draw_resize_grip) (GtkStyle *style,
16887 GtkStateType state_type,
16888 GdkRectangle *area,
16890 const gchar *detail,
16891 GdkWindowEdge edge,
16898 void (*_gtk_reserved1) (void);
16899 void (*_gtk_reserved2) (void);
16900 void (*_gtk_reserved3) (void);
16901 void (*_gtk_reserved4) (void);
16902 void (*_gtk_reserved5) (void);
16903 void (*_gtk_reserved6) (void);
16904 void (*_gtk_reserved7) (void);
16905 void (*_gtk_reserved8) (void);
16906 void (*_gtk_reserved9) (void);
16907 void (*_gtk_reserved10) (void);
16908 void (*_gtk_reserved11) (void);
16909 void (*_gtk_reserved12) (void);
16920 GType gtk_style_get_type (void) __attribute__((__const__));
16921 GtkStyle* gtk_style_new (void);
16922 GtkStyle* gtk_style_copy (GtkStyle *style);
16923 GtkStyle* gtk_style_attach (GtkStyle *style,
16924 GdkWindow *window) __attribute__((warn_unused_result));
16925 void gtk_style_detach (GtkStyle *style);
16928 GtkStyle* gtk_style_ref (GtkStyle *style);
16929 void gtk_style_unref (GtkStyle *style);
16931 GdkFont * gtk_style_get_font (GtkStyle *style);
16932 void gtk_style_set_font (GtkStyle *style,
16936 void gtk_style_set_background (GtkStyle *style,
16938 GtkStateType state_type);
16939 void gtk_style_apply_default_background (GtkStyle *style,
16942 GtkStateType state_type,
16943 GdkRectangle *area,
16949 GtkIconSet* gtk_style_lookup_icon_set (GtkStyle *style,
16950 const gchar *stock_id);
16951 gboolean gtk_style_lookup_color (GtkStyle *style,
16952 const gchar *color_name,
16955 GdkPixbuf* gtk_style_render_icon (GtkStyle *style,
16956 const GtkIconSource *source,
16957 GtkTextDirection direction,
16958 GtkStateType state,
16961 const gchar *detail);
16964 void gtk_draw_hline (GtkStyle *style,
16966 GtkStateType state_type,
16970 void gtk_draw_vline (GtkStyle *style,
16972 GtkStateType state_type,
16976 void gtk_draw_shadow (GtkStyle *style,
16978 GtkStateType state_type,
16979 GtkShadowType shadow_type,
16984 void gtk_draw_polygon (GtkStyle *style,
16986 GtkStateType state_type,
16987 GtkShadowType shadow_type,
16991 void gtk_draw_arrow (GtkStyle *style,
16993 GtkStateType state_type,
16994 GtkShadowType shadow_type,
16995 GtkArrowType arrow_type,
17001 void gtk_draw_diamond (GtkStyle *style,
17003 GtkStateType state_type,
17004 GtkShadowType shadow_type,
17009 void gtk_draw_box (GtkStyle *style,
17011 GtkStateType state_type,
17012 GtkShadowType shadow_type,
17017 void gtk_draw_flat_box (GtkStyle *style,
17019 GtkStateType state_type,
17020 GtkShadowType shadow_type,
17025 void gtk_draw_check (GtkStyle *style,
17027 GtkStateType state_type,
17028 GtkShadowType shadow_type,
17033 void gtk_draw_option (GtkStyle *style,
17035 GtkStateType state_type,
17036 GtkShadowType shadow_type,
17041 void gtk_draw_tab (GtkStyle *style,
17043 GtkStateType state_type,
17044 GtkShadowType shadow_type,
17049 void gtk_draw_shadow_gap (GtkStyle *style,
17051 GtkStateType state_type,
17052 GtkShadowType shadow_type,
17057 GtkPositionType gap_side,
17060 void gtk_draw_box_gap (GtkStyle *style,
17062 GtkStateType state_type,
17063 GtkShadowType shadow_type,
17068 GtkPositionType gap_side,
17071 void gtk_draw_extension (GtkStyle *style,
17073 GtkStateType state_type,
17074 GtkShadowType shadow_type,
17079 GtkPositionType gap_side);
17080 void gtk_draw_focus (GtkStyle *style,
17086 void gtk_draw_slider (GtkStyle *style,
17088 GtkStateType state_type,
17089 GtkShadowType shadow_type,
17094 GtkOrientation orientation);
17095 void gtk_draw_handle (GtkStyle *style,
17097 GtkStateType state_type,
17098 GtkShadowType shadow_type,
17103 GtkOrientation orientation);
17104 void gtk_draw_expander (GtkStyle *style,
17106 GtkStateType state_type,
17109 GtkExpanderStyle expander_style);
17110 void gtk_draw_layout (GtkStyle *style,
17112 GtkStateType state_type,
17116 PangoLayout *layout);
17117 void gtk_draw_resize_grip (GtkStyle *style,
17119 GtkStateType state_type,
17120 GdkWindowEdge edge,
17127 void gtk_paint_hline (GtkStyle *style,
17129 GtkStateType state_type,
17130 GdkRectangle *area,
17132 const gchar *detail,
17136 void gtk_paint_vline (GtkStyle *style,
17138 GtkStateType state_type,
17139 GdkRectangle *area,
17141 const gchar *detail,
17145 void gtk_paint_shadow (GtkStyle *style,
17147 GtkStateType state_type,
17148 GtkShadowType shadow_type,
17149 GdkRectangle *area,
17151 const gchar *detail,
17156 void gtk_paint_polygon (GtkStyle *style,
17158 GtkStateType state_type,
17159 GtkShadowType shadow_type,
17160 GdkRectangle *area,
17162 const gchar *detail,
17166 void gtk_paint_arrow (GtkStyle *style,
17168 GtkStateType state_type,
17169 GtkShadowType shadow_type,
17170 GdkRectangle *area,
17172 const gchar *detail,
17173 GtkArrowType arrow_type,
17179 void gtk_paint_diamond (GtkStyle *style,
17181 GtkStateType state_type,
17182 GtkShadowType shadow_type,
17183 GdkRectangle *area,
17185 const gchar *detail,
17190 void gtk_paint_box (GtkStyle *style,
17192 GtkStateType state_type,
17193 GtkShadowType shadow_type,
17194 GdkRectangle *area,
17196 const gchar *detail,
17201 void gtk_paint_flat_box (GtkStyle *style,
17203 GtkStateType state_type,
17204 GtkShadowType shadow_type,
17205 GdkRectangle *area,
17207 const gchar *detail,
17212 void gtk_paint_check (GtkStyle *style,
17214 GtkStateType state_type,
17215 GtkShadowType shadow_type,
17216 GdkRectangle *area,
17218 const gchar *detail,
17223 void gtk_paint_option (GtkStyle *style,
17225 GtkStateType state_type,
17226 GtkShadowType shadow_type,
17227 GdkRectangle *area,
17229 const gchar *detail,
17234 void gtk_paint_tab (GtkStyle *style,
17236 GtkStateType state_type,
17237 GtkShadowType shadow_type,
17238 GdkRectangle *area,
17240 const gchar *detail,
17245 void gtk_paint_shadow_gap (GtkStyle *style,
17247 GtkStateType state_type,
17248 GtkShadowType shadow_type,
17249 GdkRectangle *area,
17256 GtkPositionType gap_side,
17259 void gtk_paint_box_gap (GtkStyle *style,
17261 GtkStateType state_type,
17262 GtkShadowType shadow_type,
17263 GdkRectangle *area,
17270 GtkPositionType gap_side,
17273 void gtk_paint_extension (GtkStyle *style,
17275 GtkStateType state_type,
17276 GtkShadowType shadow_type,
17277 GdkRectangle *area,
17284 GtkPositionType gap_side);
17285 void gtk_paint_focus (GtkStyle *style,
17287 GtkStateType state_type,
17288 GdkRectangle *area,
17290 const gchar *detail,
17295 void gtk_paint_slider (GtkStyle *style,
17297 GtkStateType state_type,
17298 GtkShadowType shadow_type,
17299 GdkRectangle *area,
17301 const gchar *detail,
17306 GtkOrientation orientation);
17307 void gtk_paint_handle (GtkStyle *style,
17309 GtkStateType state_type,
17310 GtkShadowType shadow_type,
17311 GdkRectangle *area,
17313 const gchar *detail,
17318 GtkOrientation orientation);
17319 void gtk_paint_expander (GtkStyle *style,
17321 GtkStateType state_type,
17322 GdkRectangle *area,
17324 const gchar *detail,
17327 GtkExpanderStyle expander_style);
17328 void gtk_paint_layout (GtkStyle *style,
17330 GtkStateType state_type,
17332 GdkRectangle *area,
17334 const gchar *detail,
17337 PangoLayout *layout);
17339 void gtk_paint_resize_grip (GtkStyle *style,
17341 GtkStateType state_type,
17342 GdkRectangle *area,
17344 const gchar *detail,
17345 GdkWindowEdge edge,
17352 GType gtk_border_get_type (void) __attribute__((__const__));
17353 GtkBorder *gtk_border_copy (const GtkBorder *border_);
17354 void gtk_border_free (GtkBorder *border_);
17357 const GValue* _gtk_style_peek_property_value (GtkStyle *style,
17360 GtkRcPropertyParser parser);
17362 void _gtk_style_init_for_settings (GtkStyle *style,
17363 GtkSettings *settings);
17365 void _gtk_style_shade (GdkColor *a,
17372 void gtk_draw_string (GtkStyle *style,
17374 GtkStateType state_type,
17377 const gchar *string);
17378 void gtk_paint_string (GtkStyle *style,
17380 GtkStateType state_type,
17381 GdkRectangle *area,
17383 const gchar *detail,
17386 const gchar *string);
17389 void gtk_draw_insertion_cursor (GtkWidget *widget,
17390 GdkDrawable *drawable,
17391 GdkRectangle *area,
17392 GdkRectangle *location,
17393 gboolean is_primary,
17394 GtkTextDirection direction,
17395 gboolean draw_arrow);
17396 GdkGC *_gtk_widget_get_cursor_gc (GtkWidget *widget);
17397 void _gtk_widget_get_cursor_color (GtkWidget *widget,
17401 # 35 "../gtk/gtkwidget.h" 2
17402 # 1 "../gtk/gtksettings.h" 1
17403 # 21 "../gtk/gtksettings.h"
17404 # 1 "../gtk/gtkrc.h" 1
17405 # 33 "../gtk/gtkrc.h"
17409 typedef struct _GtkIconFactory GtkIconFactory;
17410 typedef struct _GtkRcContext GtkRcContext;
17412 typedef struct _GtkRcStyleClass GtkRcStyleClass;
17413 # 48 "../gtk/gtkrc.h"
17416 GTK_RC_FG = 1 << 0,
17417 GTK_RC_BG = 1 << 1,
17418 GTK_RC_TEXT = 1 << 2,
17419 GTK_RC_BASE = 1 << 3
17424 GObject parent_instance;
17429 gchar *bg_pixmap_name[5];
17430 PangoFontDescription *font_desc;
17432 GtkRcFlags color_flags[5];
17442 GArray *rc_properties;
17445 GSList *rc_style_lists;
17447 GSList *icon_factories;
17449 guint engine_specified : 1;
17452 struct _GtkRcStyleClass
17454 GObjectClass parent_class;
17461 GtkRcStyle * (*create_rc_style) (GtkRcStyle *rc_style);
17467 guint (*parse) (GtkRcStyle *rc_style,
17468 GtkSettings *settings,
17469 GScanner *scanner);
17474 void (*merge) (GtkRcStyle *dest,
17479 GtkStyle * (*create_style) (GtkRcStyle *rc_style);
17482 void (*_gtk_reserved1) (void);
17483 void (*_gtk_reserved2) (void);
17484 void (*_gtk_reserved3) (void);
17485 void (*_gtk_reserved4) (void);
17487 # 129 "../gtk/gtkrc.h"
17488 void _gtk_rc_init (void);
17489 GSList* _gtk_rc_parse_widget_class_path (const gchar *pattern);
17490 void _gtk_rc_free_widget_class_path (GSList *list);
17491 gboolean _gtk_rc_match_widget_class (GSList *list,
17494 gchar *path_reversed);
17496 void gtk_rc_add_default_file (const gchar *filename);
17497 void gtk_rc_set_default_files (gchar **filenames);
17498 gchar** gtk_rc_get_default_files (void);
17499 GtkStyle* gtk_rc_get_style (GtkWidget *widget);
17500 GtkStyle* gtk_rc_get_style_by_paths (GtkSettings *settings,
17501 const char *widget_path,
17502 const char *class_path,
17505 gboolean gtk_rc_reparse_all_for_settings (GtkSettings *settings,
17506 gboolean force_load);
17507 void gtk_rc_reset_styles (GtkSettings *settings);
17509 gchar* gtk_rc_find_pixmap_in_path (GtkSettings *settings,
17511 const gchar *pixmap_file);
17513 void gtk_rc_parse (const gchar *filename);
17514 void gtk_rc_parse_string (const gchar *rc_string);
17515 gboolean gtk_rc_reparse_all (void);
17518 void gtk_rc_add_widget_name_style (GtkRcStyle *rc_style,
17519 const gchar *pattern);
17520 void gtk_rc_add_widget_class_style (GtkRcStyle *rc_style,
17521 const gchar *pattern);
17522 void gtk_rc_add_class_style (GtkRcStyle *rc_style,
17523 const gchar *pattern);
17527 GType gtk_rc_style_get_type (void) __attribute__((__const__));
17528 GtkRcStyle* gtk_rc_style_new (void);
17529 GtkRcStyle* gtk_rc_style_copy (GtkRcStyle *orig);
17532 void gtk_rc_style_ref (GtkRcStyle *rc_style);
17533 void gtk_rc_style_unref (GtkRcStyle *rc_style);
17536 gchar* gtk_rc_find_module_in_path (const gchar *module_file);
17537 gchar* gtk_rc_get_theme_dir (void);
17538 gchar* gtk_rc_get_module_dir (void);
17539 gchar* gtk_rc_get_im_module_path (void);
17540 gchar* gtk_rc_get_im_module_file (void);
17544 GTK_RC_TOKEN_INVALID = G_TOKEN_LAST,
17545 GTK_RC_TOKEN_INCLUDE,
17546 GTK_RC_TOKEN_NORMAL,
17547 GTK_RC_TOKEN_ACTIVE,
17548 GTK_RC_TOKEN_PRELIGHT,
17549 GTK_RC_TOKEN_SELECTED,
17550 GTK_RC_TOKEN_INSENSITIVE,
17555 GTK_RC_TOKEN_XTHICKNESS,
17556 GTK_RC_TOKEN_YTHICKNESS,
17558 GTK_RC_TOKEN_FONTSET,
17559 GTK_RC_TOKEN_FONT_NAME,
17560 GTK_RC_TOKEN_BG_PIXMAP,
17561 GTK_RC_TOKEN_PIXMAP_PATH,
17562 GTK_RC_TOKEN_STYLE,
17563 GTK_RC_TOKEN_BINDING,
17565 GTK_RC_TOKEN_WIDGET,
17566 GTK_RC_TOKEN_WIDGET_CLASS,
17567 GTK_RC_TOKEN_CLASS,
17568 GTK_RC_TOKEN_LOWEST,
17570 GTK_RC_TOKEN_APPLICATION,
17571 GTK_RC_TOKEN_THEME,
17573 GTK_RC_TOKEN_HIGHEST,
17574 GTK_RC_TOKEN_ENGINE,
17575 GTK_RC_TOKEN_MODULE_PATH,
17576 GTK_RC_TOKEN_IM_MODULE_PATH,
17577 GTK_RC_TOKEN_IM_MODULE_FILE,
17578 GTK_RC_TOKEN_STOCK,
17581 GTK_RC_TOKEN_COLOR,
17582 GTK_RC_TOKEN_UNBIND,
17586 GScanner* gtk_rc_scanner_new (void);
17587 guint gtk_rc_parse_color (GScanner *scanner,
17589 guint gtk_rc_parse_color_full (GScanner *scanner,
17592 guint gtk_rc_parse_state (GScanner *scanner,
17593 GtkStateType *state);
17594 guint gtk_rc_parse_priority (GScanner *scanner,
17595 GtkPathPriorityType *priority);
17600 struct _GtkRcProperty
17604 GQuark property_name;
17610 const GtkRcProperty* _gtk_rc_style_lookup_rc_property (GtkRcStyle *rc_style,
17612 GQuark property_name);
17613 void _gtk_rc_style_set_rc_property (GtkRcStyle *rc_style,
17614 GtkRcProperty *property);
17615 void _gtk_rc_style_unset_rc_property (GtkRcStyle *rc_style,
17617 GQuark property_name);
17619 GSList * _gtk_rc_style_get_color_hashes (GtkRcStyle *rc_style);
17621 const gchar* _gtk_rc_context_get_default_font_name (GtkSettings *settings);
17622 void _gtk_rc_context_destroy (GtkSettings *settings);
17625 # 22 "../gtk/gtksettings.h" 2
17628 # 36 "../gtk/gtksettings.h"
17629 typedef struct _GtkSettingsClass GtkSettingsClass;
17630 typedef struct _GtkSettingsValue GtkSettingsValue;
17631 typedef struct _GtkSettingsPropertyValue GtkSettingsPropertyValue;
17635 struct _GtkSettings
17637 GObject parent_instance;
17639 GData *queued_settings;
17640 GtkSettingsPropertyValue *property_values;
17642 GtkRcContext *rc_context;
17645 struct _GtkSettingsClass
17647 GObjectClass parent_class;
17650 struct _GtkSettingsValue
17665 GType gtk_settings_get_type (void) __attribute__((__const__));
17667 GtkSettings* gtk_settings_get_default (void);
17669 GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen);
17671 void gtk_settings_install_property (GParamSpec *pspec);
17672 void gtk_settings_install_property_parser (GParamSpec *pspec,
17673 GtkRcPropertyParser parser);
17676 gboolean gtk_rc_property_parse_color (const GParamSpec *pspec,
17677 const GString *gstring,
17678 GValue *property_value);
17679 gboolean gtk_rc_property_parse_enum (const GParamSpec *pspec,
17680 const GString *gstring,
17681 GValue *property_value);
17682 gboolean gtk_rc_property_parse_flags (const GParamSpec *pspec,
17683 const GString *gstring,
17684 GValue *property_value);
17685 gboolean gtk_rc_property_parse_requisition (const GParamSpec *pspec,
17686 const GString *gstring,
17687 GValue *property_value);
17688 gboolean gtk_rc_property_parse_border (const GParamSpec *pspec,
17689 const GString *gstring,
17690 GValue *property_value);
17693 void gtk_settings_set_property_value (GtkSettings *settings,
17695 const GtkSettingsValue *svalue);
17696 void gtk_settings_set_string_property (GtkSettings *settings,
17698 const gchar *v_string,
17699 const gchar *origin);
17700 void gtk_settings_set_long_property (GtkSettings *settings,
17703 const gchar *origin);
17704 void gtk_settings_set_double_property (GtkSettings *settings,
17707 const gchar *origin);
17711 void _gtk_settings_set_property_value_from_rc (GtkSettings *settings,
17713 const GtkSettingsValue *svalue);
17714 void _gtk_settings_reset_rc_values (GtkSettings *settings);
17716 void _gtk_settings_handle_event (GdkEventSetting *event);
17717 GtkRcPropertyParser _gtk_rc_property_parser_from_type (GType type);
17718 gboolean _gtk_settings_parse_convert (GtkRcPropertyParser parser,
17719 const GValue *src_value,
17721 GValue *dest_value);
17725 # 36 "../gtk/gtkwidget.h" 2
17726 # 1 "/usr/include/atk-1.0/atk/atkobject.h" 1
17727 # 28 "/usr/include/atk-1.0/atk/atkobject.h"
17728 # 1 "/usr/include/atk-1.0/atk/atkstate.h" 1
17729 # 122 "/usr/include/atk-1.0/atk/atkstate.h"
17738 ATK_STATE_EDITABLE,
17740 ATK_STATE_EXPANDABLE,
17741 ATK_STATE_EXPANDED,
17742 ATK_STATE_FOCUSABLE,
17744 ATK_STATE_HORIZONTAL,
17745 ATK_STATE_ICONIFIED,
17747 ATK_STATE_MULTI_LINE,
17748 ATK_STATE_MULTISELECTABLE,
17751 ATK_STATE_RESIZABLE,
17752 ATK_STATE_SELECTABLE,
17753 ATK_STATE_SELECTED,
17754 ATK_STATE_SENSITIVE,
17756 ATK_STATE_SINGLE_LINE,
17758 ATK_STATE_TRANSIENT,
17759 ATK_STATE_VERTICAL,
17761 ATK_STATE_MANAGES_DESCENDANTS,
17762 ATK_STATE_INDETERMINATE,
17763 ATK_STATE_TRUNCATED,
17764 ATK_STATE_REQUIRED,
17765 ATK_STATE_INVALID_ENTRY,
17766 ATK_STATE_SUPPORTS_AUTOCOMPLETION,
17767 ATK_STATE_SELECTABLE_TEXT,
17769 ATK_STATE_ANIMATED,
17772 ATK_STATE_LAST_DEFINED
17775 typedef guint64 AtkState;
17777 AtkStateType atk_state_type_register (const gchar *name);
17779 const gchar* atk_state_type_get_name (AtkStateType type);
17780 AtkStateType atk_state_type_for_name (const gchar *name);
17781 # 29 "/usr/include/atk-1.0/atk/atkobject.h" 2
17782 # 1 "/usr/include/atk-1.0/atk/atkrelationtype.h" 1
17783 # 54 "/usr/include/atk-1.0/atk/atkrelationtype.h"
17786 ATK_RELATION_NULL = 0,
17787 ATK_RELATION_CONTROLLED_BY,
17788 ATK_RELATION_CONTROLLER_FOR,
17789 ATK_RELATION_LABEL_FOR,
17790 ATK_RELATION_LABELLED_BY,
17791 ATK_RELATION_MEMBER_OF,
17792 ATK_RELATION_NODE_CHILD_OF,
17793 ATK_RELATION_FLOWS_TO,
17794 ATK_RELATION_FLOWS_FROM,
17795 ATK_RELATION_SUBWINDOW_OF,
17796 ATK_RELATION_EMBEDS,
17797 ATK_RELATION_EMBEDDED_BY,
17798 ATK_RELATION_POPUP_FOR,
17799 ATK_RELATION_PARENT_WINDOW_OF,
17800 ATK_RELATION_DESCRIBED_BY,
17801 ATK_RELATION_DESCRIPTION_FOR,
17802 ATK_RELATION_LAST_DEFINED
17804 # 30 "/usr/include/atk-1.0/atk/atkobject.h" 2
17805 # 148 "/usr/include/atk-1.0/atk/atkobject.h"
17808 ATK_ROLE_INVALID = 0,
17809 ATK_ROLE_ACCEL_LABEL,
17811 ATK_ROLE_ANIMATION,
17815 ATK_ROLE_CHECK_BOX,
17816 ATK_ROLE_CHECK_MENU_ITEM,
17817 ATK_ROLE_COLOR_CHOOSER,
17818 ATK_ROLE_COLUMN_HEADER,
17819 ATK_ROLE_COMBO_BOX,
17820 ATK_ROLE_DATE_EDITOR,
17821 ATK_ROLE_DESKTOP_ICON,
17822 ATK_ROLE_DESKTOP_FRAME,
17825 ATK_ROLE_DIRECTORY_PANE,
17826 ATK_ROLE_DRAWING_AREA,
17827 ATK_ROLE_FILE_CHOOSER,
17829 ATK_ROLE_FONT_CHOOSER,
17831 ATK_ROLE_GLASS_PANE,
17832 ATK_ROLE_HTML_CONTAINER,
17835 ATK_ROLE_INTERNAL_FRAME,
17837 ATK_ROLE_LAYERED_PANE,
17839 ATK_ROLE_LIST_ITEM,
17842 ATK_ROLE_MENU_ITEM,
17843 ATK_ROLE_OPTION_PANE,
17845 ATK_ROLE_PAGE_TAB_LIST,
17847 ATK_ROLE_PASSWORD_TEXT,
17848 ATK_ROLE_POPUP_MENU,
17849 ATK_ROLE_PROGRESS_BAR,
17850 ATK_ROLE_PUSH_BUTTON,
17851 ATK_ROLE_RADIO_BUTTON,
17852 ATK_ROLE_RADIO_MENU_ITEM,
17853 ATK_ROLE_ROOT_PANE,
17854 ATK_ROLE_ROW_HEADER,
17855 ATK_ROLE_SCROLL_BAR,
17856 ATK_ROLE_SCROLL_PANE,
17857 ATK_ROLE_SEPARATOR,
17859 ATK_ROLE_SPLIT_PANE,
17860 ATK_ROLE_SPIN_BUTTON,
17861 ATK_ROLE_STATUSBAR,
17863 ATK_ROLE_TABLE_CELL,
17864 ATK_ROLE_TABLE_COLUMN_HEADER,
17865 ATK_ROLE_TABLE_ROW_HEADER,
17866 ATK_ROLE_TEAR_OFF_MENU_ITEM,
17869 ATK_ROLE_TOGGLE_BUTTON,
17873 ATK_ROLE_TREE_TABLE,
17879 ATK_ROLE_PARAGRAPH,
17881 ATK_ROLE_APPLICATION,
17882 ATK_ROLE_AUTOCOMPLETE,
17888 ATK_ROLE_DOCUMENT_FRAME,
17892 ATK_ROLE_REDUNDANT_OBJECT,
17895 ATK_ROLE_INPUT_METHOD_WINDOW,
17896 ATK_ROLE_LAST_DEFINED
17899 AtkRole atk_role_register (const gchar *name);
17900 # 260 "/usr/include/atk-1.0/atk/atkobject.h"
17904 ATK_LAYER_BACKGROUND,
17912 # 279 "/usr/include/atk-1.0/atk/atkobject.h"
17913 typedef GSList AtkAttributeSet;
17914 # 291 "/usr/include/atk-1.0/atk/atkobject.h"
17915 typedef struct _AtkAttribute AtkAttribute;
17917 struct _AtkAttribute {
17921 # 311 "/usr/include/atk-1.0/atk/atkobject.h"
17922 typedef struct _AtkImplementor AtkImplementor;
17923 typedef struct _AtkImplementorIface AtkImplementorIface;
17926 typedef struct _AtkObject AtkObject;
17927 typedef struct _AtkObjectClass AtkObjectClass;
17928 typedef struct _AtkRelationSet AtkRelationSet;
17929 typedef struct _AtkStateSet AtkStateSet;
17930 # 338 "/usr/include/atk-1.0/atk/atkobject.h"
17931 struct _AtkPropertyValues
17933 const gchar *property_name;
17938 typedef struct _AtkPropertyValues AtkPropertyValues;
17940 typedef gboolean (*AtkFunction) (gpointer data);
17941 # 360 "/usr/include/atk-1.0/atk/atkobject.h"
17942 typedef void (*AtkPropertyChangeHandler) (AtkObject*, AtkPropertyValues*);
17949 gchar *description;
17951 AtkObject *accessible_parent;
17953 AtkRelationSet *relation_set;
17957 struct _AtkObjectClass
17959 GObjectClass parent;
17964 const gchar* (* get_name) (AtkObject *accessible);
17968 const gchar* (* get_description) (AtkObject *accessible);
17972 AtkObject* (*get_parent) (AtkObject *accessible);
17977 gint (* get_n_children) (AtkObject *accessible);
17983 AtkObject* (* ref_child) (AtkObject *accessible,
17989 gint (* get_index_in_parent) (AtkObject *accessible);
17993 AtkRelationSet* (* ref_relation_set) (AtkObject *accessible);
17997 AtkRole (* get_role) (AtkObject *accessible);
17998 AtkLayer (* get_layer) (AtkObject *accessible);
17999 gint (* get_mdi_zorder) (AtkObject *accessible);
18003 AtkStateSet* (* ref_state_set) (AtkObject *accessible);
18007 void (* set_name) (AtkObject *accessible,
18008 const gchar *name);
18012 void (* set_description) (AtkObject *accessible,
18013 const gchar *description);
18017 void (* set_parent) (AtkObject *accessible,
18018 AtkObject *parent);
18022 void (* set_role) (AtkObject *accessible,
18027 guint (* connect_property_change_handler) (AtkObject
18029 AtkPropertyChangeHandler *handler);
18034 void (* remove_property_change_handler) (AtkObject
18038 void (* initialize) (AtkObject *accessible,
18044 void (* children_changed) (AtkObject *accessible,
18045 guint change_index,
18046 gpointer changed_child);
18051 void (* focus_event) (AtkObject *accessible,
18052 gboolean focus_in);
18057 void (* property_change) (AtkObject *accessible,
18058 AtkPropertyValues *values);
18063 void (* state_change) (AtkObject *accessible,
18065 gboolean state_set);
18070 void (*visible_data_changed) (AtkObject *accessible);
18078 void (*active_descendant_changed) (AtkObject *accessible,
18085 AtkAttributeSet* (*get_attributes) (AtkObject *accessible);
18090 GType atk_object_get_type (void);
18092 struct _AtkImplementorIface
18094 GTypeInterface parent;
18096 AtkObject* (*ref_accessible) (AtkImplementor *implementor);
18098 GType atk_implementor_get_type (void);
18099 # 530 "/usr/include/atk-1.0/atk/atkobject.h"
18100 AtkObject* atk_implementor_ref_accessible (AtkImplementor *implementor);
18106 const gchar* atk_object_get_name (AtkObject *accessible);
18107 const gchar* atk_object_get_description (AtkObject *accessible);
18108 AtkObject* atk_object_get_parent (AtkObject *accessible);
18109 gint atk_object_get_n_accessible_children (AtkObject *accessible);
18110 AtkObject* atk_object_ref_accessible_child (AtkObject *accessible,
18112 AtkRelationSet* atk_object_ref_relation_set (AtkObject *accessible);
18113 AtkRole atk_object_get_role (AtkObject *accessible);
18114 AtkLayer atk_object_get_layer (AtkObject *accessible);
18115 gint atk_object_get_mdi_zorder (AtkObject *accessible);
18116 AtkAttributeSet* atk_object_get_attributes (AtkObject *accessible);
18117 AtkStateSet* atk_object_ref_state_set (AtkObject *accessible);
18118 gint atk_object_get_index_in_parent (AtkObject *accessible);
18119 void atk_object_set_name (AtkObject *accessible,
18120 const gchar *name);
18121 void atk_object_set_description (AtkObject *accessible,
18122 const gchar *description);
18123 void atk_object_set_parent (AtkObject *accessible,
18124 AtkObject *parent);
18125 void atk_object_set_role (AtkObject *accessible,
18129 guint atk_object_connect_property_change_handler (AtkObject *accessible,
18130 AtkPropertyChangeHandler *handler);
18131 void atk_object_remove_property_change_handler (AtkObject *accessible,
18134 void atk_object_notify_state_change (AtkObject *accessible,
18137 void atk_object_initialize (AtkObject *accessible,
18140 const gchar* atk_role_get_name (AtkRole role);
18141 AtkRole atk_role_for_name (const gchar *name);
18145 gboolean atk_object_add_relationship (AtkObject *object,
18146 AtkRelationType relationship,
18147 AtkObject *target);
18148 gboolean atk_object_remove_relationship (AtkObject *object,
18149 AtkRelationType relationship,
18150 AtkObject *target);
18151 const gchar* atk_role_get_localized_name (AtkRole role);
18152 # 37 "../gtk/gtkwidget.h" 2
18161 GTK_TOPLEVEL = 1 << 4,
18162 GTK_NO_WINDOW = 1 << 5,
18163 GTK_REALIZED = 1 << 6,
18164 GTK_MAPPED = 1 << 7,
18165 GTK_VISIBLE = 1 << 8,
18166 GTK_SENSITIVE = 1 << 9,
18167 GTK_PARENT_SENSITIVE = 1 << 10,
18168 GTK_CAN_FOCUS = 1 << 11,
18169 GTK_HAS_FOCUS = 1 << 12,
18174 GTK_CAN_DEFAULT = 1 << 13,
18179 GTK_HAS_DEFAULT = 1 << 14,
18181 GTK_HAS_GRAB = 1 << 15,
18182 GTK_RC_STYLE = 1 << 16,
18183 GTK_COMPOSITE_CHILD = 1 << 17,
18184 GTK_NO_REPARENT = 1 << 18,
18185 GTK_APP_PAINTABLE = 1 << 19,
18190 GTK_RECEIVES_DEFAULT = 1 << 20,
18192 GTK_DOUBLE_BUFFERED = 1 << 21,
18193 GTK_NO_SHOW_ALL = 1 << 22
18199 GTK_WIDGET_HELP_TOOLTIP,
18200 GTK_WIDGET_HELP_WHATS_THIS
18201 } GtkWidgetHelpType;
18202 # 136 "../gtk/gtkwidget.h"
18203 typedef struct _GtkRequisition GtkRequisition;
18204 typedef GdkRectangle GtkAllocation;
18205 typedef struct _GtkSelectionData GtkSelectionData;
18206 typedef struct _GtkWidgetClass GtkWidgetClass;
18207 typedef struct _GtkWidgetAuxInfo GtkWidgetAuxInfo;
18208 typedef struct _GtkWidgetShapeInfo GtkWidgetShapeInfo;
18209 typedef struct _GtkClipboard GtkClipboard;
18210 typedef struct _GtkTooltip GtkTooltip;
18211 typedef struct _GtkWindow GtkWindow;
18212 typedef void (*GtkCallback) (GtkWidget *widget,
18218 struct _GtkRequisition
18244 guint16 private_flags;
18257 guint8 saved_state;
18266 # 207 "../gtk/gtkwidget.h"
18271 GtkRequisition requisition;
18275 GtkAllocation allocation;
18288 struct _GtkWidgetClass
18296 GtkObjectClass parent_class;
18300 guint activate_signal;
18302 guint set_scroll_adjustments_signal;
18307 void (*dispatch_child_properties_changed) (GtkWidget *widget,
18309 GParamSpec **pspecs);
18312 void (* show) (GtkWidget *widget);
18313 void (* show_all) (GtkWidget *widget);
18314 void (* hide) (GtkWidget *widget);
18315 void (* hide_all) (GtkWidget *widget);
18316 void (* map) (GtkWidget *widget);
18317 void (* unmap) (GtkWidget *widget);
18318 void (* realize) (GtkWidget *widget);
18319 void (* unrealize) (GtkWidget *widget);
18320 void (* size_request) (GtkWidget *widget,
18321 GtkRequisition *requisition);
18322 void (* size_allocate) (GtkWidget *widget,
18323 GtkAllocation *allocation);
18324 void (* state_changed) (GtkWidget *widget,
18325 GtkStateType previous_state);
18326 void (* parent_set) (GtkWidget *widget,
18327 GtkWidget *previous_parent);
18328 void (* hierarchy_changed) (GtkWidget *widget,
18329 GtkWidget *previous_toplevel);
18330 void (* style_set) (GtkWidget *widget,
18331 GtkStyle *previous_style);
18332 void (* direction_changed) (GtkWidget *widget,
18333 GtkTextDirection previous_direction);
18334 void (* grab_notify) (GtkWidget *widget,
18335 gboolean was_grabbed);
18336 void (* child_notify) (GtkWidget *widget,
18337 GParamSpec *pspec);
18340 gboolean (* mnemonic_activate) (GtkWidget *widget,
18341 gboolean group_cycling);
18344 void (* grab_focus) (GtkWidget *widget);
18345 gboolean (* focus) (GtkWidget *widget,
18346 GtkDirectionType direction);
18349 gboolean (* event) (GtkWidget *widget,
18351 gboolean (* button_press_event) (GtkWidget *widget,
18352 GdkEventButton *event);
18353 gboolean (* button_release_event) (GtkWidget *widget,
18354 GdkEventButton *event);
18355 gboolean (* scroll_event) (GtkWidget *widget,
18356 GdkEventScroll *event);
18357 gboolean (* motion_notify_event) (GtkWidget *widget,
18358 GdkEventMotion *event);
18359 gboolean (* delete_event) (GtkWidget *widget,
18360 GdkEventAny *event);
18361 gboolean (* destroy_event) (GtkWidget *widget,
18362 GdkEventAny *event);
18363 gboolean (* expose_event) (GtkWidget *widget,
18364 GdkEventExpose *event);
18365 gboolean (* key_press_event) (GtkWidget *widget,
18366 GdkEventKey *event);
18367 gboolean (* key_release_event) (GtkWidget *widget,
18368 GdkEventKey *event);
18369 gboolean (* enter_notify_event) (GtkWidget *widget,
18370 GdkEventCrossing *event);
18371 gboolean (* leave_notify_event) (GtkWidget *widget,
18372 GdkEventCrossing *event);
18373 gboolean (* configure_event) (GtkWidget *widget,
18374 GdkEventConfigure *event);
18375 gboolean (* focus_in_event) (GtkWidget *widget,
18376 GdkEventFocus *event);
18377 gboolean (* focus_out_event) (GtkWidget *widget,
18378 GdkEventFocus *event);
18379 gboolean (* map_event) (GtkWidget *widget,
18380 GdkEventAny *event);
18381 gboolean (* unmap_event) (GtkWidget *widget,
18382 GdkEventAny *event);
18383 gboolean (* property_notify_event) (GtkWidget *widget,
18384 GdkEventProperty *event);
18385 gboolean (* selection_clear_event) (GtkWidget *widget,
18386 GdkEventSelection *event);
18387 gboolean (* selection_request_event) (GtkWidget *widget,
18388 GdkEventSelection *event);
18389 gboolean (* selection_notify_event) (GtkWidget *widget,
18390 GdkEventSelection *event);
18391 gboolean (* proximity_in_event) (GtkWidget *widget,
18392 GdkEventProximity *event);
18393 gboolean (* proximity_out_event) (GtkWidget *widget,
18394 GdkEventProximity *event);
18395 gboolean (* visibility_notify_event) (GtkWidget *widget,
18396 GdkEventVisibility *event);
18397 gboolean (* client_event) (GtkWidget *widget,
18398 GdkEventClient *event);
18399 gboolean (* no_expose_event) (GtkWidget *widget,
18400 GdkEventAny *event);
18401 gboolean (* window_state_event) (GtkWidget *widget,
18402 GdkEventWindowState *event);
18405 void (* selection_get) (GtkWidget *widget,
18406 GtkSelectionData *selection_data,
18409 void (* selection_received) (GtkWidget *widget,
18410 GtkSelectionData *selection_data,
18414 void (* drag_begin) (GtkWidget *widget,
18415 GdkDragContext *context);
18416 void (* drag_end) (GtkWidget *widget,
18417 GdkDragContext *context);
18418 void (* drag_data_get) (GtkWidget *widget,
18419 GdkDragContext *context,
18420 GtkSelectionData *selection_data,
18423 void (* drag_data_delete) (GtkWidget *widget,
18424 GdkDragContext *context);
18427 void (* drag_leave) (GtkWidget *widget,
18428 GdkDragContext *context,
18430 gboolean (* drag_motion) (GtkWidget *widget,
18431 GdkDragContext *context,
18435 gboolean (* drag_drop) (GtkWidget *widget,
18436 GdkDragContext *context,
18440 void (* drag_data_received) (GtkWidget *widget,
18441 GdkDragContext *context,
18444 GtkSelectionData *selection_data,
18449 gboolean (* popup_menu) (GtkWidget *widget);
18456 gboolean (* show_help) (GtkWidget *widget,
18457 GtkWidgetHelpType help_type);
18461 AtkObject* (*get_accessible) (GtkWidget *widget);
18463 void (*screen_changed) (GtkWidget *widget,
18464 GdkScreen *previous_screen);
18465 gboolean (*can_activate_accel) (GtkWidget *widget,
18469 gboolean (*grab_broken_event) (GtkWidget *widget,
18470 GdkEventGrabBroken *event);
18472 void (* composited_changed) (GtkWidget *widget);
18474 gboolean (* query_tooltip) (GtkWidget *widget,
18477 gboolean keyboard_tooltip,
18478 GtkTooltip *tooltip);
18481 void (*_gtk_reserved5) (void);
18482 void (*_gtk_reserved6) (void);
18483 void (*_gtk_reserved7) (void);
18486 struct _GtkWidgetAuxInfo
18496 struct _GtkWidgetShapeInfo
18500 GdkBitmap *shape_mask;
18503 GType gtk_widget_get_type (void) __attribute__((__const__));
18504 GtkWidget* gtk_widget_new (GType type,
18505 const gchar *first_property_name,
18507 void gtk_widget_destroy (GtkWidget *widget);
18508 void gtk_widget_destroyed (GtkWidget *widget,
18509 GtkWidget **widget_pointer);
18511 GtkWidget* gtk_widget_ref (GtkWidget *widget);
18512 void gtk_widget_unref (GtkWidget *widget);
18513 void gtk_widget_set (GtkWidget *widget,
18514 const gchar *first_property_name,
18515 ...) __attribute__((__sentinel__));
18517 void gtk_widget_unparent (GtkWidget *widget);
18518 void gtk_widget_show (GtkWidget *widget);
18519 void gtk_widget_show_now (GtkWidget *widget);
18520 void gtk_widget_hide (GtkWidget *widget);
18521 void gtk_widget_show_all (GtkWidget *widget);
18522 void gtk_widget_hide_all (GtkWidget *widget);
18523 void gtk_widget_set_no_show_all (GtkWidget *widget,
18524 gboolean no_show_all);
18525 gboolean gtk_widget_get_no_show_all (GtkWidget *widget);
18526 void gtk_widget_map (GtkWidget *widget);
18527 void gtk_widget_unmap (GtkWidget *widget);
18528 void gtk_widget_realize (GtkWidget *widget);
18529 void gtk_widget_unrealize (GtkWidget *widget);
18532 void gtk_widget_queue_draw (GtkWidget *widget);
18533 void gtk_widget_queue_draw_area (GtkWidget *widget,
18539 void gtk_widget_queue_clear (GtkWidget *widget);
18540 void gtk_widget_queue_clear_area (GtkWidget *widget,
18548 void gtk_widget_queue_resize (GtkWidget *widget);
18549 void gtk_widget_queue_resize_no_redraw (GtkWidget *widget);
18551 void gtk_widget_draw (GtkWidget *widget,
18552 GdkRectangle *area);
18554 void gtk_widget_size_request (GtkWidget *widget,
18555 GtkRequisition *requisition);
18556 void gtk_widget_size_allocate (GtkWidget *widget,
18557 GtkAllocation *allocation);
18558 void gtk_widget_get_child_requisition (GtkWidget *widget,
18559 GtkRequisition *requisition);
18560 void gtk_widget_add_accelerator (GtkWidget *widget,
18561 const gchar *accel_signal,
18562 GtkAccelGroup *accel_group,
18564 GdkModifierType accel_mods,
18565 GtkAccelFlags accel_flags);
18566 gboolean gtk_widget_remove_accelerator (GtkWidget *widget,
18567 GtkAccelGroup *accel_group,
18569 GdkModifierType accel_mods);
18570 void gtk_widget_set_accel_path (GtkWidget *widget,
18571 const gchar *accel_path,
18572 GtkAccelGroup *accel_group);
18573 const gchar* _gtk_widget_get_accel_path (GtkWidget *widget,
18575 GList* gtk_widget_list_accel_closures (GtkWidget *widget);
18576 gboolean gtk_widget_can_activate_accel (GtkWidget *widget,
18578 gboolean gtk_widget_mnemonic_activate (GtkWidget *widget,
18579 gboolean group_cycling);
18580 gboolean gtk_widget_event (GtkWidget *widget,
18582 gint gtk_widget_send_expose (GtkWidget *widget,
18585 gboolean gtk_widget_activate (GtkWidget *widget);
18586 gboolean gtk_widget_set_scroll_adjustments (GtkWidget *widget,
18587 GtkAdjustment *hadjustment,
18588 GtkAdjustment *vadjustment);
18590 void gtk_widget_reparent (GtkWidget *widget,
18591 GtkWidget *new_parent);
18592 gboolean gtk_widget_intersect (GtkWidget *widget,
18593 GdkRectangle *area,
18594 GdkRectangle *intersection);
18595 GdkRegion *gtk_widget_region_intersect (GtkWidget *widget,
18596 GdkRegion *region);
18598 void gtk_widget_freeze_child_notify (GtkWidget *widget);
18599 void gtk_widget_child_notify (GtkWidget *widget,
18600 const gchar *child_property);
18601 void gtk_widget_thaw_child_notify (GtkWidget *widget);
18603 gboolean gtk_widget_is_focus (GtkWidget *widget);
18604 void gtk_widget_grab_focus (GtkWidget *widget);
18605 void gtk_widget_grab_default (GtkWidget *widget);
18607 void gtk_widget_set_name (GtkWidget *widget,
18608 const gchar *name);
18609 const gchar* gtk_widget_get_name (GtkWidget *widget);
18610 void gtk_widget_set_state (GtkWidget *widget,
18611 GtkStateType state);
18612 void gtk_widget_set_sensitive (GtkWidget *widget,
18613 gboolean sensitive);
18614 void gtk_widget_set_app_paintable (GtkWidget *widget,
18615 gboolean app_paintable);
18616 void gtk_widget_set_double_buffered (GtkWidget *widget,
18617 gboolean double_buffered);
18618 void gtk_widget_set_redraw_on_allocate (GtkWidget *widget,
18619 gboolean redraw_on_allocate);
18620 void gtk_widget_set_parent (GtkWidget *widget,
18621 GtkWidget *parent);
18622 void gtk_widget_set_parent_window (GtkWidget *widget,
18623 GdkWindow *parent_window);
18624 void gtk_widget_set_child_visible (GtkWidget *widget,
18625 gboolean is_visible);
18626 gboolean gtk_widget_get_child_visible (GtkWidget *widget);
18628 GtkWidget *gtk_widget_get_parent (GtkWidget *widget);
18629 GdkWindow *gtk_widget_get_parent_window (GtkWidget *widget);
18631 gboolean gtk_widget_child_focus (GtkWidget *widget,
18632 GtkDirectionType direction);
18633 gboolean gtk_widget_keynav_failed (GtkWidget *widget,
18634 GtkDirectionType direction);
18635 void gtk_widget_error_bell (GtkWidget *widget);
18637 void gtk_widget_set_size_request (GtkWidget *widget,
18640 void gtk_widget_get_size_request (GtkWidget *widget,
18644 void gtk_widget_set_uposition (GtkWidget *widget,
18647 void gtk_widget_set_usize (GtkWidget *widget,
18652 void gtk_widget_set_events (GtkWidget *widget,
18654 void gtk_widget_add_events (GtkWidget *widget,
18656 void gtk_widget_set_extension_events (GtkWidget *widget,
18657 GdkExtensionMode mode);
18659 GdkExtensionMode gtk_widget_get_extension_events (GtkWidget *widget);
18660 GtkWidget* gtk_widget_get_toplevel (GtkWidget *widget);
18661 GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget,
18662 GType widget_type);
18663 GdkColormap* gtk_widget_get_colormap (GtkWidget *widget);
18664 GdkVisual* gtk_widget_get_visual (GtkWidget *widget);
18666 GdkScreen * gtk_widget_get_screen (GtkWidget *widget);
18667 gboolean gtk_widget_has_screen (GtkWidget *widget);
18668 GdkDisplay * gtk_widget_get_display (GtkWidget *widget);
18669 GdkWindow * gtk_widget_get_root_window (GtkWidget *widget);
18670 GtkSettings* gtk_widget_get_settings (GtkWidget *widget);
18671 GtkClipboard *gtk_widget_get_clipboard (GtkWidget *widget,
18672 GdkAtom selection);
18673 # 622 "../gtk/gtkwidget.h"
18674 AtkObject* gtk_widget_get_accessible (GtkWidget *widget);
18682 void gtk_widget_set_colormap (GtkWidget *widget,
18683 GdkColormap *colormap);
18685 gint gtk_widget_get_events (GtkWidget *widget);
18686 void gtk_widget_get_pointer (GtkWidget *widget,
18690 gboolean gtk_widget_is_ancestor (GtkWidget *widget,
18691 GtkWidget *ancestor);
18693 gboolean gtk_widget_translate_coordinates (GtkWidget *src_widget,
18694 GtkWidget *dest_widget,
18702 gboolean gtk_widget_hide_on_delete (GtkWidget *widget);
18706 void gtk_widget_set_style (GtkWidget *widget,
18708 void gtk_widget_ensure_style (GtkWidget *widget);
18709 GtkStyle* gtk_widget_get_style (GtkWidget *widget);
18711 void gtk_widget_modify_style (GtkWidget *widget,
18712 GtkRcStyle *style);
18713 GtkRcStyle *gtk_widget_get_modifier_style (GtkWidget *widget);
18714 void gtk_widget_modify_fg (GtkWidget *widget,
18715 GtkStateType state,
18716 const GdkColor *color);
18717 void gtk_widget_modify_bg (GtkWidget *widget,
18718 GtkStateType state,
18719 const GdkColor *color);
18720 void gtk_widget_modify_text (GtkWidget *widget,
18721 GtkStateType state,
18722 const GdkColor *color);
18723 void gtk_widget_modify_base (GtkWidget *widget,
18724 GtkStateType state,
18725 const GdkColor *color);
18726 void gtk_widget_modify_cursor (GtkWidget *widget,
18727 const GdkColor *primary,
18728 const GdkColor *secondary);
18729 void gtk_widget_modify_font (GtkWidget *widget,
18730 PangoFontDescription *font_desc);
18737 PangoContext *gtk_widget_create_pango_context (GtkWidget *widget);
18738 PangoContext *gtk_widget_get_pango_context (GtkWidget *widget);
18739 PangoLayout *gtk_widget_create_pango_layout (GtkWidget *widget,
18740 const gchar *text);
18742 GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget,
18743 const gchar *stock_id,
18745 const gchar *detail);
18750 void gtk_widget_set_composite_name (GtkWidget *widget,
18751 const gchar *name);
18752 gchar* gtk_widget_get_composite_name (GtkWidget *widget);
18755 void gtk_widget_reset_rc_styles (GtkWidget *widget);
18761 void gtk_widget_push_colormap (GdkColormap *cmap);
18762 void gtk_widget_push_composite_child (void);
18763 void gtk_widget_pop_composite_child (void);
18764 void gtk_widget_pop_colormap (void);
18768 void gtk_widget_class_install_style_property (GtkWidgetClass *klass,
18769 GParamSpec *pspec);
18770 void gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass,
18772 GtkRcPropertyParser parser);
18773 GParamSpec* gtk_widget_class_find_style_property (GtkWidgetClass *klass,
18774 const gchar *property_name);
18775 GParamSpec** gtk_widget_class_list_style_properties (GtkWidgetClass *klass,
18776 guint *n_properties);
18777 void gtk_widget_style_get_property (GtkWidget *widget,
18778 const gchar *property_name,
18780 void gtk_widget_style_get_valist (GtkWidget *widget,
18781 const gchar *first_property_name,
18783 void gtk_widget_style_get (GtkWidget *widget,
18784 const gchar *first_property_name,
18785 ...) __attribute__((__sentinel__));
18790 void gtk_widget_set_default_colormap (GdkColormap *colormap);
18791 GtkStyle* gtk_widget_get_default_style (void);
18793 GdkColormap* gtk_widget_get_default_colormap (void);
18794 GdkVisual* gtk_widget_get_default_visual (void);
18800 void gtk_widget_set_direction (GtkWidget *widget,
18801 GtkTextDirection dir);
18802 GtkTextDirection gtk_widget_get_direction (GtkWidget *widget);
18804 void gtk_widget_set_default_direction (GtkTextDirection dir);
18805 GtkTextDirection gtk_widget_get_default_direction (void);
18808 gboolean gtk_widget_is_composited (GtkWidget *widget);
18812 void gtk_widget_shape_combine_mask (GtkWidget *widget,
18813 GdkBitmap *shape_mask,
18816 void gtk_widget_input_shape_combine_mask (GtkWidget *widget,
18817 GdkBitmap *shape_mask,
18822 void gtk_widget_reset_shapes (GtkWidget *widget);
18827 void gtk_widget_path (GtkWidget *widget,
18828 guint *path_length,
18830 gchar **path_reversed);
18831 void gtk_widget_class_path (GtkWidget *widget,
18832 guint *path_length,
18834 gchar **path_reversed);
18836 GList* gtk_widget_list_mnemonic_labels (GtkWidget *widget);
18837 void gtk_widget_add_mnemonic_label (GtkWidget *widget,
18839 void gtk_widget_remove_mnemonic_label (GtkWidget *widget,
18842 void gtk_widget_set_tooltip_window (GtkWidget *widget,
18843 GtkWindow *custom_window);
18844 GtkWindow *gtk_widget_get_tooltip_window (GtkWidget *widget);
18845 void gtk_widget_trigger_tooltip_query (GtkWidget *widget);
18846 void gtk_widget_set_tooltip_text (GtkWidget *widget,
18847 const gchar *text);
18848 gchar * gtk_widget_get_tooltip_text (GtkWidget *widget);
18849 void gtk_widget_set_tooltip_markup (GtkWidget *widget,
18850 const gchar *markup);
18851 gchar * gtk_widget_get_tooltip_markup (GtkWidget *widget);
18852 void gtk_widget_set_has_tooltip (GtkWidget *widget,
18853 gboolean has_tooltip);
18854 gboolean gtk_widget_get_has_tooltip (GtkWidget *widget);
18856 GType gtk_requisition_get_type (void) __attribute__((__const__));
18857 GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition);
18858 void gtk_requisition_free (GtkRequisition *requisition);
18865 void _gtk_widget_grab_notify (GtkWidget *widget,
18866 gboolean was_grabbed);
18868 GtkWidgetAuxInfo *_gtk_widget_get_aux_info (GtkWidget *widget,
18870 void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget,
18871 GtkWidget *previous_toplevel);
18872 void _gtk_widget_propagate_screen_changed (GtkWidget *widget,
18873 GdkScreen *previous_screen);
18874 void _gtk_widget_propagate_composited_changed (GtkWidget *widget);
18876 GdkColormap* _gtk_widget_peek_colormap (void);
18879 # 34 "../gtk/gtkcontainer.h" 2
18884 # 49 "../gtk/gtkcontainer.h"
18885 typedef struct _GtkContainer GtkContainer;
18886 typedef struct _GtkContainerClass GtkContainerClass;
18888 struct _GtkContainer
18892 GtkWidget *focus_child;
18894 guint border_width : 16;
18897 guint need_resize : 1;
18898 guint resize_mode : 2;
18899 guint reallocate_redraws : 1;
18900 guint has_focus_chain : 1;
18903 struct _GtkContainerClass
18905 GtkWidgetClass parent_class;
18907 void (*add) (GtkContainer *container,
18908 GtkWidget *widget);
18909 void (*remove) (GtkContainer *container,
18910 GtkWidget *widget);
18911 void (*check_resize) (GtkContainer *container);
18912 void (*forall) (GtkContainer *container,
18913 gboolean include_internals,
18914 GtkCallback callback,
18915 gpointer callback_data);
18916 void (*set_focus_child) (GtkContainer *container,
18917 GtkWidget *widget);
18918 GType (*child_type) (GtkContainer *container);
18919 gchar* (*composite_name) (GtkContainer *container,
18921 void (*set_child_property) (GtkContainer *container,
18924 const GValue *value,
18925 GParamSpec *pspec);
18926 void (*get_child_property) (GtkContainer *container,
18930 GParamSpec *pspec);
18933 void (*_gtk_reserved1) (void);
18934 void (*_gtk_reserved2) (void);
18935 void (*_gtk_reserved3) (void);
18936 void (*_gtk_reserved4) (void);
18941 GType gtk_container_get_type (void) __attribute__((__const__));
18942 void gtk_container_set_border_width (GtkContainer *container,
18943 guint border_width);
18944 guint gtk_container_get_border_width (GtkContainer *container);
18945 void gtk_container_add (GtkContainer *container,
18946 GtkWidget *widget);
18947 void gtk_container_remove (GtkContainer *container,
18948 GtkWidget *widget);
18950 void gtk_container_set_resize_mode (GtkContainer *container,
18951 GtkResizeMode resize_mode);
18952 GtkResizeMode gtk_container_get_resize_mode (GtkContainer *container);
18954 void gtk_container_check_resize (GtkContainer *container);
18956 void gtk_container_foreach (GtkContainer *container,
18957 GtkCallback callback,
18958 gpointer callback_data);
18960 void gtk_container_foreach_full (GtkContainer *container,
18961 GtkCallback callback,
18962 GtkCallbackMarshal marshal,
18963 gpointer callback_data,
18964 GtkDestroyNotify notify);
18966 GList* gtk_container_get_children (GtkContainer *container);
18972 void gtk_container_propagate_expose (GtkContainer *container,
18974 GdkEventExpose *event);
18976 void gtk_container_set_focus_chain (GtkContainer *container,
18977 GList *focusable_widgets);
18978 gboolean gtk_container_get_focus_chain (GtkContainer *container,
18979 GList **focusable_widgets);
18980 void gtk_container_unset_focus_chain (GtkContainer *container);
18984 void gtk_container_set_reallocate_redraws (GtkContainer *container,
18985 gboolean needs_redraws);
18986 void gtk_container_set_focus_child (GtkContainer *container,
18988 void gtk_container_set_focus_vadjustment (GtkContainer *container,
18989 GtkAdjustment *adjustment);
18990 GtkAdjustment *gtk_container_get_focus_vadjustment (GtkContainer *container);
18991 void gtk_container_set_focus_hadjustment (GtkContainer *container,
18992 GtkAdjustment *adjustment);
18993 GtkAdjustment *gtk_container_get_focus_hadjustment (GtkContainer *container);
18995 void gtk_container_resize_children (GtkContainer *container);
18997 GType gtk_container_child_type (GtkContainer *container);
19000 void gtk_container_class_install_child_property (GtkContainerClass *cclass,
19002 GParamSpec *pspec);
19003 GParamSpec* gtk_container_class_find_child_property (GObjectClass *cclass,
19004 const gchar *property_name);
19005 GParamSpec** gtk_container_class_list_child_properties (GObjectClass *cclass,
19006 guint *n_properties);
19007 void gtk_container_add_with_properties (GtkContainer *container,
19009 const gchar *first_prop_name,
19010 ...) __attribute__((__sentinel__));
19011 void gtk_container_child_set (GtkContainer *container,
19013 const gchar *first_prop_name,
19014 ...) __attribute__((__sentinel__));
19015 void gtk_container_child_get (GtkContainer *container,
19017 const gchar *first_prop_name,
19018 ...) __attribute__((__sentinel__));
19019 void gtk_container_child_set_valist (GtkContainer *container,
19021 const gchar *first_property_name,
19023 void gtk_container_child_get_valist (GtkContainer *container,
19025 const gchar *first_property_name,
19027 void gtk_container_child_set_property (GtkContainer *container,
19029 const gchar *property_name,
19030 const GValue *value);
19031 void gtk_container_child_get_property (GtkContainer *container,
19033 const gchar *property_name,
19040 void gtk_container_forall (GtkContainer *container,
19041 GtkCallback callback,
19042 gpointer callback_data);
19045 void _gtk_container_queue_resize (GtkContainer *container);
19046 void _gtk_container_clear_resize_widgets (GtkContainer *container);
19047 gchar* _gtk_container_child_composite_name (GtkContainer *container,
19049 void _gtk_container_dequeue_resize_handler (GtkContainer *container);
19050 GList *_gtk_container_focus_sort (GtkContainer *container,
19052 GtkDirectionType direction,
19053 GtkWidget *old_focus);
19060 # 34 "gtknotebook.h" 2
19063 # 45 "gtknotebook.h"
19066 GTK_NOTEBOOK_TAB_FIRST,
19067 GTK_NOTEBOOK_TAB_LAST
19070 typedef struct _GtkNotebook GtkNotebook;
19071 typedef struct _GtkNotebookClass GtkNotebookClass;
19072 typedef struct _GtkNotebookPage GtkNotebookPage;
19074 struct _GtkNotebook
19076 GtkContainer container;
19078 GtkNotebookPage *cur_page;
19084 GdkWindow *event_window;
19088 guint16 tab_hborder;
19089 guint16 tab_vborder;
19091 guint show_tabs : 1;
19092 guint homogeneous : 1;
19093 guint show_border : 1;
19095 guint scrollable : 1;
19096 guint in_child : 3;
19097 guint click_child : 3;
19099 guint need_timer : 1;
19100 guint child_has_focus : 1;
19101 guint have_visible_child : 1;
19102 guint focus_out : 1;
19104 guint has_before_previous : 1;
19105 guint has_before_next : 1;
19106 guint has_after_previous : 1;
19107 guint has_after_next : 1;
19110 struct _GtkNotebookClass
19112 GtkContainerClass parent_class;
19114 void (* switch_page) (GtkNotebook *notebook,
19115 GtkNotebookPage *page,
19119 gboolean (* select_page) (GtkNotebook *notebook,
19120 gboolean move_focus);
19121 gboolean (* focus_tab) (GtkNotebook *notebook,
19122 GtkNotebookTab type);
19123 gboolean (* change_current_page) (GtkNotebook *notebook,
19125 void (* move_focus_out) (GtkNotebook *notebook,
19126 GtkDirectionType direction);
19127 gboolean (* reorder_tab) (GtkNotebook *notebook,
19128 GtkDirectionType direction,
19129 gboolean move_to_last);
19132 gint (* insert_page) (GtkNotebook *notebook,
19134 GtkWidget *tab_label,
19135 GtkWidget *menu_label,
19138 GtkNotebook * (* create_window) (GtkNotebook *notebook,
19143 void (*_gtk_reserved1) (void);
19146 typedef GtkNotebook* (*GtkNotebookWindowCreationFunc) (GtkNotebook *source,
19156 GType gtk_notebook_get_type (void) __attribute__((__const__));
19157 GtkWidget * gtk_notebook_new (void);
19158 gint gtk_notebook_append_page (GtkNotebook *notebook,
19160 GtkWidget *tab_label);
19161 gint gtk_notebook_append_page_menu (GtkNotebook *notebook,
19163 GtkWidget *tab_label,
19164 GtkWidget *menu_label);
19165 gint gtk_notebook_prepend_page (GtkNotebook *notebook,
19167 GtkWidget *tab_label);
19168 gint gtk_notebook_prepend_page_menu (GtkNotebook *notebook,
19170 GtkWidget *tab_label,
19171 GtkWidget *menu_label);
19172 gint gtk_notebook_insert_page (GtkNotebook *notebook,
19174 GtkWidget *tab_label,
19176 gint gtk_notebook_insert_page_menu (GtkNotebook *notebook,
19178 GtkWidget *tab_label,
19179 GtkWidget *menu_label,
19181 void gtk_notebook_remove_page (GtkNotebook *notebook,
19188 void gtk_notebook_set_window_creation_hook (GtkNotebookWindowCreationFunc func,
19190 GDestroyNotify destroy);
19192 void gtk_notebook_set_group_id (GtkNotebook *notebook,
19194 gint gtk_notebook_get_group_id (GtkNotebook *notebook);
19198 void gtk_notebook_set_group (GtkNotebook *notebook,
19200 gpointer gtk_notebook_get_group (GtkNotebook *notebook);
19208 gint gtk_notebook_get_current_page (GtkNotebook *notebook);
19209 GtkWidget* gtk_notebook_get_nth_page (GtkNotebook *notebook,
19211 gint gtk_notebook_get_n_pages (GtkNotebook *notebook);
19212 gint gtk_notebook_page_num (GtkNotebook *notebook,
19214 void gtk_notebook_set_current_page (GtkNotebook *notebook,
19216 void gtk_notebook_next_page (GtkNotebook *notebook);
19217 void gtk_notebook_prev_page (GtkNotebook *notebook);
19223 void gtk_notebook_set_show_border (GtkNotebook *notebook,
19224 gboolean show_border);
19225 gboolean gtk_notebook_get_show_border (GtkNotebook *notebook);
19226 void gtk_notebook_set_show_tabs (GtkNotebook *notebook,
19227 gboolean show_tabs);
19228 gboolean gtk_notebook_get_show_tabs (GtkNotebook *notebook);
19229 void gtk_notebook_set_tab_pos (GtkNotebook *notebook,
19230 GtkPositionType pos);
19231 GtkPositionType gtk_notebook_get_tab_pos (GtkNotebook *notebook);
19234 void gtk_notebook_set_homogeneous_tabs (GtkNotebook *notebook,
19235 gboolean homogeneous);
19236 void gtk_notebook_set_tab_border (GtkNotebook *notebook,
19237 guint border_width);
19238 void gtk_notebook_set_tab_hborder (GtkNotebook *notebook,
19239 guint tab_hborder);
19240 void gtk_notebook_set_tab_vborder (GtkNotebook *notebook,
19241 guint tab_vborder);
19244 void gtk_notebook_set_scrollable (GtkNotebook *notebook,
19245 gboolean scrollable);
19246 gboolean gtk_notebook_get_scrollable (GtkNotebook *notebook);
19252 void gtk_notebook_popup_enable (GtkNotebook *notebook);
19253 void gtk_notebook_popup_disable (GtkNotebook *notebook);
19259 GtkWidget * gtk_notebook_get_tab_label (GtkNotebook *notebook,
19261 void gtk_notebook_set_tab_label (GtkNotebook *notebook,
19263 GtkWidget *tab_label);
19264 void gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
19266 const gchar *tab_text);
19267 const gchar *gtk_notebook_get_tab_label_text (GtkNotebook *notebook,
19269 GtkWidget * gtk_notebook_get_menu_label (GtkNotebook *notebook,
19271 void gtk_notebook_set_menu_label (GtkNotebook *notebook,
19273 GtkWidget *menu_label);
19274 void gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
19276 const gchar *menu_text);
19277 const gchar *gtk_notebook_get_menu_label_text (GtkNotebook *notebook,
19279 void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
19283 GtkPackType *pack_type);
19284 void gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
19288 GtkPackType pack_type);
19289 void gtk_notebook_reorder_child (GtkNotebook *notebook,
19292 gboolean gtk_notebook_get_tab_reorderable (GtkNotebook *notebook,
19294 void gtk_notebook_set_tab_reorderable (GtkNotebook *notebook,
19296 gboolean reorderable);
19297 gboolean gtk_notebook_get_tab_detachable (GtkNotebook *notebook,
19299 void gtk_notebook_set_tab_detachable (GtkNotebook *notebook,
19301 gboolean detachable);
19309 # 31 "gtknotebook.c" 2
19314 typedef gint (*GtkKeySnoopFunc) (GtkWidget *grab_widget,
19315 GdkEventKey *event,
19316 gpointer func_data);
19318 extern const guint gtk_major_version;
19319 extern const guint gtk_minor_version;
19320 extern const guint gtk_micro_version;
19321 extern const guint gtk_binary_age;
19322 extern const guint gtk_interface_age;
19323 const gchar* gtk_check_version (guint required_major,
19324 guint required_minor,
19325 guint required_micro);
19331 gboolean gtk_parse_args (int *argc,
19334 void gtk_init (int *argc,
19337 gboolean gtk_init_check (int *argc,
19340 gboolean gtk_init_with_args (int *argc,
19342 char *parameter_string,
19343 GOptionEntry *entries,
19344 char *translation_domain,
19347 GOptionGroup *gtk_get_option_group (gboolean open_default_display);
19349 void gtk_exit (gint error_code);
19352 void gtk_disable_setlocale (void);
19353 gchar * gtk_set_locale (void);
19354 PangoLanguage *gtk_get_default_language (void);
19355 gboolean gtk_events_pending (void);
19361 void gtk_main_do_event (GdkEvent *event);
19363 void gtk_main (void);
19364 guint gtk_main_level (void);
19365 void gtk_main_quit (void);
19366 gboolean gtk_main_iteration (void);
19368 gboolean gtk_main_iteration_do (gboolean blocking);
19370 gboolean gtk_true (void) __attribute__((__const__));
19371 gboolean gtk_false (void) __attribute__((__const__));
19373 void gtk_grab_add (GtkWidget *widget);
19374 GtkWidget* gtk_grab_get_current (void);
19375 void gtk_grab_remove (GtkWidget *widget);
19377 void gtk_init_add (GtkFunction function,
19379 void gtk_quit_add_destroy (guint main_level,
19380 GtkObject *object);
19381 guint gtk_quit_add (guint main_level,
19382 GtkFunction function,
19384 guint gtk_quit_add_full (guint main_level,
19385 GtkFunction function,
19386 GtkCallbackMarshal marshal,
19388 GtkDestroyNotify destroy);
19389 void gtk_quit_remove (guint quit_handler_id);
19390 void gtk_quit_remove_by_data (gpointer data);
19392 guint gtk_timeout_add (guint32 interval,
19393 GtkFunction function,
19395 guint gtk_timeout_add_full (guint32 interval,
19396 GtkFunction function,
19397 GtkCallbackMarshal marshal,
19399 GtkDestroyNotify destroy);
19400 void gtk_timeout_remove (guint timeout_handler_id);
19402 guint gtk_idle_add (GtkFunction function,
19404 guint gtk_idle_add_priority (gint priority,
19405 GtkFunction function,
19407 guint gtk_idle_add_full (gint priority,
19408 GtkFunction function,
19409 GtkCallbackMarshal marshal,
19411 GtkDestroyNotify destroy);
19412 void gtk_idle_remove (guint idle_handler_id);
19413 void gtk_idle_remove_by_data (gpointer data);
19414 guint gtk_input_add_full (gint source,
19415 GdkInputCondition condition,
19416 GdkInputFunction function,
19417 GtkCallbackMarshal marshal,
19419 GtkDestroyNotify destroy);
19420 void gtk_input_remove (guint input_handler_id);
19423 guint gtk_key_snooper_install (GtkKeySnoopFunc snooper,
19424 gpointer func_data);
19425 void gtk_key_snooper_remove (guint snooper_handler_id);
19427 GdkEvent* gtk_get_current_event (void);
19428 guint32 gtk_get_current_event_time (void);
19429 gboolean gtk_get_current_event_state (GdkModifierType *state);
19431 GtkWidget* gtk_get_event_widget (GdkEvent *event);
19436 void gtk_propagate_event (GtkWidget *widget,
19439 gboolean _gtk_boolean_handled_accumulator (GSignalInvocationHint *ihint,
19440 GValue *return_accu,
19441 const GValue *handler_return,
19444 gchar *_gtk_get_lc_ctype (void);
19447 # 32 "gtknotebook.c" 2
19450 # 1 "../gtk/gtkmenushell.h" 1
19451 # 35 "../gtk/gtkmenushell.h"
19453 # 45 "../gtk/gtkmenushell.h"
19454 typedef struct _GtkMenuShell GtkMenuShell;
19455 typedef struct _GtkMenuShellClass GtkMenuShellClass;
19457 struct _GtkMenuShell
19459 GtkContainer container;
19462 GtkWidget *active_menu_item;
19463 GtkWidget *parent_menu_shell;
19466 guint32 activate_time;
19469 guint have_grab : 1;
19470 guint have_xgrab : 1;
19471 guint ignore_leave : 1;
19472 guint menu_flag : 1;
19473 guint ignore_enter : 1;
19476 struct _GtkMenuShellClass
19478 GtkContainerClass parent_class;
19480 guint submenu_placement : 1;
19482 void (*deactivate) (GtkMenuShell *menu_shell);
19483 void (*selection_done) (GtkMenuShell *menu_shell);
19485 void (*move_current) (GtkMenuShell *menu_shell,
19486 GtkMenuDirectionType direction);
19487 void (*activate_current) (GtkMenuShell *menu_shell,
19488 gboolean force_hide);
19489 void (*cancel) (GtkMenuShell *menu_shell);
19490 void (*select_item) (GtkMenuShell *menu_shell,
19491 GtkWidget *menu_item);
19492 void (*insert) (GtkMenuShell *menu_shell,
19495 gint (*get_popup_delay) (GtkMenuShell *menu_shell);
19496 gboolean (*move_selected) (GtkMenuShell *menu_shell,
19500 void (*_gtk_reserved1) (void);
19501 void (*_gtk_reserved2) (void);
19505 GType gtk_menu_shell_get_type (void) __attribute__((__const__));
19506 void gtk_menu_shell_append (GtkMenuShell *menu_shell,
19508 void gtk_menu_shell_prepend (GtkMenuShell *menu_shell,
19510 void gtk_menu_shell_insert (GtkMenuShell *menu_shell,
19513 void gtk_menu_shell_deactivate (GtkMenuShell *menu_shell);
19514 void gtk_menu_shell_select_item (GtkMenuShell *menu_shell,
19515 GtkWidget *menu_item);
19516 void gtk_menu_shell_deselect (GtkMenuShell *menu_shell);
19517 void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell,
19518 GtkWidget *menu_item,
19519 gboolean force_deactivate);
19520 void gtk_menu_shell_select_first (GtkMenuShell *menu_shell,
19521 gboolean search_sensitive);
19522 void _gtk_menu_shell_select_last (GtkMenuShell *menu_shell,
19523 gboolean search_sensitive);
19524 void _gtk_menu_shell_activate (GtkMenuShell *menu_shell);
19525 gint _gtk_menu_shell_get_popup_delay (GtkMenuShell *menu_shell);
19526 void gtk_menu_shell_cancel (GtkMenuShell *menu_shell);
19528 void _gtk_menu_shell_add_mnemonic (GtkMenuShell *menu_shell,
19530 GtkWidget *target);
19531 void _gtk_menu_shell_remove_mnemonic (GtkMenuShell *menu_shell,
19533 GtkWidget *target);
19535 gboolean gtk_menu_shell_get_take_focus (GtkMenuShell *menu_shell);
19536 void gtk_menu_shell_set_take_focus (GtkMenuShell *menu_shell,
19537 gboolean take_focus);
19545 typedef struct _GtkMenu GtkMenu;
19546 typedef struct _GtkMenuClass GtkMenuClass;
19548 typedef void (*GtkMenuPositionFunc) (GtkMenu *menu,
19552 gpointer user_data);
19553 typedef void (*GtkMenuDetachFunc) (GtkWidget *attach_widget,
19558 GtkMenuShell menu_shell;
19560 GtkWidget *parent_menu_item;
19561 GtkWidget *old_active_menu_item;
19563 GtkAccelGroup *accel_group;
19565 GtkMenuPositionFunc position_func;
19566 gpointer position_func_data;
19573 GtkWidget *toplevel;
19575 GtkWidget *tearoff_window;
19576 GtkWidget *tearoff_hbox;
19577 GtkWidget *tearoff_scrollbar;
19578 GtkAdjustment *tearoff_adjustment;
19580 GdkWindow *view_window;
19581 GdkWindow *bin_window;
19583 gint scroll_offset;
19584 gint saved_scroll_offset;
19591 GdkRegion *navigation_region;
19592 guint navigation_timeout;
19594 guint needs_destruction_ref_count : 1;
19595 guint torn_off : 1;
19599 guint tearoff_active : 1;
19601 guint scroll_fast : 1;
19603 guint upper_arrow_visible : 1;
19604 guint lower_arrow_visible : 1;
19605 guint upper_arrow_prelight : 1;
19606 guint lower_arrow_prelight : 1;
19609 struct _GtkMenuClass
19611 GtkMenuShellClass parent_class;
19614 void (*_gtk_reserved1) (void);
19615 void (*_gtk_reserved2) (void);
19616 void (*_gtk_reserved3) (void);
19617 void (*_gtk_reserved4) (void);
19621 GType gtk_menu_get_type (void) __attribute__((__const__));
19622 GtkWidget* gtk_menu_new (void);
19625 void gtk_menu_popup (GtkMenu *menu,
19626 GtkWidget *parent_menu_shell,
19627 GtkWidget *parent_menu_item,
19628 GtkMenuPositionFunc func,
19631 guint32 activate_time);
19636 void gtk_menu_reposition (GtkMenu *menu);
19638 void gtk_menu_popdown (GtkMenu *menu);
19643 GtkWidget* gtk_menu_get_active (GtkMenu *menu);
19644 void gtk_menu_set_active (GtkMenu *menu,
19650 void gtk_menu_set_accel_group (GtkMenu *menu,
19651 GtkAccelGroup *accel_group);
19652 GtkAccelGroup* gtk_menu_get_accel_group (GtkMenu *menu);
19653 void gtk_menu_set_accel_path (GtkMenu *menu,
19654 const gchar *accel_path);
19660 void gtk_menu_attach_to_widget (GtkMenu *menu,
19661 GtkWidget *attach_widget,
19662 GtkMenuDetachFunc detacher);
19663 void gtk_menu_detach (GtkMenu *menu);
19669 GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu);
19671 void gtk_menu_set_tearoff_state (GtkMenu *menu,
19672 gboolean torn_off);
19673 gboolean gtk_menu_get_tearoff_state (GtkMenu *menu);
19678 void gtk_menu_set_title (GtkMenu *menu,
19679 const gchar *title);
19680 const gchar *gtk_menu_get_title (GtkMenu *menu);
19682 void gtk_menu_reorder_child (GtkMenu *menu,
19686 void gtk_menu_set_screen (GtkMenu *menu,
19687 GdkScreen *screen);
19689 void gtk_menu_attach (GtkMenu *menu,
19692 guint right_attach,
19694 guint bottom_attach);
19696 void gtk_menu_set_monitor (GtkMenu *menu,
19698 GList* gtk_menu_get_for_attach_widget (GtkWidget *widget);
19707 # 33 "gtknotebook.c" 2
19708 # 1 "gtkmenuitem.h" 1
19709 # 32 "gtkmenuitem.h"
19710 # 1 "../gtk/gtkitem.h" 1
19711 # 32 "../gtk/gtkitem.h"
19712 # 1 "../gtk/gtkbin.h" 1
19713 # 35 "../gtk/gtkbin.h"
19715 # 45 "../gtk/gtkbin.h"
19716 typedef struct _GtkBin GtkBin;
19717 typedef struct _GtkBinClass GtkBinClass;
19721 GtkContainer container;
19726 struct _GtkBinClass
19728 GtkContainerClass parent_class;
19732 GType gtk_bin_get_type (void) __attribute__((__const__));
19734 GtkWidget *gtk_bin_get_child (GtkBin *bin);
19737 # 33 "../gtk/gtkitem.h" 2
19741 # 45 "../gtk/gtkitem.h"
19742 typedef struct _GtkItem GtkItem;
19743 typedef struct _GtkItemClass GtkItemClass;
19750 struct _GtkItemClass
19752 GtkBinClass parent_class;
19754 void (* select) (GtkItem *item);
19755 void (* deselect) (GtkItem *item);
19756 void (* toggle) (GtkItem *item);
19759 void (*_gtk_reserved1) (void);
19760 void (*_gtk_reserved2) (void);
19761 void (*_gtk_reserved3) (void);
19762 void (*_gtk_reserved4) (void);
19766 GType gtk_item_get_type (void) __attribute__((__const__));
19767 void gtk_item_select (GtkItem *item);
19768 void gtk_item_deselect (GtkItem *item);
19769 void gtk_item_toggle (GtkItem *item);
19772 # 33 "gtkmenuitem.h" 2
19776 # 45 "gtkmenuitem.h"
19777 typedef struct _GtkMenuItem GtkMenuItem;
19778 typedef struct _GtkMenuItemClass GtkMenuItemClass;
19780 struct _GtkMenuItem
19784 GtkWidget *submenu;
19785 GdkWindow *event_window;
19787 guint16 toggle_size;
19788 guint16 accelerator_width;
19791 guint show_submenu_indicator : 1;
19792 guint submenu_placement : 1;
19793 guint submenu_direction : 1;
19794 guint right_justify: 1;
19795 guint timer_from_keypress : 1;
19796 guint from_menubar : 1;
19800 struct _GtkMenuItemClass
19802 GtkItemClass parent_class;
19810 guint hide_on_activate : 1;
19812 void (* activate) (GtkMenuItem *menu_item);
19813 void (* activate_item) (GtkMenuItem *menu_item);
19814 void (* toggle_size_request) (GtkMenuItem *menu_item,
19815 gint *requisition);
19816 void (* toggle_size_allocate) (GtkMenuItem *menu_item,
19820 void (*_gtk_reserved1) (void);
19821 void (*_gtk_reserved2) (void);
19822 void (*_gtk_reserved3) (void);
19823 void (*_gtk_reserved4) (void);
19827 GType gtk_menu_item_get_type (void) __attribute__((__const__));
19828 GtkWidget* gtk_menu_item_new (void);
19829 GtkWidget* gtk_menu_item_new_with_label (const gchar *label);
19830 GtkWidget* gtk_menu_item_new_with_mnemonic (const gchar *label);
19831 void gtk_menu_item_set_submenu (GtkMenuItem *menu_item,
19832 GtkWidget *submenu);
19833 GtkWidget* gtk_menu_item_get_submenu (GtkMenuItem *menu_item);
19834 void gtk_menu_item_select (GtkMenuItem *menu_item);
19835 void gtk_menu_item_deselect (GtkMenuItem *menu_item);
19836 void gtk_menu_item_activate (GtkMenuItem *menu_item);
19837 void gtk_menu_item_toggle_size_request (GtkMenuItem *menu_item,
19838 gint *requisition);
19839 void gtk_menu_item_toggle_size_allocate (GtkMenuItem *menu_item,
19841 void gtk_menu_item_set_right_justified (GtkMenuItem *menu_item,
19842 gboolean right_justified);
19843 gboolean gtk_menu_item_get_right_justified (GtkMenuItem *menu_item);
19844 void gtk_menu_item_set_accel_path (GtkMenuItem *menu_item,
19845 const gchar *accel_path);
19848 void _gtk_menu_item_refresh_accel_path (GtkMenuItem *menu_item,
19849 const gchar *prefix,
19850 GtkAccelGroup *accel_group,
19851 gboolean group_changed);
19852 gboolean _gtk_menu_item_is_selectable (GtkWidget *menu_item);
19853 void _gtk_menu_item_popup_submenu (GtkWidget *menu_item,
19854 gboolean with_delay);
19855 void _gtk_menu_item_popdown_submenu (GtkWidget *menu_item);
19858 void gtk_menu_item_remove_submenu (GtkMenuItem *menu_item);
19863 # 34 "gtknotebook.c" 2
19866 # 1 "../gtk/gtkmisc.h" 1
19867 # 35 "../gtk/gtkmisc.h"
19869 # 45 "../gtk/gtkmisc.h"
19870 typedef struct _GtkMisc GtkMisc;
19871 typedef struct _GtkMiscClass GtkMiscClass;
19884 struct _GtkMiscClass
19886 GtkWidgetClass parent_class;
19890 GType gtk_misc_get_type (void) __attribute__((__const__));
19891 void gtk_misc_set_alignment (GtkMisc *misc,
19894 void gtk_misc_get_alignment (GtkMisc *misc,
19897 void gtk_misc_set_padding (GtkMisc *misc,
19900 void gtk_misc_get_padding (GtkMisc *misc,
19906 # 32 "gtklabel.h" 2
19907 # 1 "../gtk/gtkwindow.h" 1
19908 # 37 "../gtk/gtkwindow.h"
19910 # 47 "../gtk/gtkwindow.h"
19911 typedef struct _GtkWindowClass GtkWindowClass;
19912 typedef struct _GtkWindowGeometryInfo GtkWindowGeometryInfo;
19913 typedef struct _GtkWindowGroup GtkWindowGroup;
19914 typedef struct _GtkWindowGroupClass GtkWindowGroupClass;
19921 gchar *wmclass_name;
19922 gchar *wmclass_class;
19925 GtkWidget *focus_widget;
19926 GtkWidget *default_widget;
19927 GtkWindow *transient_parent;
19928 GtkWindowGeometryInfo *geometry_info;
19930 GtkWindowGroup *group;
19932 guint16 configure_request_count;
19933 guint allow_shrink : 1;
19934 guint allow_grow : 1;
19935 guint configure_notify_received : 1;
19942 guint need_default_position : 1;
19943 guint need_default_size : 1;
19944 guint position : 3;
19946 guint has_user_ref_count : 1;
19947 guint has_focus : 1;
19950 guint destroy_with_parent : 1;
19952 guint has_frame : 1;
19955 guint iconify_initially : 1;
19956 guint stick_initially : 1;
19957 guint maximize_initially : 1;
19958 guint decorated : 1;
19960 guint type_hint : 3;
19965 guint is_active : 1;
19966 guint has_toplevel_focus : 1;
19971 guint frame_bottom;
19973 guint keys_changed_handler;
19975 GdkModifierType mnemonic_modifier;
19979 struct _GtkWindowClass
19981 GtkBinClass parent_class;
19983 void (* set_focus) (GtkWindow *window,
19985 gboolean (* frame_event) (GtkWindow *window,
19990 void (* activate_focus) (GtkWindow *window);
19991 void (* activate_default) (GtkWindow *window);
19997 void (* move_focus) (GtkWindow *window,
19998 GtkDirectionType direction);
20000 void (*keys_changed) (GtkWindow *window);
20003 void (*_gtk_reserved1) (void);
20004 void (*_gtk_reserved2) (void);
20005 void (*_gtk_reserved3) (void);
20006 void (*_gtk_reserved4) (void);
20008 # 152 "../gtk/gtkwindow.h"
20009 struct _GtkWindowGroup
20011 GObject parent_instance;
20016 struct _GtkWindowGroupClass
20018 GObjectClass parent_class;
20021 void (*_gtk_reserved1) (void);
20022 void (*_gtk_reserved2) (void);
20023 void (*_gtk_reserved3) (void);
20024 void (*_gtk_reserved4) (void);
20033 GType gtk_window_get_type (void) __attribute__((__const__));
20034 GtkWidget* gtk_window_new (GtkWindowType type);
20035 void gtk_window_set_title (GtkWindow *window,
20036 const gchar *title);
20037 const gchar *gtk_window_get_title (GtkWindow *window);
20038 void gtk_window_set_wmclass (GtkWindow *window,
20039 const gchar *wmclass_name,
20040 const gchar *wmclass_class);
20041 void gtk_window_set_role (GtkWindow *window,
20042 const gchar *role);
20043 void gtk_window_set_startup_id (GtkWindow *window,
20044 const gchar *startup_id);
20045 const gchar *gtk_window_get_role (GtkWindow *window);
20046 void gtk_window_add_accel_group (GtkWindow *window,
20047 GtkAccelGroup *accel_group);
20048 void gtk_window_remove_accel_group (GtkWindow *window,
20049 GtkAccelGroup *accel_group);
20050 void gtk_window_set_position (GtkWindow *window,
20051 GtkWindowPosition position);
20052 gboolean gtk_window_activate_focus (GtkWindow *window);
20053 void gtk_window_set_focus (GtkWindow *window,
20055 GtkWidget *gtk_window_get_focus (GtkWindow *window);
20056 void gtk_window_set_default (GtkWindow *window,
20057 GtkWidget *default_widget);
20058 gboolean gtk_window_activate_default (GtkWindow *window);
20060 void gtk_window_set_transient_for (GtkWindow *window,
20061 GtkWindow *parent);
20062 GtkWindow *gtk_window_get_transient_for (GtkWindow *window);
20063 void gtk_window_set_opacity (GtkWindow *window,
20065 gdouble gtk_window_get_opacity (GtkWindow *window);
20066 void gtk_window_set_type_hint (GtkWindow *window,
20067 GdkWindowTypeHint hint);
20068 GdkWindowTypeHint gtk_window_get_type_hint (GtkWindow *window);
20069 void gtk_window_set_skip_taskbar_hint (GtkWindow *window,
20071 gboolean gtk_window_get_skip_taskbar_hint (GtkWindow *window);
20072 void gtk_window_set_skip_pager_hint (GtkWindow *window,
20074 gboolean gtk_window_get_skip_pager_hint (GtkWindow *window);
20075 void gtk_window_set_urgency_hint (GtkWindow *window,
20077 gboolean gtk_window_get_urgency_hint (GtkWindow *window);
20078 void gtk_window_set_accept_focus (GtkWindow *window,
20080 gboolean gtk_window_get_accept_focus (GtkWindow *window);
20081 void gtk_window_set_focus_on_map (GtkWindow *window,
20083 gboolean gtk_window_get_focus_on_map (GtkWindow *window);
20084 void gtk_window_set_destroy_with_parent (GtkWindow *window,
20086 gboolean gtk_window_get_destroy_with_parent (GtkWindow *window);
20088 void gtk_window_set_resizable (GtkWindow *window,
20089 gboolean resizable);
20090 gboolean gtk_window_get_resizable (GtkWindow *window);
20092 void gtk_window_set_gravity (GtkWindow *window,
20093 GdkGravity gravity);
20094 GdkGravity gtk_window_get_gravity (GtkWindow *window);
20097 void gtk_window_set_geometry_hints (GtkWindow *window,
20098 GtkWidget *geometry_widget,
20099 GdkGeometry *geometry,
20100 GdkWindowHints geom_mask);
20102 void gtk_window_set_screen (GtkWindow *window,
20103 GdkScreen *screen);
20104 GdkScreen* gtk_window_get_screen (GtkWindow *window);
20106 gboolean gtk_window_is_active (GtkWindow *window);
20107 gboolean gtk_window_has_toplevel_focus (GtkWindow *window);
20112 void gtk_window_set_has_frame (GtkWindow *window,
20114 gboolean gtk_window_get_has_frame (GtkWindow *window);
20115 void gtk_window_set_frame_dimensions (GtkWindow *window,
20120 void gtk_window_get_frame_dimensions (GtkWindow *window,
20125 void gtk_window_set_decorated (GtkWindow *window,
20127 gboolean gtk_window_get_decorated (GtkWindow *window);
20128 void gtk_window_set_deletable (GtkWindow *window,
20130 gboolean gtk_window_get_deletable (GtkWindow *window);
20132 void gtk_window_set_icon_list (GtkWindow *window,
20134 GList* gtk_window_get_icon_list (GtkWindow *window);
20135 void gtk_window_set_icon (GtkWindow *window,
20137 void gtk_window_set_icon_name (GtkWindow *window,
20138 const gchar *name);
20139 gboolean gtk_window_set_icon_from_file (GtkWindow *window,
20140 const gchar *filename,
20142 GdkPixbuf* gtk_window_get_icon (GtkWindow *window);
20144 gchar *gtk_window_get_icon_name (GtkWindow *window);
20145 void gtk_window_set_default_icon_list (GList *list);
20146 GList* gtk_window_get_default_icon_list (void);
20147 void gtk_window_set_default_icon (GdkPixbuf *icon);
20148 void gtk_window_set_default_icon_name (const gchar *name);
20149 gboolean gtk_window_set_default_icon_from_file (const gchar *filename,
20152 void gtk_window_set_auto_startup_notification (gboolean setting);
20155 void gtk_window_set_modal (GtkWindow *window,
20157 gboolean gtk_window_get_modal (GtkWindow *window);
20158 GList* gtk_window_list_toplevels (void);
20160 void gtk_window_add_mnemonic (GtkWindow *window,
20162 GtkWidget *target);
20163 void gtk_window_remove_mnemonic (GtkWindow *window,
20165 GtkWidget *target);
20166 gboolean gtk_window_mnemonic_activate (GtkWindow *window,
20168 GdkModifierType modifier);
20169 void gtk_window_set_mnemonic_modifier (GtkWindow *window,
20170 GdkModifierType modifier);
20171 GdkModifierType gtk_window_get_mnemonic_modifier (GtkWindow *window);
20173 gboolean gtk_window_activate_key (GtkWindow *window,
20174 GdkEventKey *event);
20175 gboolean gtk_window_propagate_key_event (GtkWindow *window,
20176 GdkEventKey *event);
20178 void gtk_window_present (GtkWindow *window);
20179 void gtk_window_present_with_time (GtkWindow *window,
20180 guint32 timestamp);
20181 void gtk_window_iconify (GtkWindow *window);
20182 void gtk_window_deiconify (GtkWindow *window);
20183 void gtk_window_stick (GtkWindow *window);
20184 void gtk_window_unstick (GtkWindow *window);
20185 void gtk_window_maximize (GtkWindow *window);
20186 void gtk_window_unmaximize (GtkWindow *window);
20187 void gtk_window_fullscreen (GtkWindow *window);
20188 void gtk_window_unfullscreen (GtkWindow *window);
20189 void gtk_window_set_keep_above (GtkWindow *window, gboolean setting);
20190 void gtk_window_set_keep_below (GtkWindow *window, gboolean setting);
20192 void gtk_window_begin_resize_drag (GtkWindow *window,
20193 GdkWindowEdge edge,
20197 guint32 timestamp);
20198 void gtk_window_begin_move_drag (GtkWindow *window,
20202 guint32 timestamp);
20205 void gtk_window_set_policy (GtkWindow *window,
20215 void gtk_window_set_default_size (GtkWindow *window,
20218 void gtk_window_get_default_size (GtkWindow *window,
20221 void gtk_window_resize (GtkWindow *window,
20224 void gtk_window_get_size (GtkWindow *window,
20227 void gtk_window_move (GtkWindow *window,
20230 void gtk_window_get_position (GtkWindow *window,
20233 gboolean gtk_window_parse_geometry (GtkWindow *window,
20234 const gchar *geometry);
20235 GtkWindowGroup *gtk_window_get_group (GtkWindow *window);
20238 void gtk_window_reshow_with_initial_size (GtkWindow *window);
20242 GType gtk_window_group_get_type (void) __attribute__((__const__));
20244 GtkWindowGroup * gtk_window_group_new (void);
20245 void gtk_window_group_add_window (GtkWindowGroup *window_group,
20246 GtkWindow *window);
20247 void gtk_window_group_remove_window (GtkWindowGroup *window_group,
20248 GtkWindow *window);
20251 void _gtk_window_internal_set_focus (GtkWindow *window,
20253 void gtk_window_remove_embedded_xid (GtkWindow *window,
20255 void gtk_window_add_embedded_xid (GtkWindow *window,
20257 void _gtk_window_reposition (GtkWindow *window,
20260 void _gtk_window_constrain_size (GtkWindow *window,
20265 GtkWidget *_gtk_window_group_get_current_grab (GtkWindowGroup *window_group);
20267 void _gtk_window_set_has_toplevel_focus (GtkWindow *window,
20268 gboolean has_toplevel_focus);
20269 void _gtk_window_unset_focus_and_default (GtkWindow *window,
20270 GtkWidget *widget);
20272 void _gtk_window_set_is_active (GtkWindow *window,
20273 gboolean is_active);
20275 typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window,
20277 GdkModifierType modifiers,
20278 gboolean is_mnemonic,
20281 void _gtk_window_keys_foreach (GtkWindow *window,
20282 GtkWindowKeysForeachFunc func,
20283 gpointer func_data);
20286 gboolean _gtk_window_query_nonaccels (GtkWindow *window,
20288 GdkModifierType accel_mods);
20291 # 33 "gtklabel.h" 2
20292 # 1 "../gtk/gtkmenu.h" 1
20293 # 34 "gtklabel.h" 2
20297 typedef struct _GtkLabel GtkLabel;
20298 typedef struct _GtkLabelClass GtkLabelClass;
20300 typedef struct _GtkLabelSelectionInfo GtkLabelSelectionInfo;
20310 guint use_underline : 1;
20311 guint use_markup : 1;
20312 guint ellipsize : 3;
20313 guint single_line_mode : 1;
20314 guint have_transform : 1;
20315 guint in_click : 1;
20316 guint wrap_mode : 3;
20317 guint pattern_set : 1;
20319 guint mnemonic_keyval;
20322 PangoAttrList *attrs;
20323 PangoAttrList *effective_attrs;
20325 PangoLayout *layout;
20327 GtkWidget *mnemonic_widget;
20328 GtkWindow *mnemonic_window;
20330 GtkLabelSelectionInfo *select_info;
20333 struct _GtkLabelClass
20335 GtkMiscClass parent_class;
20337 void (* move_cursor) (GtkLabel *label,
20338 GtkMovementStep step,
20340 gboolean extend_selection);
20341 void (* copy_clipboard) (GtkLabel *label);
20344 void (* populate_popup) (GtkLabel *label,
20348 void (*_gtk_reserved1) (void);
20349 void (*_gtk_reserved2) (void);
20350 void (*_gtk_reserved3) (void);
20351 void (*_gtk_reserved4) (void);
20354 GType gtk_label_get_type (void) __attribute__((__const__));
20355 GtkWidget* gtk_label_new (const gchar *str);
20356 GtkWidget* gtk_label_new_with_mnemonic (const gchar *str);
20357 void gtk_label_set_text (GtkLabel *label,
20359 const gchar* gtk_label_get_text (GtkLabel *label);
20360 void gtk_label_set_attributes (GtkLabel *label,
20361 PangoAttrList *attrs);
20362 PangoAttrList *gtk_label_get_attributes (GtkLabel *label);
20363 void gtk_label_set_label (GtkLabel *label,
20365 const gchar *gtk_label_get_label (GtkLabel *label);
20366 void gtk_label_set_markup (GtkLabel *label,
20368 void gtk_label_set_use_markup (GtkLabel *label,
20370 gboolean gtk_label_get_use_markup (GtkLabel *label);
20371 void gtk_label_set_use_underline (GtkLabel *label,
20373 gboolean gtk_label_get_use_underline (GtkLabel *label);
20375 void gtk_label_set_markup_with_mnemonic (GtkLabel *label,
20377 guint gtk_label_get_mnemonic_keyval (GtkLabel *label);
20378 void gtk_label_set_mnemonic_widget (GtkLabel *label,
20379 GtkWidget *widget);
20380 GtkWidget *gtk_label_get_mnemonic_widget (GtkLabel *label);
20381 void gtk_label_set_text_with_mnemonic (GtkLabel *label,
20383 void gtk_label_set_justify (GtkLabel *label,
20384 GtkJustification jtype);
20385 GtkJustification gtk_label_get_justify (GtkLabel *label);
20386 void gtk_label_set_ellipsize (GtkLabel *label,
20387 PangoEllipsizeMode mode);
20388 PangoEllipsizeMode gtk_label_get_ellipsize (GtkLabel *label);
20389 void gtk_label_set_width_chars (GtkLabel *label,
20391 gint gtk_label_get_width_chars (GtkLabel *label);
20392 void gtk_label_set_max_width_chars (GtkLabel *label,
20394 gint gtk_label_get_max_width_chars (GtkLabel *label);
20395 void gtk_label_set_pattern (GtkLabel *label,
20396 const gchar *pattern);
20397 void gtk_label_set_line_wrap (GtkLabel *label,
20399 gboolean gtk_label_get_line_wrap (GtkLabel *label);
20400 void gtk_label_set_line_wrap_mode (GtkLabel *label,
20401 PangoWrapMode wrap_mode);
20402 PangoWrapMode gtk_label_get_line_wrap_mode (GtkLabel *label);
20403 void gtk_label_set_selectable (GtkLabel *label,
20405 gboolean gtk_label_get_selectable (GtkLabel *label);
20406 void gtk_label_set_angle (GtkLabel *label,
20408 gdouble gtk_label_get_angle (GtkLabel *label);
20409 void gtk_label_select_region (GtkLabel *label,
20412 gboolean gtk_label_get_selection_bounds (GtkLabel *label,
20416 PangoLayout *gtk_label_get_layout (GtkLabel *label);
20417 void gtk_label_get_layout_offsets (GtkLabel *label,
20421 void gtk_label_set_single_line_mode (GtkLabel *label,
20422 gboolean single_line_mode);
20423 gboolean gtk_label_get_single_line_mode (GtkLabel *label);
20428 void gtk_label_get (GtkLabel *label,
20435 guint gtk_label_parse_uline (GtkLabel *label,
20436 const gchar *string);
20441 # 35 "gtknotebook.c" 2
20442 # 1 "../gdk/gdkkeysyms.h" 1
20443 # 36 "gtknotebook.c" 2
20449 # 1 "/usr/include/glib-2.0/glib/gi18n-lib.h" 1
20450 # 24 "/usr/include/glib-2.0/glib/gi18n-lib.h"
20451 # 1 "/usr/include/libintl.h" 1 3 4
20452 # 35 "/usr/include/libintl.h" 3 4
20458 extern char *gettext (__const char *__msgid)
20459 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1)));
20463 extern char *dgettext (__const char *__domainname, __const char *__msgid)
20464 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
20465 extern char *__dgettext (__const char *__domainname, __const char *__msgid)
20466 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
20470 extern char *dcgettext (__const char *__domainname,
20471 __const char *__msgid, int __category)
20472 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
20473 extern char *__dcgettext (__const char *__domainname,
20474 __const char *__msgid, int __category)
20475 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
20480 extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
20481 unsigned long int __n)
20482 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2)));
20486 extern char *dngettext (__const char *__domainname, __const char *__msgid1,
20487 __const char *__msgid2, unsigned long int __n)
20488 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
20492 extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
20493 __const char *__msgid2, unsigned long int __n,
20495 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
20501 extern char *textdomain (__const char *__domainname) __attribute__ ((__nothrow__));
20505 extern char *bindtextdomain (__const char *__domainname,
20506 __const char *__dirname) __attribute__ ((__nothrow__));
20510 extern char *bind_textdomain_codeset (__const char *__domainname,
20511 __const char *__codeset) __attribute__ ((__nothrow__));
20519 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
20520 # 102 "/usr/include/libintl.h" 2 3 4
20523 # 1 "/usr/include/locale.h" 1 3 4
20524 # 29 "/usr/include/locale.h" 3 4
20525 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
20526 # 30 "/usr/include/locale.h" 2 3 4
20527 # 1 "/usr/include/bits/locale.h" 1 3 4
20528 # 27 "/usr/include/bits/locale.h" 3 4
20541 __LC_TELEPHONE = 10,
20542 __LC_MEASUREMENT = 11,
20543 __LC_IDENTIFICATION = 12
20545 # 31 "/usr/include/locale.h" 2 3 4
20548 # 51 "/usr/include/locale.h" 3 4
20556 char *decimal_point;
20557 char *thousands_sep;
20569 char *int_curr_symbol;
20570 char *currency_symbol;
20571 char *mon_decimal_point;
20572 char *mon_thousands_sep;
20573 char *mon_grouping;
20574 char *positive_sign;
20575 char *negative_sign;
20576 char int_frac_digits;
20579 char p_cs_precedes;
20581 char p_sep_by_space;
20583 char n_cs_precedes;
20585 char n_sep_by_space;
20594 # 114 "/usr/include/locale.h" 3 4
20595 char __int_p_cs_precedes;
20596 char __int_p_sep_by_space;
20597 char __int_n_cs_precedes;
20598 char __int_n_sep_by_space;
20599 char __int_p_sign_posn;
20600 char __int_n_sign_posn;
20606 extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
20609 extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
20612 # 208 "/usr/include/locale.h" 3 4
20614 # 105 "/usr/include/libintl.h" 2 3 4
20615 # 122 "/usr/include/libintl.h" 3 4
20617 # 25 "/usr/include/glib-2.0/glib/gi18n-lib.h" 2
20619 # 38 "gtknotebook.c" 2
20620 # 1 "gtkmarshalers.h" 1
20630 extern void _gtk_marshal_BOOLEAN__BOXED (GClosure *closure,
20631 GValue *return_value,
20632 guint n_param_values,
20633 const GValue *param_values,
20634 gpointer invocation_hint,
20635 gpointer marshal_data);
20638 extern void _gtk_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure,
20639 GValue *return_value,
20640 guint n_param_values,
20641 const GValue *param_values,
20642 gpointer invocation_hint,
20643 gpointer marshal_data);
20646 extern void _gtk_marshal_BOOLEAN__ENUM (GClosure *closure,
20647 GValue *return_value,
20648 guint n_param_values,
20649 const GValue *param_values,
20650 gpointer invocation_hint,
20651 gpointer marshal_data);
20654 extern void _gtk_marshal_BOOLEAN__ENUM_BOOLEAN (GClosure *closure,
20655 GValue *return_value,
20656 guint n_param_values,
20657 const GValue *param_values,
20658 gpointer invocation_hint,
20659 gpointer marshal_data);
20662 extern void _gtk_marshal_BOOLEAN__ENUM_DOUBLE (GClosure *closure,
20663 GValue *return_value,
20664 guint n_param_values,
20665 const GValue *param_values,
20666 gpointer invocation_hint,
20667 gpointer marshal_data);
20670 extern void _gtk_marshal_BOOLEAN__ENUM_INT (GClosure *closure,
20671 GValue *return_value,
20672 guint n_param_values,
20673 const GValue *param_values,
20674 gpointer invocation_hint,
20675 gpointer marshal_data);
20678 extern void _gtk_marshal_BOOLEAN__OBJECT (GClosure *closure,
20679 GValue *return_value,
20680 guint n_param_values,
20681 const GValue *param_values,
20682 gpointer invocation_hint,
20683 gpointer marshal_data);
20686 extern void _gtk_marshal_BOOLEAN__OBJECT_UINT_FLAGS (GClosure *closure,
20687 GValue *return_value,
20688 guint n_param_values,
20689 const GValue *param_values,
20690 gpointer invocation_hint,
20691 gpointer marshal_data);
20694 extern void _gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINT (GClosure *closure,
20695 GValue *return_value,
20696 guint n_param_values,
20697 const GValue *param_values,
20698 gpointer invocation_hint,
20699 gpointer marshal_data);
20702 extern void _gtk_marshal_BOOLEAN__OBJECT_STRING_STRING_BOXED (GClosure *closure,
20703 GValue *return_value,
20704 guint n_param_values,
20705 const GValue *param_values,
20706 gpointer invocation_hint,
20707 gpointer marshal_data);
20710 extern void _gtk_marshal_BOOLEAN__OBJECT_BOXED (GClosure *closure,
20711 GValue *return_value,
20712 guint n_param_values,
20713 const GValue *param_values,
20714 gpointer invocation_hint,
20715 gpointer marshal_data);
20718 extern void _gtk_marshal_BOOLEAN__OBJECT_BOXED_BOXED (GClosure *closure,
20719 GValue *return_value,
20720 guint n_param_values,
20721 const GValue *param_values,
20722 gpointer invocation_hint,
20723 gpointer marshal_data);
20726 extern void _gtk_marshal_BOOLEAN__OBJECT_OBJECT_OBJECT (GClosure *closure,
20727 GValue *return_value,
20728 guint n_param_values,
20729 const GValue *param_values,
20730 gpointer invocation_hint,
20731 gpointer marshal_data);
20734 extern void _gtk_marshal_BOOLEAN__OBJECT_STRING_STRING (GClosure *closure,
20735 GValue *return_value,
20736 guint n_param_values,
20737 const GValue *param_values,
20738 gpointer invocation_hint,
20739 gpointer marshal_data);
20742 extern void _gtk_marshal_BOOLEAN__OBJECT_ENUM (GClosure *closure,
20743 GValue *return_value,
20744 guint n_param_values,
20745 const GValue *param_values,
20746 gpointer invocation_hint,
20747 gpointer marshal_data);
20750 extern void _gtk_marshal_BOOLEAN__INT (GClosure *closure,
20751 GValue *return_value,
20752 guint n_param_values,
20753 const GValue *param_values,
20754 gpointer invocation_hint,
20755 gpointer marshal_data);
20758 extern void _gtk_marshal_BOOLEAN__INT_INT (GClosure *closure,
20759 GValue *return_value,
20760 guint n_param_values,
20761 const GValue *param_values,
20762 gpointer invocation_hint,
20763 gpointer marshal_data);
20766 extern void _gtk_marshal_BOOLEAN__INT_INT_INT (GClosure *closure,
20767 GValue *return_value,
20768 guint n_param_values,
20769 const GValue *param_values,
20770 gpointer invocation_hint,
20771 gpointer marshal_data);
20774 extern void _gtk_marshal_BOOLEAN__INT_INT_BOOLEAN_OBJECT (GClosure *closure,
20775 GValue *return_value,
20776 guint n_param_values,
20777 const GValue *param_values,
20778 gpointer invocation_hint,
20779 gpointer marshal_data);
20782 extern void _gtk_marshal_BOOLEAN__UINT (GClosure *closure,
20783 GValue *return_value,
20784 guint n_param_values,
20785 const GValue *param_values,
20786 gpointer invocation_hint,
20787 gpointer marshal_data);
20790 extern void _gtk_marshal_BOOLEAN__VOID (GClosure *closure,
20791 GValue *return_value,
20792 guint n_param_values,
20793 const GValue *param_values,
20794 gpointer invocation_hint,
20795 gpointer marshal_data);
20798 extern void _gtk_marshal_BOOLEAN__BOOLEAN (GClosure *closure,
20799 GValue *return_value,
20800 guint n_param_values,
20801 const GValue *param_values,
20802 gpointer invocation_hint,
20803 gpointer marshal_data);
20809 extern void _gtk_marshal_BOOLEAN__BOOLEAN_BOOLEAN_BOOLEAN (GClosure *closure,
20810 GValue *return_value,
20811 guint n_param_values,
20812 const GValue *param_values,
20813 gpointer invocation_hint,
20814 gpointer marshal_data);
20817 extern void _gtk_marshal_BOOLEAN__STRING (GClosure *closure,
20818 GValue *return_value,
20819 guint n_param_values,
20820 const GValue *param_values,
20821 gpointer invocation_hint,
20822 gpointer marshal_data);
20825 extern void _gtk_marshal_ENUM__ENUM (GClosure *closure,
20826 GValue *return_value,
20827 guint n_param_values,
20828 const GValue *param_values,
20829 gpointer invocation_hint,
20830 gpointer marshal_data);
20833 extern void _gtk_marshal_ENUM__VOID (GClosure *closure,
20834 GValue *return_value,
20835 guint n_param_values,
20836 const GValue *param_values,
20837 gpointer invocation_hint,
20838 gpointer marshal_data);
20841 extern void _gtk_marshal_INT__POINTER (GClosure *closure,
20842 GValue *return_value,
20843 guint n_param_values,
20844 const GValue *param_values,
20845 gpointer invocation_hint,
20846 gpointer marshal_data);
20847 # 241 "gtkmarshalers.h"
20848 extern void _gtk_marshal_VOID__INT_BOOLEAN (GClosure *closure,
20849 GValue *return_value,
20850 guint n_param_values,
20851 const GValue *param_values,
20852 gpointer invocation_hint,
20853 gpointer marshal_data);
20857 extern void _gtk_marshal_VOID__INT_INT (GClosure *closure,
20858 GValue *return_value,
20859 guint n_param_values,
20860 const GValue *param_values,
20861 gpointer invocation_hint,
20862 gpointer marshal_data);
20870 extern void _gtk_marshal_VOID__STRING_INT_POINTER (GClosure *closure,
20871 GValue *return_value,
20872 guint n_param_values,
20873 const GValue *param_values,
20874 gpointer invocation_hint,
20875 gpointer marshal_data);
20879 extern void _gtk_marshal_OBJECT__VOID (GClosure *closure,
20880 GValue *return_value,
20881 guint n_param_values,
20882 const GValue *param_values,
20883 gpointer invocation_hint,
20884 gpointer marshal_data);
20887 extern void _gtk_marshal_STRING__DOUBLE (GClosure *closure,
20888 GValue *return_value,
20889 guint n_param_values,
20890 const GValue *param_values,
20891 gpointer invocation_hint,
20892 gpointer marshal_data);
20900 extern void _gtk_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN (GClosure *closure,
20901 GValue *return_value,
20902 guint n_param_values,
20903 const GValue *param_values,
20904 gpointer invocation_hint,
20905 gpointer marshal_data);
20911 extern void _gtk_marshal_VOID__BOXED_BOXED (GClosure *closure,
20912 GValue *return_value,
20913 guint n_param_values,
20914 const GValue *param_values,
20915 gpointer invocation_hint,
20916 gpointer marshal_data);
20919 extern void _gtk_marshal_VOID__BOXED_BOXED_POINTER (GClosure *closure,
20920 GValue *return_value,
20921 guint n_param_values,
20922 const GValue *param_values,
20923 gpointer invocation_hint,
20924 gpointer marshal_data);
20927 extern void _gtk_marshal_VOID__BOXED_OBJECT (GClosure *closure,
20928 GValue *return_value,
20929 guint n_param_values,
20930 const GValue *param_values,
20931 gpointer invocation_hint,
20932 gpointer marshal_data);
20935 extern void _gtk_marshal_VOID__BOXED_STRING_INT (GClosure *closure,
20936 GValue *return_value,
20937 guint n_param_values,
20938 const GValue *param_values,
20939 gpointer invocation_hint,
20940 gpointer marshal_data);
20943 extern void _gtk_marshal_VOID__BOXED_UINT (GClosure *closure,
20944 GValue *return_value,
20945 guint n_param_values,
20946 const GValue *param_values,
20947 gpointer invocation_hint,
20948 gpointer marshal_data);
20951 extern void _gtk_marshal_VOID__BOXED_UINT_FLAGS (GClosure *closure,
20952 GValue *return_value,
20953 guint n_param_values,
20954 const GValue *param_values,
20955 gpointer invocation_hint,
20956 gpointer marshal_data);
20959 extern void _gtk_marshal_VOID__BOXED_UINT_UINT (GClosure *closure,
20960 GValue *return_value,
20961 guint n_param_values,
20962 const GValue *param_values,
20963 gpointer invocation_hint,
20964 gpointer marshal_data);
20969 extern void _gtk_marshal_VOID__ENUM_BOOLEAN (GClosure *closure,
20970 GValue *return_value,
20971 guint n_param_values,
20972 const GValue *param_values,
20973 gpointer invocation_hint,
20974 gpointer marshal_data);
20977 extern void _gtk_marshal_VOID__ENUM_ENUM (GClosure *closure,
20978 GValue *return_value,
20979 guint n_param_values,
20980 const GValue *param_values,
20981 gpointer invocation_hint,
20982 gpointer marshal_data);
20985 extern void _gtk_marshal_VOID__ENUM_FLOAT (GClosure *closure,
20986 GValue *return_value,
20987 guint n_param_values,
20988 const GValue *param_values,
20989 gpointer invocation_hint,
20990 gpointer marshal_data);
20993 extern void _gtk_marshal_VOID__ENUM_FLOAT_BOOLEAN (GClosure *closure,
20994 GValue *return_value,
20995 guint n_param_values,
20996 const GValue *param_values,
20997 gpointer invocation_hint,
20998 gpointer marshal_data);
21001 extern void _gtk_marshal_VOID__ENUM_INT (GClosure *closure,
21002 GValue *return_value,
21003 guint n_param_values,
21004 const GValue *param_values,
21005 gpointer invocation_hint,
21006 gpointer marshal_data);
21009 extern void _gtk_marshal_VOID__ENUM_INT_BOOLEAN (GClosure *closure,
21010 GValue *return_value,
21011 guint n_param_values,
21012 const GValue *param_values,
21013 gpointer invocation_hint,
21014 gpointer marshal_data);
21021 extern void _gtk_marshal_VOID__INT_INT_BOXED (GClosure *closure,
21022 GValue *return_value,
21023 guint n_param_values,
21024 const GValue *param_values,
21025 gpointer invocation_hint,
21026 gpointer marshal_data);
21029 extern void _gtk_marshal_VOID__INT_INT_INT (GClosure *closure,
21030 GValue *return_value,
21031 guint n_param_values,
21032 const GValue *param_values,
21033 gpointer invocation_hint,
21034 gpointer marshal_data);
21040 extern void _gtk_marshal_VOID__OBJECT_BOOLEAN (GClosure *closure,
21041 GValue *return_value,
21042 guint n_param_values,
21043 const GValue *param_values,
21044 gpointer invocation_hint,
21045 gpointer marshal_data);
21048 extern void _gtk_marshal_VOID__OBJECT_BOXED_BOXED (GClosure *closure,
21049 GValue *return_value,
21050 guint n_param_values,
21051 const GValue *param_values,
21052 gpointer invocation_hint,
21053 gpointer marshal_data);
21056 extern void _gtk_marshal_VOID__OBJECT_BOXED_UINT_UINT (GClosure *closure,
21057 GValue *return_value,
21058 guint n_param_values,
21059 const GValue *param_values,
21060 gpointer invocation_hint,
21061 gpointer marshal_data);
21064 extern void _gtk_marshal_VOID__OBJECT_INT (GClosure *closure,
21065 GValue *return_value,
21066 guint n_param_values,
21067 const GValue *param_values,
21068 gpointer invocation_hint,
21069 gpointer marshal_data);
21072 extern void _gtk_marshal_VOID__OBJECT_INT_OBJECT (GClosure *closure,
21073 GValue *return_value,
21074 guint n_param_values,
21075 const GValue *param_values,
21076 gpointer invocation_hint,
21077 gpointer marshal_data);
21080 extern void _gtk_marshal_VOID__OBJECT_INT_INT (GClosure *closure,
21081 GValue *return_value,
21082 guint n_param_values,
21083 const GValue *param_values,
21084 gpointer invocation_hint,
21085 gpointer marshal_data);
21088 extern void _gtk_marshal_VOID__OBJECT_INT_INT_BOXED_UINT_UINT (GClosure *closure,
21089 GValue *return_value,
21090 guint n_param_values,
21091 const GValue *param_values,
21092 gpointer invocation_hint,
21093 gpointer marshal_data);
21096 extern void _gtk_marshal_VOID__OBJECT_OBJECT (GClosure *closure,
21097 GValue *return_value,
21098 guint n_param_values,
21099 const GValue *param_values,
21100 gpointer invocation_hint,
21101 gpointer marshal_data);
21104 extern void _gtk_marshal_VOID__OBJECT_STRING (GClosure *closure,
21105 GValue *return_value,
21106 guint n_param_values,
21107 const GValue *param_values,
21108 gpointer invocation_hint,
21109 gpointer marshal_data);
21112 extern void _gtk_marshal_VOID__OBJECT_STRING_STRING (GClosure *closure,
21113 GValue *return_value,
21114 guint n_param_values,
21115 const GValue *param_values,
21116 gpointer invocation_hint,
21117 gpointer marshal_data);
21120 extern void _gtk_marshal_VOID__OBJECT_UINT (GClosure *closure,
21121 GValue *return_value,
21122 guint n_param_values,
21123 const GValue *param_values,
21124 gpointer invocation_hint,
21125 gpointer marshal_data);
21128 extern void _gtk_marshal_VOID__OBJECT_UINT_FLAGS (GClosure *closure,
21129 GValue *return_value,
21130 guint n_param_values,
21131 const GValue *param_values,
21132 gpointer invocation_hint,
21133 gpointer marshal_data);
21141 extern void _gtk_marshal_VOID__POINTER_INT (GClosure *closure,
21142 GValue *return_value,
21143 guint n_param_values,
21144 const GValue *param_values,
21145 gpointer invocation_hint,
21146 gpointer marshal_data);
21149 extern void _gtk_marshal_VOID__POINTER_BOOLEAN (GClosure *closure,
21150 GValue *return_value,
21151 guint n_param_values,
21152 const GValue *param_values,
21153 gpointer invocation_hint,
21154 gpointer marshal_data);
21157 extern void _gtk_marshal_VOID__POINTER_POINTER_BOOLEAN (GClosure *closure,
21158 GValue *return_value,
21159 guint n_param_values,
21160 const GValue *param_values,
21161 gpointer invocation_hint,
21162 gpointer marshal_data);
21165 extern void _gtk_marshal_VOID__POINTER_POINTER_POINTER (GClosure *closure,
21166 GValue *return_value,
21167 guint n_param_values,
21168 const GValue *param_values,
21169 gpointer invocation_hint,
21170 gpointer marshal_data);
21173 extern void _gtk_marshal_VOID__POINTER_UINT (GClosure *closure,
21174 GValue *return_value,
21175 guint n_param_values,
21176 const GValue *param_values,
21177 gpointer invocation_hint,
21178 gpointer marshal_data);
21184 extern void _gtk_marshal_VOID__STRING_STRING (GClosure *closure,
21185 GValue *return_value,
21186 guint n_param_values,
21187 const GValue *param_values,
21188 gpointer invocation_hint,
21189 gpointer marshal_data);
21194 extern void _gtk_marshal_VOID__STRING_UINT_FLAGS (GClosure *closure,
21195 GValue *return_value,
21196 guint n_param_values,
21197 const GValue *param_values,
21198 gpointer invocation_hint,
21199 gpointer marshal_data);
21202 extern void _gtk_marshal_VOID__STRING_UINT_FLAGS_UINT (GClosure *closure,
21203 GValue *return_value,
21204 guint n_param_values,
21205 const GValue *param_values,
21206 gpointer invocation_hint,
21207 gpointer marshal_data);
21210 extern void _gtk_marshal_VOID__UINT_FLAGS_BOXED (GClosure *closure,
21211 GValue *return_value,
21212 guint n_param_values,
21213 const GValue *param_values,
21214 gpointer invocation_hint,
21215 gpointer marshal_data);
21218 extern void _gtk_marshal_VOID__UINT_UINT (GClosure *closure,
21219 GValue *return_value,
21220 guint n_param_values,
21221 const GValue *param_values,
21222 gpointer invocation_hint,
21223 gpointer marshal_data);
21226 extern void _gtk_marshal_VOID__UINT_STRING (GClosure *closure,
21227 GValue *return_value,
21228 guint n_param_values,
21229 const GValue *param_values,
21230 gpointer invocation_hint,
21231 gpointer marshal_data);
21234 extern void _gtk_marshal_VOID__UINT_BOXED_UINT_FLAGS_FLAGS (GClosure *closure,
21235 GValue *return_value,
21236 guint n_param_values,
21237 const GValue *param_values,
21238 gpointer invocation_hint,
21239 gpointer marshal_data);
21242 extern void _gtk_marshal_VOID__UINT_OBJECT_UINT_FLAGS_FLAGS (GClosure *closure,
21243 GValue *return_value,
21244 guint n_param_values,
21245 const GValue *param_values,
21246 gpointer invocation_hint,
21247 gpointer marshal_data);
21252 extern void _gtk_marshal_OBJECT__OBJECT_INT_INT (GClosure *closure,
21253 GValue *return_value,
21254 guint n_param_values,
21255 const GValue *param_values,
21256 gpointer invocation_hint,
21257 gpointer marshal_data);
21260 # 39 "gtknotebook.c" 2
21261 # 1 "gtkbindings.h" 1
21262 # 39 "gtkbindings.h"
21269 typedef struct _GtkBindingSet GtkBindingSet;
21270 typedef struct _GtkBindingEntry GtkBindingEntry;
21271 typedef struct _GtkBindingSignal GtkBindingSignal;
21272 typedef struct _GtkBindingArg GtkBindingArg;
21274 struct _GtkBindingSet
21278 GSList *widget_path_pspecs;
21279 GSList *widget_class_pspecs;
21280 GSList *class_branch_pspecs;
21281 GtkBindingEntry *entries;
21282 GtkBindingEntry *current;
21286 struct _GtkBindingEntry
21291 GdkModifierType modifiers;
21293 GtkBindingSet *binding_set;
21294 guint destroyed : 1;
21295 guint in_emission : 1;
21296 guint marks_unbound : 1;
21297 GtkBindingEntry *set_next;
21298 GtkBindingEntry *hash_next;
21299 GtkBindingSignal *signals;
21302 struct _GtkBindingArg
21307 gdouble double_data;
21308 gchar *string_data;
21312 struct _GtkBindingSignal
21314 GtkBindingSignal *next;
21315 gchar *signal_name;
21317 GtkBindingArg *args;
21322 GtkBindingSet* gtk_binding_set_new (const gchar *set_name);
21323 GtkBindingSet* gtk_binding_set_by_class(gpointer object_class);
21324 GtkBindingSet* gtk_binding_set_find (const gchar *set_name);
21325 gboolean gtk_bindings_activate (GtkObject *object,
21327 GdkModifierType modifiers);
21328 gboolean gtk_bindings_activate_event (GtkObject *object,
21329 GdkEventKey *event);
21330 gboolean gtk_binding_set_activate (GtkBindingSet *binding_set,
21332 GdkModifierType modifiers,
21333 GtkObject *object);
21337 void gtk_binding_entry_clear (GtkBindingSet *binding_set,
21339 GdkModifierType modifiers);
21340 void gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
21342 GdkModifierType modifiers,
21343 const gchar *signal_name,
21344 GSList *binding_args);
21345 guint gtk_binding_parse_binding (GScanner *scanner);
21348 void gtk_binding_entry_skip (GtkBindingSet *binding_set,
21350 GdkModifierType modifiers);
21351 void gtk_binding_entry_add_signal (GtkBindingSet *binding_set,
21353 GdkModifierType modifiers,
21354 const gchar *signal_name,
21357 void gtk_binding_entry_remove (GtkBindingSet *binding_set,
21359 GdkModifierType modifiers);
21361 void gtk_binding_set_add_path (GtkBindingSet *binding_set,
21362 GtkPathType path_type,
21363 const gchar *path_pattern,
21364 GtkPathPriorityType priority);
21369 guint _gtk_binding_parse_binding (GScanner *scanner);
21370 void _gtk_binding_reset_parsed (void);
21371 void _gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
21373 GdkModifierType modifiers,
21374 const gchar *signal_name,
21375 GSList *binding_args);
21380 guint _gtk_binding_signal_new (const gchar *signal_name,
21382 GSignalFlags signal_flags,
21384 GSignalAccumulator accumulator,
21385 gpointer accu_data,
21386 GSignalCMarshaller c_marshaller,
21392 # 40 "gtknotebook.c" 2
21393 # 1 "gtkprivate.h" 1
21394 # 35 "gtkprivate.h"
21401 PRIVATE_GTK_USER_STYLE = 1 << 0,
21402 PRIVATE_GTK_RESIZE_PENDING = 1 << 2,
21403 PRIVATE_GTK_LEAVE_PENDING = 1 << 4,
21404 PRIVATE_GTK_HAS_SHAPE_MASK = 1 << 5,
21405 PRIVATE_GTK_IN_REPARENT = 1 << 6,
21406 PRIVATE_GTK_DIRECTION_SET = 1 << 7,
21407 PRIVATE_GTK_DIRECTION_LTR = 1 << 8,
21408 PRIVATE_GTK_ANCHORED = 1 << 9,
21409 PRIVATE_GTK_CHILD_VISIBLE = 1 << 10,
21410 PRIVATE_GTK_REDRAW_ON_ALLOC = 1 << 11,
21411 PRIVATE_GTK_ALLOC_NEEDED = 1 << 12,
21412 PRIVATE_GTK_REQUEST_NEEDED = 1 << 13
21414 # 99 "gtkprivate.h"
21415 gboolean _gtk_fnmatch (const char *pattern,
21416 const char *string,
21417 gboolean no_leading_period);
21424 # 41 "gtknotebook.c" 2
21427 # 1 "../gtk/gtkselection.h" 1
21428 # 34 "../gtk/gtkselection.h"
21429 # 1 "../gtk/gtktextiter.h" 1
21430 # 30 "../gtk/gtktextiter.h"
21431 # 1 "../gtk/gtktexttag.h" 1
21432 # 60 "../gtk/gtktexttag.h"
21435 typedef struct _GtkTextIter GtkTextIter;
21436 typedef struct _GtkTextTagTable GtkTextTagTable;
21438 typedef struct _GtkTextAttributes GtkTextAttributes;
21439 # 76 "../gtk/gtktexttag.h"
21440 typedef struct _GtkTextTag GtkTextTag;
21441 typedef struct _GtkTextTagClass GtkTextTagClass;
21445 GObject parent_instance;
21447 GtkTextTagTable *table;
21454 # 101 "../gtk/gtktexttag.h"
21455 GtkTextAttributes *values;
21460 guint bg_color_set : 1;
21461 guint bg_stipple_set : 1;
21462 guint fg_color_set : 1;
21463 guint scale_set : 1;
21464 guint fg_stipple_set : 1;
21465 guint justification_set : 1;
21466 guint left_margin_set : 1;
21467 guint indent_set : 1;
21468 guint rise_set : 1;
21469 guint strikethrough_set : 1;
21470 guint right_margin_set : 1;
21471 guint pixels_above_lines_set : 1;
21472 guint pixels_below_lines_set : 1;
21473 guint pixels_inside_wrap_set : 1;
21474 guint tabs_set : 1;
21475 guint underline_set : 1;
21476 guint wrap_mode_set : 1;
21477 guint bg_full_height_set : 1;
21478 guint invisible_set : 1;
21479 guint editable_set : 1;
21480 guint language_set : 1;
21481 guint pg_bg_color_set : 1;
21484 guint accumulative_margin : 1;
21489 struct _GtkTextTagClass
21491 GObjectClass parent_class;
21493 gboolean (* event) (GtkTextTag *tag,
21494 GObject *event_object,
21496 const GtkTextIter *iter);
21499 void (*_gtk_reserved1) (void);
21500 void (*_gtk_reserved2) (void);
21501 void (*_gtk_reserved3) (void);
21502 void (*_gtk_reserved4) (void);
21505 GType gtk_text_tag_get_type (void) __attribute__((__const__));
21506 GtkTextTag *gtk_text_tag_new (const gchar *name);
21507 gint gtk_text_tag_get_priority (GtkTextTag *tag);
21508 void gtk_text_tag_set_priority (GtkTextTag *tag,
21510 gboolean gtk_text_tag_event (GtkTextTag *tag,
21511 GObject *event_object,
21513 const GtkTextIter *iter);
21519 typedef struct _GtkTextAppearance GtkTextAppearance;
21521 struct _GtkTextAppearance
21526 GdkBitmap *bg_stipple;
21527 GdkBitmap *fg_stipple;
21539 guint underline : 4;
21540 guint strikethrough : 1;
21553 guint inside_selection : 1;
21563 struct _GtkTextAttributes
21569 GtkTextAppearance appearance;
21571 GtkJustification justification;
21572 GtkTextDirection direction;
21575 PangoFontDescription *font;
21577 gdouble font_scale;
21585 gint pixels_above_lines;
21587 gint pixels_below_lines;
21589 gint pixels_inside_wrap;
21591 PangoTabArray *tabs;
21593 GtkWrapMode wrap_mode;
21598 PangoLanguage *language;
21601 GdkColor *pg_bg_color;
21605 guint invisible : 1;
21610 guint bg_full_height : 1;
21613 guint editable : 1;
21616 guint realized : 1;
21625 GtkTextAttributes* gtk_text_attributes_new (void);
21626 GtkTextAttributes* gtk_text_attributes_copy (GtkTextAttributes *src);
21627 void gtk_text_attributes_copy_values (GtkTextAttributes *src,
21628 GtkTextAttributes *dest);
21629 void gtk_text_attributes_unref (GtkTextAttributes *values);
21630 GtkTextAttributes *gtk_text_attributes_ref (GtkTextAttributes *values);
21632 GType gtk_text_attributes_get_type (void) __attribute__((__const__));
21636 # 31 "../gtk/gtktextiter.h" 2
21637 # 1 "../gtk/gtktextchild.h" 1
21638 # 32 "../gtk/gtktextchild.h"
21647 typedef struct _GtkTextChildAnchor GtkTextChildAnchor;
21648 typedef struct _GtkTextChildAnchorClass GtkTextChildAnchorClass;
21649 # 50 "../gtk/gtktextchild.h"
21650 struct _GtkTextChildAnchor
21652 GObject parent_instance;
21657 struct _GtkTextChildAnchorClass
21659 GObjectClass parent_class;
21662 void (*_gtk_reserved1) (void);
21663 void (*_gtk_reserved2) (void);
21664 void (*_gtk_reserved3) (void);
21665 void (*_gtk_reserved4) (void);
21668 GType gtk_text_child_anchor_get_type (void) __attribute__((__const__));
21670 GtkTextChildAnchor* gtk_text_child_anchor_new (void);
21672 GList* gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor);
21673 gboolean gtk_text_child_anchor_get_deleted (GtkTextChildAnchor *anchor);
21676 # 32 "../gtk/gtktextiter.h" 2
21681 GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 << 0,
21682 GTK_TEXT_SEARCH_TEXT_ONLY = 1 << 1
21684 } GtkTextSearchFlags;
21692 typedef struct _GtkTextBuffer GtkTextBuffer;
21696 struct _GtkTextIter {
21722 GtkTextBuffer *gtk_text_iter_get_buffer (const GtkTextIter *iter);
21728 GtkTextIter *gtk_text_iter_copy (const GtkTextIter *iter);
21729 void gtk_text_iter_free (GtkTextIter *iter);
21731 GType gtk_text_iter_get_type (void) __attribute__((__const__));
21737 gint gtk_text_iter_get_offset (const GtkTextIter *iter);
21738 gint gtk_text_iter_get_line (const GtkTextIter *iter);
21739 gint gtk_text_iter_get_line_offset (const GtkTextIter *iter);
21740 gint gtk_text_iter_get_line_index (const GtkTextIter *iter);
21742 gint gtk_text_iter_get_visible_line_offset (const GtkTextIter *iter);
21743 gint gtk_text_iter_get_visible_line_index (const GtkTextIter *iter);
21749 gunichar gtk_text_iter_get_char (const GtkTextIter *iter);
21754 gchar *gtk_text_iter_get_slice (const GtkTextIter *start,
21755 const GtkTextIter *end);
21758 gchar *gtk_text_iter_get_text (const GtkTextIter *start,
21759 const GtkTextIter *end);
21761 gchar *gtk_text_iter_get_visible_slice (const GtkTextIter *start,
21762 const GtkTextIter *end);
21763 gchar *gtk_text_iter_get_visible_text (const GtkTextIter *start,
21764 const GtkTextIter *end);
21766 GdkPixbuf* gtk_text_iter_get_pixbuf (const GtkTextIter *iter);
21767 GSList * gtk_text_iter_get_marks (const GtkTextIter *iter);
21769 GtkTextChildAnchor* gtk_text_iter_get_child_anchor (const GtkTextIter *iter);
21774 GSList *gtk_text_iter_get_toggled_tags (const GtkTextIter *iter,
21775 gboolean toggled_on);
21777 gboolean gtk_text_iter_begins_tag (const GtkTextIter *iter,
21780 gboolean gtk_text_iter_ends_tag (const GtkTextIter *iter,
21783 gboolean gtk_text_iter_toggles_tag (const GtkTextIter *iter,
21786 gboolean gtk_text_iter_has_tag (const GtkTextIter *iter,
21788 GSList *gtk_text_iter_get_tags (const GtkTextIter *iter);
21790 gboolean gtk_text_iter_editable (const GtkTextIter *iter,
21791 gboolean default_setting);
21792 gboolean gtk_text_iter_can_insert (const GtkTextIter *iter,
21793 gboolean default_editability);
21795 gboolean gtk_text_iter_starts_word (const GtkTextIter *iter);
21796 gboolean gtk_text_iter_ends_word (const GtkTextIter *iter);
21797 gboolean gtk_text_iter_inside_word (const GtkTextIter *iter);
21798 gboolean gtk_text_iter_starts_sentence (const GtkTextIter *iter);
21799 gboolean gtk_text_iter_ends_sentence (const GtkTextIter *iter);
21800 gboolean gtk_text_iter_inside_sentence (const GtkTextIter *iter);
21801 gboolean gtk_text_iter_starts_line (const GtkTextIter *iter);
21802 gboolean gtk_text_iter_ends_line (const GtkTextIter *iter);
21803 gboolean gtk_text_iter_is_cursor_position (const GtkTextIter *iter);
21805 gint gtk_text_iter_get_chars_in_line (const GtkTextIter *iter);
21806 gint gtk_text_iter_get_bytes_in_line (const GtkTextIter *iter);
21808 gboolean gtk_text_iter_get_attributes (const GtkTextIter *iter,
21809 GtkTextAttributes *values);
21810 PangoLanguage* gtk_text_iter_get_language (const GtkTextIter *iter);
21811 gboolean gtk_text_iter_is_end (const GtkTextIter *iter);
21812 gboolean gtk_text_iter_is_start (const GtkTextIter *iter);
21818 gboolean gtk_text_iter_forward_char (GtkTextIter *iter);
21819 gboolean gtk_text_iter_backward_char (GtkTextIter *iter);
21820 gboolean gtk_text_iter_forward_chars (GtkTextIter *iter,
21822 gboolean gtk_text_iter_backward_chars (GtkTextIter *iter,
21824 gboolean gtk_text_iter_forward_line (GtkTextIter *iter);
21825 gboolean gtk_text_iter_backward_line (GtkTextIter *iter);
21826 gboolean gtk_text_iter_forward_lines (GtkTextIter *iter,
21828 gboolean gtk_text_iter_backward_lines (GtkTextIter *iter,
21830 gboolean gtk_text_iter_forward_word_end (GtkTextIter *iter);
21831 gboolean gtk_text_iter_backward_word_start (GtkTextIter *iter);
21832 gboolean gtk_text_iter_forward_word_ends (GtkTextIter *iter,
21834 gboolean gtk_text_iter_backward_word_starts (GtkTextIter *iter,
21837 gboolean gtk_text_iter_forward_visible_line (GtkTextIter *iter);
21838 gboolean gtk_text_iter_backward_visible_line (GtkTextIter *iter);
21839 gboolean gtk_text_iter_forward_visible_lines (GtkTextIter *iter,
21841 gboolean gtk_text_iter_backward_visible_lines (GtkTextIter *iter,
21844 gboolean gtk_text_iter_forward_visible_word_end (GtkTextIter *iter);
21845 gboolean gtk_text_iter_backward_visible_word_start (GtkTextIter *iter);
21846 gboolean gtk_text_iter_forward_visible_word_ends (GtkTextIter *iter,
21848 gboolean gtk_text_iter_backward_visible_word_starts (GtkTextIter *iter,
21851 gboolean gtk_text_iter_forward_sentence_end (GtkTextIter *iter);
21852 gboolean gtk_text_iter_backward_sentence_start (GtkTextIter *iter);
21853 gboolean gtk_text_iter_forward_sentence_ends (GtkTextIter *iter,
21855 gboolean gtk_text_iter_backward_sentence_starts (GtkTextIter *iter,
21862 gboolean gtk_text_iter_forward_cursor_position (GtkTextIter *iter);
21863 gboolean gtk_text_iter_backward_cursor_position (GtkTextIter *iter);
21864 gboolean gtk_text_iter_forward_cursor_positions (GtkTextIter *iter,
21866 gboolean gtk_text_iter_backward_cursor_positions (GtkTextIter *iter,
21869 gboolean gtk_text_iter_forward_visible_cursor_position (GtkTextIter *iter);
21870 gboolean gtk_text_iter_backward_visible_cursor_position (GtkTextIter *iter);
21871 gboolean gtk_text_iter_forward_visible_cursor_positions (GtkTextIter *iter,
21873 gboolean gtk_text_iter_backward_visible_cursor_positions (GtkTextIter *iter,
21877 void gtk_text_iter_set_offset (GtkTextIter *iter,
21879 void gtk_text_iter_set_line (GtkTextIter *iter,
21881 void gtk_text_iter_set_line_offset (GtkTextIter *iter,
21882 gint char_on_line);
21883 void gtk_text_iter_set_line_index (GtkTextIter *iter,
21884 gint byte_on_line);
21885 void gtk_text_iter_forward_to_end (GtkTextIter *iter);
21886 gboolean gtk_text_iter_forward_to_line_end (GtkTextIter *iter);
21888 void gtk_text_iter_set_visible_line_offset (GtkTextIter *iter,
21889 gint char_on_line);
21890 void gtk_text_iter_set_visible_line_index (GtkTextIter *iter,
21891 gint byte_on_line);
21897 gboolean gtk_text_iter_forward_to_tag_toggle (GtkTextIter *iter,
21900 gboolean gtk_text_iter_backward_to_tag_toggle (GtkTextIter *iter,
21903 typedef gboolean (* GtkTextCharPredicate) (gunichar ch, gpointer user_data);
21905 gboolean gtk_text_iter_forward_find_char (GtkTextIter *iter,
21906 GtkTextCharPredicate pred,
21907 gpointer user_data,
21908 const GtkTextIter *limit);
21909 gboolean gtk_text_iter_backward_find_char (GtkTextIter *iter,
21910 GtkTextCharPredicate pred,
21911 gpointer user_data,
21912 const GtkTextIter *limit);
21914 gboolean gtk_text_iter_forward_search (const GtkTextIter *iter,
21916 GtkTextSearchFlags flags,
21917 GtkTextIter *match_start,
21918 GtkTextIter *match_end,
21919 const GtkTextIter *limit);
21921 gboolean gtk_text_iter_backward_search (const GtkTextIter *iter,
21923 GtkTextSearchFlags flags,
21924 GtkTextIter *match_start,
21925 GtkTextIter *match_end,
21926 const GtkTextIter *limit);
21932 gboolean gtk_text_iter_equal (const GtkTextIter *lhs,
21933 const GtkTextIter *rhs);
21934 gint gtk_text_iter_compare (const GtkTextIter *lhs,
21935 const GtkTextIter *rhs);
21936 gboolean gtk_text_iter_in_range (const GtkTextIter *iter,
21937 const GtkTextIter *start,
21938 const GtkTextIter *end);
21941 void gtk_text_iter_order (GtkTextIter *first,
21942 GtkTextIter *second);
21945 # 35 "../gtk/gtkselection.h" 2
21949 typedef struct _GtkTargetList GtkTargetList;
21950 typedef struct _GtkTargetEntry GtkTargetEntry;
21951 # 55 "../gtk/gtkselection.h"
21952 struct _GtkSelectionData
21960 GdkDisplay *display;
21963 struct _GtkTargetEntry {
21973 typedef struct _GtkTargetPair GtkTargetPair;
21976 struct _GtkTargetList {
21981 struct _GtkTargetPair {
21987 GtkTargetList *gtk_target_list_new (const GtkTargetEntry *targets,
21989 GtkTargetList *gtk_target_list_ref (GtkTargetList *list);
21990 void gtk_target_list_unref (GtkTargetList *list);
21991 void gtk_target_list_add (GtkTargetList *list,
21995 void gtk_target_list_add_text_targets (GtkTargetList *list,
21997 void gtk_target_list_add_rich_text_targets (GtkTargetList *list,
21999 gboolean deserializable,
22000 GtkTextBuffer *buffer);
22001 void gtk_target_list_add_image_targets (GtkTargetList *list,
22003 gboolean writable);
22004 void gtk_target_list_add_uri_targets (GtkTargetList *list,
22006 void gtk_target_list_add_table (GtkTargetList *list,
22007 const GtkTargetEntry *targets,
22009 void gtk_target_list_remove (GtkTargetList *list,
22011 gboolean gtk_target_list_find (GtkTargetList *list,
22015 GtkTargetEntry * gtk_target_table_new_from_list (GtkTargetList *list,
22017 void gtk_target_table_free (GtkTargetEntry *targets,
22022 gboolean gtk_selection_owner_set (GtkWidget *widget,
22025 gboolean gtk_selection_owner_set_for_display (GdkDisplay *display,
22030 void gtk_selection_add_target (GtkWidget *widget,
22034 void gtk_selection_add_targets (GtkWidget *widget,
22036 const GtkTargetEntry *targets,
22038 void gtk_selection_clear_targets (GtkWidget *widget,
22039 GdkAtom selection);
22040 gboolean gtk_selection_convert (GtkWidget *widget,
22044 void gtk_selection_data_set (GtkSelectionData *selection_data,
22047 const guchar *data,
22049 gboolean gtk_selection_data_set_text (GtkSelectionData *selection_data,
22052 guchar * gtk_selection_data_get_text (GtkSelectionData *selection_data);
22053 gboolean gtk_selection_data_set_pixbuf (GtkSelectionData *selection_data,
22054 GdkPixbuf *pixbuf);
22055 GdkPixbuf *gtk_selection_data_get_pixbuf (GtkSelectionData *selection_data);
22056 gboolean gtk_selection_data_set_uris (GtkSelectionData *selection_data,
22058 gchar **gtk_selection_data_get_uris (GtkSelectionData *selection_data);
22060 gboolean gtk_selection_data_get_targets (GtkSelectionData *selection_data,
22063 gboolean gtk_selection_data_targets_include_text (GtkSelectionData *selection_data);
22064 gboolean gtk_selection_data_targets_include_rich_text (GtkSelectionData *selection_data,
22065 GtkTextBuffer *buffer);
22066 gboolean gtk_selection_data_targets_include_image (GtkSelectionData *selection_data,
22067 gboolean writable);
22068 gboolean gtk_selection_data_targets_include_uri (GtkSelectionData *selection_data);
22069 gboolean gtk_targets_include_text (GdkAtom *targets,
22071 gboolean gtk_targets_include_rich_text (GdkAtom *targets,
22073 GtkTextBuffer *buffer);
22074 gboolean gtk_targets_include_image (GdkAtom *targets,
22076 gboolean writable);
22077 gboolean gtk_targets_include_uri (GdkAtom *targets,
22082 void gtk_selection_remove_all (GtkWidget *widget);
22086 gboolean gtk_selection_clear (GtkWidget *widget,
22087 GdkEventSelection *event);
22089 gboolean _gtk_selection_request (GtkWidget *widget,
22090 GdkEventSelection *event);
22091 gboolean _gtk_selection_incr_event (GdkWindow *window,
22092 GdkEventProperty *event);
22093 gboolean _gtk_selection_notify (GtkWidget *widget,
22094 GdkEventSelection *event);
22095 gboolean _gtk_selection_property_notify (GtkWidget *widget,
22096 GdkEventProperty *event);
22098 GType gtk_selection_data_get_type (void) __attribute__((__const__));
22099 GtkSelectionData *gtk_selection_data_copy (GtkSelectionData *data);
22100 void gtk_selection_data_free (GtkSelectionData *data);
22102 GType gtk_target_list_get_type (void) __attribute__((__const__));
22110 GTK_DEST_DEFAULT_MOTION = 1 << 0,
22111 GTK_DEST_DEFAULT_HIGHLIGHT = 1 << 1,
22112 GTK_DEST_DEFAULT_DROP = 1 << 2,
22113 GTK_DEST_DEFAULT_ALL = 0x07
22119 GTK_TARGET_SAME_APP = 1 << 0,
22120 GTK_TARGET_SAME_WIDGET = 1 << 1,
22121 GTK_TARGET_OTHER_APP = 1 << 2,
22122 GTK_TARGET_OTHER_WIDGET = 1 << 3
22127 void gtk_drag_get_data (GtkWidget *widget,
22128 GdkDragContext *context,
22131 void gtk_drag_finish (GdkDragContext *context,
22136 GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context);
22138 void gtk_drag_highlight (GtkWidget *widget);
22139 void gtk_drag_unhighlight (GtkWidget *widget);
22141 void gtk_drag_dest_set (GtkWidget *widget,
22142 GtkDestDefaults flags,
22143 const GtkTargetEntry *targets,
22145 GdkDragAction actions);
22147 void gtk_drag_dest_set_proxy (GtkWidget *widget,
22148 GdkWindow *proxy_window,
22149 GdkDragProtocol protocol,
22150 gboolean use_coordinates);
22152 void gtk_drag_dest_unset (GtkWidget *widget);
22154 GdkAtom gtk_drag_dest_find_target (GtkWidget *widget,
22155 GdkDragContext *context,
22156 GtkTargetList *target_list);
22157 GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget);
22158 void gtk_drag_dest_set_target_list (GtkWidget *widget,
22159 GtkTargetList *target_list);
22160 void gtk_drag_dest_add_text_targets (GtkWidget *widget);
22161 void gtk_drag_dest_add_image_targets (GtkWidget *widget);
22162 void gtk_drag_dest_add_uri_targets (GtkWidget *widget);
22164 void gtk_drag_dest_set_track_motion (GtkWidget *widget,
22165 gboolean track_motion);
22166 gboolean gtk_drag_dest_get_track_motion (GtkWidget *widget);
22170 void gtk_drag_source_set (GtkWidget *widget,
22171 GdkModifierType start_button_mask,
22172 const GtkTargetEntry *targets,
22174 GdkDragAction actions);
22176 void gtk_drag_source_unset (GtkWidget *widget);
22178 GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget);
22179 void gtk_drag_source_set_target_list (GtkWidget *widget,
22180 GtkTargetList *target_list);
22181 void gtk_drag_source_add_text_targets (GtkWidget *widget);
22182 void gtk_drag_source_add_image_targets (GtkWidget *widget);
22183 void gtk_drag_source_add_uri_targets (GtkWidget *widget);
22185 void gtk_drag_source_set_icon (GtkWidget *widget,
22186 GdkColormap *colormap,
22189 void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget,
22190 GdkPixbuf *pixbuf);
22191 void gtk_drag_source_set_icon_stock (GtkWidget *widget,
22192 const gchar *stock_id);
22193 void gtk_drag_source_set_icon_name (GtkWidget *widget,
22194 const gchar *icon_name);
22200 GdkDragContext *gtk_drag_begin (GtkWidget *widget,
22201 GtkTargetList *targets,
22202 GdkDragAction actions,
22208 void gtk_drag_set_icon_widget (GdkDragContext *context,
22212 void gtk_drag_set_icon_pixmap (GdkDragContext *context,
22213 GdkColormap *colormap,
22218 void gtk_drag_set_icon_pixbuf (GdkDragContext *context,
22222 void gtk_drag_set_icon_stock (GdkDragContext *context,
22223 const gchar *stock_id,
22226 void gtk_drag_set_icon_name (GdkDragContext *context,
22227 const gchar *icon_name,
22231 void gtk_drag_set_icon_default (GdkDragContext *context);
22233 gboolean gtk_drag_check_threshold (GtkWidget *widget,
22240 void _gtk_drag_source_handle_event (GtkWidget *widget,
22242 void _gtk_drag_dest_handle_event (GtkWidget *toplevel,
22246 void gtk_drag_set_default_icon (GdkColormap *colormap,
22254 # 42 "gtknotebook.c" 2
22255 # 1 "gtkbuildable.h" 1
22256 # 25 "gtkbuildable.h"
22257 # 1 "../gtk/gtkbuilder.h" 1
22258 # 25 "../gtk/gtkbuilder.h"
22260 # 36 "../gtk/gtkbuilder.h"
22261 typedef struct _GtkBuilder GtkBuilder;
22262 typedef struct _GtkBuilderClass GtkBuilderClass;
22263 typedef struct _GtkBuilderPrivate GtkBuilderPrivate;
22267 GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION,
22268 GTK_BUILDER_ERROR_UNHANDLED_TAG,
22269 GTK_BUILDER_ERROR_MISSING_ATTRIBUTE,
22270 GTK_BUILDER_ERROR_INVALID_ATTRIBUTE,
22271 GTK_BUILDER_ERROR_INVALID_TAG,
22272 GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE,
22273 GTK_BUILDER_ERROR_INVALID_VALUE
22276 GQuark gtk_builder_error_quark (void);
22280 GObject parent_instance;
22282 GtkBuilderPrivate *priv;
22285 struct _GtkBuilderClass
22287 GObjectClass parent_class;
22289 GType (* get_type_from_name) (GtkBuilder *builder,
22290 const char *type_name);
22293 void (*_gtk_reserved1) (void);
22294 void (*_gtk_reserved2) (void);
22295 void (*_gtk_reserved3) (void);
22296 void (*_gtk_reserved4) (void);
22297 void (*_gtk_reserved5) (void);
22298 void (*_gtk_reserved6) (void);
22299 void (*_gtk_reserved7) (void);
22300 void (*_gtk_reserved8) (void);
22303 typedef void (*GtkBuilderConnectFunc) (GtkBuilder *builder,
22305 const gchar *signal_name,
22306 const gchar *handler_name,
22307 GObject *connect_object,
22308 GConnectFlags flags,
22309 gpointer user_data);
22311 GType gtk_builder_get_type (void) __attribute__((__const__));
22312 GtkBuilder* gtk_builder_new (void);
22314 guint gtk_builder_add_from_file (GtkBuilder *builder,
22315 const gchar *filename,
22317 guint gtk_builder_add_from_string (GtkBuilder *builder,
22318 const gchar *buffer,
22321 GObject* gtk_builder_get_object (GtkBuilder *builder,
22322 const gchar *name);
22323 GSList* gtk_builder_get_objects (GtkBuilder *builder);
22324 void gtk_builder_connect_signals (GtkBuilder *builder,
22325 gpointer user_data);
22326 void gtk_builder_connect_signals_full (GtkBuilder *builder,
22327 GtkBuilderConnectFunc func,
22328 gpointer user_data);
22329 void gtk_builder_set_translation_domain (GtkBuilder *builder,
22330 const gchar *domain);
22331 const gchar* gtk_builder_get_translation_domain (GtkBuilder *builder);
22332 GType gtk_builder_get_type_from_name (GtkBuilder *builder,
22333 const char *type_name);
22335 gboolean gtk_builder_value_from_string (GtkBuilder *builder,
22337 const gchar *string,
22340 gboolean gtk_builder_value_from_string_type (GtkBuilder *builder,
22342 const gchar *string,
22350 # 26 "gtkbuildable.h" 2
22361 typedef struct _GtkBuildable GtkBuildable;
22362 typedef struct _GtkBuildableIface GtkBuildableIface;
22364 struct _GtkBuildableIface
22366 GTypeInterface g_iface;
22369 void (* set_name) (GtkBuildable *buildable,
22370 const gchar *name);
22371 const gchar * (* get_name) (GtkBuildable *buildable);
22372 void (* add_child) (GtkBuildable *buildable,
22373 GtkBuilder *builder,
22375 const gchar *type);
22376 void (* set_buildable_property) (GtkBuildable *buildable,
22377 GtkBuilder *builder,
22379 const GValue *value);
22380 GObject * (* construct_child) (GtkBuildable *buildable,
22381 GtkBuilder *builder,
22382 const gchar *name);
22383 gboolean (* custom_tag_start) (GtkBuildable *buildable,
22384 GtkBuilder *builder,
22386 const gchar *tagname,
22387 GMarkupParser *parser,
22389 void (* custom_tag_end) (GtkBuildable *buildable,
22390 GtkBuilder *builder,
22392 const gchar *tagname,
22394 void (* custom_finished) (GtkBuildable *buildable,
22395 GtkBuilder *builder,
22397 const gchar *tagname,
22399 void (* parser_finished) (GtkBuildable *buildable,
22400 GtkBuilder *builder);
22402 GObject * (* get_internal_child) (GtkBuildable *buildable,
22403 GtkBuilder *builder,
22404 const gchar *childname);
22408 GType gtk_buildable_get_type (void) __attribute__((__const__));
22410 void gtk_buildable_set_name (GtkBuildable *buildable,
22411 const gchar *name);
22412 const gchar * gtk_buildable_get_name (GtkBuildable *buildable);
22413 void gtk_buildable_add_child (GtkBuildable *buildable,
22414 GtkBuilder *builder,
22416 const gchar *type);
22417 void gtk_buildable_set_buildable_property (GtkBuildable *buildable,
22418 GtkBuilder *builder,
22420 const GValue *value);
22421 GObject * gtk_buildable_construct_child (GtkBuildable *buildable,
22422 GtkBuilder *builder,
22423 const gchar *name);
22424 gboolean gtk_buildable_custom_tag_start (GtkBuildable *buildable,
22425 GtkBuilder *builder,
22427 const gchar *tagname,
22428 GMarkupParser *parser,
22430 void gtk_buildable_custom_tag_end (GtkBuildable *buildable,
22431 GtkBuilder *builder,
22433 const gchar *tagname,
22435 void gtk_buildable_custom_finished (GtkBuildable *buildable,
22436 GtkBuilder *builder,
22438 const gchar *tagname,
22440 void gtk_buildable_parser_finished (GtkBuildable *buildable,
22441 GtkBuilder *builder);
22442 GObject * gtk_buildable_get_internal_child (GtkBuildable *buildable,
22443 GtkBuilder *builder,
22444 const gchar *childname);
22447 # 43 "gtknotebook.c" 2
22450 extern __typeof (gtk_accelerator_get_default_mod_mask) IA__gtk_accelerator_get_default_mod_mask __attribute((visibility("hidden")));
22453 extern __typeof (gtk_accelerator_get_label) IA__gtk_accelerator_get_label __attribute((visibility("hidden")));
22456 extern __typeof (gtk_accelerator_name) IA__gtk_accelerator_name __attribute((visibility("hidden")));
22459 extern __typeof (gtk_accelerator_parse) IA__gtk_accelerator_parse __attribute((visibility("hidden")));
22462 extern __typeof (gtk_accelerator_set_default_mod_mask) IA__gtk_accelerator_set_default_mod_mask __attribute((visibility("hidden")));
22465 extern __typeof (gtk_accelerator_valid) IA__gtk_accelerator_valid __attribute((visibility("hidden"))) __attribute__((__const__));
22468 extern __typeof (gtk_accel_group_activate) IA__gtk_accel_group_activate __attribute((visibility("hidden")));
22471 extern __typeof (gtk_accel_group_connect) IA__gtk_accel_group_connect __attribute((visibility("hidden")));
22474 extern __typeof (gtk_accel_group_connect_by_path) IA__gtk_accel_group_connect_by_path __attribute((visibility("hidden")));
22477 extern __typeof (gtk_accel_group_disconnect) IA__gtk_accel_group_disconnect __attribute((visibility("hidden")));
22480 extern __typeof (gtk_accel_group_disconnect_key) IA__gtk_accel_group_disconnect_key __attribute((visibility("hidden")));
22483 extern __typeof (gtk_accel_group_find) IA__gtk_accel_group_find __attribute((visibility("hidden")));
22486 extern __typeof (gtk_accel_group_from_accel_closure) IA__gtk_accel_group_from_accel_closure __attribute((visibility("hidden")));
22489 extern __typeof (gtk_accel_group_get_type) IA__gtk_accel_group_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22492 extern __typeof (gtk_accel_group_lock) IA__gtk_accel_group_lock __attribute((visibility("hidden")));
22495 extern __typeof (gtk_accel_group_new) IA__gtk_accel_group_new __attribute((visibility("hidden")));
22498 extern __typeof (gtk_accel_group_query) IA__gtk_accel_group_query __attribute((visibility("hidden")));
22501 extern __typeof (gtk_accel_groups_activate) IA__gtk_accel_groups_activate __attribute((visibility("hidden")));
22504 extern __typeof (gtk_accel_groups_from_object) IA__gtk_accel_groups_from_object __attribute((visibility("hidden")));
22507 extern __typeof (gtk_accel_group_unlock) IA__gtk_accel_group_unlock __attribute((visibility("hidden")));
22509 extern __typeof (gtk_adjustment_changed) IA__gtk_adjustment_changed __attribute((visibility("hidden")));
22512 extern __typeof (gtk_adjustment_clamp_page) IA__gtk_adjustment_clamp_page __attribute((visibility("hidden")));
22515 extern __typeof (gtk_adjustment_get_type) IA__gtk_adjustment_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22518 extern __typeof (gtk_adjustment_get_value) IA__gtk_adjustment_get_value __attribute((visibility("hidden")));
22521 extern __typeof (gtk_adjustment_new) IA__gtk_adjustment_new __attribute((visibility("hidden")));
22524 extern __typeof (gtk_adjustment_set_value) IA__gtk_adjustment_set_value __attribute((visibility("hidden")));
22527 extern __typeof (gtk_adjustment_value_changed) IA__gtk_adjustment_value_changed __attribute((visibility("hidden")));
22529 extern __typeof (gtk_pack_direction_get_type) IA__gtk_pack_direction_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22532 extern __typeof (gtk_ui_manager_item_type_get_type) IA__gtk_ui_manager_item_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22535 extern __typeof (gtk_spin_button_update_policy_get_type) IA__gtk_spin_button_update_policy_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22538 extern __typeof (gtk_notebook_tab_get_type) IA__gtk_notebook_tab_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22541 extern __typeof (gtk_anchor_type_get_type) IA__gtk_anchor_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22544 extern __typeof (gtk_arg_flags_get_type) IA__gtk_arg_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22547 extern __typeof (gtk_arrow_type_get_type) IA__gtk_arrow_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22550 extern __typeof (gtk_assistant_page_type_get_type) IA__gtk_assistant_page_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22553 extern __typeof (gtk_attach_options_get_type) IA__gtk_attach_options_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22556 extern __typeof (gtk_builder_error_get_type) IA__gtk_builder_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22559 extern __typeof (gtk_button_action_get_type) IA__gtk_button_action_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22562 extern __typeof (gtk_buttons_type_get_type) IA__gtk_buttons_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22565 extern __typeof (gtk_calendar_display_options_get_type) IA__gtk_calendar_display_options_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22568 extern __typeof (gtk_cell_renderer_mode_get_type) IA__gtk_cell_renderer_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22571 extern __typeof (gtk_cell_renderer_state_get_type) IA__gtk_cell_renderer_state_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22574 extern __typeof (gtk_cell_renderer_accel_mode_get_type) IA__gtk_cell_renderer_accel_mode_get_type __attribute((visibility("hidden")));
22577 extern __typeof (gtk_corner_type_get_type) IA__gtk_corner_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22580 extern __typeof (gtk_debug_flag_get_type) IA__gtk_debug_flag_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22583 extern __typeof (gtk_delete_type_get_type) IA__gtk_delete_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22586 extern __typeof (gtk_dest_defaults_get_type) IA__gtk_dest_defaults_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22589 extern __typeof (gtk_drag_result_get_type) IA__gtk_drag_result_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22592 extern __typeof (gtk_clist_drag_pos_get_type) IA__gtk_clist_drag_pos_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22595 extern __typeof (gtk_dialog_flags_get_type) IA__gtk_dialog_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22598 extern __typeof (gtk_direction_type_get_type) IA__gtk_direction_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22601 extern __typeof (gtk_expander_style_get_type) IA__gtk_expander_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22604 extern __typeof (gtk_file_chooser_action_get_type) IA__gtk_file_chooser_action_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22607 extern __typeof (gtk_file_chooser_confirmation_get_type) IA__gtk_file_chooser_confirmation_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22610 extern __typeof (gtk_file_filter_flags_get_type) IA__gtk_file_filter_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22613 extern __typeof (gtk_icon_view_drop_position_get_type) IA__gtk_icon_view_drop_position_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22616 extern __typeof (gtk_sensitivity_type_get_type) IA__gtk_sensitivity_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22619 extern __typeof (gtk_window_type_get_type) IA__gtk_window_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22622 extern __typeof (gtk_wrap_mode_get_type) IA__gtk_wrap_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22625 extern __typeof (gtk_widget_flags_get_type) IA__gtk_widget_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22628 extern __typeof (gtk_widget_help_type_get_type) IA__gtk_widget_help_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22631 extern __typeof (gtk_window_position_get_type) IA__gtk_window_position_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22634 extern __typeof (gtk_tree_view_column_sizing_get_type) IA__gtk_tree_view_column_sizing_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22637 extern __typeof (gtk_tree_view_drop_position_get_type) IA__gtk_tree_view_drop_position_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22640 extern __typeof (gtk_button_box_style_get_type) IA__gtk_button_box_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22643 extern __typeof (gtk_cell_type_get_type) IA__gtk_cell_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22646 extern __typeof (gtk_ctree_expander_style_get_type) IA__gtk_ctree_expander_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22649 extern __typeof (gtk_ctree_expansion_type_get_type) IA__gtk_ctree_expansion_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22652 extern __typeof (gtk_ctree_line_style_get_type) IA__gtk_ctree_line_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22655 extern __typeof (gtk_ctree_pos_get_type) IA__gtk_ctree_pos_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22658 extern __typeof (gtk_curve_type_get_type) IA__gtk_curve_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22661 extern __typeof (gtk_icon_lookup_flags_get_type) IA__gtk_icon_lookup_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22664 extern __typeof (gtk_image_type_get_type) IA__gtk_image_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22667 extern __typeof (gtk_im_preedit_style_get_type) IA__gtk_im_preedit_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22670 extern __typeof (gtk_im_status_style_get_type) IA__gtk_im_status_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22673 extern __typeof (gtk_justification_get_type) IA__gtk_justification_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22676 extern __typeof (gtk_match_type_get_type) IA__gtk_match_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22679 extern __typeof (gtk_menu_direction_type_get_type) IA__gtk_menu_direction_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22682 extern __typeof (gtk_message_type_get_type) IA__gtk_message_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22685 extern __typeof (gtk_metric_type_get_type) IA__gtk_metric_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22688 extern __typeof (gtk_movement_step_get_type) IA__gtk_movement_step_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22691 extern __typeof (gtk_orientation_get_type) IA__gtk_orientation_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22694 extern __typeof (gtk_pack_type_get_type) IA__gtk_pack_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22697 extern __typeof (gtk_page_orientation_get_type) IA__gtk_page_orientation_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22700 extern __typeof (gtk_print_operation_result_get_type) IA__gtk_print_operation_result_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22703 extern __typeof (gtk_print_pages_get_type) IA__gtk_print_pages_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22706 extern __typeof (gtk_print_quality_get_type) IA__gtk_print_quality_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22709 extern __typeof (gtk_print_status_get_type) IA__gtk_print_status_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22712 extern __typeof (gtk_page_set_get_type) IA__gtk_page_set_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22715 extern __typeof (gtk_path_priority_type_get_type) IA__gtk_path_priority_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22718 extern __typeof (gtk_path_type_get_type) IA__gtk_path_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22721 extern __typeof (gtk_policy_type_get_type) IA__gtk_policy_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22724 extern __typeof (gtk_position_type_get_type) IA__gtk_position_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22727 extern __typeof (gtk_preview_type_get_type) IA__gtk_preview_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22730 extern __typeof (gtk_print_duplex_get_type) IA__gtk_print_duplex_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22733 extern __typeof (gtk_print_error_get_type) IA__gtk_print_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22736 extern __typeof (gtk_recent_filter_flags_get_type) IA__gtk_recent_filter_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22739 extern __typeof (gtk_print_operation_action_get_type) IA__gtk_print_operation_action_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22742 extern __typeof (gtk_private_flags_get_type) IA__gtk_private_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22745 extern __typeof (gtk_progress_bar_orientation_get_type) IA__gtk_progress_bar_orientation_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22748 extern __typeof (gtk_progress_bar_style_get_type) IA__gtk_progress_bar_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22751 extern __typeof (gtk_rc_flags_get_type) IA__gtk_rc_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22754 extern __typeof (gtk_rc_token_type_get_type) IA__gtk_rc_token_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22757 extern __typeof (gtk_recent_chooser_error_get_type) IA__gtk_recent_chooser_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22760 extern __typeof (gtk_recent_manager_error_get_type) IA__gtk_recent_manager_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22763 extern __typeof (gtk_recent_sort_type_get_type) IA__gtk_recent_sort_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22766 extern __typeof (gtk_unit_get_type) IA__gtk_unit_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22769 extern __typeof (gtk_relief_style_get_type) IA__gtk_relief_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22772 extern __typeof (gtk_resize_mode_get_type) IA__gtk_resize_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22775 extern __typeof (gtk_response_type_get_type) IA__gtk_response_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22778 extern __typeof (gtk_scroll_step_get_type) IA__gtk_scroll_step_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22781 extern __typeof (gtk_scroll_type_get_type) IA__gtk_scroll_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22784 extern __typeof (gtk_selection_mode_get_type) IA__gtk_selection_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22787 extern __typeof (gtk_shadow_type_get_type) IA__gtk_shadow_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22790 extern __typeof (gtk_side_type_get_type) IA__gtk_side_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22793 extern __typeof (gtk_signal_run_type_get_type) IA__gtk_signal_run_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22796 extern __typeof (gtk_size_group_mode_get_type) IA__gtk_size_group_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22799 extern __typeof (gtk_sort_type_get_type) IA__gtk_sort_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22802 extern __typeof (gtk_spin_type_get_type) IA__gtk_spin_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22805 extern __typeof (gtk_state_type_get_type) IA__gtk_state_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22808 extern __typeof (gtk_submenu_direction_get_type) IA__gtk_submenu_direction_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22811 extern __typeof (gtk_submenu_placement_get_type) IA__gtk_submenu_placement_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22814 extern __typeof (gtk_target_flags_get_type) IA__gtk_target_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22817 extern __typeof (gtk_text_direction_get_type) IA__gtk_text_direction_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22820 extern __typeof (gtk_text_buffer_target_info_get_type) IA__gtk_text_buffer_target_info_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22823 extern __typeof (gtk_text_search_flags_get_type) IA__gtk_text_search_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22826 extern __typeof (gtk_text_window_type_get_type) IA__gtk_text_window_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22829 extern __typeof (gtk_tree_model_flags_get_type) IA__gtk_tree_model_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22832 extern __typeof (gtk_tree_view_mode_get_type) IA__gtk_tree_view_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22835 extern __typeof (gtk_tree_view_grid_lines_get_type) IA__gtk_tree_view_grid_lines_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22838 extern __typeof (gtk_update_type_get_type) IA__gtk_update_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22841 extern __typeof (gtk_visibility_get_type) IA__gtk_visibility_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22844 extern __typeof (gtk_object_flags_get_type) IA__gtk_object_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22847 extern __typeof (gtk_accel_flags_get_type) IA__gtk_accel_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22850 extern __typeof (gtk_icon_size_get_type) IA__gtk_icon_size_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22853 extern __typeof (gtk_file_chooser_error_get_type) IA__gtk_file_chooser_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22856 extern __typeof (gtk_icon_theme_error_get_type) IA__gtk_icon_theme_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22859 extern __typeof (gtk_toolbar_child_type_get_type) IA__gtk_toolbar_child_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22862 extern __typeof (gtk_toolbar_space_style_get_type) IA__gtk_toolbar_space_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22865 extern __typeof (gtk_toolbar_style_get_type) IA__gtk_toolbar_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22867 extern __typeof (gtk_binding_entry_clear) IA__gtk_binding_entry_clear __attribute((visibility("hidden")));
22870 extern __typeof (gtk_binding_entry_add_signall) IA__gtk_binding_entry_add_signall __attribute((visibility("hidden")));
22873 extern __typeof (gtk_binding_parse_binding) IA__gtk_binding_parse_binding __attribute((visibility("hidden")));
22877 extern __typeof (gtk_binding_entry_skip) IA__gtk_binding_entry_skip __attribute((visibility("hidden")));
22880 extern __typeof (gtk_binding_entry_add_signal) IA__gtk_binding_entry_add_signal __attribute((visibility("hidden")));
22883 extern __typeof (gtk_binding_entry_remove) IA__gtk_binding_entry_remove __attribute((visibility("hidden")));
22886 extern __typeof (gtk_bindings_activate) IA__gtk_bindings_activate __attribute((visibility("hidden")));
22889 extern __typeof (gtk_bindings_activate_event) IA__gtk_bindings_activate_event __attribute((visibility("hidden")));
22892 extern __typeof (gtk_binding_set_activate) IA__gtk_binding_set_activate __attribute((visibility("hidden")));
22895 extern __typeof (gtk_binding_set_add_path) IA__gtk_binding_set_add_path __attribute((visibility("hidden")));
22898 extern __typeof (gtk_binding_set_by_class) IA__gtk_binding_set_by_class __attribute((visibility("hidden")));
22901 extern __typeof (gtk_binding_set_find) IA__gtk_binding_set_find __attribute((visibility("hidden")));
22904 extern __typeof (gtk_binding_set_new) IA__gtk_binding_set_new __attribute((visibility("hidden")));
22911 extern __typeof (gtk_bin_get_child) IA__gtk_bin_get_child __attribute((visibility("hidden")));
22914 extern __typeof (gtk_bin_get_type) IA__gtk_bin_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22915 # 1013 "gtkalias.h"
22916 extern __typeof (gtk_buildable_add_child) IA__gtk_buildable_add_child __attribute((visibility("hidden")));
22919 extern __typeof (gtk_buildable_construct_child) IA__gtk_buildable_construct_child __attribute((visibility("hidden")));
22922 extern __typeof (gtk_buildable_custom_tag_start) IA__gtk_buildable_custom_tag_start __attribute((visibility("hidden")));
22925 extern __typeof (gtk_buildable_custom_tag_end) IA__gtk_buildable_custom_tag_end __attribute((visibility("hidden")));
22928 extern __typeof (gtk_buildable_custom_finished) IA__gtk_buildable_custom_finished __attribute((visibility("hidden")));
22931 extern __typeof (gtk_buildable_get_internal_child) IA__gtk_buildable_get_internal_child __attribute((visibility("hidden")));
22934 extern __typeof (gtk_buildable_get_name) IA__gtk_buildable_get_name __attribute((visibility("hidden")));
22937 extern __typeof (gtk_buildable_get_type) IA__gtk_buildable_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22940 extern __typeof (gtk_buildable_parser_finished) IA__gtk_buildable_parser_finished __attribute((visibility("hidden")));
22943 extern __typeof (gtk_buildable_set_name) IA__gtk_buildable_set_name __attribute((visibility("hidden")));
22946 extern __typeof (gtk_buildable_set_buildable_property) IA__gtk_buildable_set_buildable_property __attribute((visibility("hidden")));
22953 extern __typeof (gtk_builder_add_from_file) IA__gtk_builder_add_from_file __attribute((visibility("hidden")));
22956 extern __typeof (gtk_builder_add_from_string) IA__gtk_builder_add_from_string __attribute((visibility("hidden")));
22959 extern __typeof (gtk_builder_error_quark) IA__gtk_builder_error_quark __attribute((visibility("hidden")));
22962 extern __typeof (gtk_builder_get_object) IA__gtk_builder_get_object __attribute((visibility("hidden")));
22965 extern __typeof (gtk_builder_get_objects) IA__gtk_builder_get_objects __attribute((visibility("hidden")));
22968 extern __typeof (gtk_builder_get_translation_domain) IA__gtk_builder_get_translation_domain __attribute((visibility("hidden")));
22971 extern __typeof (gtk_builder_get_type) IA__gtk_builder_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
22974 extern __typeof (gtk_builder_get_type_from_name) IA__gtk_builder_get_type_from_name __attribute((visibility("hidden")));
22977 extern __typeof (gtk_builder_new) IA__gtk_builder_new __attribute((visibility("hidden")));
22980 extern __typeof (gtk_builder_set_translation_domain) IA__gtk_builder_set_translation_domain __attribute((visibility("hidden")));
22983 extern __typeof (gtk_builder_connect_signals) IA__gtk_builder_connect_signals __attribute((visibility("hidden")));
22986 extern __typeof (gtk_builder_connect_signals_full) IA__gtk_builder_connect_signals_full __attribute((visibility("hidden")));
22989 extern __typeof (gtk_builder_value_from_string) IA__gtk_builder_value_from_string __attribute((visibility("hidden")));
22992 extern __typeof (gtk_builder_value_from_string_type) IA__gtk_builder_value_from_string_type __attribute((visibility("hidden")));
22993 # 2103 "gtkalias.h"
22994 extern __typeof (gtk_container_add) IA__gtk_container_add __attribute((visibility("hidden")));
22997 extern __typeof (gtk_container_add_with_properties) IA__gtk_container_add_with_properties __attribute((visibility("hidden"))) __attribute__((__sentinel__));
23000 extern __typeof (gtk_container_check_resize) IA__gtk_container_check_resize __attribute((visibility("hidden")));
23003 extern __typeof (gtk_container_child_get) IA__gtk_container_child_get __attribute((visibility("hidden"))) __attribute__((__sentinel__));
23006 extern __typeof (gtk_container_child_get_property) IA__gtk_container_child_get_property __attribute((visibility("hidden")));
23009 extern __typeof (gtk_container_child_get_valist) IA__gtk_container_child_get_valist __attribute((visibility("hidden")));
23012 extern __typeof (gtk_container_child_set) IA__gtk_container_child_set __attribute((visibility("hidden"))) __attribute__((__sentinel__));
23015 extern __typeof (gtk_container_child_set_property) IA__gtk_container_child_set_property __attribute((visibility("hidden")));
23018 extern __typeof (gtk_container_child_set_valist) IA__gtk_container_child_set_valist __attribute((visibility("hidden")));
23021 extern __typeof (gtk_container_child_type) IA__gtk_container_child_type __attribute((visibility("hidden")));
23024 extern __typeof (gtk_container_class_find_child_property) IA__gtk_container_class_find_child_property __attribute((visibility("hidden")));
23027 extern __typeof (gtk_container_class_install_child_property) IA__gtk_container_class_install_child_property __attribute((visibility("hidden")));
23030 extern __typeof (gtk_container_class_list_child_properties) IA__gtk_container_class_list_child_properties __attribute((visibility("hidden")));
23033 extern __typeof (gtk_container_forall) IA__gtk_container_forall __attribute((visibility("hidden")));
23036 extern __typeof (gtk_container_foreach) IA__gtk_container_foreach __attribute((visibility("hidden")));
23040 extern __typeof (gtk_container_foreach_full) IA__gtk_container_foreach_full __attribute((visibility("hidden")));
23044 extern __typeof (gtk_container_get_border_width) IA__gtk_container_get_border_width __attribute((visibility("hidden")));
23047 extern __typeof (gtk_container_get_children) IA__gtk_container_get_children __attribute((visibility("hidden")));
23050 extern __typeof (gtk_container_get_focus_chain) IA__gtk_container_get_focus_chain __attribute((visibility("hidden")));
23053 extern __typeof (gtk_container_get_focus_hadjustment) IA__gtk_container_get_focus_hadjustment __attribute((visibility("hidden")));
23056 extern __typeof (gtk_container_get_focus_vadjustment) IA__gtk_container_get_focus_vadjustment __attribute((visibility("hidden")));
23059 extern __typeof (gtk_container_get_resize_mode) IA__gtk_container_get_resize_mode __attribute((visibility("hidden")));
23062 extern __typeof (gtk_container_get_type) IA__gtk_container_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23065 extern __typeof (gtk_container_propagate_expose) IA__gtk_container_propagate_expose __attribute((visibility("hidden")));
23068 extern __typeof (gtk_container_remove) IA__gtk_container_remove __attribute((visibility("hidden")));
23071 extern __typeof (gtk_container_resize_children) IA__gtk_container_resize_children __attribute((visibility("hidden")));
23074 extern __typeof (gtk_container_set_border_width) IA__gtk_container_set_border_width __attribute((visibility("hidden")));
23077 extern __typeof (gtk_container_set_focus_chain) IA__gtk_container_set_focus_chain __attribute((visibility("hidden")));
23080 extern __typeof (gtk_container_set_focus_child) IA__gtk_container_set_focus_child __attribute((visibility("hidden")));
23083 extern __typeof (gtk_container_set_focus_hadjustment) IA__gtk_container_set_focus_hadjustment __attribute((visibility("hidden")));
23086 extern __typeof (gtk_container_set_focus_vadjustment) IA__gtk_container_set_focus_vadjustment __attribute((visibility("hidden")));
23089 extern __typeof (gtk_container_set_reallocate_redraws) IA__gtk_container_set_reallocate_redraws __attribute((visibility("hidden")));
23092 extern __typeof (gtk_container_set_resize_mode) IA__gtk_container_set_resize_mode __attribute((visibility("hidden")));
23095 extern __typeof (gtk_container_unset_focus_chain) IA__gtk_container_unset_focus_chain __attribute((visibility("hidden")));
23096 # 2517 "gtkalias.h"
23097 extern __typeof (gtk_drag_begin) IA__gtk_drag_begin __attribute((visibility("hidden")));
23100 extern __typeof (gtk_drag_check_threshold) IA__gtk_drag_check_threshold __attribute((visibility("hidden")));
23103 extern __typeof (gtk_drag_dest_add_image_targets) IA__gtk_drag_dest_add_image_targets __attribute((visibility("hidden")));
23106 extern __typeof (gtk_drag_dest_add_text_targets) IA__gtk_drag_dest_add_text_targets __attribute((visibility("hidden")));
23109 extern __typeof (gtk_drag_dest_add_uri_targets) IA__gtk_drag_dest_add_uri_targets __attribute((visibility("hidden")));
23112 extern __typeof (gtk_drag_dest_find_target) IA__gtk_drag_dest_find_target __attribute((visibility("hidden")));
23115 extern __typeof (gtk_drag_dest_get_target_list) IA__gtk_drag_dest_get_target_list __attribute((visibility("hidden")));
23118 extern __typeof (gtk_drag_dest_set) IA__gtk_drag_dest_set __attribute((visibility("hidden")));
23121 extern __typeof (gtk_drag_dest_set_proxy) IA__gtk_drag_dest_set_proxy __attribute((visibility("hidden")));
23124 extern __typeof (gtk_drag_dest_set_target_list) IA__gtk_drag_dest_set_target_list __attribute((visibility("hidden")));
23127 extern __typeof (gtk_drag_dest_set_track_motion) IA__gtk_drag_dest_set_track_motion __attribute((visibility("hidden")));
23130 extern __typeof (gtk_drag_dest_get_track_motion) IA__gtk_drag_dest_get_track_motion __attribute((visibility("hidden")));
23133 extern __typeof (gtk_drag_dest_unset) IA__gtk_drag_dest_unset __attribute((visibility("hidden")));
23136 extern __typeof (gtk_drag_finish) IA__gtk_drag_finish __attribute((visibility("hidden")));
23139 extern __typeof (gtk_drag_get_data) IA__gtk_drag_get_data __attribute((visibility("hidden")));
23142 extern __typeof (gtk_drag_get_source_widget) IA__gtk_drag_get_source_widget __attribute((visibility("hidden")));
23145 extern __typeof (gtk_drag_highlight) IA__gtk_drag_highlight __attribute((visibility("hidden")));
23149 extern __typeof (gtk_drag_set_default_icon) IA__gtk_drag_set_default_icon __attribute((visibility("hidden")));
23153 extern __typeof (gtk_drag_set_icon_default) IA__gtk_drag_set_icon_default __attribute((visibility("hidden")));
23156 extern __typeof (gtk_drag_set_icon_name) IA__gtk_drag_set_icon_name __attribute((visibility("hidden")));
23159 extern __typeof (gtk_drag_set_icon_pixbuf) IA__gtk_drag_set_icon_pixbuf __attribute((visibility("hidden")));
23162 extern __typeof (gtk_drag_set_icon_pixmap) IA__gtk_drag_set_icon_pixmap __attribute((visibility("hidden")));
23165 extern __typeof (gtk_drag_set_icon_stock) IA__gtk_drag_set_icon_stock __attribute((visibility("hidden")));
23168 extern __typeof (gtk_drag_set_icon_widget) IA__gtk_drag_set_icon_widget __attribute((visibility("hidden")));
23171 extern __typeof (gtk_drag_source_add_image_targets) IA__gtk_drag_source_add_image_targets __attribute((visibility("hidden")));
23174 extern __typeof (gtk_drag_source_add_text_targets) IA__gtk_drag_source_add_text_targets __attribute((visibility("hidden")));
23177 extern __typeof (gtk_drag_source_add_uri_targets) IA__gtk_drag_source_add_uri_targets __attribute((visibility("hidden")));
23180 extern __typeof (gtk_drag_source_get_target_list) IA__gtk_drag_source_get_target_list __attribute((visibility("hidden")));
23183 extern __typeof (gtk_drag_source_set) IA__gtk_drag_source_set __attribute((visibility("hidden")));
23186 extern __typeof (gtk_drag_source_set_icon) IA__gtk_drag_source_set_icon __attribute((visibility("hidden")));
23189 extern __typeof (gtk_drag_source_set_icon_name) IA__gtk_drag_source_set_icon_name __attribute((visibility("hidden")));
23192 extern __typeof (gtk_drag_source_set_icon_pixbuf) IA__gtk_drag_source_set_icon_pixbuf __attribute((visibility("hidden")));
23195 extern __typeof (gtk_drag_source_set_icon_stock) IA__gtk_drag_source_set_icon_stock __attribute((visibility("hidden")));
23198 extern __typeof (gtk_drag_source_set_target_list) IA__gtk_drag_source_set_target_list __attribute((visibility("hidden")));
23201 extern __typeof (gtk_drag_source_unset) IA__gtk_drag_source_unset __attribute((visibility("hidden")));
23204 extern __typeof (gtk_drag_unhighlight) IA__gtk_drag_unhighlight __attribute((visibility("hidden")));
23205 # 2711 "gtkalias.h"
23206 extern __typeof (gtk_draw_arrow) IA__gtk_draw_arrow __attribute((visibility("hidden")));
23209 extern __typeof (gtk_draw_box) IA__gtk_draw_box __attribute((visibility("hidden")));
23212 extern __typeof (gtk_draw_box_gap) IA__gtk_draw_box_gap __attribute((visibility("hidden")));
23215 extern __typeof (gtk_draw_check) IA__gtk_draw_check __attribute((visibility("hidden")));
23218 extern __typeof (gtk_draw_diamond) IA__gtk_draw_diamond __attribute((visibility("hidden")));
23221 extern __typeof (gtk_draw_expander) IA__gtk_draw_expander __attribute((visibility("hidden")));
23224 extern __typeof (gtk_draw_extension) IA__gtk_draw_extension __attribute((visibility("hidden")));
23227 extern __typeof (gtk_draw_flat_box) IA__gtk_draw_flat_box __attribute((visibility("hidden")));
23230 extern __typeof (gtk_draw_focus) IA__gtk_draw_focus __attribute((visibility("hidden")));
23233 extern __typeof (gtk_draw_handle) IA__gtk_draw_handle __attribute((visibility("hidden")));
23236 extern __typeof (gtk_draw_hline) IA__gtk_draw_hline __attribute((visibility("hidden")));
23239 extern __typeof (gtk_draw_insertion_cursor) IA__gtk_draw_insertion_cursor __attribute((visibility("hidden")));
23242 extern __typeof (gtk_draw_layout) IA__gtk_draw_layout __attribute((visibility("hidden")));
23245 extern __typeof (gtk_draw_option) IA__gtk_draw_option __attribute((visibility("hidden")));
23248 extern __typeof (gtk_draw_polygon) IA__gtk_draw_polygon __attribute((visibility("hidden")));
23251 extern __typeof (gtk_draw_resize_grip) IA__gtk_draw_resize_grip __attribute((visibility("hidden")));
23254 extern __typeof (gtk_draw_shadow) IA__gtk_draw_shadow __attribute((visibility("hidden")));
23257 extern __typeof (gtk_draw_shadow_gap) IA__gtk_draw_shadow_gap __attribute((visibility("hidden")));
23260 extern __typeof (gtk_draw_slider) IA__gtk_draw_slider __attribute((visibility("hidden")));
23263 extern __typeof (gtk_draw_string) IA__gtk_draw_string __attribute((visibility("hidden")));
23266 extern __typeof (gtk_draw_tab) IA__gtk_draw_tab __attribute((visibility("hidden")));
23269 extern __typeof (gtk_draw_vline) IA__gtk_draw_vline __attribute((visibility("hidden")));
23272 extern __typeof (gtk_style_set_font) IA__gtk_style_set_font __attribute((visibility("hidden")));
23275 extern __typeof (gtk_style_get_font) IA__gtk_style_get_font __attribute((visibility("hidden")));
23278 extern __typeof (gtk_style_ref) IA__gtk_style_ref __attribute((visibility("hidden")));
23281 extern __typeof (gtk_style_unref) IA__gtk_style_unref __attribute((visibility("hidden")));
23284 extern __typeof (gtk_paint_string) IA__gtk_paint_string __attribute((visibility("hidden")));
23288 extern __typeof (gtk_paint_arrow) IA__gtk_paint_arrow __attribute((visibility("hidden")));
23291 extern __typeof (gtk_paint_box) IA__gtk_paint_box __attribute((visibility("hidden")));
23294 extern __typeof (gtk_paint_box_gap) IA__gtk_paint_box_gap __attribute((visibility("hidden")));
23297 extern __typeof (gtk_paint_check) IA__gtk_paint_check __attribute((visibility("hidden")));
23300 extern __typeof (gtk_paint_diamond) IA__gtk_paint_diamond __attribute((visibility("hidden")));
23303 extern __typeof (gtk_paint_expander) IA__gtk_paint_expander __attribute((visibility("hidden")));
23306 extern __typeof (gtk_paint_extension) IA__gtk_paint_extension __attribute((visibility("hidden")));
23309 extern __typeof (gtk_paint_flat_box) IA__gtk_paint_flat_box __attribute((visibility("hidden")));
23312 extern __typeof (gtk_paint_focus) IA__gtk_paint_focus __attribute((visibility("hidden")));
23315 extern __typeof (gtk_paint_handle) IA__gtk_paint_handle __attribute((visibility("hidden")));
23318 extern __typeof (gtk_paint_hline) IA__gtk_paint_hline __attribute((visibility("hidden")));
23321 extern __typeof (gtk_paint_layout) IA__gtk_paint_layout __attribute((visibility("hidden")));
23324 extern __typeof (gtk_paint_option) IA__gtk_paint_option __attribute((visibility("hidden")));
23327 extern __typeof (gtk_paint_polygon) IA__gtk_paint_polygon __attribute((visibility("hidden")));
23330 extern __typeof (gtk_paint_resize_grip) IA__gtk_paint_resize_grip __attribute((visibility("hidden")));
23333 extern __typeof (gtk_paint_shadow) IA__gtk_paint_shadow __attribute((visibility("hidden")));
23336 extern __typeof (gtk_paint_shadow_gap) IA__gtk_paint_shadow_gap __attribute((visibility("hidden")));
23339 extern __typeof (gtk_paint_slider) IA__gtk_paint_slider __attribute((visibility("hidden")));
23342 extern __typeof (gtk_paint_tab) IA__gtk_paint_tab __attribute((visibility("hidden")));
23345 extern __typeof (gtk_paint_vline) IA__gtk_paint_vline __attribute((visibility("hidden")));
23348 extern __typeof (gtk_border_copy) IA__gtk_border_copy __attribute((visibility("hidden")));
23351 extern __typeof (gtk_border_free) IA__gtk_border_free __attribute((visibility("hidden")));
23354 extern __typeof (gtk_border_get_type) IA__gtk_border_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23357 extern __typeof (gtk_style_apply_default_background) IA__gtk_style_apply_default_background __attribute((visibility("hidden")));
23360 extern __typeof (gtk_style_attach) IA__gtk_style_attach __attribute((visibility("hidden")));
23363 extern __typeof (gtk_style_copy) IA__gtk_style_copy __attribute((visibility("hidden")));
23366 extern __typeof (gtk_style_detach) IA__gtk_style_detach __attribute((visibility("hidden")));
23369 extern __typeof (gtk_style_get_type) IA__gtk_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23372 extern __typeof (gtk_style_lookup_icon_set) IA__gtk_style_lookup_icon_set __attribute((visibility("hidden")));
23375 extern __typeof (gtk_style_lookup_color) IA__gtk_style_lookup_color __attribute((visibility("hidden")));
23378 extern __typeof (gtk_style_new) IA__gtk_style_new __attribute((visibility("hidden")));
23381 extern __typeof (gtk_style_render_icon) IA__gtk_style_render_icon __attribute((visibility("hidden")));
23384 extern __typeof (gtk_style_set_background) IA__gtk_style_set_background __attribute((visibility("hidden")));
23385 # 4758 "gtkalias.h"
23386 extern __typeof (gtk_item_deselect) IA__gtk_item_deselect __attribute((visibility("hidden")));
23389 extern __typeof (gtk_item_get_type) IA__gtk_item_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23392 extern __typeof (gtk_item_select) IA__gtk_item_select __attribute((visibility("hidden")));
23395 extern __typeof (gtk_item_toggle) IA__gtk_item_toggle __attribute((visibility("hidden")));
23396 # 4853 "gtkalias.h"
23397 extern __typeof (gtk_label_get) IA__gtk_label_get __attribute((visibility("hidden")));
23400 extern __typeof (gtk_label_parse_uline) IA__gtk_label_parse_uline __attribute((visibility("hidden")));
23404 extern __typeof (gtk_label_get_angle) IA__gtk_label_get_angle __attribute((visibility("hidden")));
23407 extern __typeof (gtk_label_get_attributes) IA__gtk_label_get_attributes __attribute((visibility("hidden")));
23410 extern __typeof (gtk_label_get_ellipsize) IA__gtk_label_get_ellipsize __attribute((visibility("hidden")));
23413 extern __typeof (gtk_label_get_justify) IA__gtk_label_get_justify __attribute((visibility("hidden")));
23416 extern __typeof (gtk_label_get_label) IA__gtk_label_get_label __attribute((visibility("hidden")));
23419 extern __typeof (gtk_label_get_layout) IA__gtk_label_get_layout __attribute((visibility("hidden")));
23422 extern __typeof (gtk_label_get_layout_offsets) IA__gtk_label_get_layout_offsets __attribute((visibility("hidden")));
23425 extern __typeof (gtk_label_get_line_wrap) IA__gtk_label_get_line_wrap __attribute((visibility("hidden")));
23428 extern __typeof (gtk_label_get_line_wrap_mode) IA__gtk_label_get_line_wrap_mode __attribute((visibility("hidden")));
23431 extern __typeof (gtk_label_get_max_width_chars) IA__gtk_label_get_max_width_chars __attribute((visibility("hidden")));
23434 extern __typeof (gtk_label_get_mnemonic_keyval) IA__gtk_label_get_mnemonic_keyval __attribute((visibility("hidden")));
23437 extern __typeof (gtk_label_get_mnemonic_widget) IA__gtk_label_get_mnemonic_widget __attribute((visibility("hidden")));
23440 extern __typeof (gtk_label_get_selectable) IA__gtk_label_get_selectable __attribute((visibility("hidden")));
23443 extern __typeof (gtk_label_get_selection_bounds) IA__gtk_label_get_selection_bounds __attribute((visibility("hidden")));
23446 extern __typeof (gtk_label_get_single_line_mode) IA__gtk_label_get_single_line_mode __attribute((visibility("hidden")));
23449 extern __typeof (gtk_label_get_text) IA__gtk_label_get_text __attribute((visibility("hidden")));
23452 extern __typeof (gtk_label_get_type) IA__gtk_label_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23455 extern __typeof (gtk_label_get_use_markup) IA__gtk_label_get_use_markup __attribute((visibility("hidden")));
23458 extern __typeof (gtk_label_get_use_underline) IA__gtk_label_get_use_underline __attribute((visibility("hidden")));
23461 extern __typeof (gtk_label_get_width_chars) IA__gtk_label_get_width_chars __attribute((visibility("hidden")));
23464 extern __typeof (gtk_label_new) IA__gtk_label_new __attribute((visibility("hidden")));
23467 extern __typeof (gtk_label_new_with_mnemonic) IA__gtk_label_new_with_mnemonic __attribute((visibility("hidden")));
23470 extern __typeof (gtk_label_select_region) IA__gtk_label_select_region __attribute((visibility("hidden")));
23473 extern __typeof (gtk_label_set_angle) IA__gtk_label_set_angle __attribute((visibility("hidden")));
23476 extern __typeof (gtk_label_set_attributes) IA__gtk_label_set_attributes __attribute((visibility("hidden")));
23479 extern __typeof (gtk_label_set_ellipsize) IA__gtk_label_set_ellipsize __attribute((visibility("hidden")));
23482 extern __typeof (gtk_label_set_justify) IA__gtk_label_set_justify __attribute((visibility("hidden")));
23485 extern __typeof (gtk_label_set_label) IA__gtk_label_set_label __attribute((visibility("hidden")));
23488 extern __typeof (gtk_label_set_line_wrap) IA__gtk_label_set_line_wrap __attribute((visibility("hidden")));
23491 extern __typeof (gtk_label_set_line_wrap_mode) IA__gtk_label_set_line_wrap_mode __attribute((visibility("hidden")));
23494 extern __typeof (gtk_label_set_markup) IA__gtk_label_set_markup __attribute((visibility("hidden")));
23497 extern __typeof (gtk_label_set_markup_with_mnemonic) IA__gtk_label_set_markup_with_mnemonic __attribute((visibility("hidden")));
23500 extern __typeof (gtk_label_set_max_width_chars) IA__gtk_label_set_max_width_chars __attribute((visibility("hidden")));
23503 extern __typeof (gtk_label_set_mnemonic_widget) IA__gtk_label_set_mnemonic_widget __attribute((visibility("hidden")));
23506 extern __typeof (gtk_label_set_pattern) IA__gtk_label_set_pattern __attribute((visibility("hidden")));
23509 extern __typeof (gtk_label_set_selectable) IA__gtk_label_set_selectable __attribute((visibility("hidden")));
23512 extern __typeof (gtk_label_set_single_line_mode) IA__gtk_label_set_single_line_mode __attribute((visibility("hidden")));
23515 extern __typeof (gtk_label_set_text) IA__gtk_label_set_text __attribute((visibility("hidden")));
23518 extern __typeof (gtk_label_set_text_with_mnemonic) IA__gtk_label_set_text_with_mnemonic __attribute((visibility("hidden")));
23521 extern __typeof (gtk_label_set_use_markup) IA__gtk_label_set_use_markup __attribute((visibility("hidden")));
23524 extern __typeof (gtk_label_set_use_underline) IA__gtk_label_set_use_underline __attribute((visibility("hidden")));
23527 extern __typeof (gtk_label_set_width_chars) IA__gtk_label_set_width_chars __attribute((visibility("hidden")));
23528 # 5229 "gtkalias.h"
23529 extern __typeof (gtk_get_option_group) IA__gtk_get_option_group __attribute((visibility("hidden")));
23532 extern __typeof (gtk_get_current_event) IA__gtk_get_current_event __attribute((visibility("hidden")));
23535 extern __typeof (gtk_get_current_event_state) IA__gtk_get_current_event_state __attribute((visibility("hidden")));
23538 extern __typeof (gtk_get_current_event_time) IA__gtk_get_current_event_time __attribute((visibility("hidden")));
23542 extern __typeof (gtk_exit) IA__gtk_exit __attribute((visibility("hidden")));
23545 extern __typeof (gtk_idle_add) IA__gtk_idle_add __attribute((visibility("hidden")));
23548 extern __typeof (gtk_idle_add_full) IA__gtk_idle_add_full __attribute((visibility("hidden")));
23551 extern __typeof (gtk_idle_add_priority) IA__gtk_idle_add_priority __attribute((visibility("hidden")));
23554 extern __typeof (gtk_idle_remove) IA__gtk_idle_remove __attribute((visibility("hidden")));
23557 extern __typeof (gtk_idle_remove_by_data) IA__gtk_idle_remove_by_data __attribute((visibility("hidden")));
23560 extern __typeof (gtk_timeout_add) IA__gtk_timeout_add __attribute((visibility("hidden")));
23563 extern __typeof (gtk_timeout_add_full) IA__gtk_timeout_add_full __attribute((visibility("hidden")));
23566 extern __typeof (gtk_timeout_remove) IA__gtk_timeout_remove __attribute((visibility("hidden")));
23569 extern __typeof (gtk_input_add_full) IA__gtk_input_add_full __attribute((visibility("hidden")));
23572 extern __typeof (gtk_input_remove) IA__gtk_input_remove __attribute((visibility("hidden")));
23576 extern __typeof (gtk_false) IA__gtk_false __attribute((visibility("hidden"))) __attribute__((__const__));
23579 extern __typeof (gtk_true) IA__gtk_true __attribute((visibility("hidden"))) __attribute__((__const__));
23582 extern __typeof (gtk_events_pending) IA__gtk_events_pending __attribute((visibility("hidden")));
23585 extern __typeof (gtk_disable_setlocale) IA__gtk_disable_setlocale __attribute((visibility("hidden")));
23588 extern __typeof (gtk_set_locale) IA__gtk_set_locale __attribute((visibility("hidden")));
23591 extern __typeof (gtk_check_version) IA__gtk_check_version __attribute((visibility("hidden")));
23594 extern __typeof (gtk_get_default_language) IA__gtk_get_default_language __attribute((visibility("hidden")));
23597 extern __typeof (gtk_get_event_widget) IA__gtk_get_event_widget __attribute((visibility("hidden")));
23600 extern __typeof (gtk_grab_add) IA__gtk_grab_add __attribute((visibility("hidden")));
23603 extern __typeof (gtk_grab_get_current) IA__gtk_grab_get_current __attribute((visibility("hidden")));
23606 extern __typeof (gtk_grab_remove) IA__gtk_grab_remove __attribute((visibility("hidden")));
23609 extern __typeof (gtk_propagate_event) IA__gtk_propagate_event __attribute((visibility("hidden")));
23612 extern __typeof (gtk_quit_add) IA__gtk_quit_add __attribute((visibility("hidden")));
23615 extern __typeof (gtk_quit_add_destroy) IA__gtk_quit_add_destroy __attribute((visibility("hidden")));
23618 extern __typeof (gtk_quit_add_full) IA__gtk_quit_add_full __attribute((visibility("hidden")));
23621 extern __typeof (gtk_quit_remove) IA__gtk_quit_remove __attribute((visibility("hidden")));
23624 extern __typeof (gtk_quit_remove_by_data) IA__gtk_quit_remove_by_data __attribute((visibility("hidden")));
23627 extern __typeof (gtk_key_snooper_install) IA__gtk_key_snooper_install __attribute((visibility("hidden")));
23630 extern __typeof (gtk_key_snooper_remove) IA__gtk_key_snooper_remove __attribute((visibility("hidden")));
23633 extern __typeof (gtk_init) IA__gtk_init __attribute((visibility("hidden")));
23641 extern __typeof (gtk_init_add) IA__gtk_init_add __attribute((visibility("hidden")));
23644 extern __typeof (gtk_init_check) IA__gtk_init_check __attribute((visibility("hidden")));
23652 extern __typeof (gtk_init_with_args) IA__gtk_init_with_args __attribute((visibility("hidden")));
23655 extern __typeof (gtk_parse_args) IA__gtk_parse_args __attribute((visibility("hidden")));
23658 extern __typeof (gtk_main) IA__gtk_main __attribute((visibility("hidden")));
23661 extern __typeof (gtk_main_do_event) IA__gtk_main_do_event __attribute((visibility("hidden")));
23664 extern __typeof (gtk_main_iteration) IA__gtk_main_iteration __attribute((visibility("hidden")));
23667 extern __typeof (gtk_main_iteration_do) IA__gtk_main_iteration_do __attribute((visibility("hidden")));
23670 extern __typeof (gtk_main_level) IA__gtk_main_level __attribute((visibility("hidden")));
23673 extern __typeof (gtk_main_quit) IA__gtk_main_quit __attribute((visibility("hidden")));
23674 # 5496 "gtkalias.h"
23675 extern __typeof (gtk_menu_attach) IA__gtk_menu_attach __attribute((visibility("hidden")));
23678 extern __typeof (gtk_menu_attach_to_widget) IA__gtk_menu_attach_to_widget __attribute((visibility("hidden")));
23681 extern __typeof (gtk_menu_detach) IA__gtk_menu_detach __attribute((visibility("hidden")));
23684 extern __typeof (gtk_menu_get_accel_group) IA__gtk_menu_get_accel_group __attribute((visibility("hidden")));
23687 extern __typeof (gtk_menu_get_active) IA__gtk_menu_get_active __attribute((visibility("hidden")));
23690 extern __typeof (gtk_menu_get_attach_widget) IA__gtk_menu_get_attach_widget __attribute((visibility("hidden")));
23693 extern __typeof (gtk_menu_get_for_attach_widget) IA__gtk_menu_get_for_attach_widget __attribute((visibility("hidden")));
23696 extern __typeof (gtk_menu_get_tearoff_state) IA__gtk_menu_get_tearoff_state __attribute((visibility("hidden")));
23699 extern __typeof (gtk_menu_get_title) IA__gtk_menu_get_title __attribute((visibility("hidden")));
23702 extern __typeof (gtk_menu_get_type) IA__gtk_menu_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23705 extern __typeof (gtk_menu_new) IA__gtk_menu_new __attribute((visibility("hidden")));
23708 extern __typeof (gtk_menu_popdown) IA__gtk_menu_popdown __attribute((visibility("hidden")));
23711 extern __typeof (gtk_menu_popup) IA__gtk_menu_popup __attribute((visibility("hidden")));
23714 extern __typeof (gtk_menu_reorder_child) IA__gtk_menu_reorder_child __attribute((visibility("hidden")));
23717 extern __typeof (gtk_menu_reposition) IA__gtk_menu_reposition __attribute((visibility("hidden")));
23720 extern __typeof (gtk_menu_set_accel_group) IA__gtk_menu_set_accel_group __attribute((visibility("hidden")));
23723 extern __typeof (gtk_menu_set_accel_path) IA__gtk_menu_set_accel_path __attribute((visibility("hidden")));
23726 extern __typeof (gtk_menu_set_active) IA__gtk_menu_set_active __attribute((visibility("hidden")));
23729 extern __typeof (gtk_menu_set_monitor) IA__gtk_menu_set_monitor __attribute((visibility("hidden")));
23732 extern __typeof (gtk_menu_set_screen) IA__gtk_menu_set_screen __attribute((visibility("hidden")));
23735 extern __typeof (gtk_menu_set_tearoff_state) IA__gtk_menu_set_tearoff_state __attribute((visibility("hidden")));
23738 extern __typeof (gtk_menu_set_title) IA__gtk_menu_set_title __attribute((visibility("hidden")));
23745 extern __typeof (gtk_menu_item_activate) IA__gtk_menu_item_activate __attribute((visibility("hidden")));
23748 extern __typeof (gtk_menu_item_deselect) IA__gtk_menu_item_deselect __attribute((visibility("hidden")));
23751 extern __typeof (gtk_menu_item_get_right_justified) IA__gtk_menu_item_get_right_justified __attribute((visibility("hidden")));
23754 extern __typeof (gtk_menu_item_get_submenu) IA__gtk_menu_item_get_submenu __attribute((visibility("hidden")));
23757 extern __typeof (gtk_menu_item_get_type) IA__gtk_menu_item_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23760 extern __typeof (gtk_menu_item_new) IA__gtk_menu_item_new __attribute((visibility("hidden")));
23763 extern __typeof (gtk_menu_item_new_with_label) IA__gtk_menu_item_new_with_label __attribute((visibility("hidden")));
23766 extern __typeof (gtk_menu_item_new_with_mnemonic) IA__gtk_menu_item_new_with_mnemonic __attribute((visibility("hidden")));
23769 extern __typeof (gtk_menu_item_select) IA__gtk_menu_item_select __attribute((visibility("hidden")));
23772 extern __typeof (gtk_menu_item_set_accel_path) IA__gtk_menu_item_set_accel_path __attribute((visibility("hidden")));
23775 extern __typeof (gtk_menu_item_set_right_justified) IA__gtk_menu_item_set_right_justified __attribute((visibility("hidden")));
23778 extern __typeof (gtk_menu_item_set_submenu) IA__gtk_menu_item_set_submenu __attribute((visibility("hidden")));
23781 extern __typeof (gtk_menu_item_toggle_size_allocate) IA__gtk_menu_item_toggle_size_allocate __attribute((visibility("hidden")));
23784 extern __typeof (gtk_menu_item_toggle_size_request) IA__gtk_menu_item_toggle_size_request __attribute((visibility("hidden")));
23788 extern __typeof (gtk_menu_item_remove_submenu) IA__gtk_menu_item_remove_submenu __attribute((visibility("hidden")));
23796 extern __typeof (gtk_menu_shell_activate_item) IA__gtk_menu_shell_activate_item __attribute((visibility("hidden")));
23799 extern __typeof (gtk_menu_shell_append) IA__gtk_menu_shell_append __attribute((visibility("hidden")));
23802 extern __typeof (gtk_menu_shell_cancel) IA__gtk_menu_shell_cancel __attribute((visibility("hidden")));
23805 extern __typeof (gtk_menu_shell_deactivate) IA__gtk_menu_shell_deactivate __attribute((visibility("hidden")));
23808 extern __typeof (gtk_menu_shell_deselect) IA__gtk_menu_shell_deselect __attribute((visibility("hidden")));
23811 extern __typeof (gtk_menu_shell_get_type) IA__gtk_menu_shell_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23814 extern __typeof (gtk_menu_shell_insert) IA__gtk_menu_shell_insert __attribute((visibility("hidden")));
23817 extern __typeof (gtk_menu_shell_prepend) IA__gtk_menu_shell_prepend __attribute((visibility("hidden")));
23820 extern __typeof (gtk_menu_shell_select_first) IA__gtk_menu_shell_select_first __attribute((visibility("hidden")));
23823 extern __typeof (gtk_menu_shell_select_item) IA__gtk_menu_shell_select_item __attribute((visibility("hidden")));
23826 extern __typeof (gtk_menu_shell_set_take_focus) IA__gtk_menu_shell_set_take_focus __attribute((visibility("hidden")));
23829 extern __typeof (gtk_menu_shell_get_take_focus) IA__gtk_menu_shell_get_take_focus __attribute((visibility("hidden")));
23830 # 5712 "gtkalias.h"
23831 extern __typeof (gtk_misc_get_alignment) IA__gtk_misc_get_alignment __attribute((visibility("hidden")));
23834 extern __typeof (gtk_misc_get_padding) IA__gtk_misc_get_padding __attribute((visibility("hidden")));
23837 extern __typeof (gtk_misc_get_type) IA__gtk_misc_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23840 extern __typeof (gtk_misc_set_alignment) IA__gtk_misc_set_alignment __attribute((visibility("hidden")));
23843 extern __typeof (gtk_misc_set_padding) IA__gtk_misc_set_padding __attribute((visibility("hidden")));
23850 extern __typeof (gtk_notebook_append_page) IA__gtk_notebook_append_page __attribute((visibility("hidden")));
23853 extern __typeof (gtk_notebook_append_page_menu) IA__gtk_notebook_append_page_menu __attribute((visibility("hidden")));
23856 extern __typeof (gtk_notebook_get_current_page) IA__gtk_notebook_get_current_page __attribute((visibility("hidden")));
23859 extern __typeof (gtk_notebook_get_menu_label) IA__gtk_notebook_get_menu_label __attribute((visibility("hidden")));
23862 extern __typeof (gtk_notebook_get_menu_label_text) IA__gtk_notebook_get_menu_label_text __attribute((visibility("hidden")));
23865 extern __typeof (gtk_notebook_get_n_pages) IA__gtk_notebook_get_n_pages __attribute((visibility("hidden")));
23868 extern __typeof (gtk_notebook_get_nth_page) IA__gtk_notebook_get_nth_page __attribute((visibility("hidden")));
23871 extern __typeof (gtk_notebook_get_scrollable) IA__gtk_notebook_get_scrollable __attribute((visibility("hidden")));
23874 extern __typeof (gtk_notebook_get_show_border) IA__gtk_notebook_get_show_border __attribute((visibility("hidden")));
23877 extern __typeof (gtk_notebook_get_show_tabs) IA__gtk_notebook_get_show_tabs __attribute((visibility("hidden")));
23880 extern __typeof (gtk_notebook_get_tab_label) IA__gtk_notebook_get_tab_label __attribute((visibility("hidden")));
23883 extern __typeof (gtk_notebook_get_tab_label_text) IA__gtk_notebook_get_tab_label_text __attribute((visibility("hidden")));
23886 extern __typeof (gtk_notebook_get_tab_pos) IA__gtk_notebook_get_tab_pos __attribute((visibility("hidden")));
23889 extern __typeof (gtk_notebook_get_type) IA__gtk_notebook_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
23892 extern __typeof (gtk_notebook_insert_page) IA__gtk_notebook_insert_page __attribute((visibility("hidden")));
23895 extern __typeof (gtk_notebook_insert_page_menu) IA__gtk_notebook_insert_page_menu __attribute((visibility("hidden")));
23898 extern __typeof (gtk_notebook_new) IA__gtk_notebook_new __attribute((visibility("hidden")));
23901 extern __typeof (gtk_notebook_next_page) IA__gtk_notebook_next_page __attribute((visibility("hidden")));
23904 extern __typeof (gtk_notebook_page_num) IA__gtk_notebook_page_num __attribute((visibility("hidden")));
23907 extern __typeof (gtk_notebook_popup_disable) IA__gtk_notebook_popup_disable __attribute((visibility("hidden")));
23910 extern __typeof (gtk_notebook_popup_enable) IA__gtk_notebook_popup_enable __attribute((visibility("hidden")));
23913 extern __typeof (gtk_notebook_prepend_page) IA__gtk_notebook_prepend_page __attribute((visibility("hidden")));
23916 extern __typeof (gtk_notebook_prepend_page_menu) IA__gtk_notebook_prepend_page_menu __attribute((visibility("hidden")));
23919 extern __typeof (gtk_notebook_prev_page) IA__gtk_notebook_prev_page __attribute((visibility("hidden")));
23922 extern __typeof (gtk_notebook_query_tab_label_packing) IA__gtk_notebook_query_tab_label_packing __attribute((visibility("hidden")));
23925 extern __typeof (gtk_notebook_remove_page) IA__gtk_notebook_remove_page __attribute((visibility("hidden")));
23928 extern __typeof (gtk_notebook_reorder_child) IA__gtk_notebook_reorder_child __attribute((visibility("hidden")));
23931 extern __typeof (gtk_notebook_set_current_page) IA__gtk_notebook_set_current_page __attribute((visibility("hidden")));
23935 extern __typeof (gtk_notebook_set_homogeneous_tabs) IA__gtk_notebook_set_homogeneous_tabs __attribute((visibility("hidden")));
23938 extern __typeof (gtk_notebook_set_tab_border) IA__gtk_notebook_set_tab_border __attribute((visibility("hidden")));
23941 extern __typeof (gtk_notebook_set_tab_hborder) IA__gtk_notebook_set_tab_hborder __attribute((visibility("hidden")));
23944 extern __typeof (gtk_notebook_set_tab_vborder) IA__gtk_notebook_set_tab_vborder __attribute((visibility("hidden")));
23948 extern __typeof (gtk_notebook_set_menu_label) IA__gtk_notebook_set_menu_label __attribute((visibility("hidden")));
23951 extern __typeof (gtk_notebook_set_menu_label_text) IA__gtk_notebook_set_menu_label_text __attribute((visibility("hidden")));
23954 extern __typeof (gtk_notebook_set_scrollable) IA__gtk_notebook_set_scrollable __attribute((visibility("hidden")));
23957 extern __typeof (gtk_notebook_set_show_border) IA__gtk_notebook_set_show_border __attribute((visibility("hidden")));
23960 extern __typeof (gtk_notebook_set_show_tabs) IA__gtk_notebook_set_show_tabs __attribute((visibility("hidden")));
23963 extern __typeof (gtk_notebook_set_tab_label) IA__gtk_notebook_set_tab_label __attribute((visibility("hidden")));
23966 extern __typeof (gtk_notebook_set_tab_label_packing) IA__gtk_notebook_set_tab_label_packing __attribute((visibility("hidden")));
23969 extern __typeof (gtk_notebook_set_tab_label_text) IA__gtk_notebook_set_tab_label_text __attribute((visibility("hidden")));
23972 extern __typeof (gtk_notebook_set_tab_pos) IA__gtk_notebook_set_tab_pos __attribute((visibility("hidden")));
23975 extern __typeof (gtk_notebook_set_window_creation_hook) IA__gtk_notebook_set_window_creation_hook __attribute((visibility("hidden")));
23979 extern __typeof (gtk_notebook_get_group_id) IA__gtk_notebook_get_group_id __attribute((visibility("hidden")));
23982 extern __typeof (gtk_notebook_set_group_id) IA__gtk_notebook_set_group_id __attribute((visibility("hidden")));
23986 extern __typeof (gtk_notebook_get_group) IA__gtk_notebook_get_group __attribute((visibility("hidden")));
23989 extern __typeof (gtk_notebook_set_group) IA__gtk_notebook_set_group __attribute((visibility("hidden")));
23992 extern __typeof (gtk_notebook_get_tab_reorderable) IA__gtk_notebook_get_tab_reorderable __attribute((visibility("hidden")));
23995 extern __typeof (gtk_notebook_set_tab_reorderable) IA__gtk_notebook_set_tab_reorderable __attribute((visibility("hidden")));
23998 extern __typeof (gtk_notebook_get_tab_detachable) IA__gtk_notebook_get_tab_detachable __attribute((visibility("hidden")));
24001 extern __typeof (gtk_notebook_set_tab_detachable) IA__gtk_notebook_set_tab_detachable __attribute((visibility("hidden")));
24009 extern __typeof (gtk_object_add_arg_type) IA__gtk_object_add_arg_type __attribute((visibility("hidden")));
24012 extern __typeof (gtk_object_get) IA__gtk_object_get __attribute((visibility("hidden"))) __attribute__((__sentinel__));
24015 extern __typeof (gtk_object_set) IA__gtk_object_set __attribute((visibility("hidden"))) __attribute__((__sentinel__));
24018 extern __typeof (gtk_object_get_data) IA__gtk_object_get_data __attribute((visibility("hidden")));
24021 extern __typeof (gtk_object_get_data_by_id) IA__gtk_object_get_data_by_id __attribute((visibility("hidden")));
24024 extern __typeof (gtk_object_get_user_data) IA__gtk_object_get_user_data __attribute((visibility("hidden")));
24027 extern __typeof (gtk_object_new) IA__gtk_object_new __attribute((visibility("hidden")));
24030 extern __typeof (gtk_object_remove_data) IA__gtk_object_remove_data __attribute((visibility("hidden")));
24033 extern __typeof (gtk_object_remove_data_by_id) IA__gtk_object_remove_data_by_id __attribute((visibility("hidden")));
24036 extern __typeof (gtk_object_remove_no_notify) IA__gtk_object_remove_no_notify __attribute((visibility("hidden")));
24039 extern __typeof (gtk_object_remove_no_notify_by_id) IA__gtk_object_remove_no_notify_by_id __attribute((visibility("hidden")));
24042 extern __typeof (gtk_object_ref) IA__gtk_object_ref __attribute((visibility("hidden")));
24045 extern __typeof (gtk_object_unref) IA__gtk_object_unref __attribute((visibility("hidden")));
24048 extern __typeof (gtk_object_weakref) IA__gtk_object_weakref __attribute((visibility("hidden")));
24051 extern __typeof (gtk_object_weakunref) IA__gtk_object_weakunref __attribute((visibility("hidden")));
24054 extern __typeof (gtk_object_set_data) IA__gtk_object_set_data __attribute((visibility("hidden")));
24057 extern __typeof (gtk_object_set_data_by_id) IA__gtk_object_set_data_by_id __attribute((visibility("hidden")));
24060 extern __typeof (gtk_object_set_data_by_id_full) IA__gtk_object_set_data_by_id_full __attribute((visibility("hidden")));
24063 extern __typeof (gtk_object_set_data_full) IA__gtk_object_set_data_full __attribute((visibility("hidden")));
24066 extern __typeof (gtk_object_set_user_data) IA__gtk_object_set_user_data __attribute((visibility("hidden")));
24069 extern __typeof (gtk_object_sink) IA__gtk_object_sink __attribute((visibility("hidden")));
24073 extern __typeof (gtk_object_destroy) IA__gtk_object_destroy __attribute((visibility("hidden")));
24076 extern __typeof (gtk_object_get_type) IA__gtk_object_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24077 # 7283 "gtkalias.h"
24078 extern __typeof (gtk_rc_add_class_style) IA__gtk_rc_add_class_style __attribute((visibility("hidden")));
24081 extern __typeof (gtk_rc_add_widget_class_style) IA__gtk_rc_add_widget_class_style __attribute((visibility("hidden")));
24084 extern __typeof (gtk_rc_add_widget_name_style) IA__gtk_rc_add_widget_name_style __attribute((visibility("hidden")));
24088 extern __typeof (gtk_rc_add_default_file) IA__gtk_rc_add_default_file __attribute((visibility("hidden")));
24096 extern __typeof (gtk_rc_find_module_in_path) IA__gtk_rc_find_module_in_path __attribute((visibility("hidden")));
24099 extern __typeof (gtk_rc_find_pixmap_in_path) IA__gtk_rc_find_pixmap_in_path __attribute((visibility("hidden")));
24102 extern __typeof (gtk_rc_get_default_files) IA__gtk_rc_get_default_files __attribute((visibility("hidden")));
24105 extern __typeof (gtk_rc_get_im_module_file) IA__gtk_rc_get_im_module_file __attribute((visibility("hidden")));
24108 extern __typeof (gtk_rc_get_im_module_path) IA__gtk_rc_get_im_module_path __attribute((visibility("hidden")));
24111 extern __typeof (gtk_rc_get_module_dir) IA__gtk_rc_get_module_dir __attribute((visibility("hidden")));
24114 extern __typeof (gtk_rc_get_style) IA__gtk_rc_get_style __attribute((visibility("hidden")));
24117 extern __typeof (gtk_rc_get_style_by_paths) IA__gtk_rc_get_style_by_paths __attribute((visibility("hidden")));
24120 extern __typeof (gtk_rc_get_theme_dir) IA__gtk_rc_get_theme_dir __attribute((visibility("hidden")));
24123 extern __typeof (gtk_rc_parse) IA__gtk_rc_parse __attribute((visibility("hidden")));
24131 extern __typeof (gtk_rc_parse_color) IA__gtk_rc_parse_color __attribute((visibility("hidden")));
24134 extern __typeof (gtk_rc_parse_color_full) IA__gtk_rc_parse_color_full __attribute((visibility("hidden")));
24137 extern __typeof (gtk_rc_parse_priority) IA__gtk_rc_parse_priority __attribute((visibility("hidden")));
24140 extern __typeof (gtk_rc_parse_state) IA__gtk_rc_parse_state __attribute((visibility("hidden")));
24143 extern __typeof (gtk_rc_parse_string) IA__gtk_rc_parse_string __attribute((visibility("hidden")));
24146 extern __typeof (gtk_rc_reparse_all) IA__gtk_rc_reparse_all __attribute((visibility("hidden")));
24149 extern __typeof (gtk_rc_reparse_all_for_settings) IA__gtk_rc_reparse_all_for_settings __attribute((visibility("hidden")));
24152 extern __typeof (gtk_rc_reset_styles) IA__gtk_rc_reset_styles __attribute((visibility("hidden")));
24155 extern __typeof (gtk_rc_scanner_new) IA__gtk_rc_scanner_new __attribute((visibility("hidden")));
24158 extern __typeof (gtk_rc_set_default_files) IA__gtk_rc_set_default_files __attribute((visibility("hidden")));
24166 extern __typeof (gtk_rc_style_copy) IA__gtk_rc_style_copy __attribute((visibility("hidden")));
24169 extern __typeof (gtk_rc_style_get_type) IA__gtk_rc_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24172 extern __typeof (gtk_rc_style_new) IA__gtk_rc_style_new __attribute((visibility("hidden")));
24176 extern __typeof (gtk_rc_style_ref) IA__gtk_rc_style_ref __attribute((visibility("hidden")));
24179 extern __typeof (gtk_rc_style_unref) IA__gtk_rc_style_unref __attribute((visibility("hidden")));
24180 # 7914 "gtkalias.h"
24181 extern __typeof (gtk_selection_add_target) IA__gtk_selection_add_target __attribute((visibility("hidden")));
24184 extern __typeof (gtk_selection_add_targets) IA__gtk_selection_add_targets __attribute((visibility("hidden")));
24187 extern __typeof (gtk_selection_clear) IA__gtk_selection_clear __attribute((visibility("hidden")));
24190 extern __typeof (gtk_selection_clear_targets) IA__gtk_selection_clear_targets __attribute((visibility("hidden")));
24193 extern __typeof (gtk_selection_convert) IA__gtk_selection_convert __attribute((visibility("hidden")));
24196 extern __typeof (gtk_selection_data_copy) IA__gtk_selection_data_copy __attribute((visibility("hidden")));
24199 extern __typeof (gtk_selection_data_free) IA__gtk_selection_data_free __attribute((visibility("hidden")));
24202 extern __typeof (gtk_selection_data_get_pixbuf) IA__gtk_selection_data_get_pixbuf __attribute((visibility("hidden")));
24205 extern __typeof (gtk_selection_data_get_targets) IA__gtk_selection_data_get_targets __attribute((visibility("hidden")));
24208 extern __typeof (gtk_selection_data_get_text) IA__gtk_selection_data_get_text __attribute((visibility("hidden")));
24211 extern __typeof (gtk_selection_data_get_type) IA__gtk_selection_data_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24214 extern __typeof (gtk_selection_data_get_uris) IA__gtk_selection_data_get_uris __attribute((visibility("hidden")));
24217 extern __typeof (gtk_selection_data_set) IA__gtk_selection_data_set __attribute((visibility("hidden")));
24220 extern __typeof (gtk_selection_data_set_pixbuf) IA__gtk_selection_data_set_pixbuf __attribute((visibility("hidden")));
24223 extern __typeof (gtk_selection_data_set_text) IA__gtk_selection_data_set_text __attribute((visibility("hidden")));
24226 extern __typeof (gtk_selection_data_set_uris) IA__gtk_selection_data_set_uris __attribute((visibility("hidden")));
24229 extern __typeof (gtk_selection_data_targets_include_image) IA__gtk_selection_data_targets_include_image __attribute((visibility("hidden")));
24232 extern __typeof (gtk_selection_data_targets_include_rich_text) IA__gtk_selection_data_targets_include_rich_text __attribute((visibility("hidden")));
24235 extern __typeof (gtk_selection_data_targets_include_text) IA__gtk_selection_data_targets_include_text __attribute((visibility("hidden")));
24238 extern __typeof (gtk_selection_data_targets_include_uri) IA__gtk_selection_data_targets_include_uri __attribute((visibility("hidden")));
24241 extern __typeof (gtk_targets_include_image) IA__gtk_targets_include_image __attribute((visibility("hidden")));
24244 extern __typeof (gtk_targets_include_rich_text) IA__gtk_targets_include_rich_text __attribute((visibility("hidden")));
24247 extern __typeof (gtk_targets_include_text) IA__gtk_targets_include_text __attribute((visibility("hidden")));
24250 extern __typeof (gtk_targets_include_uri) IA__gtk_targets_include_uri __attribute((visibility("hidden")));
24253 extern __typeof (gtk_selection_owner_set) IA__gtk_selection_owner_set __attribute((visibility("hidden")));
24256 extern __typeof (gtk_selection_owner_set_for_display) IA__gtk_selection_owner_set_for_display __attribute((visibility("hidden")));
24259 extern __typeof (gtk_selection_remove_all) IA__gtk_selection_remove_all __attribute((visibility("hidden")));
24262 extern __typeof (gtk_target_list_add) IA__gtk_target_list_add __attribute((visibility("hidden")));
24265 extern __typeof (gtk_target_list_add_image_targets) IA__gtk_target_list_add_image_targets __attribute((visibility("hidden")));
24268 extern __typeof (gtk_target_list_add_rich_text_targets) IA__gtk_target_list_add_rich_text_targets __attribute((visibility("hidden")));
24271 extern __typeof (gtk_target_list_add_table) IA__gtk_target_list_add_table __attribute((visibility("hidden")));
24274 extern __typeof (gtk_target_list_add_text_targets) IA__gtk_target_list_add_text_targets __attribute((visibility("hidden")));
24277 extern __typeof (gtk_target_list_add_uri_targets) IA__gtk_target_list_add_uri_targets __attribute((visibility("hidden")));
24280 extern __typeof (gtk_target_list_find) IA__gtk_target_list_find __attribute((visibility("hidden")));
24283 extern __typeof (gtk_target_list_get_type) IA__gtk_target_list_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24286 extern __typeof (gtk_target_list_new) IA__gtk_target_list_new __attribute((visibility("hidden")));
24289 extern __typeof (gtk_target_list_ref) IA__gtk_target_list_ref __attribute((visibility("hidden")));
24292 extern __typeof (gtk_target_list_remove) IA__gtk_target_list_remove __attribute((visibility("hidden")));
24295 extern __typeof (gtk_target_list_unref) IA__gtk_target_list_unref __attribute((visibility("hidden")));
24298 extern __typeof (gtk_target_table_new_from_list) IA__gtk_target_table_new_from_list __attribute((visibility("hidden")));
24301 extern __typeof (gtk_target_table_free) IA__gtk_target_table_free __attribute((visibility("hidden")));
24302 # 8074 "gtkalias.h"
24303 extern __typeof (gtk_settings_get_default) IA__gtk_settings_get_default __attribute((visibility("hidden")));
24306 extern __typeof (gtk_settings_get_for_screen) IA__gtk_settings_get_for_screen __attribute((visibility("hidden")));
24309 extern __typeof (gtk_settings_get_type) IA__gtk_settings_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24312 extern __typeof (gtk_settings_install_property) IA__gtk_settings_install_property __attribute((visibility("hidden")));
24315 extern __typeof (gtk_settings_install_property_parser) IA__gtk_settings_install_property_parser __attribute((visibility("hidden")));
24318 extern __typeof (gtk_settings_set_double_property) IA__gtk_settings_set_double_property __attribute((visibility("hidden")));
24321 extern __typeof (gtk_settings_set_long_property) IA__gtk_settings_set_long_property __attribute((visibility("hidden")));
24324 extern __typeof (gtk_settings_set_property_value) IA__gtk_settings_set_property_value __attribute((visibility("hidden")));
24327 extern __typeof (gtk_settings_set_string_property) IA__gtk_settings_set_string_property __attribute((visibility("hidden")));
24330 extern __typeof (gtk_rc_property_parse_border) IA__gtk_rc_property_parse_border __attribute((visibility("hidden")));
24333 extern __typeof (gtk_rc_property_parse_color) IA__gtk_rc_property_parse_color __attribute((visibility("hidden")));
24336 extern __typeof (gtk_rc_property_parse_enum) IA__gtk_rc_property_parse_enum __attribute((visibility("hidden")));
24339 extern __typeof (gtk_rc_property_parse_flags) IA__gtk_rc_property_parse_flags __attribute((visibility("hidden")));
24342 extern __typeof (gtk_rc_property_parse_requisition) IA__gtk_rc_property_parse_requisition __attribute((visibility("hidden")));
24343 # 8402 "gtkalias.h"
24344 extern __typeof (gtk_text_attributes_copy) IA__gtk_text_attributes_copy __attribute((visibility("hidden")));
24347 extern __typeof (gtk_text_attributes_copy_values) IA__gtk_text_attributes_copy_values __attribute((visibility("hidden")));
24350 extern __typeof (gtk_text_attributes_get_type) IA__gtk_text_attributes_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24353 extern __typeof (gtk_text_attributes_new) IA__gtk_text_attributes_new __attribute((visibility("hidden")));
24356 extern __typeof (gtk_text_attributes_ref) IA__gtk_text_attributes_ref __attribute((visibility("hidden")));
24359 extern __typeof (gtk_text_attributes_unref) IA__gtk_text_attributes_unref __attribute((visibility("hidden")));
24362 extern __typeof (gtk_text_tag_event) IA__gtk_text_tag_event __attribute((visibility("hidden")));
24365 extern __typeof (gtk_text_tag_get_priority) IA__gtk_text_tag_get_priority __attribute((visibility("hidden")));
24368 extern __typeof (gtk_text_tag_get_type) IA__gtk_text_tag_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24371 extern __typeof (gtk_text_tag_new) IA__gtk_text_tag_new __attribute((visibility("hidden")));
24374 extern __typeof (gtk_text_tag_set_priority) IA__gtk_text_tag_set_priority __attribute((visibility("hidden")));
24375 # 8707 "gtkalias.h"
24376 extern __typeof (gtk_text_iter_backward_char) IA__gtk_text_iter_backward_char __attribute((visibility("hidden")));
24379 extern __typeof (gtk_text_iter_backward_chars) IA__gtk_text_iter_backward_chars __attribute((visibility("hidden")));
24382 extern __typeof (gtk_text_iter_backward_cursor_position) IA__gtk_text_iter_backward_cursor_position __attribute((visibility("hidden")));
24385 extern __typeof (gtk_text_iter_backward_cursor_positions) IA__gtk_text_iter_backward_cursor_positions __attribute((visibility("hidden")));
24388 extern __typeof (gtk_text_iter_backward_find_char) IA__gtk_text_iter_backward_find_char __attribute((visibility("hidden")));
24391 extern __typeof (gtk_text_iter_backward_line) IA__gtk_text_iter_backward_line __attribute((visibility("hidden")));
24394 extern __typeof (gtk_text_iter_backward_lines) IA__gtk_text_iter_backward_lines __attribute((visibility("hidden")));
24397 extern __typeof (gtk_text_iter_backward_search) IA__gtk_text_iter_backward_search __attribute((visibility("hidden")));
24400 extern __typeof (gtk_text_iter_backward_sentence_start) IA__gtk_text_iter_backward_sentence_start __attribute((visibility("hidden")));
24403 extern __typeof (gtk_text_iter_backward_sentence_starts) IA__gtk_text_iter_backward_sentence_starts __attribute((visibility("hidden")));
24406 extern __typeof (gtk_text_iter_backward_to_tag_toggle) IA__gtk_text_iter_backward_to_tag_toggle __attribute((visibility("hidden")));
24409 extern __typeof (gtk_text_iter_backward_visible_cursor_position) IA__gtk_text_iter_backward_visible_cursor_position __attribute((visibility("hidden")));
24412 extern __typeof (gtk_text_iter_backward_visible_cursor_positions) IA__gtk_text_iter_backward_visible_cursor_positions __attribute((visibility("hidden")));
24415 extern __typeof (gtk_text_iter_backward_visible_line) IA__gtk_text_iter_backward_visible_line __attribute((visibility("hidden")));
24418 extern __typeof (gtk_text_iter_backward_visible_lines) IA__gtk_text_iter_backward_visible_lines __attribute((visibility("hidden")));
24421 extern __typeof (gtk_text_iter_backward_visible_word_start) IA__gtk_text_iter_backward_visible_word_start __attribute((visibility("hidden")));
24424 extern __typeof (gtk_text_iter_backward_visible_word_starts) IA__gtk_text_iter_backward_visible_word_starts __attribute((visibility("hidden")));
24427 extern __typeof (gtk_text_iter_backward_word_start) IA__gtk_text_iter_backward_word_start __attribute((visibility("hidden")));
24430 extern __typeof (gtk_text_iter_backward_word_starts) IA__gtk_text_iter_backward_word_starts __attribute((visibility("hidden")));
24433 extern __typeof (gtk_text_iter_begins_tag) IA__gtk_text_iter_begins_tag __attribute((visibility("hidden")));
24436 extern __typeof (gtk_text_iter_can_insert) IA__gtk_text_iter_can_insert __attribute((visibility("hidden")));
24439 extern __typeof (gtk_text_iter_compare) IA__gtk_text_iter_compare __attribute((visibility("hidden")));
24442 extern __typeof (gtk_text_iter_copy) IA__gtk_text_iter_copy __attribute((visibility("hidden")));
24445 extern __typeof (gtk_text_iter_editable) IA__gtk_text_iter_editable __attribute((visibility("hidden")));
24448 extern __typeof (gtk_text_iter_ends_line) IA__gtk_text_iter_ends_line __attribute((visibility("hidden")));
24451 extern __typeof (gtk_text_iter_ends_sentence) IA__gtk_text_iter_ends_sentence __attribute((visibility("hidden")));
24454 extern __typeof (gtk_text_iter_ends_tag) IA__gtk_text_iter_ends_tag __attribute((visibility("hidden")));
24457 extern __typeof (gtk_text_iter_ends_word) IA__gtk_text_iter_ends_word __attribute((visibility("hidden")));
24460 extern __typeof (gtk_text_iter_equal) IA__gtk_text_iter_equal __attribute((visibility("hidden")));
24463 extern __typeof (gtk_text_iter_forward_char) IA__gtk_text_iter_forward_char __attribute((visibility("hidden")));
24466 extern __typeof (gtk_text_iter_forward_chars) IA__gtk_text_iter_forward_chars __attribute((visibility("hidden")));
24469 extern __typeof (gtk_text_iter_forward_cursor_position) IA__gtk_text_iter_forward_cursor_position __attribute((visibility("hidden")));
24472 extern __typeof (gtk_text_iter_forward_cursor_positions) IA__gtk_text_iter_forward_cursor_positions __attribute((visibility("hidden")));
24475 extern __typeof (gtk_text_iter_forward_find_char) IA__gtk_text_iter_forward_find_char __attribute((visibility("hidden")));
24478 extern __typeof (gtk_text_iter_forward_line) IA__gtk_text_iter_forward_line __attribute((visibility("hidden")));
24481 extern __typeof (gtk_text_iter_forward_lines) IA__gtk_text_iter_forward_lines __attribute((visibility("hidden")));
24484 extern __typeof (gtk_text_iter_forward_search) IA__gtk_text_iter_forward_search __attribute((visibility("hidden")));
24487 extern __typeof (gtk_text_iter_forward_sentence_end) IA__gtk_text_iter_forward_sentence_end __attribute((visibility("hidden")));
24490 extern __typeof (gtk_text_iter_forward_sentence_ends) IA__gtk_text_iter_forward_sentence_ends __attribute((visibility("hidden")));
24493 extern __typeof (gtk_text_iter_forward_to_end) IA__gtk_text_iter_forward_to_end __attribute((visibility("hidden")));
24496 extern __typeof (gtk_text_iter_forward_to_line_end) IA__gtk_text_iter_forward_to_line_end __attribute((visibility("hidden")));
24499 extern __typeof (gtk_text_iter_forward_to_tag_toggle) IA__gtk_text_iter_forward_to_tag_toggle __attribute((visibility("hidden")));
24502 extern __typeof (gtk_text_iter_forward_visible_cursor_position) IA__gtk_text_iter_forward_visible_cursor_position __attribute((visibility("hidden")));
24505 extern __typeof (gtk_text_iter_forward_visible_cursor_positions) IA__gtk_text_iter_forward_visible_cursor_positions __attribute((visibility("hidden")));
24508 extern __typeof (gtk_text_iter_forward_visible_line) IA__gtk_text_iter_forward_visible_line __attribute((visibility("hidden")));
24511 extern __typeof (gtk_text_iter_forward_visible_lines) IA__gtk_text_iter_forward_visible_lines __attribute((visibility("hidden")));
24514 extern __typeof (gtk_text_iter_forward_visible_word_end) IA__gtk_text_iter_forward_visible_word_end __attribute((visibility("hidden")));
24517 extern __typeof (gtk_text_iter_forward_visible_word_ends) IA__gtk_text_iter_forward_visible_word_ends __attribute((visibility("hidden")));
24520 extern __typeof (gtk_text_iter_forward_word_end) IA__gtk_text_iter_forward_word_end __attribute((visibility("hidden")));
24523 extern __typeof (gtk_text_iter_forward_word_ends) IA__gtk_text_iter_forward_word_ends __attribute((visibility("hidden")));
24526 extern __typeof (gtk_text_iter_free) IA__gtk_text_iter_free __attribute((visibility("hidden")));
24529 extern __typeof (gtk_text_iter_get_attributes) IA__gtk_text_iter_get_attributes __attribute((visibility("hidden")));
24532 extern __typeof (gtk_text_iter_get_buffer) IA__gtk_text_iter_get_buffer __attribute((visibility("hidden")));
24535 extern __typeof (gtk_text_iter_get_bytes_in_line) IA__gtk_text_iter_get_bytes_in_line __attribute((visibility("hidden")));
24538 extern __typeof (gtk_text_iter_get_char) IA__gtk_text_iter_get_char __attribute((visibility("hidden")));
24541 extern __typeof (gtk_text_iter_get_chars_in_line) IA__gtk_text_iter_get_chars_in_line __attribute((visibility("hidden")));
24544 extern __typeof (gtk_text_iter_get_child_anchor) IA__gtk_text_iter_get_child_anchor __attribute((visibility("hidden")));
24547 extern __typeof (gtk_text_iter_get_language) IA__gtk_text_iter_get_language __attribute((visibility("hidden")));
24550 extern __typeof (gtk_text_iter_get_line) IA__gtk_text_iter_get_line __attribute((visibility("hidden")));
24553 extern __typeof (gtk_text_iter_get_line_index) IA__gtk_text_iter_get_line_index __attribute((visibility("hidden")));
24556 extern __typeof (gtk_text_iter_get_line_offset) IA__gtk_text_iter_get_line_offset __attribute((visibility("hidden")));
24559 extern __typeof (gtk_text_iter_get_marks) IA__gtk_text_iter_get_marks __attribute((visibility("hidden")));
24562 extern __typeof (gtk_text_iter_get_offset) IA__gtk_text_iter_get_offset __attribute((visibility("hidden")));
24565 extern __typeof (gtk_text_iter_get_pixbuf) IA__gtk_text_iter_get_pixbuf __attribute((visibility("hidden")));
24568 extern __typeof (gtk_text_iter_get_slice) IA__gtk_text_iter_get_slice __attribute((visibility("hidden")));
24571 extern __typeof (gtk_text_iter_get_tags) IA__gtk_text_iter_get_tags __attribute((visibility("hidden")));
24574 extern __typeof (gtk_text_iter_get_text) IA__gtk_text_iter_get_text __attribute((visibility("hidden")));
24577 extern __typeof (gtk_text_iter_get_toggled_tags) IA__gtk_text_iter_get_toggled_tags __attribute((visibility("hidden")));
24580 extern __typeof (gtk_text_iter_get_type) IA__gtk_text_iter_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24583 extern __typeof (gtk_text_iter_get_visible_line_index) IA__gtk_text_iter_get_visible_line_index __attribute((visibility("hidden")));
24586 extern __typeof (gtk_text_iter_get_visible_line_offset) IA__gtk_text_iter_get_visible_line_offset __attribute((visibility("hidden")));
24589 extern __typeof (gtk_text_iter_get_visible_slice) IA__gtk_text_iter_get_visible_slice __attribute((visibility("hidden")));
24592 extern __typeof (gtk_text_iter_get_visible_text) IA__gtk_text_iter_get_visible_text __attribute((visibility("hidden")));
24595 extern __typeof (gtk_text_iter_has_tag) IA__gtk_text_iter_has_tag __attribute((visibility("hidden")));
24598 extern __typeof (gtk_text_iter_in_range) IA__gtk_text_iter_in_range __attribute((visibility("hidden")));
24601 extern __typeof (gtk_text_iter_inside_sentence) IA__gtk_text_iter_inside_sentence __attribute((visibility("hidden")));
24604 extern __typeof (gtk_text_iter_inside_word) IA__gtk_text_iter_inside_word __attribute((visibility("hidden")));
24607 extern __typeof (gtk_text_iter_is_cursor_position) IA__gtk_text_iter_is_cursor_position __attribute((visibility("hidden")));
24610 extern __typeof (gtk_text_iter_is_end) IA__gtk_text_iter_is_end __attribute((visibility("hidden")));
24613 extern __typeof (gtk_text_iter_is_start) IA__gtk_text_iter_is_start __attribute((visibility("hidden")));
24616 extern __typeof (gtk_text_iter_order) IA__gtk_text_iter_order __attribute((visibility("hidden")));
24619 extern __typeof (gtk_text_iter_set_line) IA__gtk_text_iter_set_line __attribute((visibility("hidden")));
24622 extern __typeof (gtk_text_iter_set_line_index) IA__gtk_text_iter_set_line_index __attribute((visibility("hidden")));
24625 extern __typeof (gtk_text_iter_set_line_offset) IA__gtk_text_iter_set_line_offset __attribute((visibility("hidden")));
24628 extern __typeof (gtk_text_iter_set_offset) IA__gtk_text_iter_set_offset __attribute((visibility("hidden")));
24631 extern __typeof (gtk_text_iter_set_visible_line_index) IA__gtk_text_iter_set_visible_line_index __attribute((visibility("hidden")));
24634 extern __typeof (gtk_text_iter_set_visible_line_offset) IA__gtk_text_iter_set_visible_line_offset __attribute((visibility("hidden")));
24637 extern __typeof (gtk_text_iter_starts_line) IA__gtk_text_iter_starts_line __attribute((visibility("hidden")));
24640 extern __typeof (gtk_text_iter_starts_sentence) IA__gtk_text_iter_starts_sentence __attribute((visibility("hidden")));
24643 extern __typeof (gtk_text_iter_starts_word) IA__gtk_text_iter_starts_word __attribute((visibility("hidden")));
24646 extern __typeof (gtk_text_iter_toggles_tag) IA__gtk_text_iter_toggles_tag __attribute((visibility("hidden")));
24647 # 9120 "gtkalias.h"
24648 extern __typeof (gtk_text_child_anchor_get_deleted) IA__gtk_text_child_anchor_get_deleted __attribute((visibility("hidden")));
24651 extern __typeof (gtk_text_child_anchor_get_type) IA__gtk_text_child_anchor_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24654 extern __typeof (gtk_text_child_anchor_get_widgets) IA__gtk_text_child_anchor_get_widgets __attribute((visibility("hidden")));
24657 extern __typeof (gtk_text_child_anchor_new) IA__gtk_text_child_anchor_new __attribute((visibility("hidden")));
24658 # 10805 "gtkalias.h"
24659 extern __typeof (gtk_type_class) IA__gtk_type_class __attribute((visibility("hidden")));
24662 extern __typeof (gtk_identifier_get_type) IA__gtk_identifier_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24666 extern __typeof (gtk_type_enum_find_value) IA__gtk_type_enum_find_value __attribute((visibility("hidden")));
24669 extern __typeof (gtk_type_enum_get_values) IA__gtk_type_enum_get_values __attribute((visibility("hidden")));
24672 extern __typeof (gtk_type_flags_find_value) IA__gtk_type_flags_find_value __attribute((visibility("hidden")));
24675 extern __typeof (gtk_type_flags_get_values) IA__gtk_type_flags_get_values __attribute((visibility("hidden")));
24678 extern __typeof (gtk_type_init) IA__gtk_type_init __attribute((visibility("hidden")));
24681 extern __typeof (gtk_type_new) IA__gtk_type_new __attribute((visibility("hidden")));
24684 extern __typeof (gtk_type_unique) IA__gtk_type_unique __attribute((visibility("hidden")));
24685 # 11026 "gtkalias.h"
24686 extern __typeof (gtk_requisition_copy) IA__gtk_requisition_copy __attribute((visibility("hidden")));
24689 extern __typeof (gtk_requisition_free) IA__gtk_requisition_free __attribute((visibility("hidden")));
24692 extern __typeof (gtk_requisition_get_type) IA__gtk_requisition_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24695 extern __typeof (gtk_widget_activate) IA__gtk_widget_activate __attribute((visibility("hidden")));
24698 extern __typeof (gtk_widget_is_composited) IA__gtk_widget_is_composited __attribute((visibility("hidden")));
24701 extern __typeof (gtk_widget_add_accelerator) IA__gtk_widget_add_accelerator __attribute((visibility("hidden")));
24704 extern __typeof (gtk_widget_add_events) IA__gtk_widget_add_events __attribute((visibility("hidden")));
24707 extern __typeof (gtk_widget_add_mnemonic_label) IA__gtk_widget_add_mnemonic_label __attribute((visibility("hidden")));
24710 extern __typeof (gtk_widget_can_activate_accel) IA__gtk_widget_can_activate_accel __attribute((visibility("hidden")));
24713 extern __typeof (gtk_widget_child_focus) IA__gtk_widget_child_focus __attribute((visibility("hidden")));
24716 extern __typeof (gtk_widget_child_notify) IA__gtk_widget_child_notify __attribute((visibility("hidden")));
24719 extern __typeof (gtk_widget_class_find_style_property) IA__gtk_widget_class_find_style_property __attribute((visibility("hidden")));
24722 extern __typeof (gtk_widget_class_install_style_property) IA__gtk_widget_class_install_style_property __attribute((visibility("hidden")));
24725 extern __typeof (gtk_widget_class_install_style_property_parser) IA__gtk_widget_class_install_style_property_parser __attribute((visibility("hidden")));
24728 extern __typeof (gtk_widget_class_list_style_properties) IA__gtk_widget_class_list_style_properties __attribute((visibility("hidden")));
24731 extern __typeof (gtk_widget_class_path) IA__gtk_widget_class_path __attribute((visibility("hidden")));
24734 extern __typeof (gtk_widget_create_pango_context) IA__gtk_widget_create_pango_context __attribute((visibility("hidden")));
24737 extern __typeof (gtk_widget_create_pango_layout) IA__gtk_widget_create_pango_layout __attribute((visibility("hidden")));
24740 extern __typeof (gtk_widget_destroy) IA__gtk_widget_destroy __attribute((visibility("hidden")));
24743 extern __typeof (gtk_widget_destroyed) IA__gtk_widget_destroyed __attribute((visibility("hidden")));
24746 extern __typeof (gtk_widget_ensure_style) IA__gtk_widget_ensure_style __attribute((visibility("hidden")));
24749 extern __typeof (gtk_widget_error_bell) IA__gtk_widget_error_bell __attribute((visibility("hidden")));
24752 extern __typeof (gtk_widget_event) IA__gtk_widget_event __attribute((visibility("hidden")));
24755 extern __typeof (gtk_widget_freeze_child_notify) IA__gtk_widget_freeze_child_notify __attribute((visibility("hidden")));
24758 extern __typeof (gtk_widget_get_accessible) IA__gtk_widget_get_accessible __attribute((visibility("hidden")));
24761 extern __typeof (gtk_widget_get_ancestor) IA__gtk_widget_get_ancestor __attribute((visibility("hidden")));
24764 extern __typeof (gtk_widget_get_child_requisition) IA__gtk_widget_get_child_requisition __attribute((visibility("hidden")));
24767 extern __typeof (gtk_widget_get_child_visible) IA__gtk_widget_get_child_visible __attribute((visibility("hidden")));
24770 extern __typeof (gtk_widget_get_clipboard) IA__gtk_widget_get_clipboard __attribute((visibility("hidden")));
24773 extern __typeof (gtk_widget_get_colormap) IA__gtk_widget_get_colormap __attribute((visibility("hidden")));
24776 extern __typeof (gtk_widget_get_composite_name) IA__gtk_widget_get_composite_name __attribute((visibility("hidden")));
24779 extern __typeof (gtk_widget_get_default_colormap) IA__gtk_widget_get_default_colormap __attribute((visibility("hidden")));
24782 extern __typeof (gtk_widget_get_default_direction) IA__gtk_widget_get_default_direction __attribute((visibility("hidden")));
24785 extern __typeof (gtk_widget_get_default_style) IA__gtk_widget_get_default_style __attribute((visibility("hidden")));
24788 extern __typeof (gtk_widget_get_default_visual) IA__gtk_widget_get_default_visual __attribute((visibility("hidden")));
24791 extern __typeof (gtk_widget_get_direction) IA__gtk_widget_get_direction __attribute((visibility("hidden")));
24794 extern __typeof (gtk_widget_get_display) IA__gtk_widget_get_display __attribute((visibility("hidden")));
24797 extern __typeof (gtk_widget_get_events) IA__gtk_widget_get_events __attribute((visibility("hidden")));
24800 extern __typeof (gtk_widget_get_extension_events) IA__gtk_widget_get_extension_events __attribute((visibility("hidden")));
24803 extern __typeof (gtk_widget_get_has_tooltip) IA__gtk_widget_get_has_tooltip __attribute((visibility("hidden")));
24806 extern __typeof (gtk_widget_get_modifier_style) IA__gtk_widget_get_modifier_style __attribute((visibility("hidden")));
24809 extern __typeof (gtk_widget_get_name) IA__gtk_widget_get_name __attribute((visibility("hidden")));
24812 extern __typeof (gtk_widget_get_no_show_all) IA__gtk_widget_get_no_show_all __attribute((visibility("hidden")));
24815 extern __typeof (gtk_widget_get_pango_context) IA__gtk_widget_get_pango_context __attribute((visibility("hidden")));
24818 extern __typeof (gtk_widget_get_parent) IA__gtk_widget_get_parent __attribute((visibility("hidden")));
24821 extern __typeof (gtk_widget_get_parent_window) IA__gtk_widget_get_parent_window __attribute((visibility("hidden")));
24824 extern __typeof (gtk_widget_get_pointer) IA__gtk_widget_get_pointer __attribute((visibility("hidden")));
24827 extern __typeof (gtk_widget_get_root_window) IA__gtk_widget_get_root_window __attribute((visibility("hidden")));
24830 extern __typeof (gtk_widget_get_screen) IA__gtk_widget_get_screen __attribute((visibility("hidden")));
24833 extern __typeof (gtk_widget_get_settings) IA__gtk_widget_get_settings __attribute((visibility("hidden")));
24836 extern __typeof (gtk_widget_get_size_request) IA__gtk_widget_get_size_request __attribute((visibility("hidden")));
24839 extern __typeof (gtk_widget_get_style) IA__gtk_widget_get_style __attribute((visibility("hidden")));
24842 extern __typeof (gtk_widget_get_tooltip_markup) IA__gtk_widget_get_tooltip_markup __attribute((visibility("hidden")));
24845 extern __typeof (gtk_widget_get_tooltip_text) IA__gtk_widget_get_tooltip_text __attribute((visibility("hidden")));
24848 extern __typeof (gtk_widget_get_tooltip_window) IA__gtk_widget_get_tooltip_window __attribute((visibility("hidden")));
24851 extern __typeof (gtk_widget_get_toplevel) IA__gtk_widget_get_toplevel __attribute((visibility("hidden")));
24854 extern __typeof (gtk_widget_get_type) IA__gtk_widget_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
24857 extern __typeof (gtk_widget_get_visual) IA__gtk_widget_get_visual __attribute((visibility("hidden")));
24860 extern __typeof (gtk_widget_grab_default) IA__gtk_widget_grab_default __attribute((visibility("hidden")));
24863 extern __typeof (gtk_widget_grab_focus) IA__gtk_widget_grab_focus __attribute((visibility("hidden")));
24866 extern __typeof (gtk_widget_has_screen) IA__gtk_widget_has_screen __attribute((visibility("hidden")));
24869 extern __typeof (gtk_widget_hide) IA__gtk_widget_hide __attribute((visibility("hidden")));
24872 extern __typeof (gtk_widget_hide_all) IA__gtk_widget_hide_all __attribute((visibility("hidden")));
24875 extern __typeof (gtk_widget_hide_on_delete) IA__gtk_widget_hide_on_delete __attribute((visibility("hidden")));
24878 extern __typeof (gtk_widget_intersect) IA__gtk_widget_intersect __attribute((visibility("hidden")));
24881 extern __typeof (gtk_widget_is_ancestor) IA__gtk_widget_is_ancestor __attribute((visibility("hidden")));
24884 extern __typeof (gtk_widget_is_focus) IA__gtk_widget_is_focus __attribute((visibility("hidden")));
24887 extern __typeof (gtk_widget_keynav_failed) IA__gtk_widget_keynav_failed __attribute((visibility("hidden")));
24890 extern __typeof (gtk_widget_list_accel_closures) IA__gtk_widget_list_accel_closures __attribute((visibility("hidden")));
24893 extern __typeof (gtk_widget_list_mnemonic_labels) IA__gtk_widget_list_mnemonic_labels __attribute((visibility("hidden")));
24896 extern __typeof (gtk_widget_map) IA__gtk_widget_map __attribute((visibility("hidden")));
24899 extern __typeof (gtk_widget_mnemonic_activate) IA__gtk_widget_mnemonic_activate __attribute((visibility("hidden")));
24902 extern __typeof (gtk_widget_modify_base) IA__gtk_widget_modify_base __attribute((visibility("hidden")));
24905 extern __typeof (gtk_widget_modify_bg) IA__gtk_widget_modify_bg __attribute((visibility("hidden")));
24908 extern __typeof (gtk_widget_modify_fg) IA__gtk_widget_modify_fg __attribute((visibility("hidden")));
24911 extern __typeof (gtk_widget_modify_cursor) IA__gtk_widget_modify_cursor __attribute((visibility("hidden")));
24914 extern __typeof (gtk_widget_modify_font) IA__gtk_widget_modify_font __attribute((visibility("hidden")));
24917 extern __typeof (gtk_widget_modify_style) IA__gtk_widget_modify_style __attribute((visibility("hidden")));
24920 extern __typeof (gtk_widget_modify_text) IA__gtk_widget_modify_text __attribute((visibility("hidden")));
24923 extern __typeof (gtk_widget_new) IA__gtk_widget_new __attribute((visibility("hidden")));
24926 extern __typeof (gtk_widget_path) IA__gtk_widget_path __attribute((visibility("hidden")));
24929 extern __typeof (gtk_widget_pop_colormap) IA__gtk_widget_pop_colormap __attribute((visibility("hidden")));
24932 extern __typeof (gtk_widget_pop_composite_child) IA__gtk_widget_pop_composite_child __attribute((visibility("hidden")));
24935 extern __typeof (gtk_widget_push_colormap) IA__gtk_widget_push_colormap __attribute((visibility("hidden")));
24938 extern __typeof (gtk_widget_push_composite_child) IA__gtk_widget_push_composite_child __attribute((visibility("hidden")));
24942 extern __typeof (gtk_widget_draw) IA__gtk_widget_draw __attribute((visibility("hidden")));
24945 extern __typeof (gtk_widget_queue_clear) IA__gtk_widget_queue_clear __attribute((visibility("hidden")));
24948 extern __typeof (gtk_widget_queue_clear_area) IA__gtk_widget_queue_clear_area __attribute((visibility("hidden")));
24951 extern __typeof (gtk_widget_set) IA__gtk_widget_set __attribute((visibility("hidden")));
24954 extern __typeof (gtk_widget_set_uposition) IA__gtk_widget_set_uposition __attribute((visibility("hidden")));
24957 extern __typeof (gtk_widget_set_usize) IA__gtk_widget_set_usize __attribute((visibility("hidden")));
24961 extern __typeof (gtk_widget_queue_draw) IA__gtk_widget_queue_draw __attribute((visibility("hidden")));
24964 extern __typeof (gtk_widget_queue_draw_area) IA__gtk_widget_queue_draw_area __attribute((visibility("hidden")));
24967 extern __typeof (gtk_widget_queue_resize) IA__gtk_widget_queue_resize __attribute((visibility("hidden")));
24970 extern __typeof (gtk_widget_queue_resize_no_redraw) IA__gtk_widget_queue_resize_no_redraw __attribute((visibility("hidden")));
24973 extern __typeof (gtk_widget_realize) IA__gtk_widget_realize __attribute((visibility("hidden")));
24976 extern __typeof (gtk_widget_ref) IA__gtk_widget_ref __attribute((visibility("hidden")));
24979 extern __typeof (gtk_widget_region_intersect) IA__gtk_widget_region_intersect __attribute((visibility("hidden")));
24982 extern __typeof (gtk_widget_remove_accelerator) IA__gtk_widget_remove_accelerator __attribute((visibility("hidden")));
24985 extern __typeof (gtk_widget_remove_mnemonic_label) IA__gtk_widget_remove_mnemonic_label __attribute((visibility("hidden")));
24988 extern __typeof (gtk_widget_render_icon) IA__gtk_widget_render_icon __attribute((visibility("hidden")));
24991 extern __typeof (gtk_widget_reparent) IA__gtk_widget_reparent __attribute((visibility("hidden")));
24994 extern __typeof (gtk_widget_reset_rc_styles) IA__gtk_widget_reset_rc_styles __attribute((visibility("hidden")));
24997 extern __typeof (gtk_widget_reset_shapes) IA__gtk_widget_reset_shapes __attribute((visibility("hidden")));
25000 extern __typeof (gtk_widget_send_expose) IA__gtk_widget_send_expose __attribute((visibility("hidden")));
25003 extern __typeof (gtk_widget_set_accel_path) IA__gtk_widget_set_accel_path __attribute((visibility("hidden")));
25006 extern __typeof (gtk_widget_set_app_paintable) IA__gtk_widget_set_app_paintable __attribute((visibility("hidden")));
25009 extern __typeof (gtk_widget_set_child_visible) IA__gtk_widget_set_child_visible __attribute((visibility("hidden")));
25012 extern __typeof (gtk_widget_set_colormap) IA__gtk_widget_set_colormap __attribute((visibility("hidden")));
25015 extern __typeof (gtk_widget_set_composite_name) IA__gtk_widget_set_composite_name __attribute((visibility("hidden")));
25018 extern __typeof (gtk_widget_set_default_colormap) IA__gtk_widget_set_default_colormap __attribute((visibility("hidden")));
25021 extern __typeof (gtk_widget_set_default_direction) IA__gtk_widget_set_default_direction __attribute((visibility("hidden")));
25024 extern __typeof (gtk_widget_set_direction) IA__gtk_widget_set_direction __attribute((visibility("hidden")));
25027 extern __typeof (gtk_widget_set_double_buffered) IA__gtk_widget_set_double_buffered __attribute((visibility("hidden")));
25030 extern __typeof (gtk_widget_set_events) IA__gtk_widget_set_events __attribute((visibility("hidden")));
25033 extern __typeof (gtk_widget_set_extension_events) IA__gtk_widget_set_extension_events __attribute((visibility("hidden")));
25036 extern __typeof (gtk_widget_set_has_tooltip) IA__gtk_widget_set_has_tooltip __attribute((visibility("hidden")));
25039 extern __typeof (gtk_widget_set_name) IA__gtk_widget_set_name __attribute((visibility("hidden")));
25042 extern __typeof (gtk_widget_set_no_show_all) IA__gtk_widget_set_no_show_all __attribute((visibility("hidden")));
25045 extern __typeof (gtk_widget_set_parent) IA__gtk_widget_set_parent __attribute((visibility("hidden")));
25048 extern __typeof (gtk_widget_set_parent_window) IA__gtk_widget_set_parent_window __attribute((visibility("hidden")));
25051 extern __typeof (gtk_widget_set_redraw_on_allocate) IA__gtk_widget_set_redraw_on_allocate __attribute((visibility("hidden")));
25054 extern __typeof (gtk_widget_set_scroll_adjustments) IA__gtk_widget_set_scroll_adjustments __attribute((visibility("hidden")));
25057 extern __typeof (gtk_widget_set_sensitive) IA__gtk_widget_set_sensitive __attribute((visibility("hidden")));
25060 extern __typeof (gtk_widget_set_size_request) IA__gtk_widget_set_size_request __attribute((visibility("hidden")));
25063 extern __typeof (gtk_widget_set_state) IA__gtk_widget_set_state __attribute((visibility("hidden")));
25066 extern __typeof (gtk_widget_set_style) IA__gtk_widget_set_style __attribute((visibility("hidden")));
25069 extern __typeof (gtk_widget_set_tooltip_markup) IA__gtk_widget_set_tooltip_markup __attribute((visibility("hidden")));
25072 extern __typeof (gtk_widget_set_tooltip_text) IA__gtk_widget_set_tooltip_text __attribute((visibility("hidden")));
25075 extern __typeof (gtk_widget_set_tooltip_window) IA__gtk_widget_set_tooltip_window __attribute((visibility("hidden")));
25078 extern __typeof (gtk_widget_shape_combine_mask) IA__gtk_widget_shape_combine_mask __attribute((visibility("hidden")));
25081 extern __typeof (gtk_widget_input_shape_combine_mask) IA__gtk_widget_input_shape_combine_mask __attribute((visibility("hidden")));
25084 extern __typeof (gtk_widget_show) IA__gtk_widget_show __attribute((visibility("hidden")));
25087 extern __typeof (gtk_widget_show_all) IA__gtk_widget_show_all __attribute((visibility("hidden")));
25090 extern __typeof (gtk_widget_show_now) IA__gtk_widget_show_now __attribute((visibility("hidden")));
25093 extern __typeof (gtk_widget_size_allocate) IA__gtk_widget_size_allocate __attribute((visibility("hidden")));
25096 extern __typeof (gtk_widget_size_request) IA__gtk_widget_size_request __attribute((visibility("hidden")));
25099 extern __typeof (gtk_widget_style_get) IA__gtk_widget_style_get __attribute((visibility("hidden"))) __attribute__((__sentinel__));
25102 extern __typeof (gtk_widget_style_get_property) IA__gtk_widget_style_get_property __attribute((visibility("hidden")));
25105 extern __typeof (gtk_widget_style_get_valist) IA__gtk_widget_style_get_valist __attribute((visibility("hidden")));
25108 extern __typeof (gtk_widget_thaw_child_notify) IA__gtk_widget_thaw_child_notify __attribute((visibility("hidden")));
25111 extern __typeof (gtk_widget_translate_coordinates) IA__gtk_widget_translate_coordinates __attribute((visibility("hidden")));
25114 extern __typeof (gtk_widget_trigger_tooltip_query) IA__gtk_widget_trigger_tooltip_query __attribute((visibility("hidden")));
25117 extern __typeof (gtk_widget_unmap) IA__gtk_widget_unmap __attribute((visibility("hidden")));
25120 extern __typeof (gtk_widget_unparent) IA__gtk_widget_unparent __attribute((visibility("hidden")));
25123 extern __typeof (gtk_widget_unrealize) IA__gtk_widget_unrealize __attribute((visibility("hidden")));
25126 extern __typeof (gtk_widget_unref) IA__gtk_widget_unref __attribute((visibility("hidden")));
25133 extern __typeof (gtk_window_activate_default) IA__gtk_window_activate_default __attribute((visibility("hidden")));
25136 extern __typeof (gtk_window_activate_focus) IA__gtk_window_activate_focus __attribute((visibility("hidden")));
25139 extern __typeof (gtk_window_activate_key) IA__gtk_window_activate_key __attribute((visibility("hidden")));
25142 extern __typeof (gtk_window_add_accel_group) IA__gtk_window_add_accel_group __attribute((visibility("hidden")));
25145 extern __typeof (gtk_window_add_embedded_xid) IA__gtk_window_add_embedded_xid __attribute((visibility("hidden")));
25148 extern __typeof (gtk_window_add_mnemonic) IA__gtk_window_add_mnemonic __attribute((visibility("hidden")));
25151 extern __typeof (gtk_window_begin_move_drag) IA__gtk_window_begin_move_drag __attribute((visibility("hidden")));
25154 extern __typeof (gtk_window_begin_resize_drag) IA__gtk_window_begin_resize_drag __attribute((visibility("hidden")));
25157 extern __typeof (gtk_window_deiconify) IA__gtk_window_deiconify __attribute((visibility("hidden")));
25160 extern __typeof (gtk_window_fullscreen) IA__gtk_window_fullscreen __attribute((visibility("hidden")));
25163 extern __typeof (gtk_window_get_accept_focus) IA__gtk_window_get_accept_focus __attribute((visibility("hidden")));
25166 extern __typeof (gtk_window_get_decorated) IA__gtk_window_get_decorated __attribute((visibility("hidden")));
25169 extern __typeof (gtk_window_get_deletable) IA__gtk_window_get_deletable __attribute((visibility("hidden")));
25172 extern __typeof (gtk_window_get_default_icon_list) IA__gtk_window_get_default_icon_list __attribute((visibility("hidden")));
25175 extern __typeof (gtk_window_get_default_size) IA__gtk_window_get_default_size __attribute((visibility("hidden")));
25178 extern __typeof (gtk_window_get_destroy_with_parent) IA__gtk_window_get_destroy_with_parent __attribute((visibility("hidden")));
25181 extern __typeof (gtk_window_get_focus) IA__gtk_window_get_focus __attribute((visibility("hidden")));
25184 extern __typeof (gtk_window_get_focus_on_map) IA__gtk_window_get_focus_on_map __attribute((visibility("hidden")));
25187 extern __typeof (gtk_window_get_frame_dimensions) IA__gtk_window_get_frame_dimensions __attribute((visibility("hidden")));
25190 extern __typeof (gtk_window_get_gravity) IA__gtk_window_get_gravity __attribute((visibility("hidden")));
25193 extern __typeof (gtk_window_get_group) IA__gtk_window_get_group __attribute((visibility("hidden")));
25196 extern __typeof (gtk_window_get_has_frame) IA__gtk_window_get_has_frame __attribute((visibility("hidden")));
25199 extern __typeof (gtk_window_get_icon) IA__gtk_window_get_icon __attribute((visibility("hidden")));
25202 extern __typeof (gtk_window_get_icon_list) IA__gtk_window_get_icon_list __attribute((visibility("hidden")));
25205 extern __typeof (gtk_window_get_icon_name) IA__gtk_window_get_icon_name __attribute((visibility("hidden")));
25208 extern __typeof (gtk_window_get_mnemonic_modifier) IA__gtk_window_get_mnemonic_modifier __attribute((visibility("hidden")));
25211 extern __typeof (gtk_window_get_modal) IA__gtk_window_get_modal __attribute((visibility("hidden")));
25214 extern __typeof (gtk_window_get_position) IA__gtk_window_get_position __attribute((visibility("hidden")));
25217 extern __typeof (gtk_window_get_resizable) IA__gtk_window_get_resizable __attribute((visibility("hidden")));
25220 extern __typeof (gtk_window_get_role) IA__gtk_window_get_role __attribute((visibility("hidden")));
25223 extern __typeof (gtk_window_get_screen) IA__gtk_window_get_screen __attribute((visibility("hidden")));
25226 extern __typeof (gtk_window_get_size) IA__gtk_window_get_size __attribute((visibility("hidden")));
25229 extern __typeof (gtk_window_get_skip_pager_hint) IA__gtk_window_get_skip_pager_hint __attribute((visibility("hidden")));
25232 extern __typeof (gtk_window_get_skip_taskbar_hint) IA__gtk_window_get_skip_taskbar_hint __attribute((visibility("hidden")));
25235 extern __typeof (gtk_window_get_urgency_hint) IA__gtk_window_get_urgency_hint __attribute((visibility("hidden")));
25238 extern __typeof (gtk_window_get_title) IA__gtk_window_get_title __attribute((visibility("hidden")));
25241 extern __typeof (gtk_window_get_transient_for) IA__gtk_window_get_transient_for __attribute((visibility("hidden")));
25244 extern __typeof (gtk_window_get_type) IA__gtk_window_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
25247 extern __typeof (gtk_window_get_type_hint) IA__gtk_window_get_type_hint __attribute((visibility("hidden")));
25250 extern __typeof (gtk_window_group_add_window) IA__gtk_window_group_add_window __attribute((visibility("hidden")));
25253 extern __typeof (gtk_window_group_get_type) IA__gtk_window_group_get_type __attribute((visibility("hidden"))) __attribute__((__const__));
25256 extern __typeof (gtk_window_group_new) IA__gtk_window_group_new __attribute((visibility("hidden")));
25259 extern __typeof (gtk_window_group_remove_window) IA__gtk_window_group_remove_window __attribute((visibility("hidden")));
25262 extern __typeof (gtk_window_has_toplevel_focus) IA__gtk_window_has_toplevel_focus __attribute((visibility("hidden")));
25265 extern __typeof (gtk_window_iconify) IA__gtk_window_iconify __attribute((visibility("hidden")));
25268 extern __typeof (gtk_window_is_active) IA__gtk_window_is_active __attribute((visibility("hidden")));
25271 extern __typeof (gtk_window_list_toplevels) IA__gtk_window_list_toplevels __attribute((visibility("hidden")));
25274 extern __typeof (gtk_window_maximize) IA__gtk_window_maximize __attribute((visibility("hidden")));
25277 extern __typeof (gtk_window_mnemonic_activate) IA__gtk_window_mnemonic_activate __attribute((visibility("hidden")));
25280 extern __typeof (gtk_window_move) IA__gtk_window_move __attribute((visibility("hidden")));
25283 extern __typeof (gtk_window_new) IA__gtk_window_new __attribute((visibility("hidden")));
25286 extern __typeof (gtk_window_parse_geometry) IA__gtk_window_parse_geometry __attribute((visibility("hidden")));
25289 extern __typeof (gtk_window_present) IA__gtk_window_present __attribute((visibility("hidden")));
25292 extern __typeof (gtk_window_present_with_time) IA__gtk_window_present_with_time __attribute((visibility("hidden")));
25295 extern __typeof (gtk_window_propagate_key_event) IA__gtk_window_propagate_key_event __attribute((visibility("hidden")));
25298 extern __typeof (gtk_window_remove_accel_group) IA__gtk_window_remove_accel_group __attribute((visibility("hidden")));
25301 extern __typeof (gtk_window_remove_embedded_xid) IA__gtk_window_remove_embedded_xid __attribute((visibility("hidden")));
25304 extern __typeof (gtk_window_remove_mnemonic) IA__gtk_window_remove_mnemonic __attribute((visibility("hidden")));
25307 extern __typeof (gtk_window_reshow_with_initial_size) IA__gtk_window_reshow_with_initial_size __attribute((visibility("hidden")));
25310 extern __typeof (gtk_window_resize) IA__gtk_window_resize __attribute((visibility("hidden")));
25313 extern __typeof (gtk_window_set_accept_focus) IA__gtk_window_set_accept_focus __attribute((visibility("hidden")));
25316 extern __typeof (gtk_window_set_auto_startup_notification) IA__gtk_window_set_auto_startup_notification __attribute((visibility("hidden")));
25319 extern __typeof (gtk_window_set_decorated) IA__gtk_window_set_decorated __attribute((visibility("hidden")));
25322 extern __typeof (gtk_window_set_deletable) IA__gtk_window_set_deletable __attribute((visibility("hidden")));
25325 extern __typeof (gtk_window_set_default) IA__gtk_window_set_default __attribute((visibility("hidden")));
25328 extern __typeof (gtk_window_set_default_icon) IA__gtk_window_set_default_icon __attribute((visibility("hidden")));
25331 extern __typeof (gtk_window_set_default_icon_from_file) IA__gtk_window_set_default_icon_from_file __attribute((visibility("hidden")));
25339 extern __typeof (gtk_window_set_default_icon_list) IA__gtk_window_set_default_icon_list __attribute((visibility("hidden")));
25342 extern __typeof (gtk_window_set_default_icon_name) IA__gtk_window_set_default_icon_name __attribute((visibility("hidden")));
25345 extern __typeof (gtk_window_set_default_size) IA__gtk_window_set_default_size __attribute((visibility("hidden")));
25348 extern __typeof (gtk_window_set_destroy_with_parent) IA__gtk_window_set_destroy_with_parent __attribute((visibility("hidden")));
25351 extern __typeof (gtk_window_set_focus) IA__gtk_window_set_focus __attribute((visibility("hidden")));
25354 extern __typeof (gtk_window_set_focus_on_map) IA__gtk_window_set_focus_on_map __attribute((visibility("hidden")));
25357 extern __typeof (gtk_window_set_startup_id) IA__gtk_window_set_startup_id __attribute((visibility("hidden")));
25360 extern __typeof (gtk_window_set_frame_dimensions) IA__gtk_window_set_frame_dimensions __attribute((visibility("hidden")));
25363 extern __typeof (gtk_window_set_geometry_hints) IA__gtk_window_set_geometry_hints __attribute((visibility("hidden")));
25366 extern __typeof (gtk_window_set_gravity) IA__gtk_window_set_gravity __attribute((visibility("hidden")));
25369 extern __typeof (gtk_window_set_has_frame) IA__gtk_window_set_has_frame __attribute((visibility("hidden")));
25372 extern __typeof (gtk_window_set_icon) IA__gtk_window_set_icon __attribute((visibility("hidden")));
25375 extern __typeof (gtk_window_set_icon_from_file) IA__gtk_window_set_icon_from_file __attribute((visibility("hidden")));
25383 extern __typeof (gtk_window_set_icon_list) IA__gtk_window_set_icon_list __attribute((visibility("hidden")));
25386 extern __typeof (gtk_window_set_icon_name) IA__gtk_window_set_icon_name __attribute((visibility("hidden")));
25389 extern __typeof (gtk_window_set_keep_above) IA__gtk_window_set_keep_above __attribute((visibility("hidden")));
25392 extern __typeof (gtk_window_set_keep_below) IA__gtk_window_set_keep_below __attribute((visibility("hidden")));
25395 extern __typeof (gtk_window_set_mnemonic_modifier) IA__gtk_window_set_mnemonic_modifier __attribute((visibility("hidden")));
25398 extern __typeof (gtk_window_set_modal) IA__gtk_window_set_modal __attribute((visibility("hidden")));
25401 extern __typeof (gtk_window_set_opacity) IA__gtk_window_set_opacity __attribute((visibility("hidden")));
25404 extern __typeof (gtk_window_get_opacity) IA__gtk_window_get_opacity __attribute((visibility("hidden")));
25408 extern __typeof (gtk_window_set_policy) IA__gtk_window_set_policy __attribute((visibility("hidden")));
25412 extern __typeof (gtk_window_set_position) IA__gtk_window_set_position __attribute((visibility("hidden")));
25415 extern __typeof (gtk_window_set_resizable) IA__gtk_window_set_resizable __attribute((visibility("hidden")));
25418 extern __typeof (gtk_window_set_role) IA__gtk_window_set_role __attribute((visibility("hidden")));
25421 extern __typeof (gtk_window_set_screen) IA__gtk_window_set_screen __attribute((visibility("hidden")));
25424 extern __typeof (gtk_window_set_skip_pager_hint) IA__gtk_window_set_skip_pager_hint __attribute((visibility("hidden")));
25427 extern __typeof (gtk_window_set_skip_taskbar_hint) IA__gtk_window_set_skip_taskbar_hint __attribute((visibility("hidden")));
25430 extern __typeof (gtk_window_set_urgency_hint) IA__gtk_window_set_urgency_hint __attribute((visibility("hidden")));
25433 extern __typeof (gtk_window_set_title) IA__gtk_window_set_title __attribute((visibility("hidden")));
25436 extern __typeof (gtk_window_set_transient_for) IA__gtk_window_set_transient_for __attribute((visibility("hidden")));
25439 extern __typeof (gtk_window_set_type_hint) IA__gtk_window_set_type_hint __attribute((visibility("hidden")));
25442 extern __typeof (gtk_window_set_wmclass) IA__gtk_window_set_wmclass __attribute((visibility("hidden")));
25445 extern __typeof (gtk_window_stick) IA__gtk_window_stick __attribute((visibility("hidden")));
25448 extern __typeof (gtk_window_unfullscreen) IA__gtk_window_unfullscreen __attribute((visibility("hidden")));
25451 extern __typeof (gtk_window_unmaximize) IA__gtk_window_unmaximize __attribute((visibility("hidden")));
25454 extern __typeof (gtk_window_unstick) IA__gtk_window_unstick __attribute((visibility("hidden")));
25455 # 44 "gtknotebook.c" 2
25467 CHANGE_CURRENT_PAGE,
25486 ARROW_RIGHT_BEFORE,
25489 } GtkNotebookArrow;
25496 } GtkNotebookPointerPosition;
25500 DRAG_OPERATION_NONE,
25501 DRAG_OPERATION_REORDER,
25502 DRAG_OPERATION_DETACH
25503 } GtkNotebookDragOperation;
25526 CHILD_PROP_TAB_LABEL,
25527 CHILD_PROP_MENU_LABEL,
25528 CHILD_PROP_POSITION,
25529 CHILD_PROP_TAB_EXPAND,
25530 CHILD_PROP_TAB_FILL,
25531 CHILD_PROP_TAB_PACK,
25532 CHILD_PROP_REORDERABLE,
25533 CHILD_PROP_DETACHABLE
25535 # 135 "gtknotebook.c"
25536 struct _GtkNotebookPage
25539 GtkWidget *tab_label;
25540 GtkWidget *menu_label;
25541 GtkWidget *last_focus_child;
25543 guint default_menu : 1;
25544 guint default_tab : 1;
25548 guint reorderable : 1;
25549 guint detachable : 1;
25551 GtkRequisition requisition;
25552 GtkAllocation allocation;
25554 gulong mnemonic_activate_signal;
25555 gulong notify_visible_handler;
25560 typedef struct _GtkNotebookPrivate GtkNotebookPrivate;
25562 struct _GtkNotebookPrivate
25567 gint pressed_button;
25569 guint switch_tab_timer;
25574 gint drag_offset_x;
25575 gint drag_offset_y;
25577 GtkWidget *dnd_window;
25578 GtkTargetList *source_targets;
25579 GtkNotebookDragOperation operation;
25580 GdkWindow *drag_window;
25581 gint drag_window_x;
25582 gint drag_window_y;
25583 GtkNotebookPage *detached_tab;
25587 guint during_reorder : 1;
25588 guint during_detach : 1;
25589 guint has_scrolled : 1;
25592 static const GtkTargetEntry notebook_targets [] = {
25593 { "GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, 0 },
25595 # 204 "gtknotebook.c"
25596 static gboolean gtk_notebook_select_page (GtkNotebook *notebook,
25597 gboolean move_focus);
25598 static gboolean gtk_notebook_focus_tab (GtkNotebook *notebook,
25599 GtkNotebookTab type);
25600 static gboolean gtk_notebook_change_current_page (GtkNotebook *notebook,
25602 static void gtk_notebook_move_focus_out (GtkNotebook *notebook,
25603 GtkDirectionType direction_type);
25604 static gboolean gtk_notebook_reorder_tab (GtkNotebook *notebook,
25605 GtkDirectionType direction_type,
25606 gboolean move_to_last);
25607 static void gtk_notebook_remove_tab_label (GtkNotebook *notebook,
25608 GtkNotebookPage *page);
25611 static void gtk_notebook_destroy (GtkObject *object);
25612 static void gtk_notebook_set_property (GObject *object,
25614 const GValue *value,
25615 GParamSpec *pspec);
25616 static void gtk_notebook_get_property (GObject *object,
25619 GParamSpec *pspec);
25622 static void gtk_notebook_map (GtkWidget *widget);
25623 static void gtk_notebook_unmap (GtkWidget *widget);
25624 static void gtk_notebook_realize (GtkWidget *widget);
25625 static void gtk_notebook_unrealize (GtkWidget *widget);
25626 static void gtk_notebook_size_request (GtkWidget *widget,
25627 GtkRequisition *requisition);
25628 static void gtk_notebook_size_allocate (GtkWidget *widget,
25629 GtkAllocation *allocation);
25630 static gint gtk_notebook_expose (GtkWidget *widget,
25631 GdkEventExpose *event);
25632 static gboolean gtk_notebook_scroll (GtkWidget *widget,
25633 GdkEventScroll *event);
25634 static gint gtk_notebook_button_press (GtkWidget *widget,
25635 GdkEventButton *event);
25636 static gint gtk_notebook_button_release (GtkWidget *widget,
25637 GdkEventButton *event);
25638 static gboolean gtk_notebook_popup_menu (GtkWidget *widget);
25639 static gint gtk_notebook_leave_notify (GtkWidget *widget,
25640 GdkEventCrossing *event);
25641 static gint gtk_notebook_motion_notify (GtkWidget *widget,
25642 GdkEventMotion *event);
25643 static gint gtk_notebook_focus_in (GtkWidget *widget,
25644 GdkEventFocus *event);
25645 static gint gtk_notebook_focus_out (GtkWidget *widget,
25646 GdkEventFocus *event);
25647 static void gtk_notebook_grab_notify (GtkWidget *widget,
25648 gboolean was_grabbed);
25649 static void gtk_notebook_state_changed (GtkWidget *widget,
25650 GtkStateType previous_state);
25651 static void gtk_notebook_draw_focus (GtkWidget *widget,
25652 GdkEventExpose *event);
25653 static gint gtk_notebook_focus (GtkWidget *widget,
25654 GtkDirectionType direction);
25655 static void gtk_notebook_style_set (GtkWidget *widget,
25656 GtkStyle *previous);
25659 static void gtk_notebook_drag_begin (GtkWidget *widget,
25660 GdkDragContext *context);
25661 static void gtk_notebook_drag_end (GtkWidget *widget,
25662 GdkDragContext *context);
25663 static gboolean gtk_notebook_drag_failed (GtkWidget *widget,
25664 GdkDragContext *context,
25665 GtkDragResult result,
25667 static gboolean gtk_notebook_drag_motion (GtkWidget *widget,
25668 GdkDragContext *context,
25672 static void gtk_notebook_drag_leave (GtkWidget *widget,
25673 GdkDragContext *context,
25675 static gboolean gtk_notebook_drag_drop (GtkWidget *widget,
25676 GdkDragContext *context,
25680 static void gtk_notebook_drag_data_get (GtkWidget *widget,
25681 GdkDragContext *context,
25682 GtkSelectionData *data,
25685 static void gtk_notebook_drag_data_received (GtkWidget *widget,
25686 GdkDragContext *context,
25689 GtkSelectionData *data,
25694 static void gtk_notebook_set_child_property (GtkContainer *container,
25697 const GValue *value,
25698 GParamSpec *pspec);
25699 static void gtk_notebook_get_child_property (GtkContainer *container,
25703 GParamSpec *pspec);
25704 static void gtk_notebook_add (GtkContainer *container,
25705 GtkWidget *widget);
25706 static void gtk_notebook_remove (GtkContainer *container,
25707 GtkWidget *widget);
25708 static void gtk_notebook_set_focus_child (GtkContainer *container,
25710 static GType gtk_notebook_child_type (GtkContainer *container);
25711 static void gtk_notebook_forall (GtkContainer *container,
25712 gboolean include_internals,
25713 GtkCallback callback,
25714 gpointer callback_data);
25717 static gint gtk_notebook_real_insert_page (GtkNotebook *notebook,
25719 GtkWidget *tab_label,
25720 GtkWidget *menu_label,
25723 static GtkNotebook *gtk_notebook_create_window (GtkNotebook *notebook,
25729 static void gtk_notebook_redraw_tabs (GtkNotebook *notebook);
25730 static void gtk_notebook_redraw_arrows (GtkNotebook *notebook);
25731 static void gtk_notebook_real_remove (GtkNotebook *notebook,
25733 static void gtk_notebook_update_labels (GtkNotebook *notebook);
25734 static gint gtk_notebook_timer (GtkNotebook *notebook);
25735 static void gtk_notebook_set_scroll_timer (GtkNotebook *notebook);
25736 static gint gtk_notebook_page_compare (gconstpointer a,
25738 static GList* gtk_notebook_find_child (GtkNotebook *notebook,
25740 const gchar *function);
25741 static gint gtk_notebook_real_page_position (GtkNotebook *notebook,
25743 static GList * gtk_notebook_search_page (GtkNotebook *notebook,
25746 gboolean find_visible);
25747 static void gtk_notebook_child_reordered (GtkNotebook *notebook,
25748 GtkNotebookPage *page);
25751 static void gtk_notebook_paint (GtkWidget *widget,
25752 GdkRectangle *area);
25753 static void gtk_notebook_draw_tab (GtkNotebook *notebook,
25754 GtkNotebookPage *page,
25755 GdkRectangle *area);
25756 static void gtk_notebook_draw_arrow (GtkNotebook *notebook,
25757 GtkNotebookArrow arrow);
25760 static void gtk_notebook_pages_allocate (GtkNotebook *notebook);
25761 static void gtk_notebook_page_allocate (GtkNotebook *notebook,
25762 GtkNotebookPage *page);
25763 static void gtk_notebook_calc_tabs (GtkNotebook *notebook,
25770 static void gtk_notebook_real_switch_page (GtkNotebook *notebook,
25771 GtkNotebookPage *page,
25775 static void gtk_notebook_switch_page (GtkNotebook *notebook,
25776 GtkNotebookPage *page);
25777 static gint gtk_notebook_page_select (GtkNotebook *notebook,
25778 gboolean move_focus);
25779 static void gtk_notebook_switch_focus_tab (GtkNotebook *notebook,
25781 static void gtk_notebook_menu_switch_page (GtkWidget *widget,
25782 GtkNotebookPage *page);
25785 static void gtk_notebook_menu_item_create (GtkNotebook *notebook,
25787 static void gtk_notebook_menu_label_unparent (GtkWidget *widget,
25789 static void gtk_notebook_menu_detacher (GtkWidget *widget,
25793 static void gtk_notebook_set_homogeneous_tabs_internal (GtkNotebook *notebook,
25794 gboolean homogeneous);
25795 static void gtk_notebook_set_tab_border_internal (GtkNotebook *notebook,
25796 guint border_width);
25797 static void gtk_notebook_set_tab_hborder_internal (GtkNotebook *notebook,
25798 guint tab_hborder);
25799 static void gtk_notebook_set_tab_vborder_internal (GtkNotebook *notebook,
25800 guint tab_vborder);
25802 static void gtk_notebook_update_tab_states (GtkNotebook *notebook);
25803 static gboolean gtk_notebook_mnemonic_activate_switch_page (GtkWidget *child,
25807 static gboolean focus_tabs_in (GtkNotebook *notebook);
25808 static gboolean focus_child_in (GtkNotebook *notebook,
25809 GtkDirectionType direction);
25811 static void stop_scrolling (GtkNotebook *notebook);
25812 static void do_detach_tab (GtkNotebook *from,
25819 static void gtk_notebook_buildable_init (GtkBuildableIface *iface);
25820 static void gtk_notebook_buildable_add_child (GtkBuildable *buildable,
25821 GtkBuilder *builder,
25823 const gchar *type);
25825 static GtkNotebookWindowCreationFunc window_creation_hook = ((void *)0);
25826 static gpointer window_creation_hook_data;
25827 static GDestroyNotify window_creation_hook_destroy = ((void *)0);
25829 static guint notebook_signals[LAST_SIGNAL] = { 0 };
25831 static void gtk_notebook_init (GtkNotebook *self); static void gtk_notebook_class_init (GtkNotebookClass *klass); static gpointer gtk_notebook_parent_class = ((void *)0); static void gtk_notebook_class_intern_init (gpointer klass) { gtk_notebook_parent_class = g_type_class_peek_parent (klass); gtk_notebook_class_init ((GtkNotebookClass*) klass); } GType IA__gtk_notebook_get_type (void) { static volatile gsize g_define_type_id__volatile = 0; if (g_once_init_enter (&g_define_type_id__volatile)) { GType g_define_type_id = g_type_register_static_simple ((IA__gtk_container_get_type ()), g_intern_static_string ("GtkNotebook"), sizeof (GtkNotebookClass), (GClassInitFunc) gtk_notebook_class_intern_init, sizeof (GtkNotebook), (GInstanceInitFunc) gtk_notebook_init, (GTypeFlags) 0); { {{ const GInterfaceInfo g_implement_interface_info = { (GInterfaceInitFunc) gtk_notebook_buildable_init, ((void *)0), ((void *)0) }; g_type_add_interface_static (g_define_type_id, (IA__gtk_buildable_get_type ()), &g_implement_interface_info); };} } g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); } return g_define_type_id__volatile; }
25836 add_tab_bindings (GtkBindingSet *binding_set,
25837 GdkModifierType modifiers,
25838 GtkDirectionType direction)
25840 IA__gtk_binding_entry_add_signal (binding_set, 0xff09, modifiers,
25841 "move_focus_out", 1,
25842 (IA__gtk_direction_type_get_type()), direction);
25843 IA__gtk_binding_entry_add_signal (binding_set, 0xff89, modifiers,
25844 "move_focus_out", 1,
25845 (IA__gtk_direction_type_get_type()), direction);
25849 add_arrow_bindings (GtkBindingSet *binding_set,
25851 GtkDirectionType direction)
25853 guint keypad_keysym = keysym - 0xff51 + 0xff96;
25855 IA__gtk_binding_entry_add_signal (binding_set, keysym, GDK_CONTROL_MASK,
25856 "move_focus_out", 1,
25857 (IA__gtk_direction_type_get_type()), direction);
25858 IA__gtk_binding_entry_add_signal (binding_set, keypad_keysym, GDK_CONTROL_MASK,
25859 "move_focus_out", 1,
25860 (IA__gtk_direction_type_get_type()), direction);
25864 add_reorder_bindings (GtkBindingSet *binding_set,
25866 GtkDirectionType direction,
25867 gboolean move_to_last)
25869 guint keypad_keysym = keysym - 0xff51 + 0xff96;
25871 IA__gtk_binding_entry_add_signal (binding_set, keysym, GDK_MOD1_MASK,
25873 (IA__gtk_direction_type_get_type()), direction,
25874 ((GType) ((5) << (2))), move_to_last);
25875 IA__gtk_binding_entry_add_signal (binding_set, keypad_keysym, GDK_MOD1_MASK,
25877 (IA__gtk_direction_type_get_type()), direction,
25878 ((GType) ((5) << (2))), move_to_last);
25882 gtk_object_handled_accumulator (GSignalInvocationHint *ihint,
25883 GValue *return_accu,
25884 const GValue *handler_return,
25887 gboolean continue_emission;
25890 object = g_value_get_object (handler_return);
25891 g_value_set_object (return_accu, object);
25892 continue_emission = !object;
25894 return continue_emission;
25898 gtk_notebook_class_init (GtkNotebookClass *class)
25900 GObjectClass *gobject_class = ((((GObjectClass*) ((class)))));
25901 GtkObjectClass *object_class = ((((GtkObjectClass*) ((class)))));
25902 GtkWidgetClass *widget_class = ((((GtkWidgetClass*) ((class)))));
25903 GtkContainerClass *container_class = ((((GtkContainerClass*) ((class)))));
25904 GtkBindingSet *binding_set;
25906 gobject_class->set_property = gtk_notebook_set_property;
25907 gobject_class->get_property = gtk_notebook_get_property;
25908 object_class->destroy = gtk_notebook_destroy;
25910 widget_class->map = gtk_notebook_map;
25911 widget_class->unmap = gtk_notebook_unmap;
25912 widget_class->realize = gtk_notebook_realize;
25913 widget_class->unrealize = gtk_notebook_unrealize;
25914 widget_class->size_request = gtk_notebook_size_request;
25915 widget_class->size_allocate = gtk_notebook_size_allocate;
25916 widget_class->expose_event = gtk_notebook_expose;
25917 widget_class->scroll_event = gtk_notebook_scroll;
25918 widget_class->button_press_event = gtk_notebook_button_press;
25919 widget_class->button_release_event = gtk_notebook_button_release;
25920 widget_class->popup_menu = gtk_notebook_popup_menu;
25921 widget_class->leave_notify_event = gtk_notebook_leave_notify;
25922 widget_class->motion_notify_event = gtk_notebook_motion_notify;
25923 widget_class->grab_notify = gtk_notebook_grab_notify;
25924 widget_class->state_changed = gtk_notebook_state_changed;
25925 widget_class->focus_in_event = gtk_notebook_focus_in;
25926 widget_class->focus_out_event = gtk_notebook_focus_out;
25927 widget_class->focus = gtk_notebook_focus;
25928 widget_class->style_set = gtk_notebook_style_set;
25929 widget_class->drag_begin = gtk_notebook_drag_begin;
25930 widget_class->drag_end = gtk_notebook_drag_end;
25931 widget_class->drag_motion = gtk_notebook_drag_motion;
25932 widget_class->drag_leave = gtk_notebook_drag_leave;
25933 widget_class->drag_drop = gtk_notebook_drag_drop;
25934 widget_class->drag_data_get = gtk_notebook_drag_data_get;
25935 widget_class->drag_data_received = gtk_notebook_drag_data_received;
25937 container_class->add = gtk_notebook_add;
25938 container_class->remove = gtk_notebook_remove;
25939 container_class->forall = gtk_notebook_forall;
25940 container_class->set_focus_child = gtk_notebook_set_focus_child;
25941 container_class->get_child_property = gtk_notebook_get_child_property;
25942 container_class->set_child_property = gtk_notebook_set_child_property;
25943 container_class->child_type = gtk_notebook_child_type;
25945 class->switch_page = gtk_notebook_real_switch_page;
25946 class->insert_page = gtk_notebook_real_insert_page;
25948 class->focus_tab = gtk_notebook_focus_tab;
25949 class->select_page = gtk_notebook_select_page;
25950 class->change_current_page = gtk_notebook_change_current_page;
25951 class->move_focus_out = gtk_notebook_move_focus_out;
25952 class->reorder_tab = gtk_notebook_reorder_tab;
25953 class->create_window = gtk_notebook_create_window;
25955 g_object_class_install_property (gobject_class,
25957 g_param_spec_int ("page",
25958 dcgettext ("gtk20" "-properties", "Page", __LC_MESSAGES),
25959 dcgettext ("gtk20" "-properties", "The index of the current page", __LC_MESSAGES),
25963 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
25964 g_object_class_install_property (gobject_class,
25966 g_param_spec_enum ("tab-pos",
25967 dcgettext ("gtk20" "-properties", "Tab Position", __LC_MESSAGES),
25968 dcgettext ("gtk20" "-properties", "Which side of the notebook holds the tabs", __LC_MESSAGES),
25969 (IA__gtk_position_type_get_type()),
25971 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
25972 g_object_class_install_property (gobject_class,
25974 g_param_spec_uint ("tab-border",
25975 dcgettext ("gtk20" "-properties", "Tab Border", __LC_MESSAGES),
25976 dcgettext ("gtk20" "-properties", "Width of the border around the tab labels", __LC_MESSAGES),
25978 (2147483647 * 2U + 1U),
25980 G_PARAM_WRITABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
25981 g_object_class_install_property (gobject_class,
25983 g_param_spec_uint ("tab-hborder",
25984 dcgettext ("gtk20" "-properties", "Horizontal Tab Border", __LC_MESSAGES),
25985 dcgettext ("gtk20" "-properties", "Width of the horizontal border of tab labels", __LC_MESSAGES),
25987 (2147483647 * 2U + 1U),
25989 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
25990 g_object_class_install_property (gobject_class,
25992 g_param_spec_uint ("tab-vborder",
25993 dcgettext ("gtk20" "-properties", "Vertical Tab Border", __LC_MESSAGES),
25994 dcgettext ("gtk20" "-properties", "Width of the vertical border of tab labels", __LC_MESSAGES),
25996 (2147483647 * 2U + 1U),
25998 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
25999 g_object_class_install_property (gobject_class,
26001 g_param_spec_boolean ("show-tabs",
26002 dcgettext ("gtk20" "-properties", "Show Tabs", __LC_MESSAGES),
26003 dcgettext ("gtk20" "-properties", "Whether tabs should be shown or not", __LC_MESSAGES),
26005 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26006 g_object_class_install_property (gobject_class,
26008 g_param_spec_boolean ("show-border",
26009 dcgettext ("gtk20" "-properties", "Show Border", __LC_MESSAGES),
26010 dcgettext ("gtk20" "-properties", "Whether the border should be shown or not", __LC_MESSAGES),
26012 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26013 g_object_class_install_property (gobject_class,
26015 g_param_spec_boolean ("scrollable",
26016 dcgettext ("gtk20" "-properties", "Scrollable", __LC_MESSAGES),
26017 dcgettext ("gtk20" "-properties", "If TRUE, scroll arrows are added if there are too many tabs to fit", __LC_MESSAGES),
26019 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26020 g_object_class_install_property (gobject_class,
26022 g_param_spec_boolean ("enable-popup",
26023 dcgettext ("gtk20" "-properties", "Enable Popup", __LC_MESSAGES),
26024 dcgettext ("gtk20" "-properties", "If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page", __LC_MESSAGES),
26026 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26027 g_object_class_install_property (gobject_class,
26029 g_param_spec_boolean ("homogeneous",
26030 dcgettext ("gtk20" "-properties", "Homogeneous", __LC_MESSAGES),
26031 dcgettext ("gtk20" "-properties", "Whether tabs should have homogeneous sizes", __LC_MESSAGES),
26033 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26034 g_object_class_install_property (gobject_class,
26036 g_param_spec_int ("group-id",
26037 dcgettext ("gtk20" "-properties", "Group ID", __LC_MESSAGES),
26038 dcgettext ("gtk20" "-properties", "Group ID for tabs drag and drop", __LC_MESSAGES),
26042 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26043 # 659 "gtknotebook.c"
26044 g_object_class_install_property (gobject_class,
26046 g_param_spec_pointer ("group",
26047 dcgettext ("gtk20" "-properties", "Group", __LC_MESSAGES),
26048 dcgettext ("gtk20" "-properties", "Group for tabs drag and drop", __LC_MESSAGES),
26049 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26051 IA__gtk_container_class_install_child_property (container_class,
26052 CHILD_PROP_TAB_LABEL,
26053 g_param_spec_string ("tab-label",
26054 dcgettext ("gtk20" "-properties", "Tab label", __LC_MESSAGES),
26055 dcgettext ("gtk20" "-properties", "The string displayed on the child's tab label", __LC_MESSAGES),
26057 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26058 IA__gtk_container_class_install_child_property (container_class,
26059 CHILD_PROP_MENU_LABEL,
26060 g_param_spec_string ("menu-label",
26061 dcgettext ("gtk20" "-properties", "Menu label", __LC_MESSAGES),
26062 dcgettext ("gtk20" "-properties", "The string displayed in the child's menu entry", __LC_MESSAGES),
26064 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26065 IA__gtk_container_class_install_child_property (container_class,
26066 CHILD_PROP_POSITION,
26067 g_param_spec_int ("position",
26068 dcgettext ("gtk20" "-properties", "Position", __LC_MESSAGES),
26069 dcgettext ("gtk20" "-properties", "The index of the child in the parent", __LC_MESSAGES),
26071 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26072 IA__gtk_container_class_install_child_property (container_class,
26073 CHILD_PROP_TAB_EXPAND,
26074 g_param_spec_boolean ("tab-expand",
26075 dcgettext ("gtk20" "-properties", "Tab expand", __LC_MESSAGES),
26076 dcgettext ("gtk20" "-properties", "Whether to expand the child's tab or not", __LC_MESSAGES),
26078 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26079 IA__gtk_container_class_install_child_property (container_class,
26080 CHILD_PROP_TAB_FILL,
26081 g_param_spec_boolean ("tab-fill",
26082 dcgettext ("gtk20" "-properties", "Tab fill", __LC_MESSAGES),
26083 dcgettext ("gtk20" "-properties", "Whether the child's tab should fill the allocated area or not", __LC_MESSAGES),
26085 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26086 IA__gtk_container_class_install_child_property (container_class,
26087 CHILD_PROP_TAB_PACK,
26088 g_param_spec_enum ("tab-pack",
26089 dcgettext ("gtk20" "-properties", "Tab pack type", __LC_MESSAGES),
26090 dcgettext ("gtk20" "-properties", "A GtkPackType indicating whether the child is packed with reference to the start or end of the parent", __LC_MESSAGES),
26091 (IA__gtk_pack_type_get_type()), GTK_PACK_START,
26092 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26093 IA__gtk_container_class_install_child_property (container_class,
26094 CHILD_PROP_REORDERABLE,
26095 g_param_spec_boolean ("reorderable",
26096 dcgettext ("gtk20" "-properties", "Tab reorderable", __LC_MESSAGES),
26097 dcgettext ("gtk20" "-properties", "Whether the tab is reorderable by user action or not", __LC_MESSAGES),
26099 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26100 IA__gtk_container_class_install_child_property (container_class,
26101 CHILD_PROP_DETACHABLE,
26102 g_param_spec_boolean ("detachable",
26103 dcgettext ("gtk20" "-properties", "Tab detachable", __LC_MESSAGES),
26104 dcgettext ("gtk20" "-properties", "Whether the tab is detachable", __LC_MESSAGES),
26106 (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26107 # 732 "gtknotebook.c"
26108 IA__gtk_widget_class_install_style_property (widget_class,
26109 g_param_spec_boolean ("has-secondary-backward-stepper",
26110 dcgettext ("gtk20" "-properties", "Secondary backward stepper", __LC_MESSAGES),
26111 dcgettext ("gtk20" "-properties", "Display a second backward arrow button on the opposite end of the tab area", __LC_MESSAGES),
26113 G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26114 # 748 "gtknotebook.c"
26115 IA__gtk_widget_class_install_style_property (widget_class,
26116 g_param_spec_boolean ("has-secondary-forward-stepper",
26117 dcgettext ("gtk20" "-properties", "Secondary forward stepper", __LC_MESSAGES),
26118 dcgettext ("gtk20" "-properties", "Display a second forward arrow button on the opposite end of the tab area", __LC_MESSAGES),
26120 G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26121 # 763 "gtknotebook.c"
26122 IA__gtk_widget_class_install_style_property (widget_class,
26123 g_param_spec_boolean ("has-backward-stepper",
26124 dcgettext ("gtk20" "-properties", "Backward stepper", __LC_MESSAGES),
26125 dcgettext ("gtk20" "-properties", "Display the standard backward arrow button", __LC_MESSAGES),
26127 G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26128 # 778 "gtknotebook.c"
26129 IA__gtk_widget_class_install_style_property (widget_class,
26130 g_param_spec_boolean ("has-forward-stepper",
26131 dcgettext ("gtk20" "-properties", "Forward stepper", __LC_MESSAGES),
26132 dcgettext ("gtk20" "-properties", "Display the standard forward arrow button", __LC_MESSAGES),
26134 G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26135 # 793 "gtknotebook.c"
26136 IA__gtk_widget_class_install_style_property (widget_class,
26137 g_param_spec_int ("tab-overlap",
26138 dcgettext ("gtk20" "-properties", "Tab overlap", __LC_MESSAGES),
26139 dcgettext ("gtk20" "-properties", "Size of tab overlap area", __LC_MESSAGES),
26143 G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26144 # 809 "gtknotebook.c"
26145 IA__gtk_widget_class_install_style_property (widget_class,
26146 g_param_spec_int ("tab-curvature",
26147 dcgettext ("gtk20" "-properties", "Tab curvature", __LC_MESSAGES),
26148 dcgettext ("gtk20" "-properties", "Size of tab curvature", __LC_MESSAGES),
26152 G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26153 # 826 "gtknotebook.c"
26154 IA__gtk_widget_class_install_style_property (widget_class,
26155 g_param_spec_int ("arrow-spacing",
26156 dcgettext ("gtk20", "Arrow spacing", __LC_MESSAGES),
26157 dcgettext ("gtk20", "Scroll arrow spacing", __LC_MESSAGES),
26161 G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
26163 notebook_signals[SWITCH_PAGE] =
26164 g_signal_new (g_intern_static_string ("switch_page"),
26165 (((GTypeClass*) (gobject_class))->g_type),
26167 ((glong) ((guint8*) &((GtkNotebookClass*) 0)->switch_page)),
26168 ((void *)0), ((void *)0),
26169 _gtk_marshal_VOID__POINTER_UINT,
26170 ((GType) ((1) << (2))), 2,
26171 ((GType) ((17) << (2))),
26172 ((GType) ((7) << (2))));
26173 notebook_signals[FOCUS_TAB] =
26174 g_signal_new (g_intern_static_string ("focus_tab"),
26175 (((GTypeClass*) (gobject_class))->g_type),
26176 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
26177 ((glong) ((guint8*) &((GtkNotebookClass*) 0)->focus_tab)),
26178 ((void *)0), ((void *)0),
26179 _gtk_marshal_BOOLEAN__ENUM,
26180 ((GType) ((5) << (2))), 1,
26181 (IA__gtk_notebook_tab_get_type()));
26182 notebook_signals[SELECT_PAGE] =
26183 g_signal_new (g_intern_static_string ("select_page"),
26184 (((GTypeClass*) (gobject_class))->g_type),
26185 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
26186 ((glong) ((guint8*) &((GtkNotebookClass*) 0)->select_page)),
26187 ((void *)0), ((void *)0),
26188 _gtk_marshal_BOOLEAN__BOOLEAN,
26189 ((GType) ((5) << (2))), 1,
26190 ((GType) ((5) << (2))));
26191 notebook_signals[CHANGE_CURRENT_PAGE] =
26192 g_signal_new (g_intern_static_string ("change_current_page"),
26193 (((GTypeClass*) (gobject_class))->g_type),
26194 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
26195 ((glong) ((guint8*) &((GtkNotebookClass*) 0)->change_current_page)),
26196 ((void *)0), ((void *)0),
26197 _gtk_marshal_BOOLEAN__INT,
26198 ((GType) ((5) << (2))), 1,
26199 ((GType) ((6) << (2))));
26200 notebook_signals[MOVE_FOCUS_OUT] =
26201 g_signal_new (g_intern_static_string ("move_focus_out"),
26202 (((GTypeClass*) (gobject_class))->g_type),
26203 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
26204 ((glong) ((guint8*) &((GtkNotebookClass*) 0)->move_focus_out)),
26205 ((void *)0), ((void *)0),
26206 g_cclosure_marshal_VOID__ENUM,
26207 ((GType) ((1) << (2))), 1,
26208 (IA__gtk_direction_type_get_type()));
26209 notebook_signals[REORDER_TAB] =
26210 g_signal_new (g_intern_static_string ("reorder_tab"),
26211 (((GTypeClass*) (gobject_class))->g_type),
26212 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
26213 ((glong) ((guint8*) &((GtkNotebookClass*) 0)->reorder_tab)),
26214 ((void *)0), ((void *)0),
26215 _gtk_marshal_BOOLEAN__ENUM_BOOLEAN,
26216 ((GType) ((5) << (2))), 2,
26217 (IA__gtk_direction_type_get_type()),
26218 ((GType) ((5) << (2))));
26219 # 902 "gtknotebook.c"
26220 notebook_signals[PAGE_REORDERED] =
26221 g_signal_new (g_intern_static_string ("page_reordered"),
26222 (((GTypeClass*) (gobject_class))->g_type),
26224 0, ((void *)0), ((void *)0),
26225 _gtk_marshal_VOID__OBJECT_UINT,
26226 ((GType) ((1) << (2))), 2,
26227 (IA__gtk_widget_get_type ()),
26228 ((GType) ((7) << (2))));
26229 # 922 "gtknotebook.c"
26230 notebook_signals[PAGE_REMOVED] =
26231 g_signal_new (g_intern_static_string ("page_removed"),
26232 (((GTypeClass*) (gobject_class))->g_type),
26234 0, ((void *)0), ((void *)0),
26235 _gtk_marshal_VOID__OBJECT_UINT,
26236 ((GType) ((1) << (2))), 2,
26237 (IA__gtk_widget_get_type ()),
26238 ((GType) ((7) << (2))));
26239 # 942 "gtknotebook.c"
26240 notebook_signals[PAGE_ADDED] =
26241 g_signal_new (g_intern_static_string ("page_added"),
26242 (((GTypeClass*) (gobject_class))->g_type),
26244 0, ((void *)0), ((void *)0),
26245 _gtk_marshal_VOID__OBJECT_UINT,
26246 ((GType) ((1) << (2))), 2,
26247 (IA__gtk_widget_get_type ()),
26248 ((GType) ((7) << (2))));
26249 # 975 "gtknotebook.c"
26250 notebook_signals[CREATE_WINDOW] =
26251 g_signal_new (g_intern_static_string ("create_window"),
26252 (((GTypeClass*) (gobject_class))->g_type),
26254 ((glong) ((guint8*) &((GtkNotebookClass*) 0)->create_window)),
26255 gtk_object_handled_accumulator, ((void *)0),
26256 _gtk_marshal_OBJECT__OBJECT_INT_INT,
26257 (IA__gtk_notebook_get_type ()), 3,
26258 (IA__gtk_widget_get_type ()), ((GType) ((6) << (2))), ((GType) ((6) << (2))));
26260 binding_set = IA__gtk_binding_set_by_class (class);
26261 IA__gtk_binding_entry_add_signal (binding_set,
26264 ((GType) ((5) << (2))), (0));
26265 IA__gtk_binding_entry_add_signal (binding_set,
26268 ((GType) ((5) << (2))), (0));
26270 IA__gtk_binding_entry_add_signal (binding_set,
26273 (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_FIRST);
26274 IA__gtk_binding_entry_add_signal (binding_set,
26277 (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_FIRST);
26278 IA__gtk_binding_entry_add_signal (binding_set,
26281 (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_LAST);
26282 IA__gtk_binding_entry_add_signal (binding_set,
26285 (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_LAST);
26287 IA__gtk_binding_entry_add_signal (binding_set,
26288 0xff55, GDK_CONTROL_MASK,
26289 "change_current_page", 1,
26290 ((GType) ((6) << (2))), -1);
26291 IA__gtk_binding_entry_add_signal (binding_set,
26292 0xff56, GDK_CONTROL_MASK,
26293 "change_current_page", 1,
26294 ((GType) ((6) << (2))), 1);
26296 IA__gtk_binding_entry_add_signal (binding_set,
26297 0xff55, GDK_CONTROL_MASK | GDK_MOD1_MASK,
26298 "change_current_page", 1,
26299 ((GType) ((6) << (2))), -1);
26300 IA__gtk_binding_entry_add_signal (binding_set,
26301 0xff56, GDK_CONTROL_MASK | GDK_MOD1_MASK,
26302 "change_current_page", 1,
26303 ((GType) ((6) << (2))), 1);
26305 add_arrow_bindings (binding_set, 0xff52, GTK_DIR_UP);
26306 add_arrow_bindings (binding_set, 0xff54, GTK_DIR_DOWN);
26307 add_arrow_bindings (binding_set, 0xff51, GTK_DIR_LEFT);
26308 add_arrow_bindings (binding_set, 0xff53, GTK_DIR_RIGHT);
26310 add_reorder_bindings (binding_set, 0xff52, GTK_DIR_UP, (0));
26311 add_reorder_bindings (binding_set, 0xff54, GTK_DIR_DOWN, (0));
26312 add_reorder_bindings (binding_set, 0xff51, GTK_DIR_LEFT, (0));
26313 add_reorder_bindings (binding_set, 0xff53, GTK_DIR_RIGHT, (0));
26314 add_reorder_bindings (binding_set, 0xff50, GTK_DIR_LEFT, (!(0)));
26315 add_reorder_bindings (binding_set, 0xff50, GTK_DIR_UP, (!(0)));
26316 add_reorder_bindings (binding_set, 0xff57, GTK_DIR_RIGHT, (!(0)));
26317 add_reorder_bindings (binding_set, 0xff57, GTK_DIR_DOWN, (!(0)));
26319 add_tab_bindings (binding_set, GDK_CONTROL_MASK, GTK_DIR_TAB_FORWARD);
26320 add_tab_bindings (binding_set, GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_DIR_TAB_BACKWARD);
26322 g_type_class_add_private (class, sizeof (GtkNotebookPrivate));
26326 gtk_notebook_init (GtkNotebook *notebook)
26328 GtkNotebookPrivate *priv;
26330 (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_CAN_FOCUS)); });
26331 (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_NO_WINDOW)); });
26333 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
26335 notebook->cur_page = ((void *)0);
26336 notebook->children = ((void *)0);
26337 notebook->first_tab = ((void *)0);
26338 notebook->focus_tab = ((void *)0);
26339 notebook->event_window = ((void *)0);
26340 notebook->menu = ((void *)0);
26342 notebook->tab_hborder = 2;
26343 notebook->tab_vborder = 2;
26345 notebook->show_tabs = (!(0));
26346 notebook->show_border = (!(0));
26347 notebook->tab_pos = GTK_POS_TOP;
26348 notebook->scrollable = (0);
26349 notebook->in_child = 0;
26350 notebook->click_child = 0;
26351 notebook->button = 0;
26352 notebook->need_timer = 0;
26353 notebook->child_has_focus = (0);
26354 notebook->have_visible_child = (0);
26355 notebook->focus_out = (0);
26357 notebook->has_before_previous = 1;
26358 notebook->has_before_next = 0;
26359 notebook->has_after_previous = 0;
26360 notebook->has_after_next = 1;
26362 priv->group = ((void *)0);
26363 priv->pressed_button = -1;
26364 priv->dnd_timer = 0;
26365 priv->switch_tab_timer = 0;
26366 priv->source_targets = IA__gtk_target_list_new (notebook_targets,
26367 (sizeof (notebook_targets) / sizeof ((notebook_targets)[0])));
26368 priv->operation = DRAG_OPERATION_NONE;
26369 priv->detached_tab = ((void *)0);
26370 priv->during_detach = (0);
26371 priv->has_scrolled = (0);
26373 IA__gtk_drag_dest_set (((((GtkWidget*) ((notebook))))), 0,
26374 notebook_targets, (sizeof (notebook_targets) / sizeof ((notebook_targets)[0])),
26377 g_signal_connect_data ((((((GObject*) ((notebook)))))), ("drag-failed"), (((GCallback) (gtk_notebook_drag_failed))), (((void *)0)), ((void *)0), (GConnectFlags) 0);
26380 IA__gtk_drag_dest_set_track_motion (((((GtkWidget*) ((notebook))))), (!(0)));
26384 gtk_notebook_buildable_init (GtkBuildableIface *iface)
26386 iface->add_child = gtk_notebook_buildable_add_child;
26390 gtk_notebook_buildable_add_child (GtkBuildable *buildable,
26391 GtkBuilder *builder,
26395 GtkNotebook *notebook = ((((GtkNotebook*) ((buildable)))));
26397 if (type && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (type) && __builtin_constant_p ("tab") && (__s1_len = strlen (type), __s2_len = strlen ("tab"), (!((size_t)(const void *)((type) + 1) - (size_t)(const void *)(type) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("tab") + 1) - (size_t)(const void *)("tab") == 1) || __s2_len >= 4)) ? __builtin_strcmp (type, "tab") : (__builtin_constant_p (type) && ((size_t)(const void *)((type) + 1) - (size_t)(const void *)(type) == 1) && (__s1_len = strlen (type), __s1_len < 4) ? (__builtin_constant_p ("tab") && ((size_t)(const void *)(("tab") + 1) - (size_t)(const void *)("tab") == 1) ? __builtin_strcmp (type, "tab") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("tab"); register int __result = (((__const unsigned char *) (__const char *) (type))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (type))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (type))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (type))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("tab") && ((size_t)(const void *)(("tab") + 1) - (size_t)(const void *)("tab") == 1) && (__s2_len = strlen ("tab"), __s2_len < 4) ? (__builtin_constant_p (type) && ((size_t)(const void *)((type) + 1) - (size_t)(const void *)(type) == 1) ? __builtin_strcmp (type, "tab") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (type); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("tab"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("tab"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("tab"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("tab"))[3]); } } __result; }))) : __builtin_strcmp (type, "tab")))); }) == 0)
26401 page = IA__gtk_notebook_get_nth_page (notebook, -1);
26404 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (page != ((void *)0)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else g_assert_warning ("Gtk", "gtknotebook.c", 1129, __PRETTY_FUNCTION__, "page != NULL"); });
26405 IA__gtk_notebook_set_tab_label (notebook, page, ((((GtkWidget*) ((child))))));
26408 IA__gtk_notebook_append_page (notebook, ((((GtkWidget*) ((child))))), ((void *)0));
26410 g_log ("Gtk", G_LOG_LEVEL_WARNING, "'%s' is not a valid child type of '%s'", type, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (type))->g_class))->g_type)))));
26414 gtk_notebook_select_page (GtkNotebook *notebook,
26415 gboolean move_focus)
26417 if (IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) && notebook->show_tabs)
26419 gtk_notebook_page_select (notebook, move_focus);
26427 gtk_notebook_focus_tab (GtkNotebook *notebook,
26428 GtkNotebookTab type)
26432 if (IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) && notebook->show_tabs)
26436 case GTK_NOTEBOOK_TAB_FIRST:
26437 list = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (!(0)));
26439 gtk_notebook_switch_focus_tab (notebook, list);
26441 case GTK_NOTEBOOK_TAB_LAST:
26442 list = gtk_notebook_search_page (notebook, ((void *)0), STEP_PREV, (!(0)));
26444 gtk_notebook_switch_focus_tab (notebook, list);
26455 gtk_notebook_change_current_page (GtkNotebook *notebook,
26458 GList *current = ((void *)0);
26460 if (!notebook->show_tabs)
26463 if (notebook->cur_page)
26464 current = g_list_find (notebook->children, notebook->cur_page);
26466 while (offset != 0)
26468 current = gtk_notebook_search_page (notebook, current,
26469 offset < 0 ? STEP_PREV : STEP_NEXT,
26474 gboolean wrap_around;
26476 g_object_get (IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook)))))),
26477 "gtk-keynav-wrap-around", &wrap_around,
26481 current = gtk_notebook_search_page (notebook, ((void *)0),
26482 offset < 0 ? STEP_PREV : STEP_NEXT,
26488 offset += offset < 0 ? 1 : -1;
26492 gtk_notebook_switch_page (notebook, current->data);
26494 IA__gtk_widget_error_bell (((((GtkWidget*) ((notebook))))));
26499 static GtkDirectionType
26500 get_effective_direction (GtkNotebook *notebook,
26501 GtkDirectionType direction)
26509 static const GtkDirectionType translate_direction[2][4][6] = {
26510 {{ GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_UP, GTK_DIR_DOWN },
26511 { GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_DOWN, GTK_DIR_UP },
26512 { GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_UP, GTK_DIR_DOWN, GTK_DIR_LEFT, GTK_DIR_RIGHT },
26513 { GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_DOWN, GTK_DIR_UP, GTK_DIR_LEFT, GTK_DIR_RIGHT }},
26514 {{ GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_DOWN, GTK_DIR_UP },
26515 { GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_UP, GTK_DIR_DOWN },
26516 { GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_UP, GTK_DIR_DOWN, GTK_DIR_RIGHT, GTK_DIR_LEFT },
26517 { GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_DOWN, GTK_DIR_UP, GTK_DIR_RIGHT, GTK_DIR_LEFT }},
26522 int text_dir = IA__gtk_widget_get_direction (((((GtkWidget*) ((notebook)))))) == GTK_TEXT_DIR_RTL ? 1 : 0;
26524 return translate_direction[text_dir][notebook->tab_pos][direction];
26528 get_effective_tab_pos (GtkNotebook *notebook)
26530 if (IA__gtk_widget_get_direction (((((GtkWidget*) ((notebook)))))) == GTK_TEXT_DIR_RTL)
26532 switch (notebook->tab_pos)
26535 return GTK_POS_RIGHT;
26536 case GTK_POS_RIGHT:
26537 return GTK_POS_LEFT;
26542 return notebook->tab_pos;
26546 get_tab_gap_pos (GtkNotebook *notebook)
26548 gint tab_pos = get_effective_tab_pos (notebook);
26549 gint gap_side = GTK_POS_BOTTOM;
26554 gap_side = GTK_POS_BOTTOM;
26556 case GTK_POS_BOTTOM:
26557 gap_side = GTK_POS_TOP;
26560 gap_side = GTK_POS_RIGHT;
26562 case GTK_POS_RIGHT:
26563 gap_side = GTK_POS_LEFT;
26571 gtk_notebook_move_focus_out (GtkNotebook *notebook,
26572 GtkDirectionType direction_type)
26574 GtkDirectionType effective_direction = get_effective_direction (notebook, direction_type);
26575 GtkWidget *toplevel;
26577 if (((((GtkContainer*) ((notebook)))))->focus_child && effective_direction == GTK_DIR_UP)
26578 if (focus_tabs_in (notebook))
26580 if (IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) && effective_direction == GTK_DIR_DOWN)
26581 if (focus_child_in (notebook, GTK_DIR_TAB_FORWARD))
26587 toplevel = IA__gtk_widget_get_toplevel (((((GtkWidget*) ((notebook))))));
26588 if (!((((((((GtkObject*) ((toplevel)))))->flags)) & GTK_TOPLEVEL) != 0))
26591 g_object_ref (notebook);
26593 notebook->focus_out = (!(0));
26594 g_signal_emit_by_name (toplevel, "move_focus", direction_type);
26595 notebook->focus_out = (0);
26597 g_object_unref (notebook);
26601 reorder_tab (GtkNotebook *notebook, GList *position, GList *tab)
26605 if (position == tab)
26606 return g_list_position (notebook->children, tab);
26610 elem = (position) ? position->prev : g_list_last (notebook->children);
26612 while (elem && elem != tab && ((GtkNotebookPage *)((GList *)(elem))->data)->pack != ((GtkNotebookPage *)((GList *)(tab))->data)->pack)
26616 return g_list_position (notebook->children, tab);
26619 if (notebook->first_tab == tab)
26620 notebook->first_tab = gtk_notebook_search_page (notebook, notebook->first_tab,
26621 STEP_NEXT, (!(0)));
26623 notebook->children = g_list_remove_link (notebook->children, tab);
26626 elem = g_list_last (notebook->children);
26629 elem = position->prev;
26630 position->prev = tab;
26636 notebook->children = tab;
26639 tab->next = position;
26641 return g_list_position (notebook->children, tab);
26645 gtk_notebook_reorder_tab (GtkNotebook *notebook,
26646 GtkDirectionType direction_type,
26647 gboolean move_to_last)
26649 GtkDirectionType effective_direction = get_effective_direction (notebook, direction_type);
26650 GtkNotebookPage *page;
26651 GList *last, *child;
26654 if (!IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) || !notebook->show_tabs)
26657 if (!notebook->cur_page ||
26658 !notebook->cur_page->reorderable)
26661 if (effective_direction != GTK_DIR_LEFT &&
26662 effective_direction != GTK_DIR_RIGHT)
26667 child = notebook->focus_tab;
26672 child = gtk_notebook_search_page (notebook, last,
26673 (effective_direction == GTK_DIR_RIGHT) ? STEP_NEXT : STEP_PREV,
26676 while (child && ((GtkNotebookPage *)((GList *)(last))->data)->pack == ((GtkNotebookPage *)((GList *)(child))->data)->pack);
26681 child = gtk_notebook_search_page (notebook, notebook->focus_tab,
26682 (effective_direction == GTK_DIR_RIGHT) ? STEP_NEXT : STEP_PREV,
26685 if (!child || child->data == notebook->cur_page)
26688 page = child->data;
26690 if (page->pack == notebook->cur_page->pack)
26692 if (effective_direction == GTK_DIR_RIGHT)
26693 page_num = reorder_tab (notebook, (page->pack == GTK_PACK_START) ? child->next : child, notebook->focus_tab);
26695 page_num = reorder_tab (notebook, (page->pack == GTK_PACK_START) ? child : child->next, notebook->focus_tab);
26697 gtk_notebook_pages_allocate (notebook);
26699 g_signal_emit (notebook,
26700 notebook_signals[PAGE_REORDERED],
26702 ((GtkNotebookPage *) notebook->focus_tab->data)->child,
26710 # 1443 "gtknotebook.c"
26712 IA__gtk_notebook_new (void)
26714 return g_object_new ((IA__gtk_notebook_get_type ()), ((void *)0));
26724 gtk_notebook_destroy (GtkObject *object)
26726 GtkNotebook *notebook = ((((GtkNotebook*) ((object)))));
26727 GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
26729 if (notebook->menu)
26730 IA__gtk_notebook_popup_disable (notebook);
26732 if (priv->source_targets)
26734 IA__gtk_target_list_unref (priv->source_targets);
26735 priv->source_targets = ((void *)0);
26738 if (priv->switch_tab_timer)
26740 g_source_remove (priv->switch_tab_timer);
26741 priv->switch_tab_timer = 0;
26744 ((((GtkObjectClass*) ((gtk_notebook_parent_class)))))->destroy (object);
26748 gtk_notebook_set_property (GObject *object,
26750 const GValue *value,
26753 GtkNotebook *notebook;
26755 notebook = ((((GtkNotebook*) ((object)))));
26759 case PROP_SHOW_TABS:
26760 IA__gtk_notebook_set_show_tabs (notebook, g_value_get_boolean (value));
26762 case PROP_SHOW_BORDER:
26763 IA__gtk_notebook_set_show_border (notebook, g_value_get_boolean (value));
26765 case PROP_SCROLLABLE:
26766 IA__gtk_notebook_set_scrollable (notebook, g_value_get_boolean (value));
26768 case PROP_ENABLE_POPUP:
26769 if (g_value_get_boolean (value))
26770 IA__gtk_notebook_popup_enable (notebook);
26772 IA__gtk_notebook_popup_disable (notebook);
26774 case PROP_HOMOGENEOUS:
26775 gtk_notebook_set_homogeneous_tabs_internal (notebook, g_value_get_boolean (value));
26778 IA__gtk_notebook_set_current_page (notebook, g_value_get_int (value));
26781 IA__gtk_notebook_set_tab_pos (notebook, g_value_get_enum (value));
26783 case PROP_TAB_BORDER:
26784 gtk_notebook_set_tab_border_internal (notebook, g_value_get_uint (value));
26786 case PROP_TAB_HBORDER:
26787 gtk_notebook_set_tab_hborder_internal (notebook, g_value_get_uint (value));
26789 case PROP_TAB_VBORDER:
26790 gtk_notebook_set_tab_vborder_internal (notebook, g_value_get_uint (value));
26792 case PROP_GROUP_ID:
26793 IA__gtk_notebook_set_group_id (notebook, g_value_get_int (value));
26796 IA__gtk_notebook_set_group (notebook, g_value_get_pointer (value));
26804 gtk_notebook_get_property (GObject *object,
26809 GtkNotebook *notebook;
26810 GtkNotebookPrivate *priv;
26812 notebook = ((((GtkNotebook*) ((object)))));
26813 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
26817 case PROP_SHOW_TABS:
26818 g_value_set_boolean (value, notebook->show_tabs);
26820 case PROP_SHOW_BORDER:
26821 g_value_set_boolean (value, notebook->show_border);
26823 case PROP_SCROLLABLE:
26824 g_value_set_boolean (value, notebook->scrollable);
26826 case PROP_ENABLE_POPUP:
26827 g_value_set_boolean (value, notebook->menu != ((void *)0));
26829 case PROP_HOMOGENEOUS:
26830 g_value_set_boolean (value, notebook->homogeneous);
26833 g_value_set_int (value, IA__gtk_notebook_get_current_page (notebook));
26836 g_value_set_enum (value, notebook->tab_pos);
26838 case PROP_TAB_HBORDER:
26839 g_value_set_uint (value, notebook->tab_hborder);
26841 case PROP_TAB_VBORDER:
26842 g_value_set_uint (value, notebook->tab_vborder);
26844 case PROP_GROUP_ID:
26845 g_value_set_int (value, IA__gtk_notebook_get_group_id (notebook));
26848 g_value_set_pointer (value, priv->group);
26851 (void) __extension__ ( { GObject *_object = (GObject*) ((object)); GParamSpec *_pspec = (GParamSpec*) ((pspec)); guint _property_id = ((prop_id)); g_log ("Gtk", G_LOG_LEVEL_WARNING, "%s: invalid %s id %u for \"%s\" of type `%s' in `%s'", "gtknotebook.c" ":" "1583", ("property"), _property_id, _pspec->name, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (_pspec))->g_class))->g_type)))), (g_type_name ((((((GTypeClass*) (((GTypeInstance*) (_object))->g_class))->g_type)))))); } );
26855 # 1614 "gtknotebook.c"
26857 gtk_notebook_get_event_window_position (GtkNotebook *notebook,
26858 GdkRectangle *rectangle)
26860 GtkWidget *widget = ((((GtkWidget*) ((notebook)))));
26861 gint border_width = ((((GtkContainer*) ((notebook)))))->border_width;
26862 GtkNotebookPage *visible_page = ((void *)0);
26864 gint tab_pos = get_effective_tab_pos (notebook);
26866 for (tmp_list = notebook->children; tmp_list; tmp_list = tmp_list->next)
26868 GtkNotebookPage *page = tmp_list->data;
26869 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
26871 visible_page = page;
26876 if (notebook->show_tabs && visible_page)
26880 rectangle->x = widget->allocation.x + border_width;
26881 rectangle->y = widget->allocation.y + border_width;
26886 case GTK_POS_BOTTOM:
26887 rectangle->width = widget->allocation.width - 2 * border_width;
26888 rectangle->height = visible_page->requisition.height;
26889 if (tab_pos == GTK_POS_BOTTOM)
26890 rectangle->y += widget->allocation.height - 2 * border_width - rectangle->height;
26893 case GTK_POS_RIGHT:
26894 rectangle->width = visible_page->requisition.width;
26895 rectangle->height = widget->allocation.height - 2 * border_width;
26896 if (tab_pos == GTK_POS_RIGHT)
26897 rectangle->x += widget->allocation.width - 2 * border_width - rectangle->width;
26908 rectangle->x = rectangle->y = 0;
26909 rectangle->width = rectangle->height = 10;
26917 gtk_notebook_map (GtkWidget *widget)
26919 GtkNotebook *notebook;
26920 GtkNotebookPage *page;
26923 (void) __extension__ ({ (((((((GtkObject*) ((widget)))))->flags)) |= (GTK_MAPPED)); });
26925 notebook = ((((GtkNotebook*) ((widget)))));
26927 if (notebook->cur_page &&
26928 ((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_VISIBLE) != 0) &&
26929 !((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_MAPPED) != 0))
26930 IA__gtk_widget_map (notebook->cur_page->child);
26932 if (notebook->scrollable)
26933 gtk_notebook_pages_allocate (notebook);
26936 children = notebook->children;
26940 page = children->data;
26941 children = children->next;
26943 if (page->tab_label &&
26944 ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0) &&
26945 !((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0))
26946 IA__gtk_widget_map (page->tab_label);
26950 if (gtk_notebook_get_event_window_position (notebook, ((void *)0)))
26951 gdk_window_show_unraised (notebook->event_window);
26955 gtk_notebook_unmap (GtkWidget *widget)
26957 stop_scrolling (((((GtkNotebook*) ((widget))))));
26959 (void) __extension__ ({ (((((((GtkObject*) ((widget)))))->flags)) &= ~(GTK_MAPPED)); });
26961 gdk_window_hide (((((GtkNotebook*) ((widget)))))->event_window);
26963 ((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->unmap (widget);
26967 gtk_notebook_realize (GtkWidget *widget)
26969 GtkNotebook *notebook;
26970 GdkWindowAttr attributes;
26971 gint attributes_mask;
26972 GdkRectangle event_window_pos;
26974 notebook = ((((GtkNotebook*) ((widget)))));
26975 (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_REALIZED)); });
26977 gtk_notebook_get_event_window_position (notebook, &event_window_pos);
26979 widget->window = IA__gtk_widget_get_parent_window (widget);
26980 g_object_ref (widget->window);
26982 attributes.window_type = GDK_WINDOW_CHILD;
26983 attributes.x = event_window_pos.x;
26984 attributes.y = event_window_pos.y;
26985 attributes.width = event_window_pos.width;
26986 attributes.height = event_window_pos.height;
26987 attributes.wclass = GDK_INPUT_ONLY;
26988 attributes.event_mask = IA__gtk_widget_get_events (widget);
26989 attributes.event_mask |= (GDK_BUTTON_PRESS_MASK |
26990 GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK |
26991 GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK |
26993 attributes_mask = GDK_WA_X | GDK_WA_Y;
26995 notebook->event_window = gdk_window_new (IA__gtk_widget_get_parent_window (widget),
26996 &attributes, attributes_mask);
26997 gdk_window_set_user_data (notebook->event_window, notebook);
26999 widget->style = IA__gtk_style_attach (widget->style, widget->window);
27003 gtk_notebook_unrealize (GtkWidget *widget)
27005 GtkNotebook *notebook;
27006 GtkNotebookPrivate *priv;
27008 notebook = ((((GtkNotebook*) ((widget)))));
27009 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ())))));
27011 gdk_window_set_user_data (notebook->event_window, ((void *)0));
27012 gdk_window_destroy (notebook->event_window);
27013 notebook->event_window = ((void *)0);
27015 if (priv->drag_window)
27017 gdk_window_set_user_data (priv->drag_window, ((void *)0));
27018 gdk_window_destroy (priv->drag_window);
27019 priv->drag_window = ((void *)0);
27022 if (((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->unrealize)
27023 (* ((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->unrealize) (widget);
27027 gtk_notebook_size_request (GtkWidget *widget,
27028 GtkRequisition *requisition)
27030 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
27031 GtkNotebookPage *page;
27033 GtkRequisition child_requisition;
27034 gboolean switch_page = (0);
27038 gint tab_curvature;
27039 gint arrow_spacing;
27040 gint scroll_arrow_hlength;
27041 gint scroll_arrow_vlength;
27043 IA__gtk_widget_style_get (widget,
27044 "focus-line-width", &focus_width,
27045 "tab-overlap", &tab_overlap,
27046 "tab-curvature", &tab_curvature,
27047 "arrow-spacing", &arrow_spacing,
27048 "scroll-arrow-hlength", &scroll_arrow_hlength,
27049 "scroll-arrow-vlength", &scroll_arrow_vlength,
27052 widget->requisition.width = 0;
27053 widget->requisition.height = 0;
27055 for (children = notebook->children, vis_pages = 0; children;
27056 children = children->next)
27058 page = children->data;
27060 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
27063 IA__gtk_widget_size_request (page->child, &child_requisition);
27065 widget->requisition.width = (((widget->requisition.width) > (child_requisition.width)) ? (widget->requisition.width) : (child_requisition.width));
27067 widget->requisition.height = (((widget->requisition.height) > (child_requisition.height)) ? (widget->requisition.height) : (child_requisition.height));
27070 if (notebook->menu && page->menu_label->parent &&
27071 !((((((((GtkObject*) ((page->menu_label->parent)))))->flags)) & GTK_VISIBLE) != 0))
27072 IA__gtk_widget_show (page->menu_label->parent);
27076 if (page == notebook->cur_page)
27077 switch_page = (!(0));
27078 if (notebook->menu && page->menu_label->parent &&
27079 ((((((((GtkObject*) ((page->menu_label->parent)))))->flags)) & GTK_VISIBLE) != 0))
27080 IA__gtk_widget_hide (page->menu_label->parent);
27084 if (notebook->show_border || notebook->show_tabs)
27086 widget->requisition.width += widget->style->xthickness * 2;
27087 widget->requisition.height += widget->style->ythickness * 2;
27089 if (notebook->show_tabs)
27091 gint tab_width = 0;
27092 gint tab_height = 0;
27096 for (children = notebook->children; children;
27097 children = children->next)
27099 page = children->data;
27101 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
27103 if (!((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0))
27104 IA__gtk_widget_show (page->tab_label);
27106 IA__gtk_widget_size_request (page->tab_label,
27107 &child_requisition);
27109 page->requisition.width =
27110 child_requisition.width +
27111 2 * widget->style->xthickness;
27112 page->requisition.height =
27113 child_requisition.height +
27114 2 * widget->style->ythickness;
27116 switch (notebook->tab_pos)
27119 case GTK_POS_BOTTOM:
27120 page->requisition.height += 2 * (notebook->tab_vborder +
27122 tab_height = (((tab_height) > (page->requisition.height)) ? (tab_height) : (page->requisition.height));
27123 tab_max = (((tab_max) > (page->requisition.width)) ? (tab_max) : (page->requisition.width));
27126 case GTK_POS_RIGHT:
27127 page->requisition.width += 2 * (notebook->tab_hborder +
27129 tab_width = (((tab_width) > (page->requisition.width)) ? (tab_width) : (page->requisition.width));
27130 tab_max = (((tab_max) > (page->requisition.height)) ? (tab_max) : (page->requisition.height));
27134 else if (((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0))
27135 IA__gtk_widget_hide (page->tab_label);
27138 children = notebook->children;
27142 switch (notebook->tab_pos)
27145 case GTK_POS_BOTTOM:
27146 if (tab_height == 0)
27149 if (notebook->scrollable && vis_pages > 1 &&
27150 widget->requisition.width < tab_width)
27151 tab_height = (((tab_height) > (scroll_arrow_hlength)) ? (tab_height) : (scroll_arrow_hlength));
27153 padding = 2 * (tab_curvature + focus_width +
27154 notebook->tab_hborder) - tab_overlap;
27155 tab_max += padding;
27158 page = children->data;
27159 children = children->next;
27161 if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
27164 if (notebook->homogeneous)
27165 page->requisition.width = tab_max;
27167 page->requisition.width += padding;
27169 tab_width += page->requisition.width;
27170 page->requisition.height = tab_height;
27173 if (notebook->scrollable && vis_pages > 1 &&
27174 widget->requisition.width < tab_width)
27175 tab_width = tab_max + 2 * (scroll_arrow_hlength + arrow_spacing);
27177 if (notebook->homogeneous && !notebook->scrollable)
27178 widget->requisition.width = (((widget->requisition.width) > (vis_pages * tab_max + tab_overlap)) ? (widget->requisition.width) : (vis_pages * tab_max + tab_overlap));
27182 widget->requisition.width = (((widget->requisition.width) > (tab_width + tab_overlap)) ? (widget->requisition.width) : (tab_width + tab_overlap));
27185 widget->requisition.height += tab_height;
27188 case GTK_POS_RIGHT:
27189 if (tab_width == 0)
27192 if (notebook->scrollable && vis_pages > 1 &&
27193 widget->requisition.height < tab_height)
27194 tab_width = (((tab_width) > (arrow_spacing + 2 * scroll_arrow_vlength)) ? (tab_width) : (arrow_spacing + 2 * scroll_arrow_vlength));
27197 padding = 2 * (tab_curvature + focus_width +
27198 notebook->tab_vborder) - tab_overlap;
27199 tab_max += padding;
27203 page = children->data;
27204 children = children->next;
27206 if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
27209 page->requisition.width = tab_width;
27211 if (notebook->homogeneous)
27212 page->requisition.height = tab_max;
27214 page->requisition.height += padding;
27216 tab_height += page->requisition.height;
27219 if (notebook->scrollable && vis_pages > 1 &&
27220 widget->requisition.height < tab_height)
27221 tab_height = tab_max + (2 * scroll_arrow_vlength + arrow_spacing);
27223 widget->requisition.width += tab_width;
27225 if (notebook->homogeneous && !notebook->scrollable)
27226 widget->requisition.height =
27227 (((widget->requisition.height) > (vis_pages * tab_max + tab_overlap)) ? (widget->requisition.height) : (vis_pages * tab_max + tab_overlap));
27230 widget->requisition.height =
27231 (((widget->requisition.height) > (tab_height + tab_overlap)) ? (widget->requisition.height) : (tab_height + tab_overlap));
27234 if (!notebook->homogeneous || notebook->scrollable)
27236 widget->requisition.height = (((widget->requisition.height) > (vis_pages * tab_max + tab_overlap)) ? (widget->requisition.height) : (vis_pages * tab_max + tab_overlap));
27245 for (children = notebook->children; children;
27246 children = children->next)
27248 page = children->data;
27250 if (page->tab_label && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0))
27251 IA__gtk_widget_hide (page->tab_label);
27256 widget->requisition.width += ((((GtkContainer*) ((widget)))))->border_width * 2;
27257 widget->requisition.height += ((((GtkContainer*) ((widget)))))->border_width * 2;
27263 for (children = notebook->children; children;
27264 children = children->next)
27266 page = children->data;
27267 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
27269 gtk_notebook_switch_page (notebook, page);
27274 else if (((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0))
27276 widget->requisition.width = ((((GtkContainer*) ((widget)))))->border_width * 2;
27277 widget->requisition.height= ((((GtkContainer*) ((widget)))))->border_width * 2;
27280 if (vis_pages && !notebook->cur_page)
27282 children = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (!(0)));
27285 notebook->first_tab = children;
27286 gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(children))->data));
27292 gtk_notebook_size_allocate (GtkWidget *widget,
27293 GtkAllocation *allocation)
27295 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
27296 gint tab_pos = get_effective_tab_pos (notebook);
27298 widget->allocation = *allocation;
27299 if (((((((((GtkObject*) ((widget)))))->flags)) & GTK_REALIZED) != 0))
27301 GdkRectangle position;
27303 if (gtk_notebook_get_event_window_position (notebook, &position))
27305 gdk_window_move_resize (notebook->event_window,
27306 position.x, position.y,
27307 position.width, position.height);
27308 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0))
27309 gdk_window_show_unraised (notebook->event_window);
27312 gdk_window_hide (notebook->event_window);
27315 if (notebook->children)
27317 gint border_width = ((((GtkContainer*) ((widget)))))->border_width;
27318 GtkNotebookPage *page;
27319 GtkAllocation child_allocation;
27322 child_allocation.x = widget->allocation.x + border_width;
27323 child_allocation.y = widget->allocation.y + border_width;
27324 child_allocation.width = (((1) > (allocation->width - border_width * 2)) ? (1) : (allocation->width - border_width * 2));
27325 child_allocation.height = (((1) > (allocation->height - border_width * 2)) ? (1) : (allocation->height - border_width * 2));
27327 if (notebook->show_tabs || notebook->show_border)
27329 child_allocation.x += widget->style->xthickness;
27330 child_allocation.y += widget->style->ythickness;
27331 child_allocation.width = (((1) > (child_allocation.width - widget->style->xthickness * 2)) ? (1) : (child_allocation.width - widget->style->xthickness * 2));
27333 child_allocation.height = (((1) > (child_allocation.height - widget->style->ythickness * 2)) ? (1) : (child_allocation.height - widget->style->ythickness * 2));
27336 if (notebook->show_tabs && notebook->children && notebook->cur_page)
27341 child_allocation.y += notebook->cur_page->requisition.height;
27342 case GTK_POS_BOTTOM:
27343 child_allocation.height =
27344 (((1) > (child_allocation.height - notebook->cur_page->requisition.height)) ? (1) : (child_allocation.height - notebook->cur_page->requisition.height));
27348 child_allocation.x += notebook->cur_page->requisition.width;
27349 case GTK_POS_RIGHT:
27350 child_allocation.width =
27351 (((1) > (child_allocation.width - notebook->cur_page->requisition.width)) ? (1) : (child_allocation.width - notebook->cur_page->requisition.width));
27358 children = notebook->children;
27361 page = children->data;
27362 children = children->next;
27364 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
27365 IA__gtk_widget_size_allocate (page->child, &child_allocation);
27368 gtk_notebook_pages_allocate (notebook);
27373 gtk_notebook_expose (GtkWidget *widget,
27374 GdkEventExpose *event)
27376 GtkNotebook *notebook;
27377 GtkNotebookPrivate *priv;
27379 notebook = ((((GtkNotebook*) ((widget)))));
27380 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ())))));
27382 if (event->window == priv->drag_window)
27384 GdkRectangle area = { 0, };
27386 gdk_drawable_get_size (priv->drag_window,
27387 &area.width, &area.height);
27388 gtk_notebook_draw_tab (notebook,
27389 notebook->cur_page,
27391 gtk_notebook_draw_focus (widget, event);
27392 IA__gtk_container_propagate_expose (((((GtkContainer*) ((notebook))))),
27393 notebook->cur_page->tab_label, event);
27395 else if ((((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_MAPPED) != 0)))
27397 gtk_notebook_paint (widget, &event->area);
27398 if (notebook->show_tabs)
27400 GtkNotebookPage *page;
27403 gtk_notebook_draw_focus (widget, event);
27404 pages = notebook->children;
27408 page = ((GtkNotebookPage *)((GList *)(pages))->data);
27409 pages = pages->next;
27411 if (page->tab_label->window == event->window &&
27412 (((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0)))
27413 IA__gtk_container_propagate_expose (((((GtkContainer*) ((notebook))))),
27414 page->tab_label, event);
27418 if (notebook->cur_page)
27419 IA__gtk_container_propagate_expose (((((GtkContainer*) ((notebook))))),
27420 notebook->cur_page->child,
27428 gtk_notebook_show_arrows (GtkNotebook *notebook)
27430 gboolean show_arrow = (0);
27433 if (!notebook->scrollable)
27436 children = notebook->children;
27439 GtkNotebookPage *page = children->data;
27441 if (page->tab_label && !IA__gtk_widget_get_child_visible (page->tab_label))
27442 show_arrow = (!(0));
27444 children = children->next;
27451 gtk_notebook_get_arrow_rect (GtkNotebook *notebook,
27452 GdkRectangle *rectangle,
27453 GtkNotebookArrow arrow)
27455 GdkRectangle event_window_pos;
27456 gboolean before = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_RIGHT_BEFORE);
27457 gboolean left = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER);
27459 if (gtk_notebook_get_event_window_position (notebook, &event_window_pos))
27461 gint scroll_arrow_hlength;
27462 gint scroll_arrow_vlength;
27464 IA__gtk_widget_style_get (((((GtkWidget*) ((notebook))))),
27465 "scroll-arrow-hlength", &scroll_arrow_hlength,
27466 "scroll-arrow-vlength", &scroll_arrow_vlength,
27469 switch (notebook->tab_pos)
27472 case GTK_POS_RIGHT:
27473 rectangle->width = scroll_arrow_vlength;
27474 rectangle->height = scroll_arrow_vlength;
27476 if ((before && (notebook->has_before_previous != notebook->has_before_next)) ||
27477 (!before && (notebook->has_after_previous != notebook->has_after_next)))
27478 rectangle->x = event_window_pos.x + (event_window_pos.width - rectangle->width) / 2;
27480 rectangle->x = event_window_pos.x + event_window_pos.width / 2 - rectangle->width;
27482 rectangle->x = event_window_pos.x + event_window_pos.width / 2;
27483 rectangle->y = event_window_pos.y;
27485 rectangle->y += event_window_pos.height - rectangle->height;
27489 case GTK_POS_BOTTOM:
27490 rectangle->width = scroll_arrow_hlength;
27491 rectangle->height = scroll_arrow_hlength;
27495 if (left || !notebook->has_before_previous)
27496 rectangle->x = event_window_pos.x;
27498 rectangle->x = event_window_pos.x + rectangle->width;
27502 if (!left || !notebook->has_after_next)
27503 rectangle->x = event_window_pos.x + event_window_pos.width - rectangle->width;
27505 rectangle->x = event_window_pos.x + event_window_pos.width - 2 * rectangle->width;
27507 rectangle->y = event_window_pos.y + (event_window_pos.height - rectangle->height) / 2;
27513 static GtkNotebookArrow
27514 gtk_notebook_get_arrow (GtkNotebook *notebook,
27518 GdkRectangle arrow_rect;
27519 GdkRectangle event_window_pos;
27522 GtkNotebookArrow arrow[4];
27524 arrow[0] = notebook->has_before_previous ? ARROW_LEFT_BEFORE : ARROW_NONE;
27525 arrow[1] = notebook->has_before_next ? ARROW_RIGHT_BEFORE : ARROW_NONE;
27526 arrow[2] = notebook->has_after_previous ? ARROW_LEFT_AFTER : ARROW_NONE;
27527 arrow[3] = notebook->has_after_next ? ARROW_RIGHT_AFTER : ARROW_NONE;
27529 if (gtk_notebook_show_arrows (notebook))
27531 gtk_notebook_get_event_window_position (notebook, &event_window_pos);
27532 for (i = 0; i < 4; i++)
27534 if (arrow[i] == ARROW_NONE)
27537 gtk_notebook_get_arrow_rect (notebook, &arrow_rect, arrow[i]);
27539 x0 = x - arrow_rect.x;
27540 y0 = y - arrow_rect.y;
27542 if (y0 >= 0 && y0 < arrow_rect.height &&
27543 x0 >= 0 && x0 < arrow_rect.width)
27552 gtk_notebook_do_arrow (GtkNotebook *notebook,
27553 GtkNotebookArrow arrow)
27555 GtkWidget *widget = ((((GtkWidget*) ((notebook)))));
27556 GtkDirectionType dir;
27557 gboolean is_rtl, left;
27559 is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
27560 left = (((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && !is_rtl) ||
27561 (!((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && is_rtl);
27563 if (!notebook->focus_tab ||
27564 gtk_notebook_search_page (notebook, notebook->focus_tab,
27565 left ? STEP_PREV : STEP_NEXT,
27568 if (notebook->tab_pos == GTK_POS_LEFT ||
27569 notebook->tab_pos == GTK_POS_RIGHT)
27570 dir = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) ? GTK_DIR_UP : GTK_DIR_DOWN;
27572 dir = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) ? GTK_DIR_LEFT : GTK_DIR_RIGHT;
27574 IA__gtk_widget_grab_focus (widget);
27575 IA__gtk_widget_child_focus (widget, dir);
27580 gtk_notebook_arrow_button_press (GtkNotebook *notebook,
27581 GtkNotebookArrow arrow,
27584 GtkWidget *widget = ((((GtkWidget*) ((notebook)))));
27585 gboolean is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
27586 gboolean left = (((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && !is_rtl) ||
27587 (!((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && is_rtl);
27589 if (!((((((((GtkObject*) ((widget)))))->flags)) & GTK_HAS_FOCUS) != 0))
27590 IA__gtk_widget_grab_focus (widget);
27592 notebook->button = button;
27593 notebook->click_child = arrow;
27597 gtk_notebook_do_arrow (notebook, arrow);
27598 gtk_notebook_set_scroll_timer (notebook);
27600 else if (button == 2)
27601 gtk_notebook_page_select (notebook, (!(0)));
27602 else if (button == 3)
27603 gtk_notebook_switch_focus_tab (notebook,
27604 gtk_notebook_search_page (notebook,
27606 left ? STEP_NEXT : STEP_PREV,
27608 gtk_notebook_redraw_arrows (notebook);
27614 get_widget_coordinates (GtkWidget *widget,
27619 GdkWindow *window = ((GdkEventAny *)event)->window;
27622 if (!gdk_event_get_coords (event, &tx, &ty))
27625 while (window && window != widget->window)
27627 gint window_x, window_y;
27629 gdk_window_get_position (window, &window_x, &window_y);
27633 window = gdk_window_get_parent (window);
27648 gtk_notebook_scroll (GtkWidget *widget,
27649 GdkEventScroll *event)
27651 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
27654 GtkWidget* originator;
27656 if (!notebook->cur_page)
27659 child = notebook->cur_page->child;
27660 originator = IA__gtk_get_event_widget ((GdkEvent *)event);
27663 if (!originator || IA__gtk_widget_is_ancestor (originator, child) || originator == child)
27666 switch (event->direction)
27668 case GDK_SCROLL_RIGHT:
27669 case GDK_SCROLL_DOWN:
27670 IA__gtk_notebook_next_page (notebook);
27672 case GDK_SCROLL_LEFT:
27673 case GDK_SCROLL_UP:
27674 IA__gtk_notebook_prev_page (notebook);
27682 get_tab_at_pos (GtkNotebook *notebook, gint x, gint y)
27684 GtkNotebookPage *page;
27685 GList *children = notebook->children;
27689 page = children->data;
27691 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) &&
27692 page->tab_label && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0) &&
27693 (x >= page->allocation.x) &&
27694 (y >= page->allocation.y) &&
27695 (x <= (page->allocation.x + page->allocation.width)) &&
27696 (y <= (page->allocation.y + page->allocation.height)))
27699 children = children->next;
27702 return ((void *)0);
27706 gtk_notebook_button_press (GtkWidget *widget,
27707 GdkEventButton *event)
27709 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
27710 GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
27711 GtkNotebookPage *page;
27713 GtkNotebookArrow arrow;
27716 if (event->type != GDK_BUTTON_PRESS || !notebook->children ||
27720 if (!get_widget_coordinates (widget, (GdkEvent *)event, &x, &y))
27723 arrow = gtk_notebook_get_arrow (notebook, x, y);
27725 return gtk_notebook_arrow_button_press (notebook, arrow, event->button);
27727 if (event->button == 3 && notebook->menu)
27729 IA__gtk_menu_popup (((((GtkMenu*) ((notebook->menu))))), ((void *)0), ((void *)0),
27730 ((void *)0), ((void *)0), 3, event->time);
27734 if (event->button != 1)
27737 notebook->button = event->button;
27739 if ((tab = get_tab_at_pos (notebook, x, y)) != ((void *)0))
27741 gboolean page_changed, was_focus;
27744 page_changed = page != notebook->cur_page;
27745 was_focus = IA__gtk_widget_is_focus (widget);
27747 gtk_notebook_switch_focus_tab (notebook, tab);
27748 IA__gtk_widget_grab_focus (widget);
27750 if (page_changed && !was_focus)
27751 IA__gtk_widget_child_focus (page->child, GTK_DIR_TAB_FORWARD);
27754 if (page->reorderable || page->detachable)
27756 priv->during_detach = (0);
27757 priv->during_reorder = (0);
27758 priv->pressed_button = event->button;
27760 gdk_window_get_pointer (widget->window,
27765 priv->drag_begin_x = priv->mouse_x;
27766 priv->drag_begin_y = priv->mouse_y;
27767 priv->drag_offset_x = priv->drag_begin_x - page->allocation.x;
27768 priv->drag_offset_y = priv->drag_begin_y - page->allocation.y;
27776 popup_position_func (GtkMenu *menu,
27782 GtkNotebook *notebook = data;
27784 GtkRequisition requisition;
27786 if (notebook->focus_tab)
27788 GtkNotebookPage *page;
27790 page = notebook->focus_tab->data;
27791 w = page->tab_label;
27795 w = ((((GtkWidget*) ((notebook)))));
27798 gdk_window_get_origin (w->window, x, y);
27799 IA__gtk_widget_size_request (((((GtkWidget*) ((menu))))), &requisition);
27801 if (IA__gtk_widget_get_direction (w) == GTK_TEXT_DIR_RTL)
27802 *x += w->allocation.x + w->allocation.width - requisition.width;
27804 *x += w->allocation.x;
27806 *y += w->allocation.y + w->allocation.height;
27812 gtk_notebook_popup_menu (GtkWidget *widget)
27814 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
27816 if (notebook->menu)
27818 IA__gtk_menu_popup (((((GtkMenu*) ((notebook->menu))))), ((void *)0), ((void *)0),
27819 popup_position_func, notebook,
27820 0, IA__gtk_get_current_event_time ());
27821 IA__gtk_menu_shell_select_first (((((GtkMenuShell*) ((notebook->menu))))), (0));
27829 stop_scrolling (GtkNotebook *notebook)
27831 if (notebook->timer)
27833 g_source_remove (notebook->timer);
27834 notebook->timer = 0;
27835 notebook->need_timer = (0);
27837 notebook->click_child = 0;
27838 notebook->button = 0;
27839 gtk_notebook_redraw_arrows (notebook);
27843 get_drop_position (GtkNotebook *notebook,
27846 GtkNotebookPrivate *priv;
27847 GList *children, *last_child;
27848 GtkNotebookPage *page;
27852 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
27856 is_rtl = IA__gtk_widget_get_direction ((GtkWidget *) notebook) == GTK_TEXT_DIR_RTL;
27857 children = notebook->children;
27858 last_child = ((void *)0);
27862 page = children->data;
27864 if ((priv->operation != DRAG_OPERATION_REORDER || page != notebook->cur_page) &&
27865 ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) &&
27867 ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0) &&
27868 page->pack == pack)
27870 switch (notebook->tab_pos)
27873 case GTK_POS_BOTTOM:
27876 if ((page->pack == GTK_PACK_START && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) > x) ||
27877 (page->pack == GTK_PACK_END && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) < x))
27882 if ((page->pack == GTK_PACK_START && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) < x) ||
27883 (page->pack == GTK_PACK_END && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) > x))
27889 case GTK_POS_RIGHT:
27890 if ((page->pack == GTK_PACK_START && (((GtkNotebookPage *) (page))->allocation.y + ((GtkNotebookPage *) (page))->allocation.height / 2) > y) ||
27891 (page->pack == GTK_PACK_END && (((GtkNotebookPage *) (page))->allocation.y + ((GtkNotebookPage *) (page))->allocation.height / 2) < y))
27897 last_child = children->next;
27900 children = children->next;
27907 show_drag_window (GtkNotebook *notebook,
27908 GtkNotebookPrivate *priv,
27909 GtkNotebookPage *page)
27911 GtkWidget *widget = ((((GtkWidget*) ((notebook)))));
27913 if (!priv->drag_window)
27915 GdkWindowAttr attributes;
27916 guint attributes_mask;
27918 attributes.x = page->allocation.x;
27919 attributes.y = page->allocation.y;
27920 attributes.width = page->allocation.width;
27921 attributes.height = page->allocation.height;
27922 attributes.window_type = GDK_WINDOW_CHILD;
27923 attributes.wclass = GDK_INPUT_OUTPUT;
27924 attributes.visual = IA__gtk_widget_get_visual (widget);
27925 attributes.colormap = IA__gtk_widget_get_colormap (widget);
27926 attributes.event_mask = GDK_VISIBILITY_NOTIFY_MASK | GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK;
27927 attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
27929 priv->drag_window = gdk_window_new (IA__gtk_widget_get_parent_window (widget),
27932 gdk_window_set_user_data (priv->drag_window, widget);
27935 g_object_ref (page->tab_label);
27936 IA__gtk_widget_unparent (page->tab_label);
27937 IA__gtk_widget_set_parent_window (page->tab_label, priv->drag_window);
27938 IA__gtk_widget_set_parent (page->tab_label, widget);
27939 g_object_unref (page->tab_label);
27941 gdk_window_show (priv->drag_window);
27944 gdk_pointer_grab (priv->drag_window,
27946 GDK_POINTER_MOTION_MASK | GDK_BUTTON_RELEASE_MASK,
27947 ((void *)0), ((void *)0), 0L);
27954 hide_drag_window (GtkNotebook *notebook,
27955 GtkNotebookPrivate *priv,
27956 GtkNotebookPage *page)
27958 GtkWidget *widget = ((((GtkWidget*) ((notebook)))));
27959 GtkWidget *parent = page->tab_label->parent;
27961 if (page->tab_label->window != widget->window ||
27962 !(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))))
27964 g_object_ref (page->tab_label);
27966 if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((parent)); GType __t = ((IA__gtk_window_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))))
27969 IA__gtk_container_remove (((((GtkContainer*) ((parent))))), page->tab_label);
27972 IA__gtk_widget_unparent (page->tab_label);
27974 IA__gtk_widget_set_parent_window (page->tab_label, widget->window);
27975 IA__gtk_widget_set_parent (page->tab_label, widget);
27976 g_object_unref (page->tab_label);
27979 if (priv->drag_window &&
27980 gdk_window_is_visible (priv->drag_window))
27981 gdk_window_hide (priv->drag_window);
27985 gtk_notebook_stop_reorder (GtkNotebook *notebook)
27987 GtkNotebookPrivate *priv;
27988 GtkNotebookPage *page;
27990 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
27992 if (priv->operation == DRAG_OPERATION_DETACH)
27993 page = priv->detached_tab;
27995 page = notebook->cur_page;
28000 priv->pressed_button = -1;
28002 if (page->reorderable || page->detachable)
28004 if (priv->during_reorder)
28006 gint old_page_num, page_num;
28009 element = get_drop_position (notebook, page->pack);
28010 old_page_num = g_list_position (notebook->children, notebook->focus_tab);
28011 page_num = reorder_tab (notebook, element, notebook->focus_tab);
28012 gtk_notebook_child_reordered (notebook, page);
28014 if (priv->has_scrolled || old_page_num != page_num)
28015 g_signal_emit (notebook,
28016 notebook_signals[PAGE_REORDERED], 0,
28017 page->child, page_num);
28019 priv->has_scrolled = (0);
28020 priv->during_reorder = (0);
28023 hide_drag_window (notebook, priv, page);
28025 priv->operation = DRAG_OPERATION_NONE;
28026 gtk_notebook_pages_allocate (notebook);
28028 if (priv->dnd_timer)
28030 g_source_remove (priv->dnd_timer);
28031 priv->dnd_timer = 0;
28037 gtk_notebook_button_release (GtkWidget *widget,
28038 GdkEventButton *event)
28040 GtkNotebook *notebook;
28041 GtkNotebookPrivate *priv;
28042 GtkNotebookPage *page;
28044 if (event->type != GDK_BUTTON_RELEASE)
28047 notebook = ((((GtkNotebook*) ((widget)))));
28048 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
28049 page = notebook->cur_page;
28051 if (!priv->during_detach &&
28052 page->reorderable &&
28053 event->button == priv->pressed_button)
28054 gtk_notebook_stop_reorder (notebook);
28056 if (event->button == notebook->button)
28058 stop_scrolling (notebook);
28066 gtk_notebook_leave_notify (GtkWidget *widget,
28067 GdkEventCrossing *event)
28069 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
28072 if (!get_widget_coordinates (widget, (GdkEvent *)event, &x, &y))
28075 if (notebook->in_child)
28077 notebook->in_child = 0;
28078 gtk_notebook_redraw_arrows (notebook);
28084 static GtkNotebookPointerPosition
28085 get_pointer_position (GtkNotebook *notebook)
28087 GtkWidget *widget = (GtkWidget *) notebook;
28088 GtkContainer *container = (GtkContainer *) notebook;
28089 GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
28092 if (!notebook->scrollable)
28093 return POINTER_BETWEEN;
28095 if (notebook->tab_pos == GTK_POS_TOP ||
28096 notebook->tab_pos == GTK_POS_BOTTOM)
28100 is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
28101 x = priv->mouse_x - widget->allocation.x;
28103 if (x > widget->allocation.width - 2 * container->border_width - 12)
28104 return (is_rtl) ? POINTER_BEFORE : POINTER_AFTER;
28105 else if (x < 12 + container->border_width)
28106 return (is_rtl) ? POINTER_AFTER : POINTER_BEFORE;
28108 return POINTER_BETWEEN;
28114 y = priv->mouse_y - widget->allocation.y;
28115 if (y > widget->allocation.height - 2 * container->border_width - 12)
28116 return POINTER_AFTER;
28117 else if (y < 12 + container->border_width)
28118 return POINTER_BEFORE;
28120 return POINTER_BETWEEN;
28125 scroll_notebook_timer (gpointer data)
28127 GtkNotebook *notebook = (GtkNotebook *) data;
28128 GtkNotebookPrivate *priv;
28129 GtkNotebookPointerPosition pointer_position;
28130 GList *element, *first_tab;
28132 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
28133 pointer_position = get_pointer_position (notebook);
28135 element = get_drop_position (notebook, notebook->cur_page->pack);
28136 reorder_tab (notebook, element, notebook->focus_tab);
28137 first_tab = gtk_notebook_search_page (notebook, notebook->first_tab,
28138 (pointer_position == POINTER_BEFORE) ? STEP_PREV : STEP_NEXT,
28142 notebook->first_tab = first_tab;
28143 gtk_notebook_pages_allocate (notebook);
28145 gdk_window_move_resize (priv->drag_window,
28146 priv->drag_window_x,
28147 priv->drag_window_y,
28148 notebook->cur_page->allocation.width,
28149 notebook->cur_page->allocation.height);
28150 gdk_window_raise (priv->drag_window);
28157 check_threshold (GtkNotebook *notebook,
28162 gint dnd_threshold;
28163 GdkRectangle rectangle = { 0, };
28164 GtkSettings *settings;
28166 widget = ((((GtkWidget*) ((notebook)))));
28167 settings = IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook))))));
28168 g_object_get (((((GObject*) ((settings))))), "gtk-dnd-drag-threshold", &dnd_threshold, ((void *)0));
28171 dnd_threshold *= 4;
28173 gdk_window_get_position (notebook->event_window, &rectangle.x, &rectangle.y);
28174 gdk_drawable_get_size (((((GdkDrawable*) ((notebook->event_window))))), &rectangle.width, &rectangle.height);
28176 rectangle.x -= dnd_threshold;
28177 rectangle.width += 2 * dnd_threshold;
28178 rectangle.y -= dnd_threshold;
28179 rectangle.height += 2 * dnd_threshold;
28181 return (current_x < rectangle.x ||
28182 current_x > rectangle.x + rectangle.width ||
28183 current_y < rectangle.y ||
28184 current_y > rectangle.y + rectangle.height);
28188 gtk_notebook_motion_notify (GtkWidget *widget,
28189 GdkEventMotion *event)
28191 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
28192 GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
28193 GtkNotebookPage *page;
28194 GtkNotebookArrow arrow;
28195 GtkNotebookPointerPosition pointer_position;
28196 GtkSettings *settings;
28199 page = notebook->cur_page;
28204 if (!(event->state & GDK_BUTTON1_MASK) &&
28205 priv->pressed_button != -1)
28207 gtk_notebook_stop_reorder (notebook);
28208 stop_scrolling (notebook);
28211 if (event->time < priv->timestamp + (1000 / 45))
28214 priv->timestamp = event->time;
28215 gdk_window_get_pointer (widget->window,
28220 arrow = gtk_notebook_get_arrow (notebook, priv->mouse_x, priv->mouse_y);
28221 if (arrow != notebook->in_child)
28223 notebook->in_child = arrow;
28224 gtk_notebook_redraw_arrows (notebook);
28227 if (priv->pressed_button == -1)
28230 if (page->detachable &&
28231 check_threshold (notebook, priv->mouse_x, priv->mouse_y))
28233 priv->detached_tab = notebook->cur_page;
28234 priv->during_detach = (!(0));
28236 IA__gtk_drag_begin (widget, priv->source_targets, GDK_ACTION_MOVE,
28237 priv->pressed_button, (GdkEvent*) event);
28241 if (page->reorderable &&
28242 (priv->during_reorder ||
28243 IA__gtk_drag_check_threshold (widget, priv->drag_begin_x, priv->drag_begin_y, priv->mouse_x, priv->mouse_y)))
28245 priv->during_reorder = (!(0));
28246 pointer_position = get_pointer_position (notebook);
28248 if (event->window == priv->drag_window &&
28249 pointer_position != POINTER_BETWEEN &&
28250 gtk_notebook_show_arrows (notebook))
28253 if (!priv->dnd_timer)
28255 priv->has_scrolled = (!(0));
28256 settings = IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook))))));
28257 g_object_get (settings, "gtk-timeout-repeat", &timeout, ((void *)0));
28259 priv->dnd_timer = gdk_threads_add_timeout (timeout * 5,
28260 scroll_notebook_timer,
28261 (gpointer) notebook);
28266 if (priv->dnd_timer)
28268 g_source_remove (priv->dnd_timer);
28269 priv->dnd_timer = 0;
28273 if (event->window == priv->drag_window ||
28274 priv->operation != DRAG_OPERATION_REORDER)
28277 if (priv->operation != DRAG_OPERATION_REORDER)
28279 priv->operation = DRAG_OPERATION_REORDER;
28280 show_drag_window (notebook, priv, page);
28283 gtk_notebook_pages_allocate (notebook);
28284 gdk_window_move_resize (priv->drag_window,
28285 priv->drag_window_x,
28286 priv->drag_window_y,
28287 page->allocation.width,
28288 page->allocation.height);
28296 gtk_notebook_grab_notify (GtkWidget *widget,
28297 gboolean was_grabbed)
28299 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
28303 gtk_notebook_stop_reorder (notebook);
28304 stop_scrolling (notebook);
28309 gtk_notebook_state_changed (GtkWidget *widget,
28310 GtkStateType previous_state)
28312 if (!(((((((((GtkObject*) ((widget)))))->flags)) & GTK_SENSITIVE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_PARENT_SENSITIVE) != 0)))
28313 stop_scrolling (((((GtkNotebook*) ((widget))))));
28317 gtk_notebook_focus_in (GtkWidget *widget,
28318 GdkEventFocus *event)
28320 ((((GtkNotebook*) ((widget)))))->child_has_focus = (0);
28322 gtk_notebook_redraw_tabs (((((GtkNotebook*) ((widget))))));
28328 gtk_notebook_focus_out (GtkWidget *widget,
28329 GdkEventFocus *event)
28331 gtk_notebook_redraw_tabs (((((GtkNotebook*) ((widget))))));
28337 gtk_notebook_draw_focus (GtkWidget *widget,
28338 GdkEventExpose *event)
28340 GtkNotebook *notebook = ((((GtkNotebook*) ((widget)))));
28342 if (((((((((GtkObject*) ((widget)))))->flags)) & GTK_HAS_FOCUS) != 0) && (((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_MAPPED) != 0)) &&
28343 notebook->show_tabs && notebook->cur_page &&
28344 notebook->cur_page->tab_label->window == event->window)
28346 GtkNotebookPage *page;
28348 page = notebook->cur_page;
28350 if (IA__gtk_widget_intersect (page->tab_label, &event->area, ((void *)0)))
28355 IA__gtk_widget_style_get (widget, "focus-line-width", &focus_width, ((void *)0));
28357 area.x = page->tab_label->allocation.x - focus_width;
28358 area.y = page->tab_label->allocation.y - focus_width;
28359 area.width = page->tab_label->allocation.width + 2 * focus_width;
28360 area.height = page->tab_label->allocation.height + 2 * focus_width;
28362 IA__gtk_paint_focus (widget->style, event->window,
28363 (((((GtkWidget*) ((widget)))))->state), ((void *)0), widget, "tab",
28364 area.x, area.y, area.width, area.height);
28370 gtk_notebook_style_set (GtkWidget *widget,
28371 GtkStyle *previous)
28373 GtkNotebook *notebook;
28375 gboolean has_before_previous;
28376 gboolean has_before_next;
28377 gboolean has_after_previous;
28378 gboolean has_after_next;
28380 notebook = ((((GtkNotebook*) ((widget)))));
28382 IA__gtk_widget_style_get (widget,
28383 "has-backward-stepper", &has_before_previous,
28384 "has-secondary-forward-stepper", &has_before_next,
28385 "has-secondary-backward-stepper", &has_after_previous,
28386 "has-forward-stepper", &has_after_next,
28389 notebook->has_before_previous = has_before_previous;
28390 notebook->has_before_next = has_before_next;
28391 notebook->has_after_previous = has_after_previous;
28392 notebook->has_after_next = has_after_next;
28394 (* ((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->style_set) (widget, previous);
28398 on_drag_icon_expose (GtkWidget *widget,
28399 GdkEventExpose *event,
28402 GtkWidget *notebook, *child = ((((GtkWidget*) ((data)))));
28403 GtkRequisition requisition;
28406 notebook = ((((GtkWidget*) ((data)))));
28407 child = ((((GtkBin*) ((widget)))))->child;
28408 IA__gtk_widget_size_request (widget, &requisition);
28409 gap_pos = get_tab_gap_pos (((((GtkNotebook*) ((notebook))))));
28411 IA__gtk_paint_extension (notebook->style, widget->window,
28412 GTK_STATE_NORMAL, GTK_SHADOW_OUT,
28413 ((void *)0), widget, "tab",
28415 requisition.width, requisition.height,
28418 IA__gtk_container_propagate_expose (((((GtkContainer*) ((widget))))), child, event);
28424 gtk_notebook_drag_begin (GtkWidget *widget,
28425 GdkDragContext *context)
28427 GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ())))));
28428 GtkNotebook *notebook = (GtkNotebook*) widget;
28429 GtkWidget *tab_label;
28431 if (priv->dnd_timer)
28433 g_source_remove (priv->dnd_timer);
28434 priv->dnd_timer = 0;
28437 priv->operation = DRAG_OPERATION_DETACH;
28438 gtk_notebook_pages_allocate (notebook);
28440 tab_label = priv->detached_tab->tab_label;
28442 hide_drag_window (notebook, priv, notebook->cur_page);
28443 g_object_ref (tab_label);
28444 IA__gtk_widget_unparent (tab_label);
28446 priv->dnd_window = IA__gtk_window_new (GTK_WINDOW_POPUP);
28447 IA__gtk_container_add (((((GtkContainer*) ((priv->dnd_window))))), tab_label);
28448 IA__gtk_widget_set_size_request (priv->dnd_window,
28449 priv->detached_tab->allocation.width,
28450 priv->detached_tab->allocation.height);
28451 g_object_unref (tab_label);
28453 g_signal_connect_data ((((((GObject*) ((priv->dnd_window)))))), ("expose-event"), (((GCallback) (on_drag_icon_expose))), (notebook), ((void *)0), (GConnectFlags) 0);
28456 IA__gtk_drag_set_icon_widget (context, priv->dnd_window, -2, -2);
28460 gtk_notebook_drag_end (GtkWidget *widget,
28461 GdkDragContext *context)
28463 GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ())))));
28465 gtk_notebook_stop_reorder (((((GtkNotebook*) ((widget))))));
28467 if (priv->detached_tab)
28468 gtk_notebook_switch_page (((((GtkNotebook*) ((widget))))), priv->detached_tab);
28470 ((((GtkBin*) ((priv->dnd_window)))))->child = ((void *)0);
28471 IA__gtk_widget_destroy (priv->dnd_window);
28472 priv->dnd_window = ((void *)0);
28474 priv->operation = DRAG_OPERATION_NONE;
28477 static GtkNotebook *
28478 gtk_notebook_create_window (GtkNotebook *notebook,
28483 if (window_creation_hook)
28484 return (* window_creation_hook) (notebook, page, x, y, window_creation_hook_data);
28486 return ((void *)0);
28490 gtk_notebook_drag_failed (GtkWidget *widget,
28491 GdkDragContext *context,
28492 GtkDragResult result,
28495 if (result == GTK_DRAG_RESULT_NO_TARGET)
28497 GtkNotebookPrivate *priv;
28498 GtkNotebook *notebook, *dest_notebook = ((void *)0);
28499 GdkDisplay *display;
28502 notebook = ((((GtkNotebook*) ((widget)))));
28503 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
28505 display = IA__gtk_widget_get_display (widget);
28506 gdk_display_get_pointer (display, ((void *)0), &x, &y, ((void *)0));
28508 g_signal_emit (notebook, notebook_signals[CREATE_WINDOW], 0,
28509 priv->detached_tab->child, x, y, &dest_notebook);
28512 do_detach_tab (notebook, dest_notebook, priv->detached_tab->child, 0, 0);
28521 gtk_notebook_switch_tab_timeout (gpointer data)
28523 GtkNotebook *notebook;
28524 GtkNotebookPrivate *priv;
28528 notebook = ((((GtkNotebook*) ((data)))));
28529 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
28531 priv->switch_tab_timer = 0;
28535 if ((tab = get_tab_at_pos (notebook, x, y)) != ((void *)0))
28540 notebook->child_has_focus = (0);
28541 gtk_notebook_switch_focus_tab (notebook, tab);
28548 gtk_notebook_drag_motion (GtkWidget *widget,
28549 GdkDragContext *context,
28554 GtkNotebook *notebook;
28555 GtkNotebookPrivate *priv;
28556 GdkRectangle position;
28557 GtkSettings *settings;
28558 GtkNotebookArrow arrow;
28560 GdkAtom target, tab_target;
28562 notebook = ((((GtkNotebook*) ((widget)))));
28563 arrow = gtk_notebook_get_arrow (notebook,
28564 x + widget->allocation.x,
28565 y + widget->allocation.y);
28568 notebook->click_child = arrow;
28569 gtk_notebook_set_scroll_timer (notebook);
28570 gdk_drag_status (context, 0, time);
28574 stop_scrolling (notebook);
28575 target = IA__gtk_drag_dest_find_target (widget, context, ((void *)0));
28576 tab_target = gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB");
28578 if (target == tab_target)
28580 gpointer widget_group, source_widget_group;
28581 GtkWidget *source_widget;
28583 source_widget = IA__gtk_drag_get_source_widget (context);
28584 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (source_widget) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else g_assert_warning ("Gtk", "gtknotebook.c", 3342, __PRETTY_FUNCTION__, "source_widget"); });
28586 widget_group = IA__gtk_notebook_get_group (notebook);
28587 source_widget_group = IA__gtk_notebook_get_group (((((GtkNotebook*) ((source_widget))))));
28589 if (widget_group && source_widget_group &&
28590 widget_group == source_widget_group &&
28591 !(widget == ((((GtkNotebook*) ((source_widget)))))->cur_page->child ||
28592 IA__gtk_widget_is_ancestor (widget, ((((GtkNotebook*) ((source_widget)))))->cur_page->child)))
28594 gdk_drag_status (context, GDK_ACTION_MOVE, time);
28601 gdk_drag_status (context, 0, time);
28605 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ())))));
28606 x += widget->allocation.x;
28607 y += widget->allocation.y;
28609 if (gtk_notebook_get_event_window_position (notebook, &position) &&
28610 x >= position.x && x <= position.x + position.width &&
28611 y >= position.y && y <= position.y + position.height)
28616 if (!priv->switch_tab_timer)
28618 settings = IA__gtk_widget_get_settings (widget);
28620 g_object_get (settings, "gtk-timeout-expand", &timeout, ((void *)0));
28621 priv->switch_tab_timer = gdk_threads_add_timeout (timeout,
28622 gtk_notebook_switch_tab_timeout,
28628 if (priv->switch_tab_timer)
28630 g_source_remove (priv->switch_tab_timer);
28631 priv->switch_tab_timer = 0;
28635 return (target == tab_target) ? (!(0)) : (0);
28639 gtk_notebook_drag_leave (GtkWidget *widget,
28640 GdkDragContext *context,
28643 GtkNotebookPrivate *priv;
28645 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ())))));
28647 if (priv->switch_tab_timer)
28649 g_source_remove (priv->switch_tab_timer);
28650 priv->switch_tab_timer = 0;
28653 stop_scrolling (((((GtkNotebook*) ((widget))))));
28657 gtk_notebook_drag_drop (GtkWidget *widget,
28658 GdkDragContext *context,
28663 GdkAtom target, tab_target;
28665 target = IA__gtk_drag_dest_find_target (widget, context, ((void *)0));
28666 tab_target = gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB");
28668 if (target == tab_target)
28670 IA__gtk_drag_get_data (widget, context, target, time);
28678 do_detach_tab (GtkNotebook *from,
28684 GtkNotebookPrivate *priv;
28685 GtkWidget *tab_label, *menu_label;
28686 gboolean tab_expand, tab_fill, reorderable, detachable;
28691 menu_label = IA__gtk_notebook_get_menu_label (from, child);
28694 g_object_ref (menu_label);
28696 tab_label = IA__gtk_notebook_get_tab_label (from, child);
28699 g_object_ref (tab_label);
28701 g_object_ref (child);
28703 IA__gtk_container_child_get (((((GtkContainer*) ((from))))),
28705 "tab-expand", &tab_expand,
28706 "tab-fill", &tab_fill,
28707 "tab-pack", &tab_pack,
28708 "reorderable", &reorderable,
28709 "detachable", &detachable,
28712 IA__gtk_container_remove (((((GtkContainer*) ((from))))), child);
28714 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((to)), ((IA__gtk_notebook_get_type ())))));
28715 priv->mouse_x = x + ((((GtkWidget*) ((to)))))->allocation.x;
28716 priv->mouse_y = y + ((((GtkWidget*) ((to)))))->allocation.y;
28718 element = get_drop_position (to, tab_pack);
28719 page_num = g_list_position (to->children, element);
28720 IA__gtk_notebook_insert_page_menu (to, child, tab_label, menu_label, page_num);
28722 IA__gtk_container_child_set (((((GtkContainer*) ((to))))), child,
28723 "tab-pack", tab_pack,
28724 "tab-expand", tab_expand,
28725 "tab-fill", tab_fill,
28726 "reorderable", reorderable,
28727 "detachable", detachable,
28730 g_object_unref (child);
28733 g_object_unref (tab_label);
28736 g_object_unref (menu_label);
28738 IA__gtk_notebook_set_current_page (to, page_num);
28742 gtk_notebook_drag_data_get (GtkWidget *widget,
28743 GdkDragContext *context,
28744 GtkSelectionData *data,
28748 GtkNotebookPrivate *priv;
28750 if (data->target == gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB"))
28752 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ())))));
28754 IA__gtk_selection_data_set (data,
28757 (void*) &priv->detached_tab->child,
28758 sizeof (gpointer));
28763 gtk_notebook_drag_data_received (GtkWidget *widget,
28764 GdkDragContext *context,
28767 GtkSelectionData *data,
28771 GtkNotebook *notebook;
28772 GtkWidget *source_widget;
28775 notebook = ((((GtkNotebook*) ((widget)))));
28776 source_widget = IA__gtk_drag_get_source_widget (context);
28778 if (source_widget &&
28779 data->target == gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB"))
28781 child = (void*) data->data;
28783 do_detach_tab (((((GtkNotebook*) ((source_widget))))), notebook, *child, x, y);
28784 IA__gtk_drag_finish (context, (!(0)), (0), time);
28787 IA__gtk_drag_finish (context, (0), (0), time);
28789 # 3559 "gtknotebook.c"
28791 gtk_notebook_set_child_property (GtkContainer *container,
28794 const GValue *value,
28799 GtkPackType pack_type;
28802 if (!gtk_notebook_find_child (((((GtkNotebook*) ((container))))), child, ((void *)0)))
28805 switch (property_id)
28807 case CHILD_PROP_TAB_LABEL:
28811 IA__gtk_notebook_set_tab_label_text (((((GtkNotebook*) ((container))))), child,
28812 g_value_get_string (value));
28814 case CHILD_PROP_MENU_LABEL:
28815 IA__gtk_notebook_set_menu_label_text (((((GtkNotebook*) ((container))))), child,
28816 g_value_get_string (value));
28818 case CHILD_PROP_POSITION:
28819 IA__gtk_notebook_reorder_child (((((GtkNotebook*) ((container))))), child,
28820 g_value_get_int (value));
28822 case CHILD_PROP_TAB_EXPAND:
28823 IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28824 &expand, &fill, &pack_type);
28825 IA__gtk_notebook_set_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28826 g_value_get_boolean (value),
28829 case CHILD_PROP_TAB_FILL:
28830 IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28831 &expand, &fill, &pack_type);
28832 IA__gtk_notebook_set_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28834 g_value_get_boolean (value),
28837 case CHILD_PROP_TAB_PACK:
28838 IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28839 &expand, &fill, &pack_type);
28840 IA__gtk_notebook_set_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28842 g_value_get_enum (value));
28844 case CHILD_PROP_REORDERABLE:
28845 IA__gtk_notebook_set_tab_reorderable (((((GtkNotebook*) ((container))))), child,
28846 g_value_get_boolean (value));
28848 case CHILD_PROP_DETACHABLE:
28849 IA__gtk_notebook_set_tab_detachable (((((GtkNotebook*) ((container))))), child,
28850 g_value_get_boolean (value));
28853 (void) __extension__ ( { GObject *_object = (GObject*) ((container)); GParamSpec *_pspec = (GParamSpec*) ((pspec)); guint _property_id = ((property_id)); g_log ("Gtk", G_LOG_LEVEL_WARNING, "%s: invalid %s id %u for \"%s\" of type `%s' in `%s'", "gtknotebook.c" ":" "3622", ("child property id"), _property_id, _pspec->name, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (_pspec))->g_class))->g_type)))), (g_type_name ((((((GTypeClass*) (((GTypeInstance*) (_object))->g_class))->g_type)))))); } );
28859 gtk_notebook_get_child_property (GtkContainer *container,
28866 GtkNotebook *notebook;
28870 GtkPackType pack_type;
28872 notebook = ((((GtkNotebook*) ((container)))));
28875 list = gtk_notebook_find_child (notebook, child, ((void *)0));
28879 g_param_value_set_default (pspec, value);
28883 switch (property_id)
28885 case CHILD_PROP_TAB_LABEL:
28886 label = IA__gtk_notebook_get_tab_label (notebook, child);
28888 if (label && (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((label)); GType __t = ((IA__gtk_label_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))))
28889 g_value_set_string (value, ((((GtkLabel*) ((label)))))->label);
28891 g_value_set_string (value, ((void *)0));
28893 case CHILD_PROP_MENU_LABEL:
28894 label = IA__gtk_notebook_get_menu_label (notebook, child);
28896 if (label && (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((label)); GType __t = ((IA__gtk_label_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))))
28897 g_value_set_string (value, ((((GtkLabel*) ((label)))))->label);
28899 g_value_set_string (value, ((void *)0));
28901 case CHILD_PROP_POSITION:
28902 g_value_set_int (value, g_list_position (notebook->children, list));
28904 case CHILD_PROP_TAB_EXPAND:
28905 IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28906 &expand, ((void *)0), ((void *)0));
28907 g_value_set_boolean (value, expand);
28909 case CHILD_PROP_TAB_FILL:
28910 IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28911 ((void *)0), &fill, ((void *)0));
28912 g_value_set_boolean (value, fill);
28914 case CHILD_PROP_TAB_PACK:
28915 IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child,
28916 ((void *)0), ((void *)0), &pack_type);
28917 g_value_set_enum (value, pack_type);
28919 case CHILD_PROP_REORDERABLE:
28920 g_value_set_boolean (value,
28921 IA__gtk_notebook_get_tab_reorderable (((((GtkNotebook*) ((container))))), child));
28923 case CHILD_PROP_DETACHABLE:
28924 g_value_set_boolean (value,
28925 IA__gtk_notebook_get_tab_detachable (((((GtkNotebook*) ((container))))), child));
28928 (void) __extension__ ( { GObject *_object = (GObject*) ((container)); GParamSpec *_pspec = (GParamSpec*) ((pspec)); guint _property_id = ((property_id)); g_log ("Gtk", G_LOG_LEVEL_WARNING, "%s: invalid %s id %u for \"%s\" of type `%s' in `%s'", "gtknotebook.c" ":" "3697", ("child property id"), _property_id, _pspec->name, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (_pspec))->g_class))->g_type)))), (g_type_name ((((((GTypeClass*) (((GTypeInstance*) (_object))->g_class))->g_type)))))); } );
28934 gtk_notebook_add (GtkContainer *container,
28937 IA__gtk_notebook_insert_page_menu (((((GtkNotebook*) ((container))))), widget,
28938 ((void *)0), ((void *)0), -1);
28942 gtk_notebook_remove (GtkContainer *container,
28945 GtkNotebook *notebook;
28946 GtkNotebookPage *page;
28950 notebook = ((((GtkNotebook*) ((container)))));
28952 children = notebook->children;
28955 page = children->data;
28957 if (page->child == widget)
28961 children = children->next;
28964 if (children == ((void *)0))
28967 g_object_ref (widget);
28969 gtk_notebook_real_remove (notebook, children);
28971 g_signal_emit (notebook,
28972 notebook_signals[PAGE_REMOVED],
28977 g_object_unref (widget);
28981 focus_tabs_in (GtkNotebook *notebook)
28983 if (notebook->show_tabs && notebook->cur_page)
28985 IA__gtk_widget_grab_focus (((((GtkWidget*) ((notebook))))));
28987 gtk_notebook_switch_focus_tab (notebook,
28988 g_list_find (notebook->children,
28989 notebook->cur_page));
28998 focus_tabs_move (GtkNotebook *notebook,
28999 GtkDirectionType direction,
29000 gint search_direction)
29004 new_page = gtk_notebook_search_page (notebook, notebook->focus_tab,
29005 search_direction, (!(0)));
29008 gboolean wrap_around;
29010 g_object_get (IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook)))))),
29011 "gtk-keynav-wrap-around", &wrap_around,
29015 new_page = gtk_notebook_search_page (notebook, ((void *)0),
29016 search_direction, (!(0)));
29020 gtk_notebook_switch_focus_tab (notebook, new_page);
29022 IA__gtk_widget_error_bell (((((GtkWidget*) ((notebook))))));
29028 focus_child_in (GtkNotebook *notebook,
29029 GtkDirectionType direction)
29031 if (notebook->cur_page)
29032 return IA__gtk_widget_child_focus (notebook->cur_page->child, direction);
29041 gtk_notebook_focus (GtkWidget *widget,
29042 GtkDirectionType direction)
29044 GtkWidget *old_focus_child;
29045 GtkNotebook *notebook;
29046 GtkDirectionType effective_direction;
29048 gboolean widget_is_focus;
29049 GtkContainer *container;
29051 container = ((((GtkContainer*) ((widget)))));
29052 notebook = ((((GtkNotebook*) ((container)))));
29054 if (notebook->focus_out)
29056 notebook->focus_out = (0);
29060 widget_is_focus = IA__gtk_widget_is_focus (widget);
29061 old_focus_child = container->focus_child;
29063 effective_direction = get_effective_direction (notebook, direction);
29065 if (old_focus_child)
29067 if (IA__gtk_widget_child_focus (old_focus_child, direction))
29070 switch (effective_direction)
29072 case GTK_DIR_TAB_BACKWARD:
29075 return focus_tabs_in (notebook);
29077 case GTK_DIR_TAB_FORWARD:
29079 case GTK_DIR_RIGHT:
29083 else if (widget_is_focus)
29085 switch (effective_direction)
29087 case GTK_DIR_TAB_BACKWARD:
29090 case GTK_DIR_TAB_FORWARD:
29096 return focus_child_in (notebook, GTK_DIR_TAB_FORWARD);
29098 return focus_tabs_move (notebook, direction, STEP_PREV);
29099 case GTK_DIR_RIGHT:
29100 return focus_tabs_move (notebook, direction, STEP_NEXT);
29105 switch (effective_direction)
29107 case GTK_DIR_TAB_FORWARD:
29109 if (focus_tabs_in (notebook))
29111 if (focus_child_in (notebook, direction))
29114 case GTK_DIR_TAB_BACKWARD:
29116 if (focus_child_in (notebook, direction))
29118 if (focus_tabs_in (notebook))
29122 case GTK_DIR_RIGHT:
29123 return focus_child_in (notebook, direction);
29127 (void) __extension__ ({ g_assert_warning ("Gtk", "gtknotebook.c", 3896, __PRETTY_FUNCTION__, ((void *)0)); });
29132 gtk_notebook_set_focus_child (GtkContainer *container,
29135 GtkNotebook *notebook = ((((GtkNotebook*) ((container)))));
29136 GtkWidget *page_child;
29137 GtkWidget *toplevel;
29144 toplevel = IA__gtk_widget_get_toplevel (((((GtkWidget*) ((container))))));
29145 if (toplevel && ((((((((GtkObject*) ((toplevel)))))->flags)) & GTK_TOPLEVEL) != 0))
29147 page_child = ((((GtkWindow*) ((toplevel)))))->focus_widget;
29150 if (page_child->parent == ((((GtkWidget*) ((container))))))
29152 GList *list = gtk_notebook_find_child (notebook, page_child, ((void *)0));
29153 if (list != ((void *)0))
29155 GtkNotebookPage *page = list->data;
29157 if (page->last_focus_child)
29158 g_object_remove_weak_pointer (((((GObject*) ((page->last_focus_child))))), (gpointer *)&page->last_focus_child);
29160 page->last_focus_child = ((((GtkWindow*) ((toplevel)))))->focus_widget;
29161 g_object_add_weak_pointer (((((GObject*) ((page->last_focus_child))))), (gpointer *)&page->last_focus_child);
29167 page_child = page_child->parent;
29173 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
29175 notebook->child_has_focus = (!(0));
29176 if (!notebook->focus_tab)
29179 GtkNotebookPage *page;
29181 children = notebook->children;
29184 page = children->data;
29185 if (page->child == child || page->tab_label == child)
29186 gtk_notebook_switch_focus_tab (notebook, children);
29187 children = children->next;
29192 ((((GtkContainerClass*) ((gtk_notebook_parent_class)))))->set_focus_child (container, child);
29196 gtk_notebook_forall (GtkContainer *container,
29197 gboolean include_internals,
29198 GtkCallback callback,
29199 gpointer callback_data)
29201 GtkNotebook *notebook;
29204 notebook = ((((GtkNotebook*) ((container)))));
29206 children = notebook->children;
29209 GtkNotebookPage *page;
29211 page = children->data;
29212 children = children->next;
29213 (* callback) (page->child, callback_data);
29215 if (include_internals)
29217 if (page->tab_label)
29218 (* callback) (page->tab_label, callback_data);
29224 gtk_notebook_child_type (GtkContainer *container)
29226 return (IA__gtk_widget_get_type ());
29234 page_visible_cb (GtkWidget *page,
29238 GtkNotebook *notebook = (GtkNotebook *) data;
29240 GList *next = ((void *)0);
29242 if (notebook->cur_page &&
29243 notebook->cur_page->child == page &&
29244 !((((((((GtkObject*) ((page)))))->flags)) & GTK_VISIBLE) != 0))
29246 list = g_list_find (notebook->children, notebook->cur_page);
29249 next = gtk_notebook_search_page (notebook, list, STEP_NEXT, (!(0)));
29251 next = gtk_notebook_search_page (notebook, list, STEP_PREV, (!(0)));
29255 gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(next))->data));
29260 gtk_notebook_real_insert_page (GtkNotebook *notebook,
29262 GtkWidget *tab_label,
29263 GtkWidget *menu_label,
29266 GtkNotebookPage *page;
29269 IA__gtk_widget_freeze_child_notify (child);
29271 page = ((GtkNotebookPage *) g_malloc0 (((gsize) sizeof (GtkNotebookPage)) * ((gsize) (1))));
29272 page->child = child;
29274 nchildren = g_list_length (notebook->children);
29275 if ((position < 0) || (position > nchildren))
29276 position = nchildren;
29278 notebook->children = g_list_insert (notebook->children, page, position);
29282 page->default_tab = (!(0));
29283 if (notebook->show_tabs)
29284 tab_label = IA__gtk_label_new (((void *)0));
29286 page->tab_label = tab_label;
29287 page->menu_label = menu_label;
29288 page->expand = (0);
29289 page->fill = (!(0));
29290 page->pack = GTK_PACK_START;
29293 page->default_menu = (!(0));
29295 g_object_ref_sink (page->menu_label);
29297 if (notebook->menu)
29298 gtk_notebook_menu_item_create (notebook,
29299 g_list_find (notebook->children, page));
29301 IA__gtk_widget_set_parent (child, ((((GtkWidget*) ((notebook))))));
29303 IA__gtk_widget_set_parent (tab_label, ((((GtkWidget*) ((notebook))))));
29305 gtk_notebook_update_labels (notebook);
29307 if (!notebook->first_tab)
29308 notebook->first_tab = notebook->children;
29311 if (notebook->cur_page != page)
29312 IA__gtk_widget_set_child_visible (child, (0));
29316 if (notebook->show_tabs && ((((((((GtkObject*) ((child)))))->flags)) & GTK_VISIBLE) != 0))
29317 IA__gtk_widget_show (tab_label);
29319 IA__gtk_widget_hide (tab_label);
29321 page->mnemonic_activate_signal =
29322 g_signal_connect_data ((tab_label), ("mnemonic_activate"), (((GCallback) (gtk_notebook_mnemonic_activate_switch_page))), (notebook), ((void *)0), (GConnectFlags) 0);
29328 page->notify_visible_handler = g_signal_connect_data ((child), ("notify::visible"), (((GCallback) (page_visible_cb))), (notebook), ((void *)0), (GConnectFlags) 0);
29331 g_signal_emit (notebook,
29332 notebook_signals[PAGE_ADDED],
29337 if (!notebook->cur_page)
29339 gtk_notebook_switch_page (notebook, page);
29341 gtk_notebook_switch_focus_tab (notebook, notebook->focus_tab);
29344 gtk_notebook_update_tab_states (notebook);
29346 IA__gtk_widget_child_notify (child, "tab-expand");
29347 IA__gtk_widget_child_notify (child, "tab-fill");
29348 IA__gtk_widget_child_notify (child, "tab-pack");
29349 IA__gtk_widget_child_notify (child, "tab-label");
29350 IA__gtk_widget_child_notify (child, "menu-label");
29351 IA__gtk_widget_child_notify (child, "position");
29352 IA__gtk_widget_thaw_child_notify (child);
29355 return IA__gtk_notebook_page_num (notebook, child);
29357 # 4138 "gtknotebook.c"
29359 gtk_notebook_redraw_tabs (GtkNotebook *notebook)
29362 GtkNotebookPage *page;
29363 GdkRectangle redraw_rect;
29365 gint tab_pos = get_effective_tab_pos (notebook);
29367 widget = ((((GtkWidget*) ((notebook)))));
29368 border = ((((GtkContainer*) ((notebook)))))->border_width;
29370 if (!((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0) || !notebook->first_tab)
29373 page = notebook->first_tab->data;
29375 redraw_rect.x = border;
29376 redraw_rect.y = border;
29380 case GTK_POS_BOTTOM:
29381 redraw_rect.y = widget->allocation.height - border -
29382 page->allocation.height - widget->style->ythickness;
29384 if (page != notebook->cur_page)
29385 redraw_rect.y -= widget->style->ythickness;
29388 redraw_rect.width = widget->allocation.width - 2 * border;
29389 redraw_rect.height = page->allocation.height + widget->style->ythickness;
29391 if (page != notebook->cur_page)
29392 redraw_rect.height += widget->style->ythickness;
29394 case GTK_POS_RIGHT:
29395 redraw_rect.x = widget->allocation.width - border -
29396 page->allocation.width - widget->style->xthickness;
29398 if (page != notebook->cur_page)
29399 redraw_rect.x -= widget->style->xthickness;
29402 redraw_rect.width = page->allocation.width + widget->style->xthickness;
29403 redraw_rect.height = widget->allocation.height - 2 * border;
29405 if (page != notebook->cur_page)
29406 redraw_rect.width += widget->style->xthickness;
29410 redraw_rect.x += widget->allocation.x;
29411 redraw_rect.y += widget->allocation.y;
29413 gdk_window_invalidate_rect (widget->window, &redraw_rect, (!(0)));
29417 gtk_notebook_redraw_arrows (GtkNotebook *notebook)
29419 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0) && gtk_notebook_show_arrows (notebook))
29423 GtkNotebookArrow arrow[4];
29425 arrow[0] = notebook->has_before_previous ? ARROW_LEFT_BEFORE : ARROW_NONE;
29426 arrow[1] = notebook->has_before_next ? ARROW_RIGHT_BEFORE : ARROW_NONE;
29427 arrow[2] = notebook->has_after_previous ? ARROW_LEFT_AFTER : ARROW_NONE;
29428 arrow[3] = notebook->has_after_next ? ARROW_RIGHT_AFTER : ARROW_NONE;
29430 for (i = 0; i < 4; i++)
29432 if (arrow[i] == ARROW_NONE)
29435 gtk_notebook_get_arrow_rect (notebook, &rect, arrow[i]);
29436 gdk_window_invalidate_rect (((((GtkWidget*) ((notebook)))))->window,
29443 gtk_notebook_timer (GtkNotebook *notebook)
29445 gboolean retval = (0);
29447 if (notebook->timer)
29449 gtk_notebook_do_arrow (notebook, notebook->click_child);
29451 if (notebook->need_timer)
29453 GtkSettings *settings;
29456 settings = IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook))))));
29457 g_object_get (settings, "gtk-timeout-repeat", &timeout, ((void *)0));
29459 notebook->need_timer = (0);
29460 notebook->timer = gdk_threads_add_timeout (timeout * 5,
29461 (GSourceFunc) gtk_notebook_timer,
29462 (gpointer) notebook);
29472 gtk_notebook_set_scroll_timer (GtkNotebook *notebook)
29474 GtkWidget *widget = ((((GtkWidget*) ((notebook)))));
29476 if (!notebook->timer)
29478 GtkSettings *settings = IA__gtk_widget_get_settings (widget);
29481 g_object_get (settings, "gtk-timeout-initial", &timeout, ((void *)0));
29483 notebook->timer = gdk_threads_add_timeout (timeout,
29484 (GSourceFunc) gtk_notebook_timer,
29485 (gpointer) notebook);
29486 notebook->need_timer = (!(0));
29491 gtk_notebook_page_compare (gconstpointer a,
29494 return (((GtkNotebookPage *) a)->child != b);
29498 gtk_notebook_find_child (GtkNotebook *notebook,
29500 const gchar *function)
29502 GList *list = g_list_find_custom (notebook->children, child,
29503 gtk_notebook_page_compare);
29506 if (!list && function)
29507 g_log ("Gtk", G_LOG_LEVEL_WARNING, "%s: unable to find child %p in notebook %p", function, child, notebook);
29515 gtk_notebook_remove_tab_label (GtkNotebook *notebook,
29516 GtkNotebookPage *page)
29518 if (page->tab_label)
29520 if (page->mnemonic_activate_signal)
29521 g_signal_handler_disconnect (page->tab_label,
29522 page->mnemonic_activate_signal);
29523 page->mnemonic_activate_signal = 0;
29525 IA__gtk_widget_set_state (page->tab_label, GTK_STATE_NORMAL);
29526 IA__gtk_widget_unparent (page->tab_label);
29527 page->tab_label = ((void *)0);
29532 gtk_notebook_real_remove (GtkNotebook *notebook,
29535 GtkNotebookPrivate *priv;
29536 GtkNotebookPage *page;
29538 gint need_resize = (0);
29539 GtkWidget *tab_label;
29541 gboolean destroying;
29543 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
29544 destroying = (((((GtkObject*) ((notebook)))))->flags) & GTK_IN_DESTRUCTION;
29546 next_list = gtk_notebook_search_page (notebook, list, STEP_PREV, (!(0)));
29548 next_list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (!(0)));
29550 if (notebook->cur_page == list->data)
29552 notebook->cur_page = ((void *)0);
29553 if (next_list && !destroying)
29554 gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(next_list))->data));
29557 if (priv->detached_tab == list->data)
29558 priv->detached_tab = ((void *)0);
29560 if (list == notebook->first_tab)
29561 notebook->first_tab = next_list;
29562 if (list == notebook->focus_tab && !destroying)
29563 gtk_notebook_switch_focus_tab (notebook, next_list);
29567 g_signal_handler_disconnect (page->child, page->notify_visible_handler);
29569 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0))
29570 need_resize = (!(0));
29572 IA__gtk_widget_unparent (page->child);
29574 tab_label = page->tab_label;
29577 g_object_ref (tab_label);
29578 gtk_notebook_remove_tab_label (notebook, page);
29580 IA__gtk_widget_destroy (tab_label);
29581 g_object_unref (tab_label);
29584 if (notebook->menu)
29586 IA__gtk_container_remove (((((GtkContainer*) ((notebook->menu))))),
29587 page->menu_label->parent);
29588 IA__gtk_widget_queue_resize (notebook->menu);
29590 if (!page->default_menu)
29591 g_object_unref (page->menu_label);
29593 notebook->children = g_list_remove_link (notebook->children, list);
29594 g_list_free (list);
29596 if (page->last_focus_child)
29598 g_object_remove_weak_pointer (((((GObject*) ((page->last_focus_child))))), (gpointer *)&page->last_focus_child);
29599 page->last_focus_child = ((void *)0);
29604 gtk_notebook_update_labels (notebook);
29606 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
29610 gtk_notebook_update_labels (GtkNotebook *notebook)
29612 GtkNotebookPage *page;
29617 if (!notebook->show_tabs && !notebook->menu)
29620 for (list = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (0));
29622 list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (0)))
29625 g_snprintf (string, sizeof(string), dcgettext ("gtk20", "Page %u", __LC_MESSAGES), page_num++);
29626 if (notebook->show_tabs)
29628 if (page->default_tab)
29630 if (!page->tab_label)
29632 page->tab_label = IA__gtk_label_new (string);
29633 IA__gtk_widget_set_parent (page->tab_label,
29634 ((((GtkWidget*) ((notebook))))));
29637 IA__gtk_label_set_text (((((GtkLabel*) ((page->tab_label))))), string);
29640 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) &&
29641 !((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0))
29642 IA__gtk_widget_show (page->tab_label);
29643 else if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) &&
29644 ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0))
29645 IA__gtk_widget_hide (page->tab_label);
29647 if (notebook->menu && page->default_menu)
29649 if (page->tab_label && (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((page->tab_label)); GType __t = ((IA__gtk_label_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))))
29650 IA__gtk_label_set_text (((((GtkLabel*) ((page->menu_label))))),
29651 ((((GtkLabel*) ((page->tab_label)))))->label);
29653 IA__gtk_label_set_text (((((GtkLabel*) ((page->menu_label))))), string);
29659 gtk_notebook_real_page_position (GtkNotebook *notebook,
29665 for (work = notebook->children, count_start = 0;
29666 work && work != list; work = work->next)
29667 if (((GtkNotebookPage *)((GList *)(work))->data)->pack == GTK_PACK_START)
29673 if (((GtkNotebookPage *)((GList *)(list))->data)->pack == GTK_PACK_START)
29674 return count_start;
29676 return (count_start + g_list_length (list) - 1);
29680 gtk_notebook_search_page (GtkNotebook *notebook,
29683 gboolean find_visible)
29685 GtkNotebookPage *page = ((void *)0);
29686 GList *old_list = ((void *)0);
29692 flag = GTK_PACK_END;
29696 flag = GTK_PACK_START;
29703 if (!page || page->pack == flag)
29711 list = notebook->children;
29716 if (page->pack == flag &&
29718 (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) &&
29719 (!page->tab_label || (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook)))))))
29734 if (page->pack != flag &&
29736 (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) &&
29737 (!page->tab_label || (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook)))))))
29742 return ((void *)0);
29752 gtk_notebook_paint (GtkWidget *widget,
29753 GdkRectangle *area)
29755 GtkNotebook *notebook;
29756 GtkNotebookPrivate *priv;
29757 GtkNotebookPage *page;
29759 gboolean showarrow;
29760 gint width, height;
29762 gint border_width = ((((GtkContainer*) ((widget)))))->border_width;
29763 gint gap_x = 0, gap_width = 0, step = STEP_PREV;
29767 if (!(((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_MAPPED) != 0)))
29770 notebook = ((((GtkNotebook*) ((widget)))));
29771 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
29772 is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
29773 tab_pos = get_effective_tab_pos (notebook);
29775 if ((!notebook->show_tabs && !notebook->show_border) ||
29776 !notebook->cur_page || !((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_VISIBLE) != 0))
29779 x = widget->allocation.x + border_width;
29780 y = widget->allocation.y + border_width;
29781 width = widget->allocation.width - border_width * 2;
29782 height = widget->allocation.height - border_width * 2;
29784 if (notebook->show_border && (!notebook->show_tabs || !notebook->children))
29786 IA__gtk_paint_box (widget->style, widget->window,
29787 GTK_STATE_NORMAL, GTK_SHADOW_OUT,
29788 area, widget, "notebook",
29789 x, y, width, height);
29793 if (!notebook->first_tab)
29794 notebook->first_tab = notebook->children;
29796 if (!((((((((GtkObject*) ((notebook->cur_page->tab_label)))))->flags)) & GTK_MAPPED) != 0))
29797 page = ((GtkNotebookPage *)((GList *)(notebook->first_tab))->data);
29799 page = notebook->cur_page;
29804 y += page->allocation.height;
29806 case GTK_POS_BOTTOM:
29807 height -= page->allocation.height;
29810 x += page->allocation.width;
29812 case GTK_POS_RIGHT:
29813 width -= page->allocation.width;
29817 if (!(((GtkNotebookPage *) (notebook->cur_page))->tab_label->parent == ((GtkWidget *) (notebook))) ||
29818 !((((((((GtkObject*) ((notebook->cur_page->tab_label)))))->flags)) & GTK_MAPPED) != 0))
29828 case GTK_POS_BOTTOM:
29829 if (priv->operation == DRAG_OPERATION_REORDER)
29830 gap_x = priv->drag_window_x - widget->allocation.x - border_width;
29832 gap_x = notebook->cur_page->allocation.x - widget->allocation.x - border_width;
29834 gap_width = notebook->cur_page->allocation.width;
29835 step = is_rtl ? STEP_NEXT : STEP_PREV;
29838 case GTK_POS_RIGHT:
29839 if (priv->operation == DRAG_OPERATION_REORDER)
29840 gap_x = priv->drag_window_y - border_width - widget->allocation.y;
29842 gap_x = notebook->cur_page->allocation.y - widget->allocation.y - border_width;
29844 gap_width = notebook->cur_page->allocation.height;
29849 IA__gtk_paint_box_gap (widget->style, widget->window,
29850 GTK_STATE_NORMAL, GTK_SHADOW_OUT,
29851 area, widget, "notebook",
29852 x, y, width, height,
29853 tab_pos, gap_x, gap_width);
29856 children = gtk_notebook_search_page (notebook, ((void *)0), step, (!(0)));
29859 page = children->data;
29860 children = gtk_notebook_search_page (notebook, children,
29862 if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
29864 if (!((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0))
29865 showarrow = (!(0));
29866 else if (page != notebook->cur_page)
29867 gtk_notebook_draw_tab (notebook, page, area);
29870 if (showarrow && notebook->scrollable)
29872 if (notebook->has_before_previous)
29873 gtk_notebook_draw_arrow (notebook, ARROW_LEFT_BEFORE);
29874 if (notebook->has_before_next)
29875 gtk_notebook_draw_arrow (notebook, ARROW_RIGHT_BEFORE);
29876 if (notebook->has_after_previous)
29877 gtk_notebook_draw_arrow (notebook, ARROW_LEFT_AFTER);
29878 if (notebook->has_after_next)
29879 gtk_notebook_draw_arrow (notebook, ARROW_RIGHT_AFTER);
29881 gtk_notebook_draw_tab (notebook, notebook->cur_page, area);
29885 gtk_notebook_draw_tab (GtkNotebook *notebook,
29886 GtkNotebookPage *page,
29887 GdkRectangle *area)
29889 GtkNotebookPrivate *priv;
29890 GdkRectangle child_area;
29891 GdkRectangle page_area;
29892 GtkStateType state_type;
29893 GtkPositionType gap_side;
29897 if (!(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) ||
29898 !((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0) ||
29899 (page->allocation.width == 0) || (page->allocation.height == 0))
29902 widget = ((((GtkWidget*) ((notebook)))));
29903 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
29905 if (priv->operation == DRAG_OPERATION_REORDER && page == notebook->cur_page)
29906 window = priv->drag_window;
29908 window = widget->window;
29910 page_area.x = page->allocation.x;
29911 page_area.y = page->allocation.y;
29912 page_area.width = page->allocation.width;
29913 page_area.height = page->allocation.height;
29915 if (gdk_rectangle_intersect (&page_area, area, &child_area))
29917 gap_side = get_tab_gap_pos (notebook);
29919 if (notebook->cur_page == page)
29920 state_type = GTK_STATE_NORMAL;
29922 state_type = GTK_STATE_ACTIVE;
29924 IA__gtk_paint_extension (widget->style, window,
29925 state_type, GTK_SHADOW_OUT,
29926 area, widget, "tab",
29927 page_area.x, page_area.y,
29928 page_area.width, page_area.height,
29934 gtk_notebook_draw_arrow (GtkNotebook *notebook,
29935 GtkNotebookArrow nbarrow)
29937 GtkStateType state_type;
29938 GtkShadowType shadow_type;
29940 GdkRectangle arrow_rect;
29941 GtkArrowType arrow;
29942 gboolean is_rtl, left;
29944 if ((((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0)))
29946 gint scroll_arrow_hlength;
29947 gint scroll_arrow_vlength;
29950 gtk_notebook_get_arrow_rect (notebook, &arrow_rect, nbarrow);
29952 widget = ((((GtkWidget*) ((notebook)))));
29954 is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
29955 left = (((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) && !is_rtl) ||
29956 (!((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) && is_rtl);
29958 IA__gtk_widget_style_get (widget,
29959 "scroll-arrow-hlength", &scroll_arrow_hlength,
29960 "scroll-arrow-vlength", &scroll_arrow_vlength,
29963 if (notebook->in_child == nbarrow)
29965 if (notebook->click_child == nbarrow)
29966 state_type = GTK_STATE_ACTIVE;
29968 state_type = GTK_STATE_PRELIGHT;
29971 state_type = (((((GtkWidget*) ((widget)))))->state);
29973 if (notebook->click_child == nbarrow)
29974 shadow_type = GTK_SHADOW_IN;
29976 shadow_type = GTK_SHADOW_OUT;
29978 if (notebook->focus_tab &&
29979 !gtk_notebook_search_page (notebook, notebook->focus_tab,
29980 left ? STEP_PREV : STEP_NEXT, (!(0))))
29982 shadow_type = GTK_SHADOW_ETCHED_IN;
29983 state_type = GTK_STATE_INSENSITIVE;
29986 if (notebook->tab_pos == GTK_POS_LEFT ||
29987 notebook->tab_pos == GTK_POS_RIGHT)
29989 arrow = (((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) ? GTK_ARROW_UP : GTK_ARROW_DOWN);
29990 arrow_size = scroll_arrow_vlength;
29994 arrow = (((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) ? GTK_ARROW_LEFT : GTK_ARROW_RIGHT);
29995 arrow_size = scroll_arrow_hlength;
29998 IA__gtk_paint_arrow (widget->style, widget->window, state_type,
29999 shadow_type, ((void *)0), widget, "notebook",
30000 arrow, (!(0)), arrow_rect.x, arrow_rect.y,
30001 arrow_size, arrow_size);
30004 # 4794 "gtknotebook.c"
30006 gtk_notebook_tab_space (GtkNotebook *notebook,
30007 gboolean *show_arrows,
30012 GtkNotebookPrivate *priv;
30015 gint tab_pos = get_effective_tab_pos (notebook);
30017 gint arrow_spacing;
30018 gint scroll_arrow_hlength;
30019 gint scroll_arrow_vlength;
30021 widget = ((((GtkWidget*) ((notebook)))));
30022 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
30023 children = notebook->children;
30025 IA__gtk_widget_style_get (((((GtkWidget*) ((notebook))))),
30026 "arrow-spacing", &arrow_spacing,
30027 "scroll-arrow-hlength", &scroll_arrow_hlength,
30028 "scroll-arrow-vlength", &scroll_arrow_vlength,
30034 case GTK_POS_BOTTOM:
30035 *min = widget->allocation.x + ((((GtkContainer*) ((notebook)))))->border_width;
30036 *max = widget->allocation.x + widget->allocation.width - ((((GtkContainer*) ((notebook)))))->border_width;
30040 GtkNotebookPage *page;
30042 page = children->data;
30043 children = children->next;
30045 if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) &&
30046 ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30047 *tab_space += page->requisition.width;
30050 case GTK_POS_RIGHT:
30052 *min = widget->allocation.y + ((((GtkContainer*) ((notebook)))))->border_width;
30053 *max = widget->allocation.y + widget->allocation.height - ((((GtkContainer*) ((notebook)))))->border_width;
30057 GtkNotebookPage *page;
30059 page = children->data;
30060 children = children->next;
30062 if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) &&
30063 ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30064 *tab_space += page->requisition.height;
30069 if (!notebook->scrollable)
30070 *show_arrows = (0);
30073 IA__gtk_widget_style_get (widget, "tab-overlap", &tab_overlap, ((void *)0));
30078 case GTK_POS_BOTTOM:
30079 if (*tab_space > *max - *min - tab_overlap)
30081 *show_arrows = (!(0));
30084 *tab_space = widget->allocation.width - tab_overlap -
30085 2 * ((((GtkContainer*) ((notebook)))))->border_width;
30087 if (notebook->has_after_previous)
30089 *tab_space -= arrow_spacing + scroll_arrow_hlength;
30090 *max -= arrow_spacing + scroll_arrow_hlength;
30093 if (notebook->has_after_next)
30095 *tab_space -= arrow_spacing + scroll_arrow_hlength;
30096 *max -= arrow_spacing + scroll_arrow_hlength;
30099 if (notebook->has_before_previous)
30101 *tab_space -= arrow_spacing + scroll_arrow_hlength;
30102 *min += arrow_spacing + scroll_arrow_hlength;
30105 if (notebook->has_before_next)
30107 *tab_space -= arrow_spacing + scroll_arrow_hlength;
30108 *min += arrow_spacing + scroll_arrow_hlength;
30113 case GTK_POS_RIGHT:
30114 if (*tab_space > *max - *min - tab_overlap)
30116 *show_arrows = (!(0));
30119 *tab_space = widget->allocation.height -
30120 tab_overlap - 2 * ((((GtkContainer*) ((notebook)))))->border_width;
30122 if (notebook->has_after_previous || notebook->has_after_next)
30124 *tab_space -= arrow_spacing + scroll_arrow_vlength;
30125 *max -= arrow_spacing + scroll_arrow_vlength;
30128 if (notebook->has_before_previous || notebook->has_before_next)
30130 *tab_space -= arrow_spacing + scroll_arrow_vlength;
30131 *min += arrow_spacing + scroll_arrow_vlength;
30140 gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
30141 gboolean show_arrows,
30145 GList **last_child,
30147 gint *remaining_space)
30150 GtkContainer *container;
30152 GtkNotebookPage *page;
30153 gint tab_pos, tab_overlap;
30155 widget = ((((GtkWidget*) ((notebook)))));
30156 container = ((((GtkContainer*) ((notebook)))));
30157 IA__gtk_widget_style_get (widget, "tab-overlap", &tab_overlap, ((void *)0));
30158 tab_pos = get_effective_tab_pos (notebook);
30162 *remaining_space = tab_space;
30164 if ((((GtkNotebookPage *) (notebook->cur_page))->tab_label->parent == ((GtkWidget *) (notebook))) &&
30165 ((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_VISIBLE) != 0))
30167 gtk_notebook_calc_tabs (notebook,
30168 notebook->focus_tab,
30169 &(notebook->focus_tab),
30170 remaining_space, STEP_NEXT);
30173 if (*remaining_space <= 0)
30176 notebook->first_tab = notebook->focus_tab;
30177 *last_child = gtk_notebook_search_page (notebook, notebook->focus_tab,
30178 STEP_NEXT, (!(0)));
30182 children = ((void *)0);
30184 if (notebook->first_tab && notebook->first_tab != notebook->focus_tab)
30187 page = notebook->first_tab->data;
30188 if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) &&
30189 ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30190 for (children = notebook->focus_tab;
30191 children && children != notebook->first_tab;
30192 children = gtk_notebook_search_page (notebook,
30200 if ((((GtkNotebookPage *) (notebook->cur_page))->tab_label->parent == ((GtkWidget *) (notebook))))
30201 notebook->first_tab = notebook->focus_tab;
30203 notebook->first_tab = gtk_notebook_search_page (notebook, notebook->focus_tab,
30204 STEP_NEXT, (!(0)));
30208 gtk_notebook_calc_tabs (notebook,
30209 gtk_notebook_search_page (notebook,
30210 notebook->focus_tab,
30213 &(notebook->first_tab), remaining_space,
30216 if (*remaining_space < 0)
30218 notebook->first_tab =
30219 gtk_notebook_search_page (notebook, notebook->first_tab,
30220 STEP_NEXT, (!(0)));
30221 if (!notebook->first_tab)
30222 notebook->first_tab = notebook->focus_tab;
30224 *last_child = gtk_notebook_search_page (notebook, notebook->focus_tab,
30225 STEP_NEXT, (!(0)));
30229 if (!notebook->first_tab)
30230 notebook->first_tab = gtk_notebook_search_page (notebook,
30234 children = ((void *)0);
30235 gtk_notebook_calc_tabs (notebook,
30236 gtk_notebook_search_page (notebook,
30237 notebook->focus_tab,
30240 &children, remaining_space, STEP_NEXT);
30242 if (*remaining_space <= 0)
30243 *last_child = children;
30246 *last_child = ((void *)0);
30247 children = ((void *)0);
30249 gtk_notebook_calc_tabs (notebook,
30250 gtk_notebook_search_page (notebook,
30251 notebook->first_tab,
30254 &children, remaining_space, STEP_PREV);
30256 if (*remaining_space == 0)
30257 notebook->first_tab = children;
30259 notebook->first_tab = gtk_notebook_search_page(notebook,
30267 if (*remaining_space < 0)
30270 *remaining_space = - (*remaining_space);
30273 for (children = notebook->first_tab;
30274 children && children != *last_child;
30275 children = gtk_notebook_search_page (notebook, children,
30276 STEP_NEXT, (!(0))))
30280 *remaining_space = 0;
30283 for (children = gtk_notebook_search_page (notebook, ((void *)0),
30284 STEP_NEXT, (!(0)));
30285 children && children != notebook->first_tab;
30286 children = gtk_notebook_search_page (notebook, children,
30287 STEP_NEXT, (!(0))))
30289 page = children->data;
30291 if (page->tab_label &&
30292 (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))))
30293 IA__gtk_widget_set_child_visible (page->tab_label, (0));
30296 for (children = *last_child; children;
30297 children = gtk_notebook_search_page (notebook, children,
30298 STEP_NEXT, (!(0))))
30300 page = children->data;
30302 if (page->tab_label &&
30303 (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))))
30304 IA__gtk_widget_set_child_visible (page->tab_label, (0));
30312 *remaining_space = max - min - tab_overlap - tab_space;
30313 children = notebook->children;
30314 notebook->first_tab = gtk_notebook_search_page (notebook, ((void *)0),
30315 STEP_NEXT, (!(0)));
30318 page = children->data;
30319 children = children->next;
30321 if (!(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) ||
30322 !((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30332 if (notebook->homogeneous && *n)
30338 get_allocate_at_bottom (GtkWidget *widget,
30339 gint search_direction)
30341 gboolean is_rtl = (IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL);
30342 gboolean tab_pos = get_effective_tab_pos (((((GtkNotebook*) ((widget))))));
30347 case GTK_POS_BOTTOM:
30349 return (search_direction == STEP_PREV);
30351 return (search_direction == STEP_NEXT);
30354 case GTK_POS_RIGHT:
30356 return (search_direction == STEP_PREV);
30364 gtk_notebook_calculate_tabs_allocation (GtkNotebook *notebook,
30367 gboolean showarrow,
30369 gint *remaining_space,
30370 gint *expanded_tabs,
30375 GtkContainer *container;
30376 GtkNotebookPrivate *priv;
30377 GtkNotebookPage *page;
30378 gboolean allocate_at_bottom;
30379 gint tab_overlap, tab_pos, tab_extra_space;
30380 gint left_x, right_x, top_y, bottom_y, anchor;
30381 gint xthickness, ythickness;
30382 gboolean gap_left, packing_changed;
30383 GtkAllocation child_allocation = { 0, };
30384 gboolean allocation_changed = (0);
30386 widget = ((((GtkWidget*) ((notebook)))));
30387 container = ((((GtkContainer*) ((notebook)))));
30388 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
30389 IA__gtk_widget_style_get (widget, "tab-overlap", &tab_overlap, ((void *)0));
30390 tab_pos = get_effective_tab_pos (notebook);
30391 allocate_at_bottom = get_allocate_at_bottom (widget, direction);
30394 child_allocation.x = widget->allocation.x + container->border_width;
30395 child_allocation.y = widget->allocation.y + container->border_width;
30397 xthickness = widget->style->xthickness;
30398 ythickness = widget->style->ythickness;
30402 case GTK_POS_BOTTOM:
30403 child_allocation.y = widget->allocation.y + widget->allocation.height -
30404 notebook->cur_page->requisition.height - container->border_width;
30407 child_allocation.x = (allocate_at_bottom) ? max : min;
30408 child_allocation.height = notebook->cur_page->requisition.height;
30409 anchor = child_allocation.x;
30412 case GTK_POS_RIGHT:
30413 child_allocation.x = widget->allocation.x + widget->allocation.width -
30414 notebook->cur_page->requisition.width - container->border_width;
30417 child_allocation.y = (allocate_at_bottom) ? max : min;
30418 child_allocation.width = notebook->cur_page->requisition.width;
30419 anchor = child_allocation.y;
30423 left_x = (((priv->mouse_x - priv->drag_offset_x) > (max - notebook->cur_page->allocation.width)) ? (max - notebook->cur_page->allocation.width) : (((priv->mouse_x - priv->drag_offset_x) < (min)) ? (min) : (priv->mouse_x - priv->drag_offset_x)));
30425 top_y = (((priv->mouse_y - priv->drag_offset_y) > (max - notebook->cur_page->allocation.height)) ? (max - notebook->cur_page->allocation.height) : (((priv->mouse_y - priv->drag_offset_y) < (min)) ? (min) : (priv->mouse_y - priv->drag_offset_y)));
30427 right_x = left_x + notebook->cur_page->allocation.width;
30428 bottom_y = top_y + notebook->cur_page->allocation.height;
30429 gap_left = packing_changed = (0);
30431 while (*children && *children != last_child)
30433 page = (*children)->data;
30435 if (direction == STEP_NEXT && page->pack != GTK_PACK_START)
30439 else if (priv->operation == DRAG_OPERATION_REORDER)
30440 packing_changed = (!(0));
30443 if (direction == STEP_NEXT)
30444 *children = gtk_notebook_search_page (notebook, *children, direction, (!(0)));
30447 *children = (*children)->next;
30449 if (page->pack != GTK_PACK_END || !((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30453 if (!(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))))
30456 tab_extra_space = 0;
30457 if (*expanded_tabs && (showarrow || page->expand || notebook->homogeneous))
30459 tab_extra_space = *remaining_space / *expanded_tabs;
30460 *remaining_space -= tab_extra_space;
30461 (*expanded_tabs)--;
30467 case GTK_POS_BOTTOM:
30468 child_allocation.width = page->requisition.width + tab_overlap + tab_extra_space;
30471 if (priv->operation == DRAG_OPERATION_REORDER &&
30472 !gap_left && packing_changed)
30474 if (!allocate_at_bottom)
30476 if ((notebook->cur_page->pack == GTK_PACK_START && left_x >= anchor) ||
30477 (notebook->cur_page->pack == GTK_PACK_END && left_x < anchor))
30479 left_x = priv->drag_window_x = anchor;
30480 anchor += notebook->cur_page->allocation.width - tab_overlap;
30485 if ((notebook->cur_page->pack == GTK_PACK_START && right_x <= anchor) ||
30486 (notebook->cur_page->pack == GTK_PACK_END && right_x > anchor))
30488 anchor -= notebook->cur_page->allocation.width;
30489 left_x = priv->drag_window_x = anchor;
30490 anchor += tab_overlap;
30497 if (priv->operation == DRAG_OPERATION_REORDER && page == notebook->cur_page)
30499 priv->drag_window_x = left_x;
30500 priv->drag_window_y = child_allocation.y;
30504 if (allocate_at_bottom)
30505 anchor -= child_allocation.width;
30507 if (priv->operation == DRAG_OPERATION_REORDER && page->pack == notebook->cur_page->pack)
30509 if (!allocate_at_bottom &&
30510 left_x >= anchor &&
30511 left_x <= anchor + child_allocation.width / 2)
30512 anchor += notebook->cur_page->allocation.width - tab_overlap;
30513 else if (allocate_at_bottom &&
30514 right_x >= anchor + child_allocation.width / 2 &&
30515 right_x <= anchor + child_allocation.width)
30516 anchor -= notebook->cur_page->allocation.width - tab_overlap;
30519 child_allocation.x = anchor;
30524 case GTK_POS_RIGHT:
30525 child_allocation.height = page->requisition.height + tab_overlap + tab_extra_space;
30528 if (priv->operation == DRAG_OPERATION_REORDER &&
30529 !gap_left && packing_changed)
30531 if (!allocate_at_bottom &&
30532 ((notebook->cur_page->pack == GTK_PACK_START && top_y >= anchor) ||
30533 (notebook->cur_page->pack == GTK_PACK_END && top_y < anchor)))
30535 top_y = priv->drag_window_y = anchor;
30536 anchor += notebook->cur_page->allocation.height - tab_overlap;
30542 if (priv->operation == DRAG_OPERATION_REORDER && page == notebook->cur_page)
30544 priv->drag_window_x = child_allocation.x;
30545 priv->drag_window_y = top_y;
30549 if (allocate_at_bottom)
30550 anchor -= child_allocation.height;
30552 if (priv->operation == DRAG_OPERATION_REORDER && page->pack == notebook->cur_page->pack)
30554 if (!allocate_at_bottom &&
30556 top_y <= anchor + child_allocation.height / 2)
30557 anchor += notebook->cur_page->allocation.height - tab_overlap;
30558 else if (allocate_at_bottom &&
30559 bottom_y >= anchor + child_allocation.height / 2 &&
30560 bottom_y <= anchor + child_allocation.height)
30561 anchor -= notebook->cur_page->allocation.height - tab_overlap;
30564 child_allocation.y = anchor;
30570 if ((priv->operation != DRAG_OPERATION_REORDER || page != notebook->cur_page) &&
30571 (page->allocation.x != child_allocation.x ||
30572 page->allocation.y != child_allocation.y ||
30573 page->allocation.width != child_allocation.width ||
30574 page->allocation.height != child_allocation.height))
30575 allocation_changed = (!(0));
30577 page->allocation = child_allocation;
30579 if ((page == priv->detached_tab && priv->operation == DRAG_OPERATION_DETACH) ||
30580 (page == notebook->cur_page && priv->operation == DRAG_OPERATION_REORDER))
30584 page->allocation.x = 0;
30585 page->allocation.y = 0;
30588 if (page != notebook->cur_page)
30593 page->allocation.y += ythickness;
30595 case GTK_POS_BOTTOM:
30596 page->allocation.height = (((1) > (page->allocation.height - ythickness)) ? (1) : (page->allocation.height - ythickness));
30599 page->allocation.x += xthickness;
30601 case GTK_POS_RIGHT:
30602 page->allocation.width = (((1) > (page->allocation.width - xthickness)) ? (1) : (page->allocation.width - xthickness));
30611 case GTK_POS_BOTTOM:
30612 if (priv->operation != DRAG_OPERATION_REORDER ||
30613 (priv->operation == DRAG_OPERATION_REORDER && page != notebook->cur_page))
30615 if (priv->operation == DRAG_OPERATION_REORDER)
30617 if (page->pack == notebook->cur_page->pack &&
30618 !allocate_at_bottom &&
30619 left_x > anchor + child_allocation.width / 2 &&
30620 left_x <= anchor + child_allocation.width)
30621 anchor += notebook->cur_page->allocation.width - tab_overlap;
30622 else if (page->pack == notebook->cur_page->pack &&
30623 allocate_at_bottom &&
30624 right_x >= anchor &&
30625 right_x <= anchor + child_allocation.width / 2)
30626 anchor -= notebook->cur_page->allocation.width - tab_overlap;
30629 if (!allocate_at_bottom)
30630 anchor += child_allocation.width - tab_overlap;
30632 anchor += tab_overlap;
30637 case GTK_POS_RIGHT:
30638 if (priv->operation != DRAG_OPERATION_REORDER ||
30639 (priv->operation == DRAG_OPERATION_REORDER && page != notebook->cur_page))
30641 if (priv->operation == DRAG_OPERATION_REORDER)
30643 if (page->pack == notebook->cur_page->pack &&
30644 !allocate_at_bottom &&
30645 top_y >= anchor + child_allocation.height / 2 &&
30646 top_y <= anchor + child_allocation.height)
30647 anchor += notebook->cur_page->allocation.height - tab_overlap;
30648 else if (page->pack == notebook->cur_page->pack &&
30649 allocate_at_bottom &&
30650 bottom_y >= anchor &&
30651 bottom_y <= anchor + child_allocation.height / 2)
30652 anchor -= notebook->cur_page->allocation.height - tab_overlap;
30655 if (!allocate_at_bottom)
30656 anchor += child_allocation.height - tab_overlap;
30658 anchor += tab_overlap;
30665 if (page->tab_label)
30666 IA__gtk_widget_set_child_visible (page->tab_label, (!(0)));
30671 priv->operation == DRAG_OPERATION_REORDER &&
30672 ((direction == STEP_NEXT && notebook->cur_page->pack == GTK_PACK_START) ||
30673 ((direction == STEP_PREV || packing_changed) && notebook->cur_page->pack == GTK_PACK_END)))
30678 case GTK_POS_BOTTOM:
30679 if (allocate_at_bottom)
30680 anchor -= notebook->cur_page->allocation.width;
30682 if ((!allocate_at_bottom && priv->drag_window_x > anchor) ||
30683 (allocate_at_bottom && priv->drag_window_x < anchor))
30684 priv->drag_window_x = anchor;
30687 case GTK_POS_RIGHT:
30688 if (allocate_at_bottom)
30689 anchor -= notebook->cur_page->allocation.height;
30691 if ((!allocate_at_bottom && priv->drag_window_y > anchor) ||
30692 (allocate_at_bottom && priv->drag_window_y < anchor))
30693 priv->drag_window_y = anchor;
30698 return allocation_changed;
30702 gtk_notebook_pages_allocate (GtkNotebook *notebook)
30704 GList *children = ((void *)0);
30705 GList *last_child = ((void *)0);
30706 gboolean showarrow = (0);
30707 gint tab_space, min, max, remaining_space;
30708 gint expanded_tabs, operation;
30710 if (!notebook->show_tabs || !notebook->children || !notebook->cur_page)
30713 min = max = tab_space = remaining_space = 0;
30716 gtk_notebook_tab_space (notebook, &showarrow,
30717 &min, &max, &tab_space);
30719 gtk_notebook_calculate_shown_tabs (notebook, showarrow,
30720 min, max, tab_space, &last_child,
30721 &expanded_tabs, &remaining_space);
30723 children = notebook->first_tab;
30724 gtk_notebook_calculate_tabs_allocation (notebook, &children, last_child,
30725 showarrow, STEP_NEXT,
30726 &remaining_space, &expanded_tabs, min, max);
30727 if (children && children != last_child)
30729 children = notebook->children;
30730 gtk_notebook_calculate_tabs_allocation (notebook, &children, last_child,
30731 showarrow, STEP_PREV,
30732 &remaining_space, &expanded_tabs, min, max);
30735 children = notebook->children;
30739 gtk_notebook_page_allocate (notebook, ((GtkNotebookPage *)((GList *)(children))->data));
30740 children = children->next;
30743 operation = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))))->operation;
30745 if (!notebook->first_tab)
30746 notebook->first_tab = notebook->children;
30748 gtk_notebook_redraw_tabs (notebook);
30752 gtk_notebook_page_allocate (GtkNotebook *notebook,
30753 GtkNotebookPage *page)
30755 GtkWidget *widget = ((((GtkWidget*) ((notebook)))));
30756 GtkAllocation child_allocation;
30757 GtkRequisition tab_requisition;
30762 gint tab_curvature;
30763 gint tab_pos = get_effective_tab_pos (notebook);
30765 if (!page->tab_label)
30768 xthickness = widget->style->xthickness;
30769 ythickness = widget->style->ythickness;
30771 IA__gtk_widget_get_child_requisition (page->tab_label, &tab_requisition);
30772 IA__gtk_widget_style_get (widget,
30773 "focus-line-width", &focus_width,
30774 "tab-curvature", &tab_curvature,
30779 case GTK_POS_BOTTOM:
30780 padding = tab_curvature + focus_width + notebook->tab_hborder;
30783 child_allocation.x = xthickness + focus_width + notebook->tab_hborder;
30784 child_allocation.width = (((1) > (page->allocation.width - 2 * child_allocation.x)) ? (1) : (page->allocation.width - 2 * child_allocation.x));
30785 child_allocation.x += page->allocation.x;
30789 child_allocation.x = page->allocation.x +
30790 (page->allocation.width - tab_requisition.width) / 2;
30792 child_allocation.width = tab_requisition.width;
30795 child_allocation.y = notebook->tab_vborder + focus_width + page->allocation.y;
30797 if (tab_pos == GTK_POS_TOP)
30798 child_allocation.y += ythickness;
30800 child_allocation.height = (((1) > ((page->allocation.height - ythickness - 2 * (notebook->tab_vborder + focus_width)))) ? (1) : ((page->allocation.height - ythickness - 2 * (notebook->tab_vborder + focus_width))));
30804 case GTK_POS_RIGHT:
30805 padding = tab_curvature + focus_width + notebook->tab_vborder;
30808 child_allocation.y = ythickness + padding;
30809 child_allocation.height = (((1) > ((page->allocation.height - 2 * child_allocation.y))) ? (1) : ((page->allocation.height - 2 * child_allocation.y)));
30811 child_allocation.y += page->allocation.y;
30815 child_allocation.y = page->allocation.y +
30816 (page->allocation.height - tab_requisition.height) / 2;
30818 child_allocation.height = tab_requisition.height;
30821 child_allocation.x = notebook->tab_hborder + focus_width + page->allocation.x;
30823 if (tab_pos == GTK_POS_LEFT)
30824 child_allocation.x += xthickness;
30826 child_allocation.width = (((1) > ((page->allocation.width - xthickness - 2 * (notebook->tab_hborder + focus_width)))) ? (1) : ((page->allocation.width - xthickness - 2 * (notebook->tab_hborder + focus_width))));
30831 IA__gtk_widget_size_allocate (page->tab_label, &child_allocation);
30835 gtk_notebook_calc_tabs (GtkNotebook *notebook,
30841 GtkNotebookPage *page = ((void *)0);
30843 GList *last_list = ((void *)0);
30844 GList *last_calculated_child = ((void *)0);
30846 gint tab_pos = get_effective_tab_pos (notebook);
30847 guint real_direction;
30853 pack = ((GtkNotebookPage *)((GList *)(start))->data)->pack;
30854 if (pack == GTK_PACK_END)
30855 real_direction = (direction == STEP_PREV) ? STEP_NEXT : STEP_PREV;
30857 real_direction = direction;
30864 case GTK_POS_BOTTOM:
30867 page = children->data;
30868 if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) &&
30869 ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30871 if (page->pack == pack)
30873 *tab_space -= page->requisition.width;
30874 if (*tab_space < 0 || children == *end)
30876 if (*tab_space < 0)
30878 *tab_space = - (*tab_space +
30879 page->requisition.width);
30881 if (*tab_space == 0 && direction == STEP_PREV)
30882 children = last_calculated_child;
30889 last_calculated_child = children;
30891 last_list = children;
30893 if (real_direction == STEP_NEXT)
30894 children = children->next;
30896 children = children->prev;
30900 case GTK_POS_RIGHT:
30903 page = children->data;
30904 if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) &&
30905 ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30907 if (page->pack == pack)
30909 *tab_space -= page->requisition.height;
30910 if (*tab_space < 0 || children == *end)
30912 if (*tab_space < 0)
30914 *tab_space = - (*tab_space +
30915 page->requisition.height);
30917 if (*tab_space == 0 && direction == STEP_PREV)
30918 children = last_calculated_child;
30925 last_calculated_child = children;
30927 last_list = children;
30929 if (real_direction == STEP_NEXT)
30930 children = children->next;
30932 children = children->prev;
30936 if (real_direction == STEP_PREV)
30938 pack = (pack == GTK_PACK_END) ? GTK_PACK_START : GTK_PACK_END;
30939 real_direction = STEP_PREV;
30940 children = last_list;
30945 gtk_notebook_update_tab_states (GtkNotebook *notebook)
30949 for (list = notebook->children; list != ((void *)0); list = list->next)
30951 GtkNotebookPage *page = list->data;
30953 if (page->tab_label)
30955 if (page == notebook->cur_page)
30956 IA__gtk_widget_set_state (page->tab_label, GTK_STATE_NORMAL);
30958 IA__gtk_widget_set_state (page->tab_label, GTK_STATE_ACTIVE);
30968 gtk_notebook_real_switch_page (GtkNotebook *notebook,
30969 GtkNotebookPage *page,
30972 if (notebook->cur_page == page || !((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
30975 if (notebook->cur_page)
30976 IA__gtk_widget_set_child_visible (notebook->cur_page->child, (0));
30978 notebook->cur_page = page;
30980 if (!notebook->focus_tab ||
30981 notebook->focus_tab->data != (gpointer) notebook->cur_page)
30982 notebook->focus_tab =
30983 g_list_find (notebook->children, notebook->cur_page);
30985 IA__gtk_widget_set_child_visible (notebook->cur_page->child, (!(0)));
30991 if (notebook->child_has_focus)
30993 if (notebook->cur_page->last_focus_child &&
30994 IA__gtk_widget_is_ancestor (notebook->cur_page->last_focus_child, notebook->cur_page->child))
30995 IA__gtk_widget_grab_focus (notebook->cur_page->last_focus_child);
30997 if (!IA__gtk_widget_child_focus (notebook->cur_page->child, GTK_DIR_TAB_FORWARD))
30998 IA__gtk_widget_grab_focus (((((GtkWidget*) ((notebook))))));
31001 gtk_notebook_update_tab_states (notebook);
31002 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31003 g_object_notify (((((GObject*) ((notebook))))), "page");
31005 # 5802 "gtknotebook.c"
31007 gtk_notebook_switch_page (GtkNotebook *notebook,
31008 GtkNotebookPage *page)
31012 if (notebook->cur_page == page)
31015 page_num = g_list_index (notebook->children, page);
31017 g_signal_emit (notebook,
31018 notebook_signals[SWITCH_PAGE],
31025 gtk_notebook_page_select (GtkNotebook *notebook,
31026 gboolean move_focus)
31028 GtkNotebookPage *page;
31029 GtkDirectionType dir = GTK_DIR_DOWN;
31030 gint tab_pos = get_effective_tab_pos (notebook);
31032 if (!notebook->focus_tab)
31035 page = notebook->focus_tab->data;
31036 gtk_notebook_switch_page (notebook, page);
31043 dir = GTK_DIR_DOWN;
31045 case GTK_POS_BOTTOM:
31049 dir = GTK_DIR_RIGHT;
31051 case GTK_POS_RIGHT:
31052 dir = GTK_DIR_LEFT;
31056 if (IA__gtk_widget_child_focus (page->child, dir))
31063 gtk_notebook_switch_focus_tab (GtkNotebook *notebook,
31067 GtkNotebookPage *page;
31069 if (notebook->focus_tab == new_child)
31072 old_child = notebook->focus_tab;
31073 notebook->focus_tab = new_child;
31075 if (notebook->scrollable)
31076 gtk_notebook_redraw_arrows (notebook);
31078 if (!notebook->show_tabs || !notebook->focus_tab)
31081 page = notebook->focus_tab->data;
31082 if (((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0))
31083 gtk_notebook_redraw_tabs (notebook);
31085 gtk_notebook_pages_allocate (notebook);
31087 gtk_notebook_switch_page (notebook, page);
31091 gtk_notebook_menu_switch_page (GtkWidget *widget,
31092 GtkNotebookPage *page)
31094 GtkNotebook *notebook;
31098 notebook = ((((GtkNotebook*) ((IA__gtk_menu_get_attach_widget (((((GtkMenu*) ((widget->parent)))))))))));
31101 if (notebook->cur_page == page)
31105 children = notebook->children;
31106 while (children && children->data != page)
31108 children = children->next;
31112 g_signal_emit (notebook,
31113 notebook_signals[SWITCH_PAGE],
31126 gtk_notebook_menu_item_create (GtkNotebook *notebook,
31129 GtkNotebookPage *page;
31130 GtkWidget *menu_item;
31133 if (page->default_menu)
31135 if (page->tab_label && (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((page->tab_label)); GType __t = ((IA__gtk_label_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))))
31136 page->menu_label = IA__gtk_label_new (((((GtkLabel*) ((page->tab_label)))))->label);
31138 page->menu_label = IA__gtk_label_new ("");
31139 IA__gtk_misc_set_alignment (((((GtkMisc*) ((page->menu_label))))), 0.0, 0.5);
31142 IA__gtk_widget_show (page->menu_label);
31143 menu_item = IA__gtk_menu_item_new ();
31144 IA__gtk_container_add (((((GtkContainer*) ((menu_item))))), page->menu_label);
31145 IA__gtk_menu_shell_insert (((((GtkMenuShell*) ((notebook->menu))))), menu_item,
31146 gtk_notebook_real_page_position (notebook, list));
31147 g_signal_connect_data ((menu_item), ("activate"), (((GCallback) (gtk_notebook_menu_switch_page))), (page), ((void *)0), (GConnectFlags) 0);
31149 if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0))
31150 IA__gtk_widget_show (menu_item);
31154 gtk_notebook_menu_label_unparent (GtkWidget *widget,
31157 IA__gtk_widget_unparent (((((GtkBin*) ((widget)))))->child);
31158 ((((GtkBin*) ((widget)))))->child = ((void *)0);
31162 gtk_notebook_menu_detacher (GtkWidget *widget,
31165 GtkNotebook *notebook;
31167 notebook = ((((GtkNotebook*) ((widget)))));
31168 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (notebook->menu == (GtkWidget*) menu) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "notebook->menu == (GtkWidget*) menu"); return; }; });
31170 notebook->menu = ((void *)0);
31172 # 5976 "gtknotebook.c"
31174 gtk_notebook_set_homogeneous_tabs_internal (GtkNotebook *notebook,
31175 gboolean homogeneous)
31177 if (homogeneous == notebook->homogeneous)
31180 notebook->homogeneous = homogeneous;
31181 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31183 g_object_notify (((((GObject*) ((notebook))))), "homogeneous");
31187 gtk_notebook_set_tab_border_internal (GtkNotebook *notebook,
31188 guint border_width)
31190 notebook->tab_hborder = border_width;
31191 notebook->tab_vborder = border_width;
31193 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && notebook->show_tabs)
31194 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31196 g_object_freeze_notify (((((GObject*) ((notebook))))));
31197 g_object_notify (((((GObject*) ((notebook))))), "tab-hborder");
31198 g_object_notify (((((GObject*) ((notebook))))), "tab-vborder");
31199 g_object_thaw_notify (((((GObject*) ((notebook))))));
31203 gtk_notebook_set_tab_hborder_internal (GtkNotebook *notebook,
31206 if (notebook->tab_hborder == tab_hborder)
31209 notebook->tab_hborder = tab_hborder;
31211 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && notebook->show_tabs)
31212 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31214 g_object_notify (((((GObject*) ((notebook))))), "tab-hborder");
31218 gtk_notebook_set_tab_vborder_internal (GtkNotebook *notebook,
31221 if (notebook->tab_vborder == tab_vborder)
31224 notebook->tab_vborder = tab_vborder;
31226 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && notebook->show_tabs)
31227 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31229 g_object_notify (((((GObject*) ((notebook))))), "tab-vborder");
31231 # 6057 "gtknotebook.c"
31233 IA__gtk_notebook_append_page (GtkNotebook *notebook,
31235 GtkWidget *tab_label)
31237 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31238 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (-1); }; });
31239 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (tab_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((tab_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "tab_label == NULL || GTK_IS_WIDGET (tab_label)"); return (-1); }; });
31241 return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, ((void *)0), -1);
31243 # 6088 "gtknotebook.c"
31245 IA__gtk_notebook_append_page_menu (GtkNotebook *notebook,
31247 GtkWidget *tab_label,
31248 GtkWidget *menu_label)
31250 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31251 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (-1); }; });
31252 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (tab_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((tab_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "tab_label == NULL || GTK_IS_WIDGET (tab_label)"); return (-1); }; });
31253 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (menu_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((menu_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "menu_label == NULL || GTK_IS_WIDGET (menu_label)"); return (-1); }; });
31255 return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, menu_label, -1);
31257 # 6114 "gtknotebook.c"
31259 IA__gtk_notebook_prepend_page (GtkNotebook *notebook,
31261 GtkWidget *tab_label)
31263 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31264 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (-1); }; });
31265 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (tab_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((tab_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "tab_label == NULL || GTK_IS_WIDGET (tab_label)"); return (-1); }; });
31267 return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, ((void *)0), 0);
31269 # 6145 "gtknotebook.c"
31271 IA__gtk_notebook_prepend_page_menu (GtkNotebook *notebook,
31273 GtkWidget *tab_label,
31274 GtkWidget *menu_label)
31276 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31277 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (-1); }; });
31278 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (tab_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((tab_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "tab_label == NULL || GTK_IS_WIDGET (tab_label)"); return (-1); }; });
31279 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (menu_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((menu_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "menu_label == NULL || GTK_IS_WIDGET (menu_label)"); return (-1); }; });
31281 return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, menu_label, 0);
31283 # 6173 "gtknotebook.c"
31285 IA__gtk_notebook_insert_page (GtkNotebook *notebook,
31287 GtkWidget *tab_label,
31290 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31291 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (-1); }; });
31292 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (tab_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((tab_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "tab_label == NULL || GTK_IS_WIDGET (tab_label)"); return (-1); }; });
31294 return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, ((void *)0), position);
31299 gtk_notebook_page_compare_tab (gconstpointer a,
31302 return (((GtkNotebookPage *) a)->tab_label != b);
31306 gtk_notebook_mnemonic_activate_switch_page (GtkWidget *child,
31310 GtkNotebook *notebook = ((((GtkNotebook*) ((data)))));
31313 list = g_list_find_custom (notebook->children, child,
31314 gtk_notebook_page_compare_tab);
31317 GtkNotebookPage *page = list->data;
31319 IA__gtk_widget_grab_focus (((((GtkWidget*) ((notebook))))));
31320 gtk_notebook_switch_page (notebook, page);
31321 focus_tabs_in (notebook);
31326 # 6237 "gtknotebook.c"
31328 IA__gtk_notebook_insert_page_menu (GtkNotebook *notebook,
31330 GtkWidget *tab_label,
31331 GtkWidget *menu_label,
31334 GtkNotebookClass *class;
31336 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31337 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (-1); }; });
31338 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (tab_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((tab_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "tab_label == NULL || GTK_IS_WIDGET (tab_label)"); return (-1); }; });
31339 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (menu_label == ((void *)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((menu_label)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "menu_label == NULL || GTK_IS_WIDGET (menu_label)"); return (-1); }; });
31341 class = ((((GtkNotebookClass*) (((GTypeInstance*) ((notebook)))->g_class))));
31343 return (class->insert_page) (notebook, child, tab_label, menu_label, position);
31345 # 6266 "gtknotebook.c"
31347 IA__gtk_notebook_remove_page (GtkNotebook *notebook,
31350 GList *list = ((void *)0);
31352 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31355 list = g_list_nth (notebook->children, page_num);
31357 list = g_list_last (notebook->children);
31360 IA__gtk_container_remove (((((GtkContainer*) ((notebook))))),
31361 ((GtkNotebookPage *) list->data)->child);
31363 # 6301 "gtknotebook.c"
31365 IA__gtk_notebook_get_current_page (GtkNotebook *notebook)
31367 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31369 if (!notebook->cur_page)
31372 return g_list_index (notebook->children, notebook->cur_page);
31374 # 6323 "gtknotebook.c"
31376 IA__gtk_notebook_get_nth_page (GtkNotebook *notebook,
31379 GtkNotebookPage *page;
31382 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (((void *)0)); }; });
31385 list = g_list_nth (notebook->children, page_num);
31387 list = g_list_last (notebook->children);
31392 return page->child;
31395 return ((void *)0);
31397 # 6356 "gtknotebook.c"
31399 IA__gtk_notebook_get_n_pages (GtkNotebook *notebook)
31401 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (0); }; });
31403 return g_list_length (notebook->children);
31405 # 6375 "gtknotebook.c"
31407 IA__gtk_notebook_page_num (GtkNotebook *notebook,
31413 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
31416 children = notebook->children;
31419 GtkNotebookPage *page = children->data;
31421 if (page->child == child)
31424 children = children->next;
31430 # 6415 "gtknotebook.c"
31432 IA__gtk_notebook_set_current_page (GtkNotebook *notebook,
31437 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31440 page_num = g_list_length (notebook->children) - 1;
31442 list = g_list_nth (notebook->children, page_num);
31444 gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(list))->data));
31446 # 6438 "gtknotebook.c"
31448 IA__gtk_notebook_next_page (GtkNotebook *notebook)
31452 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31454 list = g_list_find (notebook->children, notebook->cur_page);
31458 list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (!(0)));
31462 gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(list))->data));
31464 # 6463 "gtknotebook.c"
31466 IA__gtk_notebook_prev_page (GtkNotebook *notebook)
31470 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31472 list = g_list_find (notebook->children, notebook->cur_page);
31476 list = gtk_notebook_search_page (notebook, list, STEP_PREV, (!(0)));
31480 gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(list))->data));
31482 # 6501 "gtknotebook.c"
31484 IA__gtk_notebook_set_show_border (GtkNotebook *notebook,
31485 gboolean show_border)
31487 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31489 if (notebook->show_border != show_border)
31491 notebook->show_border = show_border;
31493 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0))
31494 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31496 g_object_notify (((((GObject*) ((notebook))))), "show-border");
31499 # 6527 "gtknotebook.c"
31501 IA__gtk_notebook_get_show_border (GtkNotebook *notebook)
31503 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return ((0)); }; });
31505 return notebook->show_border;
31507 # 6542 "gtknotebook.c"
31509 IA__gtk_notebook_set_show_tabs (GtkNotebook *notebook,
31510 gboolean show_tabs)
31512 GtkNotebookPage *page;
31515 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31517 show_tabs = show_tabs != (0);
31519 if (notebook->show_tabs == show_tabs)
31522 notebook->show_tabs = show_tabs;
31523 children = notebook->children;
31527 (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) &= ~(GTK_CAN_FOCUS)); });
31531 page = children->data;
31532 children = children->next;
31533 if (page->default_tab)
31535 IA__gtk_widget_destroy (page->tab_label);
31536 page->tab_label = ((void *)0);
31539 IA__gtk_widget_hide (page->tab_label);
31544 (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_CAN_FOCUS)); });
31545 gtk_notebook_update_labels (notebook);
31547 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31549 g_object_notify (((((GObject*) ((notebook))))), "show-tabs");
31551 # 6595 "gtknotebook.c"
31553 IA__gtk_notebook_get_show_tabs (GtkNotebook *notebook)
31555 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return ((0)); }; });
31557 return notebook->show_tabs;
31559 # 6611 "gtknotebook.c"
31561 IA__gtk_notebook_set_tab_pos (GtkNotebook *notebook,
31562 GtkPositionType pos)
31564 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31566 if (notebook->tab_pos != pos)
31568 notebook->tab_pos = pos;
31569 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0))
31570 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31573 g_object_notify (((((GObject*) ((notebook))))), "tab-pos");
31575 # 6636 "gtknotebook.c"
31577 IA__gtk_notebook_get_tab_pos (GtkNotebook *notebook)
31579 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (GTK_POS_TOP); }; });
31581 return notebook->tab_pos;
31583 # 6651 "gtknotebook.c"
31585 IA__gtk_notebook_set_homogeneous_tabs (GtkNotebook *notebook,
31586 gboolean homogeneous)
31588 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31590 gtk_notebook_set_homogeneous_tabs_internal (notebook, homogeneous);
31592 # 6670 "gtknotebook.c"
31594 IA__gtk_notebook_set_tab_border (GtkNotebook *notebook,
31595 guint border_width)
31597 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31599 gtk_notebook_set_tab_border_internal (notebook, border_width);
31601 # 6686 "gtknotebook.c"
31603 IA__gtk_notebook_set_tab_hborder (GtkNotebook *notebook,
31606 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31608 gtk_notebook_set_tab_hborder_internal (notebook, tab_hborder);
31610 # 6702 "gtknotebook.c"
31612 IA__gtk_notebook_set_tab_vborder (GtkNotebook *notebook,
31615 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31617 gtk_notebook_set_tab_vborder_internal (notebook, tab_vborder);
31619 # 6719 "gtknotebook.c"
31621 IA__gtk_notebook_set_scrollable (GtkNotebook *notebook,
31622 gboolean scrollable)
31624 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31626 scrollable = (scrollable != (0));
31628 if (scrollable != notebook->scrollable)
31630 notebook->scrollable = scrollable;
31632 if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0))
31633 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31635 g_object_notify (((((GObject*) ((notebook))))), "scrollable");
31638 # 6747 "gtknotebook.c"
31640 IA__gtk_notebook_get_scrollable (GtkNotebook *notebook)
31642 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return ((0)); }; });
31644 return notebook->scrollable;
31646 # 6769 "gtknotebook.c"
31648 IA__gtk_notebook_popup_enable (GtkNotebook *notebook)
31652 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31654 if (notebook->menu)
31657 notebook->menu = IA__gtk_menu_new ();
31658 for (list = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (0));
31660 list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (0)))
31661 gtk_notebook_menu_item_create (notebook, list);
31663 gtk_notebook_update_labels (notebook);
31664 IA__gtk_menu_attach_to_widget (((((GtkMenu*) ((notebook->menu))))),
31665 ((((GtkWidget*) ((notebook))))),
31666 gtk_notebook_menu_detacher);
31668 g_object_notify (((((GObject*) ((notebook))))), "enable-popup");
31678 IA__gtk_notebook_popup_disable (GtkNotebook *notebook)
31680 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31682 if (!notebook->menu)
31685 IA__gtk_container_foreach (((((GtkContainer*) ((notebook->menu))))),
31686 (GtkCallback) gtk_notebook_menu_label_unparent, ((void *)0));
31687 IA__gtk_widget_destroy (notebook->menu);
31689 g_object_notify (((((GObject*) ((notebook))))), "enable-popup");
31691 # 6841 "gtknotebook.c"
31693 IA__gtk_notebook_get_tab_label (GtkNotebook *notebook,
31698 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (((void *)0)); }; });
31699 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (((void *)0)); }; });
31701 list = gtk_notebook_find_child (notebook, child, ((void *)0));
31703 return ((void *)0);
31705 if (((GtkNotebookPage *)((GList *)(list))->data)->default_tab)
31706 return ((void *)0);
31708 return ((GtkNotebookPage *)((GList *)(list))->data)->tab_label;
31710 # 6870 "gtknotebook.c"
31712 IA__gtk_notebook_set_tab_label (GtkNotebook *notebook,
31714 GtkWidget *tab_label)
31716 GtkNotebookPage *page;
31719 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31720 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
31722 list = gtk_notebook_find_child (notebook, child, ((void *)0));
31731 if (page->tab_label == tab_label)
31735 gtk_notebook_remove_tab_label (notebook, page);
31739 page->default_tab = (0);
31740 page->tab_label = tab_label;
31741 IA__gtk_widget_set_parent (page->tab_label, ((((GtkWidget*) ((notebook))))));
31745 page->default_tab = (!(0));
31746 page->tab_label = ((void *)0);
31748 if (notebook->show_tabs)
31752 g_snprintf (string, sizeof(string), dcgettext ("gtk20", "Page %u", __LC_MESSAGES),
31753 gtk_notebook_real_page_position (notebook, list));
31754 page->tab_label = IA__gtk_label_new (string);
31755 IA__gtk_widget_set_parent (page->tab_label, ((((GtkWidget*) ((notebook))))));
31759 if (page->tab_label)
31760 page->mnemonic_activate_signal =
31761 g_signal_connect_data ((page->tab_label), ("mnemonic_activate"), (((GCallback) (gtk_notebook_mnemonic_activate_switch_page))), (notebook), ((void *)0), (GConnectFlags) 0);
31766 if (notebook->show_tabs && ((((((((GtkObject*) ((child)))))->flags)) & GTK_VISIBLE) != 0))
31768 IA__gtk_widget_show (page->tab_label);
31769 IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook))))));
31772 gtk_notebook_update_tab_states (notebook);
31773 IA__gtk_widget_child_notify (child, "tab-label");
31775 # 6944 "gtknotebook.c"
31777 IA__gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
31779 const gchar *tab_text)
31781 GtkWidget *tab_label = ((void *)0);
31783 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31786 tab_label = IA__gtk_label_new (tab_text);
31787 IA__gtk_notebook_set_tab_label (notebook, child, tab_label);
31788 IA__gtk_widget_child_notify (child, "tab-label");
31790 # 6972 "gtknotebook.c"
31792 IA__gtk_notebook_get_tab_label_text (GtkNotebook *notebook,
31795 GtkWidget *tab_label;
31797 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (((void *)0)); }; });
31798 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (((void *)0)); }; });
31800 tab_label = IA__gtk_notebook_get_tab_label (notebook, child);
31802 if (tab_label && (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((tab_label)); GType __t = ((IA__gtk_label_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))))
31803 return IA__gtk_label_get_text (((((GtkLabel*) ((tab_label))))));
31805 return ((void *)0);
31807 # 7000 "gtknotebook.c"
31809 IA__gtk_notebook_get_menu_label (GtkNotebook *notebook,
31814 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (((void *)0)); }; });
31815 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (((void *)0)); }; });
31817 list = gtk_notebook_find_child (notebook, child, ((void *)0));
31819 return ((void *)0);
31821 if (((GtkNotebookPage *)((GList *)(list))->data)->default_menu)
31822 return ((void *)0);
31824 return ((GtkNotebookPage *)((GList *)(list))->data)->menu_label;
31826 # 7027 "gtknotebook.c"
31828 IA__gtk_notebook_set_menu_label (GtkNotebook *notebook,
31830 GtkWidget *menu_label)
31832 GtkNotebookPage *page;
31835 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31836 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
31838 list = gtk_notebook_find_child (notebook, child, ((void *)0));
31843 if (page->menu_label)
31845 if (notebook->menu)
31846 IA__gtk_container_remove (((((GtkContainer*) ((notebook->menu))))),
31847 page->menu_label->parent);
31849 if (!page->default_menu)
31850 g_object_unref (page->menu_label);
31855 page->menu_label = menu_label;
31856 g_object_ref_sink (page->menu_label);
31857 page->default_menu = (0);
31860 page->default_menu = (!(0));
31862 if (notebook->menu)
31863 gtk_notebook_menu_item_create (notebook, list);
31864 IA__gtk_widget_child_notify (child, "menu-label");
31866 # 7075 "gtknotebook.c"
31868 IA__gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
31870 const gchar *menu_text)
31872 GtkWidget *menu_label = ((void *)0);
31874 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31878 menu_label = IA__gtk_label_new (menu_text);
31879 IA__gtk_misc_set_alignment (((((GtkMisc*) ((menu_label))))), 0.0, 0.5);
31881 IA__gtk_notebook_set_menu_label (notebook, child, menu_label);
31882 IA__gtk_widget_child_notify (child, "menu-label");
31884 # 7107 "gtknotebook.c"
31886 IA__gtk_notebook_get_menu_label_text (GtkNotebook *notebook,
31889 GtkWidget *menu_label;
31891 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (((void *)0)); }; });
31892 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return (((void *)0)); }; });
31894 menu_label = IA__gtk_notebook_get_menu_label (notebook, child);
31896 if (menu_label && (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((menu_label)); GType __t = ((IA__gtk_label_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))))
31897 return IA__gtk_label_get_text (((((GtkLabel*) ((menu_label))))));
31899 return ((void *)0);
31905 gtk_notebook_child_reordered (GtkNotebook *notebook,
31906 GtkNotebookPage *page)
31908 if (notebook->menu)
31910 GtkWidget *menu_item;
31912 menu_item = page->menu_label->parent;
31913 IA__gtk_container_remove (((((GtkContainer*) ((menu_item))))), page->menu_label);
31914 IA__gtk_container_remove (((((GtkContainer*) ((notebook->menu))))), menu_item);
31915 gtk_notebook_menu_item_create (notebook, g_list_find (notebook->children, page));
31918 gtk_notebook_update_tab_states (notebook);
31919 gtk_notebook_update_labels (notebook);
31921 # 7156 "gtknotebook.c"
31923 IA__gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
31927 GtkPackType pack_type)
31929 GtkNotebookPage *page;
31932 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31933 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
31935 list = gtk_notebook_find_child (notebook, child, ((void *)0));
31940 expand = expand != (0);
31941 fill = fill != (0);
31942 if (page->pack == pack_type && page->expand == expand && page->fill == fill)
31945 IA__gtk_widget_freeze_child_notify (child);
31946 page->expand = expand;
31947 IA__gtk_widget_child_notify (child, "tab-expand");
31949 IA__gtk_widget_child_notify (child, "tab-fill");
31950 if (page->pack != pack_type)
31952 page->pack = pack_type;
31953 gtk_notebook_child_reordered (notebook, page);
31955 IA__gtk_widget_child_notify (child, "tab-pack");
31956 IA__gtk_widget_child_notify (child, "position");
31957 if (notebook->show_tabs)
31958 gtk_notebook_pages_allocate (notebook);
31959 IA__gtk_widget_thaw_child_notify (child);
31961 # 7207 "gtknotebook.c"
31963 IA__gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
31967 GtkPackType *pack_type)
31971 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31972 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
31974 list = gtk_notebook_find_child (notebook, child, ((void *)0));
31979 *expand = ((GtkNotebookPage *)((GList *)(list))->data)->expand;
31981 *fill = ((GtkNotebookPage *)((GList *)(list))->data)->fill;
31983 *pack_type = ((GtkNotebookPage *)((GList *)(list))->data)->pack;
31985 # 7242 "gtknotebook.c"
31987 IA__gtk_notebook_reorder_child (GtkNotebook *notebook,
31991 GList *list, *new_list;
31992 GtkNotebookPage *page;
31996 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
31997 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
31999 list = gtk_notebook_find_child (notebook, child, ((void *)0));
32003 max_pos = g_list_length (notebook->children) - 1;
32004 if (position < 0 || position > max_pos)
32005 position = max_pos;
32007 old_pos = g_list_position (notebook->children, list);
32009 if (old_pos == position)
32013 notebook->children = g_list_delete_link (notebook->children, list);
32015 notebook->children = g_list_insert (notebook->children, page, position);
32016 new_list = g_list_nth (notebook->children, position);
32019 if (notebook->first_tab == list)
32020 notebook->first_tab = new_list;
32021 if (notebook->focus_tab == list)
32022 notebook->focus_tab = new_list;
32024 IA__gtk_widget_freeze_child_notify (child);
32027 gtk_notebook_child_reordered (notebook, page);
32028 IA__gtk_widget_child_notify (child, "tab-pack");
32029 IA__gtk_widget_child_notify (child, "position");
32031 if (notebook->show_tabs)
32032 gtk_notebook_pages_allocate (notebook);
32034 IA__gtk_widget_thaw_child_notify (child);
32036 g_signal_emit (notebook,
32037 notebook_signals[PAGE_REORDERED],
32042 # 7310 "gtknotebook.c"
32044 IA__gtk_notebook_set_window_creation_hook (GtkNotebookWindowCreationFunc func,
32046 GDestroyNotify destroy)
32048 if (window_creation_hook_destroy)
32049 window_creation_hook_destroy (window_creation_hook_data);
32051 window_creation_hook = func;
32052 window_creation_hook_data = data;
32053 window_creation_hook_destroy = destroy;
32055 # 7336 "gtknotebook.c"
32057 IA__gtk_notebook_set_group_id (GtkNotebook *notebook,
32062 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
32065 group = ((gpointer) (group_id + 1));
32066 IA__gtk_notebook_set_group (notebook, group);
32068 # 7361 "gtknotebook.c"
32070 IA__gtk_notebook_set_group (GtkNotebook *notebook,
32073 GtkNotebookPrivate *priv;
32075 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
32077 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
32079 if (priv->group != group)
32081 priv->group = group;
32082 g_object_notify (((((GObject*) ((notebook))))), "group-id");
32083 g_object_notify (((((GObject*) ((notebook))))), "group");
32086 # 7390 "gtknotebook.c"
32088 IA__gtk_notebook_get_group_id (GtkNotebook *notebook)
32090 GtkNotebookPrivate *priv;
32092 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (-1); }; });
32094 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
32097 return ((gint) (priv->group)) - 1;
32099 # 7413 "gtknotebook.c"
32101 IA__gtk_notebook_get_group (GtkNotebook *notebook)
32103 GtkNotebookPrivate *priv;
32105 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return (((void *)0)); }; });
32107 priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))));
32108 return priv->group;
32110 # 7435 "gtknotebook.c"
32112 IA__gtk_notebook_get_tab_reorderable (GtkNotebook *notebook,
32117 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return ((0)); }; });
32118 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return ((0)); }; });
32120 list = gtk_notebook_find_child (notebook, child, ((void *)0));
32124 return ((GtkNotebookPage *)((GList *)(list))->data)->reorderable;
32126 # 7462 "gtknotebook.c"
32128 IA__gtk_notebook_set_tab_reorderable (GtkNotebook *notebook,
32130 gboolean reorderable)
32134 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
32135 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
32137 list = gtk_notebook_find_child (notebook, child, ((void *)0));
32141 if (((GtkNotebookPage *)((GList *)(list))->data)->reorderable != reorderable)
32143 ((GtkNotebookPage *)((GList *)(list))->data)->reorderable = (reorderable == (!(0)));
32144 IA__gtk_widget_child_notify (child, "reorderable");
32147 # 7494 "gtknotebook.c"
32149 IA__gtk_notebook_get_tab_detachable (GtkNotebook *notebook,
32154 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return ((0)); }; });
32155 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return ((0)); }; });
32157 list = gtk_notebook_find_child (notebook, child, ((void *)0));
32161 return ((GtkNotebookPage *)((GList *)(list))->data)->detachable;
32163 # 7556 "gtknotebook.c"
32165 IA__gtk_notebook_set_tab_detachable (GtkNotebook *notebook,
32167 gboolean detachable)
32171 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((notebook)); GType __t = ((IA__gtk_notebook_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_NOTEBOOK (notebook)"); return; }; });
32172 (void) __extension__ ({ if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((child)); GType __t = ((IA__gtk_widget_get_type ())); gboolean __r; if (__inst && __inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) { } else { g_return_if_fail_warning ("Gtk", __PRETTY_FUNCTION__, "GTK_IS_WIDGET (child)"); return; }; });
32174 list = gtk_notebook_find_child (notebook, child, ((void *)0));
32178 if (((GtkNotebookPage *)((GList *)(list))->data)->detachable != detachable)
32180 ((GtkNotebookPage *)((GList *)(list))->data)->detachable = (detachable == (!(0)));
32181 IA__gtk_widget_child_notify (child, "detachable");
32186 # 1 "gtkaliasdef.c" 1
32187 # 5735 "gtkaliasdef.c"
32188 extern __typeof (gtk_notebook_append_page) gtk_notebook_append_page __attribute((alias("IA__gtk_notebook_append_page"), visibility("default")));
32191 extern __typeof (gtk_notebook_append_page_menu) gtk_notebook_append_page_menu __attribute((alias("IA__gtk_notebook_append_page_menu"), visibility("default")));
32194 extern __typeof (gtk_notebook_get_current_page) gtk_notebook_get_current_page __attribute((alias("IA__gtk_notebook_get_current_page"), visibility("default")));
32197 extern __typeof (gtk_notebook_get_menu_label) gtk_notebook_get_menu_label __attribute((alias("IA__gtk_notebook_get_menu_label"), visibility("default")));
32200 extern __typeof (gtk_notebook_get_menu_label_text) gtk_notebook_get_menu_label_text __attribute((alias("IA__gtk_notebook_get_menu_label_text"), visibility("default")));
32203 extern __typeof (gtk_notebook_get_n_pages) gtk_notebook_get_n_pages __attribute((alias("IA__gtk_notebook_get_n_pages"), visibility("default")));
32206 extern __typeof (gtk_notebook_get_nth_page) gtk_notebook_get_nth_page __attribute((alias("IA__gtk_notebook_get_nth_page"), visibility("default")));
32209 extern __typeof (gtk_notebook_get_scrollable) gtk_notebook_get_scrollable __attribute((alias("IA__gtk_notebook_get_scrollable"), visibility("default")));
32212 extern __typeof (gtk_notebook_get_show_border) gtk_notebook_get_show_border __attribute((alias("IA__gtk_notebook_get_show_border"), visibility("default")));
32215 extern __typeof (gtk_notebook_get_show_tabs) gtk_notebook_get_show_tabs __attribute((alias("IA__gtk_notebook_get_show_tabs"), visibility("default")));
32218 extern __typeof (gtk_notebook_get_tab_label) gtk_notebook_get_tab_label __attribute((alias("IA__gtk_notebook_get_tab_label"), visibility("default")));
32221 extern __typeof (gtk_notebook_get_tab_label_text) gtk_notebook_get_tab_label_text __attribute((alias("IA__gtk_notebook_get_tab_label_text"), visibility("default")));
32224 extern __typeof (gtk_notebook_get_tab_pos) gtk_notebook_get_tab_pos __attribute((alias("IA__gtk_notebook_get_tab_pos"), visibility("default")));
32227 extern __typeof (gtk_notebook_get_type) gtk_notebook_get_type __attribute((alias("IA__gtk_notebook_get_type"), visibility("default")));
32230 extern __typeof (gtk_notebook_insert_page) gtk_notebook_insert_page __attribute((alias("IA__gtk_notebook_insert_page"), visibility("default")));
32233 extern __typeof (gtk_notebook_insert_page_menu) gtk_notebook_insert_page_menu __attribute((alias("IA__gtk_notebook_insert_page_menu"), visibility("default")));
32236 extern __typeof (gtk_notebook_new) gtk_notebook_new __attribute((alias("IA__gtk_notebook_new"), visibility("default")));
32239 extern __typeof (gtk_notebook_next_page) gtk_notebook_next_page __attribute((alias("IA__gtk_notebook_next_page"), visibility("default")));
32242 extern __typeof (gtk_notebook_page_num) gtk_notebook_page_num __attribute((alias("IA__gtk_notebook_page_num"), visibility("default")));
32245 extern __typeof (gtk_notebook_popup_disable) gtk_notebook_popup_disable __attribute((alias("IA__gtk_notebook_popup_disable"), visibility("default")));
32248 extern __typeof (gtk_notebook_popup_enable) gtk_notebook_popup_enable __attribute((alias("IA__gtk_notebook_popup_enable"), visibility("default")));
32251 extern __typeof (gtk_notebook_prepend_page) gtk_notebook_prepend_page __attribute((alias("IA__gtk_notebook_prepend_page"), visibility("default")));
32254 extern __typeof (gtk_notebook_prepend_page_menu) gtk_notebook_prepend_page_menu __attribute((alias("IA__gtk_notebook_prepend_page_menu"), visibility("default")));
32257 extern __typeof (gtk_notebook_prev_page) gtk_notebook_prev_page __attribute((alias("IA__gtk_notebook_prev_page"), visibility("default")));
32260 extern __typeof (gtk_notebook_query_tab_label_packing) gtk_notebook_query_tab_label_packing __attribute((alias("IA__gtk_notebook_query_tab_label_packing"), visibility("default")));
32263 extern __typeof (gtk_notebook_remove_page) gtk_notebook_remove_page __attribute((alias("IA__gtk_notebook_remove_page"), visibility("default")));
32266 extern __typeof (gtk_notebook_reorder_child) gtk_notebook_reorder_child __attribute((alias("IA__gtk_notebook_reorder_child"), visibility("default")));
32269 extern __typeof (gtk_notebook_set_current_page) gtk_notebook_set_current_page __attribute((alias("IA__gtk_notebook_set_current_page"), visibility("default")));
32273 extern __typeof (gtk_notebook_set_homogeneous_tabs) gtk_notebook_set_homogeneous_tabs __attribute((alias("IA__gtk_notebook_set_homogeneous_tabs"), visibility("default")));
32276 extern __typeof (gtk_notebook_set_tab_border) gtk_notebook_set_tab_border __attribute((alias("IA__gtk_notebook_set_tab_border"), visibility("default")));
32279 extern __typeof (gtk_notebook_set_tab_hborder) gtk_notebook_set_tab_hborder __attribute((alias("IA__gtk_notebook_set_tab_hborder"), visibility("default")));
32282 extern __typeof (gtk_notebook_set_tab_vborder) gtk_notebook_set_tab_vborder __attribute((alias("IA__gtk_notebook_set_tab_vborder"), visibility("default")));
32286 extern __typeof (gtk_notebook_set_menu_label) gtk_notebook_set_menu_label __attribute((alias("IA__gtk_notebook_set_menu_label"), visibility("default")));
32289 extern __typeof (gtk_notebook_set_menu_label_text) gtk_notebook_set_menu_label_text __attribute((alias("IA__gtk_notebook_set_menu_label_text"), visibility("default")));
32292 extern __typeof (gtk_notebook_set_scrollable) gtk_notebook_set_scrollable __attribute((alias("IA__gtk_notebook_set_scrollable"), visibility("default")));
32295 extern __typeof (gtk_notebook_set_show_border) gtk_notebook_set_show_border __attribute((alias("IA__gtk_notebook_set_show_border"), visibility("default")));
32298 extern __typeof (gtk_notebook_set_show_tabs) gtk_notebook_set_show_tabs __attribute((alias("IA__gtk_notebook_set_show_tabs"), visibility("default")));
32301 extern __typeof (gtk_notebook_set_tab_label) gtk_notebook_set_tab_label __attribute((alias("IA__gtk_notebook_set_tab_label"), visibility("default")));
32304 extern __typeof (gtk_notebook_set_tab_label_packing) gtk_notebook_set_tab_label_packing __attribute((alias("IA__gtk_notebook_set_tab_label_packing"), visibility("default")));
32307 extern __typeof (gtk_notebook_set_tab_label_text) gtk_notebook_set_tab_label_text __attribute((alias("IA__gtk_notebook_set_tab_label_text"), visibility("default")));
32310 extern __typeof (gtk_notebook_set_tab_pos) gtk_notebook_set_tab_pos __attribute((alias("IA__gtk_notebook_set_tab_pos"), visibility("default")));
32313 extern __typeof (gtk_notebook_set_window_creation_hook) gtk_notebook_set_window_creation_hook __attribute((alias("IA__gtk_notebook_set_window_creation_hook"), visibility("default")));
32317 extern __typeof (gtk_notebook_get_group_id) gtk_notebook_get_group_id __attribute((alias("IA__gtk_notebook_get_group_id"), visibility("default")));
32320 extern __typeof (gtk_notebook_set_group_id) gtk_notebook_set_group_id __attribute((alias("IA__gtk_notebook_set_group_id"), visibility("default")));
32324 extern __typeof (gtk_notebook_get_group) gtk_notebook_get_group __attribute((alias("IA__gtk_notebook_get_group"), visibility("default")));
32327 extern __typeof (gtk_notebook_set_group) gtk_notebook_set_group __attribute((alias("IA__gtk_notebook_set_group"), visibility("default")));
32330 extern __typeof (gtk_notebook_get_tab_reorderable) gtk_notebook_get_tab_reorderable __attribute((alias("IA__gtk_notebook_get_tab_reorderable"), visibility("default")));
32333 extern __typeof (gtk_notebook_set_tab_reorderable) gtk_notebook_set_tab_reorderable __attribute((alias("IA__gtk_notebook_set_tab_reorderable"), visibility("default")));
32336 extern __typeof (gtk_notebook_get_tab_detachable) gtk_notebook_get_tab_detachable __attribute((alias("IA__gtk_notebook_get_tab_detachable"), visibility("default")));
32339 extern __typeof (gtk_notebook_set_tab_detachable) gtk_notebook_set_tab_detachable __attribute((alias("IA__gtk_notebook_set_tab_detachable"), visibility("default")));
32340 # 7578 "gtknotebook.c" 2