// /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 # 1 "gtknotebook.c" # 1 "" # 1 "" # 1 "gtknotebook.c" # 28 "gtknotebook.c" # 1 "../config.h" 1 # 29 "gtknotebook.c" 2 # 1 "/usr/include/string.h" 1 3 4 # 26 "/usr/include/string.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 330 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 348 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 349 "/usr/include/sys/cdefs.h" 2 3 4 # 331 "/usr/include/features.h" 2 3 4 # 354 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 355 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/string.h" 2 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 214 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4 typedef unsigned int size_t; # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 82 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 130 "/usr/include/string.h" 3 4 extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 165 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 181 "/usr/include/string.h" 3 4 extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 240 "/usr/include/string.h" 3 4 extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 254 "/usr/include/string.h" 3 4 extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 270 "/usr/include/string.h" 3 4 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 294 "/usr/include/string.h" 3 4 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 331 "/usr/include/string.h" 3 4 extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 354 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 420 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/string.h" 1 3 4 # 421 "/usr/include/string.h" 2 3 4 # 1 "/usr/include/bits/string2.h" 1 3 4 # 80 "/usr/include/bits/string2.h" 3 4 typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2; typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3; typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4; typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5; typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6; typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7; typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8; # 394 "/usr/include/bits/string2.h" 3 4 extern void *__rawmemchr (const void *__s, int __c); # 969 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); extern __inline size_t __strcspn_c1 (__const char *__s, int __reject) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject) ++__result; return __result; } extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2); extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2) ++__result; return __result; } extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3); extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2 && __s[__result] != __reject3) ++__result; return __result; } # 1045 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strspn_c1 (__const char *__s, int __accept); extern __inline size_t __strspn_c1 (__const char *__s, int __accept) { register size_t __result = 0; while (__s[__result] == __accept) ++__result; return __result; } extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2); extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2) ++__result; return __result; } extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2 || __s[__result] == __accept3) ++__result; return __result; } # 1121 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, int __accept2); extern __inline char * __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline char * __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 && *__s != __accept3) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } # 1173 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); extern __inline char * __strtok_r_1c (char *__s, char __sep, char **__nextp) { char *__result; if (__s == ((void *)0)) __s = *__nextp; while (*__s == __sep) ++__s; __result = ((void *)0); if (*__s != '\0') { __result = __s++; while (*__s != '\0') if (*__s++ == __sep) { __s[-1] = '\0'; break; } *__nextp = __s; } return __result; } # 1205 "/usr/include/bits/string2.h" 3 4 extern char *__strsep_g (char **__stringp, __const char *__delim); # 1223 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strsep_1c (char **__s, char __reject); extern __inline char * __strsep_1c (char **__s, char __reject) { register char *__retval = *__s; 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)) *(*__s)++ = '\0'; return __retval; } extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); extern __inline char * __strsep_2c (char **__s, char __reject1, char __reject2) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3); extern __inline char * __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } # 1299 "/usr/include/bits/string2.h" 3 4 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 34 "/usr/include/stdlib.h" 2 3 4 # 469 "/usr/include/stdlib.h" 3 4 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; # 883 "/usr/include/stdlib.h" 3 4 # 1300 "/usr/include/bits/string2.h" 2 3 4 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 1323 "/usr/include/bits/string2.h" 3 4 extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 424 "/usr/include/string.h" 2 3 4 # 432 "/usr/include/string.h" 3 4 # 30 "gtknotebook.c" 2 # 1 "gtknotebook.h" 1 # 32 "gtknotebook.h" # 1 "../gdk/gdk.h" 1 # 30 "../gdk/gdk.h" # 1 "../gdk/gdkcairo.h" 1 # 23 "../gdk/gdkcairo.h" # 1 "../gdk/gdkcolor.h" 1 # 30 "../gdk/gdkcolor.h" # 1 "/usr/include/cairo/cairo.h" 1 # 41 "/usr/include/cairo/cairo.h" # 1 "/usr/include/cairo/cairo-features.h" 1 # 42 "/usr/include/cairo/cairo.h" 2 # 1 "/usr/include/cairo/cairo-deprecated.h" 1 # 43 "/usr/include/cairo/cairo.h" 2 # 56 "/usr/include/cairo/cairo.h" int cairo_version (void); const char* cairo_version_string (void); # 76 "/usr/include/cairo/cairo.h" typedef int cairo_bool_t; # 91 "/usr/include/cairo/cairo.h" typedef struct _cairo cairo_t; # 109 "/usr/include/cairo/cairo.h" typedef struct _cairo_surface cairo_surface_t; # 128 "/usr/include/cairo/cairo.h" typedef struct _cairo_matrix { double xx; double yx; double xy; double yy; double x0; double y0; } cairo_matrix_t; # 153 "/usr/include/cairo/cairo.h" typedef struct _cairo_pattern cairo_pattern_t; # 163 "/usr/include/cairo/cairo.h" typedef void (*cairo_destroy_func_t) (void *data); # 175 "/usr/include/cairo/cairo.h" typedef struct _cairo_user_data_key { int unused; } cairo_user_data_key_t; # 213 "/usr/include/cairo/cairo.h" typedef enum _cairo_status { CAIRO_STATUS_SUCCESS = 0, CAIRO_STATUS_NO_MEMORY, CAIRO_STATUS_INVALID_RESTORE, CAIRO_STATUS_INVALID_POP_GROUP, CAIRO_STATUS_NO_CURRENT_POINT, CAIRO_STATUS_INVALID_MATRIX, CAIRO_STATUS_INVALID_STATUS, CAIRO_STATUS_NULL_POINTER, CAIRO_STATUS_INVALID_STRING, CAIRO_STATUS_INVALID_PATH_DATA, CAIRO_STATUS_READ_ERROR, CAIRO_STATUS_WRITE_ERROR, CAIRO_STATUS_SURFACE_FINISHED, CAIRO_STATUS_SURFACE_TYPE_MISMATCH, CAIRO_STATUS_PATTERN_TYPE_MISMATCH, CAIRO_STATUS_INVALID_CONTENT, CAIRO_STATUS_INVALID_FORMAT, CAIRO_STATUS_INVALID_VISUAL, CAIRO_STATUS_FILE_NOT_FOUND, CAIRO_STATUS_INVALID_DASH, CAIRO_STATUS_INVALID_DSC_COMMENT, CAIRO_STATUS_INVALID_INDEX, CAIRO_STATUS_CLIP_NOT_REPRESENTABLE } cairo_status_t; # 253 "/usr/include/cairo/cairo.h" typedef enum _cairo_content { CAIRO_CONTENT_COLOR = 0x1000, CAIRO_CONTENT_ALPHA = 0x2000, CAIRO_CONTENT_COLOR_ALPHA = 0x3000 } cairo_content_t; # 275 "/usr/include/cairo/cairo.h" typedef cairo_status_t (*cairo_write_func_t) (void *closure, const unsigned char *data, unsigned int length); # 295 "/usr/include/cairo/cairo.h" typedef cairo_status_t (*cairo_read_func_t) (void *closure, unsigned char *data, unsigned int length); cairo_t * cairo_create (cairo_surface_t *target); cairo_t * cairo_reference (cairo_t *cr); void cairo_destroy (cairo_t *cr); unsigned int cairo_get_reference_count (cairo_t *cr); void * cairo_get_user_data (cairo_t *cr, const cairo_user_data_key_t *key); cairo_status_t cairo_set_user_data (cairo_t *cr, const cairo_user_data_key_t *key, void *user_data, cairo_destroy_func_t destroy); void cairo_save (cairo_t *cr); void cairo_restore (cairo_t *cr); void cairo_push_group (cairo_t *cr); void cairo_push_group_with_content (cairo_t *cr, cairo_content_t content); cairo_pattern_t * cairo_pop_group (cairo_t *cr); void cairo_pop_group_to_source (cairo_t *cr); typedef enum _cairo_operator { CAIRO_OPERATOR_CLEAR, CAIRO_OPERATOR_SOURCE, CAIRO_OPERATOR_OVER, CAIRO_OPERATOR_IN, CAIRO_OPERATOR_OUT, CAIRO_OPERATOR_ATOP, CAIRO_OPERATOR_DEST, CAIRO_OPERATOR_DEST_OVER, CAIRO_OPERATOR_DEST_IN, CAIRO_OPERATOR_DEST_OUT, CAIRO_OPERATOR_DEST_ATOP, CAIRO_OPERATOR_XOR, CAIRO_OPERATOR_ADD, CAIRO_OPERATOR_SATURATE } cairo_operator_t; void cairo_set_operator (cairo_t *cr, cairo_operator_t op); void cairo_set_source (cairo_t *cr, cairo_pattern_t *source); void cairo_set_source_rgb (cairo_t *cr, double red, double green, double blue); void cairo_set_source_rgba (cairo_t *cr, double red, double green, double blue, double alpha); void cairo_set_source_surface (cairo_t *cr, cairo_surface_t *surface, double x, double y); void cairo_set_tolerance (cairo_t *cr, double tolerance); # 398 "/usr/include/cairo/cairo.h" typedef enum _cairo_antialias { CAIRO_ANTIALIAS_DEFAULT, CAIRO_ANTIALIAS_NONE, CAIRO_ANTIALIAS_GRAY, CAIRO_ANTIALIAS_SUBPIXEL } cairo_antialias_t; void cairo_set_antialias (cairo_t *cr, cairo_antialias_t antialias); # 431 "/usr/include/cairo/cairo.h" typedef enum _cairo_fill_rule { CAIRO_FILL_RULE_WINDING, CAIRO_FILL_RULE_EVEN_ODD } cairo_fill_rule_t; void cairo_set_fill_rule (cairo_t *cr, cairo_fill_rule_t fill_rule); void cairo_set_line_width (cairo_t *cr, double width); # 450 "/usr/include/cairo/cairo.h" typedef enum _cairo_line_cap { CAIRO_LINE_CAP_BUTT, CAIRO_LINE_CAP_ROUND, CAIRO_LINE_CAP_SQUARE } cairo_line_cap_t; void cairo_set_line_cap (cairo_t *cr, cairo_line_cap_t line_cap); # 470 "/usr/include/cairo/cairo.h" typedef enum _cairo_line_join { CAIRO_LINE_JOIN_MITER, CAIRO_LINE_JOIN_ROUND, CAIRO_LINE_JOIN_BEVEL } cairo_line_join_t; void cairo_set_line_join (cairo_t *cr, cairo_line_join_t line_join); void cairo_set_dash (cairo_t *cr, const double *dashes, int num_dashes, double offset); void cairo_set_miter_limit (cairo_t *cr, double limit); void cairo_translate (cairo_t *cr, double tx, double ty); void cairo_scale (cairo_t *cr, double sx, double sy); void cairo_rotate (cairo_t *cr, double angle); void cairo_transform (cairo_t *cr, const cairo_matrix_t *matrix); void cairo_set_matrix (cairo_t *cr, const cairo_matrix_t *matrix); void cairo_identity_matrix (cairo_t *cr); void cairo_user_to_device (cairo_t *cr, double *x, double *y); void cairo_user_to_device_distance (cairo_t *cr, double *dx, double *dy); void cairo_device_to_user (cairo_t *cr, double *x, double *y); void cairo_device_to_user_distance (cairo_t *cr, double *dx, double *dy); void cairo_new_path (cairo_t *cr); void cairo_move_to (cairo_t *cr, double x, double y); void cairo_new_sub_path (cairo_t *cr); void cairo_line_to (cairo_t *cr, double x, double y); void cairo_curve_to (cairo_t *cr, double x1, double y1, double x2, double y2, double x3, double y3); void cairo_arc (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2); void cairo_arc_negative (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2); # 559 "/usr/include/cairo/cairo.h" void cairo_rel_move_to (cairo_t *cr, double dx, double dy); void cairo_rel_line_to (cairo_t *cr, double dx, double dy); void cairo_rel_curve_to (cairo_t *cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3); void cairo_rectangle (cairo_t *cr, double x, double y, double width, double height); void cairo_close_path (cairo_t *cr); void cairo_paint (cairo_t *cr); void cairo_paint_with_alpha (cairo_t *cr, double alpha); void cairo_mask (cairo_t *cr, cairo_pattern_t *pattern); void cairo_mask_surface (cairo_t *cr, cairo_surface_t *surface, double surface_x, double surface_y); void cairo_stroke (cairo_t *cr); void cairo_stroke_preserve (cairo_t *cr); void cairo_fill (cairo_t *cr); void cairo_fill_preserve (cairo_t *cr); void cairo_copy_page (cairo_t *cr); void cairo_show_page (cairo_t *cr); cairo_bool_t cairo_in_stroke (cairo_t *cr, double x, double y); cairo_bool_t cairo_in_fill (cairo_t *cr, double x, double y); void cairo_stroke_extents (cairo_t *cr, double *x1, double *y1, double *x2, double *y2); void cairo_fill_extents (cairo_t *cr, double *x1, double *y1, double *x2, double *y2); void cairo_reset_clip (cairo_t *cr); void cairo_clip (cairo_t *cr); void cairo_clip_preserve (cairo_t *cr); void cairo_clip_extents (cairo_t *cr, double *x1, double *y1, double *x2, double *y2); # 664 "/usr/include/cairo/cairo.h" typedef struct _cairo_rectangle { double x, y, width, height; } cairo_rectangle_t; # 679 "/usr/include/cairo/cairo.h" typedef struct _cairo_rectangle_list { cairo_status_t status; cairo_rectangle_t *rectangles; int num_rectangles; } cairo_rectangle_list_t; cairo_rectangle_list_t * cairo_copy_clip_rectangle_list (cairo_t *cr); void cairo_rectangle_list_destroy (cairo_rectangle_list_t *rectangle_list); # 708 "/usr/include/cairo/cairo.h" typedef struct _cairo_scaled_font cairo_scaled_font_t; # 727 "/usr/include/cairo/cairo.h" typedef struct _cairo_font_face cairo_font_face_t; # 753 "/usr/include/cairo/cairo.h" typedef struct { unsigned long index; double x; double y; } cairo_glyph_t; # 786 "/usr/include/cairo/cairo.h" typedef struct { double x_bearing; double y_bearing; double width; double height; double x_advance; double y_advance; } cairo_text_extents_t; # 836 "/usr/include/cairo/cairo.h" typedef struct { double ascent; double descent; double height; double max_x_advance; double max_y_advance; } cairo_font_extents_t; # 852 "/usr/include/cairo/cairo.h" typedef enum _cairo_font_slant { CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_SLANT_ITALIC, CAIRO_FONT_SLANT_OBLIQUE } cairo_font_slant_t; # 865 "/usr/include/cairo/cairo.h" typedef enum _cairo_font_weight { CAIRO_FONT_WEIGHT_NORMAL, CAIRO_FONT_WEIGHT_BOLD } cairo_font_weight_t; # 887 "/usr/include/cairo/cairo.h" typedef enum _cairo_subpixel_order { CAIRO_SUBPIXEL_ORDER_DEFAULT, CAIRO_SUBPIXEL_ORDER_RGB, CAIRO_SUBPIXEL_ORDER_BGR, CAIRO_SUBPIXEL_ORDER_VRGB, CAIRO_SUBPIXEL_ORDER_VBGR } cairo_subpixel_order_t; # 917 "/usr/include/cairo/cairo.h" typedef enum _cairo_hint_style { CAIRO_HINT_STYLE_DEFAULT, CAIRO_HINT_STYLE_NONE, CAIRO_HINT_STYLE_SLIGHT, CAIRO_HINT_STYLE_MEDIUM, CAIRO_HINT_STYLE_FULL } cairo_hint_style_t; # 938 "/usr/include/cairo/cairo.h" typedef enum _cairo_hint_metrics { CAIRO_HINT_METRICS_DEFAULT, CAIRO_HINT_METRICS_OFF, CAIRO_HINT_METRICS_ON } cairo_hint_metrics_t; # 964 "/usr/include/cairo/cairo.h" typedef struct _cairo_font_options cairo_font_options_t; cairo_font_options_t * cairo_font_options_create (void); cairo_font_options_t * cairo_font_options_copy (const cairo_font_options_t *original); void cairo_font_options_destroy (cairo_font_options_t *options); cairo_status_t cairo_font_options_status (cairo_font_options_t *options); void cairo_font_options_merge (cairo_font_options_t *options, const cairo_font_options_t *other); cairo_bool_t cairo_font_options_equal (const cairo_font_options_t *options, const cairo_font_options_t *other); unsigned long cairo_font_options_hash (const cairo_font_options_t *options); void cairo_font_options_set_antialias (cairo_font_options_t *options, cairo_antialias_t antialias); cairo_antialias_t cairo_font_options_get_antialias (const cairo_font_options_t *options); void cairo_font_options_set_subpixel_order (cairo_font_options_t *options, cairo_subpixel_order_t subpixel_order); cairo_subpixel_order_t cairo_font_options_get_subpixel_order (const cairo_font_options_t *options); void cairo_font_options_set_hint_style (cairo_font_options_t *options, cairo_hint_style_t hint_style); cairo_hint_style_t cairo_font_options_get_hint_style (const cairo_font_options_t *options); void cairo_font_options_set_hint_metrics (cairo_font_options_t *options, cairo_hint_metrics_t hint_metrics); cairo_hint_metrics_t cairo_font_options_get_hint_metrics (const cairo_font_options_t *options); void cairo_select_font_face (cairo_t *cr, const char *family, cairo_font_slant_t slant, cairo_font_weight_t weight); void cairo_set_font_size (cairo_t *cr, double size); void cairo_set_font_matrix (cairo_t *cr, const cairo_matrix_t *matrix); void cairo_get_font_matrix (cairo_t *cr, cairo_matrix_t *matrix); void cairo_set_font_options (cairo_t *cr, const cairo_font_options_t *options); void cairo_get_font_options (cairo_t *cr, cairo_font_options_t *options); void cairo_set_font_face (cairo_t *cr, cairo_font_face_t *font_face); cairo_font_face_t * cairo_get_font_face (cairo_t *cr); void cairo_set_scaled_font (cairo_t *cr, const cairo_scaled_font_t *scaled_font); cairo_scaled_font_t * cairo_get_scaled_font (cairo_t *cr); void cairo_show_text (cairo_t *cr, const char *utf8); void cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs); void cairo_text_path (cairo_t *cr, const char *utf8); void cairo_glyph_path (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs); void cairo_text_extents (cairo_t *cr, const char *utf8, cairo_text_extents_t *extents); void cairo_glyph_extents (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs, cairo_text_extents_t *extents); void cairo_font_extents (cairo_t *cr, cairo_font_extents_t *extents); cairo_font_face_t * cairo_font_face_reference (cairo_font_face_t *font_face); void cairo_font_face_destroy (cairo_font_face_t *font_face); unsigned int cairo_font_face_get_reference_count (cairo_font_face_t *font_face); cairo_status_t cairo_font_face_status (cairo_font_face_t *font_face); # 1130 "/usr/include/cairo/cairo.h" typedef enum _cairo_font_type { CAIRO_FONT_TYPE_TOY, CAIRO_FONT_TYPE_FT, CAIRO_FONT_TYPE_WIN32, CAIRO_FONT_TYPE_ATSUI } cairo_font_type_t; cairo_font_type_t cairo_font_face_get_type (cairo_font_face_t *font_face); void * cairo_font_face_get_user_data (cairo_font_face_t *font_face, const cairo_user_data_key_t *key); cairo_status_t cairo_font_face_set_user_data (cairo_font_face_t *font_face, const cairo_user_data_key_t *key, void *user_data, cairo_destroy_func_t destroy); cairo_scaled_font_t * cairo_scaled_font_create (cairo_font_face_t *font_face, const cairo_matrix_t *font_matrix, const cairo_matrix_t *ctm, const cairo_font_options_t *options); cairo_scaled_font_t * cairo_scaled_font_reference (cairo_scaled_font_t *scaled_font); void cairo_scaled_font_destroy (cairo_scaled_font_t *scaled_font); unsigned int cairo_scaled_font_get_reference_count (cairo_scaled_font_t *scaled_font); cairo_status_t cairo_scaled_font_status (cairo_scaled_font_t *scaled_font); cairo_font_type_t cairo_scaled_font_get_type (cairo_scaled_font_t *scaled_font); void * cairo_scaled_font_get_user_data (cairo_scaled_font_t *scaled_font, const cairo_user_data_key_t *key); cairo_status_t cairo_scaled_font_set_user_data (cairo_scaled_font_t *scaled_font, const cairo_user_data_key_t *key, void *user_data, cairo_destroy_func_t destroy); void cairo_scaled_font_extents (cairo_scaled_font_t *scaled_font, cairo_font_extents_t *extents); void cairo_scaled_font_text_extents (cairo_scaled_font_t *scaled_font, const char *utf8, cairo_text_extents_t *extents); void cairo_scaled_font_glyph_extents (cairo_scaled_font_t *scaled_font, const cairo_glyph_t *glyphs, int num_glyphs, cairo_text_extents_t *extents); cairo_font_face_t * cairo_scaled_font_get_font_face (cairo_scaled_font_t *scaled_font); void cairo_scaled_font_get_font_matrix (cairo_scaled_font_t *scaled_font, cairo_matrix_t *font_matrix); void cairo_scaled_font_get_ctm (cairo_scaled_font_t *scaled_font, cairo_matrix_t *ctm); void cairo_scaled_font_get_font_options (cairo_scaled_font_t *scaled_font, cairo_font_options_t *options); cairo_operator_t cairo_get_operator (cairo_t *cr); cairo_pattern_t * cairo_get_source (cairo_t *cr); double cairo_get_tolerance (cairo_t *cr); cairo_antialias_t cairo_get_antialias (cairo_t *cr); void cairo_get_current_point (cairo_t *cr, double *x, double *y); cairo_fill_rule_t cairo_get_fill_rule (cairo_t *cr); double cairo_get_line_width (cairo_t *cr); cairo_line_cap_t cairo_get_line_cap (cairo_t *cr); cairo_line_join_t cairo_get_line_join (cairo_t *cr); double cairo_get_miter_limit (cairo_t *cr); int cairo_get_dash_count (cairo_t *cr); void cairo_get_dash (cairo_t *cr, double *dashes, double *offset); void cairo_get_matrix (cairo_t *cr, cairo_matrix_t *matrix); cairo_surface_t * cairo_get_target (cairo_t *cr); cairo_surface_t * cairo_get_group_target (cairo_t *cr); # 1271 "/usr/include/cairo/cairo.h" typedef enum _cairo_path_data_type { CAIRO_PATH_MOVE_TO, CAIRO_PATH_LINE_TO, CAIRO_PATH_CURVE_TO, CAIRO_PATH_CLOSE_PATH } cairo_path_data_type_t; # 1344 "/usr/include/cairo/cairo.h" typedef union _cairo_path_data_t cairo_path_data_t; union _cairo_path_data_t { struct { cairo_path_data_type_t type; int length; } header; struct { double x, y; } point; }; # 1374 "/usr/include/cairo/cairo.h" typedef struct cairo_path { cairo_status_t status; cairo_path_data_t *data; int num_data; } cairo_path_t; cairo_path_t * cairo_copy_path (cairo_t *cr); cairo_path_t * cairo_copy_path_flat (cairo_t *cr); void cairo_append_path (cairo_t *cr, const cairo_path_t *path); void cairo_path_destroy (cairo_path_t *path); cairo_status_t cairo_status (cairo_t *cr); const char * cairo_status_to_string (cairo_status_t status); cairo_surface_t * cairo_surface_create_similar (cairo_surface_t *other, cairo_content_t content, int width, int height); cairo_surface_t * cairo_surface_reference (cairo_surface_t *surface); void cairo_surface_finish (cairo_surface_t *surface); void cairo_surface_destroy (cairo_surface_t *surface); unsigned int cairo_surface_get_reference_count (cairo_surface_t *surface); cairo_status_t cairo_surface_status (cairo_surface_t *surface); # 1462 "/usr/include/cairo/cairo.h" typedef enum _cairo_surface_type { CAIRO_SURFACE_TYPE_IMAGE, CAIRO_SURFACE_TYPE_PDF, CAIRO_SURFACE_TYPE_PS, CAIRO_SURFACE_TYPE_XLIB, CAIRO_SURFACE_TYPE_XCB, CAIRO_SURFACE_TYPE_GLITZ, CAIRO_SURFACE_TYPE_QUARTZ, CAIRO_SURFACE_TYPE_WIN32, CAIRO_SURFACE_TYPE_BEOS, CAIRO_SURFACE_TYPE_DIRECTFB, CAIRO_SURFACE_TYPE_SVG, CAIRO_SURFACE_TYPE_OS2 } cairo_surface_type_t; cairo_surface_type_t cairo_surface_get_type (cairo_surface_t *surface); cairo_content_t cairo_surface_get_content (cairo_surface_t *surface); cairo_status_t cairo_surface_write_to_png (cairo_surface_t *surface, const char *filename); cairo_status_t cairo_surface_write_to_png_stream (cairo_surface_t *surface, cairo_write_func_t write_func, void *closure); void * cairo_surface_get_user_data (cairo_surface_t *surface, const cairo_user_data_key_t *key); cairo_status_t cairo_surface_set_user_data (cairo_surface_t *surface, const cairo_user_data_key_t *key, void *user_data, cairo_destroy_func_t destroy); void cairo_surface_get_font_options (cairo_surface_t *surface, cairo_font_options_t *options); void cairo_surface_flush (cairo_surface_t *surface); void cairo_surface_mark_dirty (cairo_surface_t *surface); void cairo_surface_mark_dirty_rectangle (cairo_surface_t *surface, int x, int y, int width, int height); void cairo_surface_set_device_offset (cairo_surface_t *surface, double x_offset, double y_offset); void cairo_surface_get_device_offset (cairo_surface_t *surface, double *x_offset, double *y_offset); void cairo_surface_set_fallback_resolution (cairo_surface_t *surface, double x_pixels_per_inch, double y_pixels_per_inch); # 1567 "/usr/include/cairo/cairo.h" typedef enum _cairo_format { CAIRO_FORMAT_ARGB32, CAIRO_FORMAT_RGB24, CAIRO_FORMAT_A8, CAIRO_FORMAT_A1 } cairo_format_t; cairo_surface_t * cairo_image_surface_create (cairo_format_t format, int width, int height); cairo_surface_t * cairo_image_surface_create_for_data (unsigned char *data, cairo_format_t format, int width, int height, int stride); unsigned char * cairo_image_surface_get_data (cairo_surface_t *surface); cairo_format_t cairo_image_surface_get_format (cairo_surface_t *surface); int cairo_image_surface_get_width (cairo_surface_t *surface); int cairo_image_surface_get_height (cairo_surface_t *surface); int cairo_image_surface_get_stride (cairo_surface_t *surface); cairo_surface_t * cairo_image_surface_create_from_png (const char *filename); cairo_surface_t * cairo_image_surface_create_from_png_stream (cairo_read_func_t read_func, void *closure); cairo_pattern_t * cairo_pattern_create_rgb (double red, double green, double blue); cairo_pattern_t * cairo_pattern_create_rgba (double red, double green, double blue, double alpha); cairo_pattern_t * cairo_pattern_create_for_surface (cairo_surface_t *surface); cairo_pattern_t * cairo_pattern_create_linear (double x0, double y0, double x1, double y1); cairo_pattern_t * cairo_pattern_create_radial (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1); cairo_pattern_t * cairo_pattern_reference (cairo_pattern_t *pattern); void cairo_pattern_destroy (cairo_pattern_t *pattern); unsigned int cairo_pattern_get_reference_count (cairo_pattern_t *pattern); cairo_status_t cairo_pattern_status (cairo_pattern_t *pattern); void * cairo_pattern_get_user_data (cairo_pattern_t *pattern, const cairo_user_data_key_t *key); cairo_status_t cairo_pattern_set_user_data (cairo_pattern_t *pattern, const cairo_user_data_key_t *key, void *user_data, cairo_destroy_func_t destroy); # 1688 "/usr/include/cairo/cairo.h" typedef enum _cairo_pattern_type { CAIRO_PATTERN_TYPE_SOLID, CAIRO_PATTERN_TYPE_SURFACE, CAIRO_PATTERN_TYPE_LINEAR, CAIRO_PATTERN_TYPE_RADIAL } cairo_pattern_type_t; cairo_pattern_type_t cairo_pattern_get_type (cairo_pattern_t *pattern); void cairo_pattern_add_color_stop_rgb (cairo_pattern_t *pattern, double offset, double red, double green, double blue); void cairo_pattern_add_color_stop_rgba (cairo_pattern_t *pattern, double offset, double red, double green, double blue, double alpha); void cairo_pattern_set_matrix (cairo_pattern_t *pattern, const cairo_matrix_t *matrix); void cairo_pattern_get_matrix (cairo_pattern_t *pattern, cairo_matrix_t *matrix); # 1733 "/usr/include/cairo/cairo.h" typedef enum _cairo_extend { CAIRO_EXTEND_NONE, CAIRO_EXTEND_REPEAT, CAIRO_EXTEND_REFLECT, CAIRO_EXTEND_PAD } cairo_extend_t; void cairo_pattern_set_extend (cairo_pattern_t *pattern, cairo_extend_t extend); cairo_extend_t cairo_pattern_get_extend (cairo_pattern_t *pattern); typedef enum _cairo_filter { CAIRO_FILTER_FAST, CAIRO_FILTER_GOOD, CAIRO_FILTER_BEST, CAIRO_FILTER_NEAREST, CAIRO_FILTER_BILINEAR, CAIRO_FILTER_GAUSSIAN } cairo_filter_t; void cairo_pattern_set_filter (cairo_pattern_t *pattern, cairo_filter_t filter); cairo_filter_t cairo_pattern_get_filter (cairo_pattern_t *pattern); cairo_status_t cairo_pattern_get_rgba (cairo_pattern_t *pattern, double *red, double *green, double *blue, double *alpha); cairo_status_t cairo_pattern_get_surface (cairo_pattern_t *pattern, cairo_surface_t **surface); cairo_status_t cairo_pattern_get_color_stop_rgba (cairo_pattern_t *pattern, int index, double *offset, double *red, double *green, double *blue, double *alpha); cairo_status_t cairo_pattern_get_color_stop_count (cairo_pattern_t *pattern, int *count); cairo_status_t cairo_pattern_get_linear_points (cairo_pattern_t *pattern, double *x0, double *y0, double *x1, double *y1); cairo_status_t cairo_pattern_get_radial_circles (cairo_pattern_t *pattern, double *x0, double *y0, double *r0, double *x1, double *y1, double *r1); void cairo_matrix_init (cairo_matrix_t *matrix, double xx, double yx, double xy, double yy, double x0, double y0); void cairo_matrix_init_identity (cairo_matrix_t *matrix); void cairo_matrix_init_translate (cairo_matrix_t *matrix, double tx, double ty); void cairo_matrix_init_scale (cairo_matrix_t *matrix, double sx, double sy); void cairo_matrix_init_rotate (cairo_matrix_t *matrix, double radians); void cairo_matrix_translate (cairo_matrix_t *matrix, double tx, double ty); void cairo_matrix_scale (cairo_matrix_t *matrix, double sx, double sy); void cairo_matrix_rotate (cairo_matrix_t *matrix, double radians); cairo_status_t cairo_matrix_invert (cairo_matrix_t *matrix); void cairo_matrix_multiply (cairo_matrix_t *result, const cairo_matrix_t *a, const cairo_matrix_t *b); void cairo_matrix_transform_distance (const cairo_matrix_t *matrix, double *dx, double *dy); void cairo_matrix_transform_point (const cairo_matrix_t *matrix, double *x, double *y); void cairo_debug_reset_static_data (void); # 31 "../gdk/gdkcolor.h" 2 # 1 "../gdk/gdktypes.h" 1 # 32 "../gdk/gdktypes.h" # 1 "/usr/include/glib-2.0/glib.h" 1 # 30 "/usr/include/glib-2.0/glib.h" # 1 "/usr/include/glib-2.0/glib/galloca.h" 1 # 30 "/usr/include/glib-2.0/glib/galloca.h" # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1 # 30 "/usr/include/glib-2.0/glib/gtypes.h" # 1 "/usr/lib/glib-2.0/include/glibconfig.h" 1 # 9 "/usr/lib/glib-2.0/include/glibconfig.h" # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1 # 36 "/usr/include/glib-2.0/glib/gmacros.h" # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 152 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4 typedef int ptrdiff_t; # 326 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4 typedef long int wchar_t; # 37 "/usr/include/glib-2.0/glib/gmacros.h" 2 # 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 1 3 4 # 11 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 1 3 4 # 122 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 145 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 153 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 36 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 37 "/usr/include/bits/local_lim.h" 2 3 4 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4 # 146 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 150 "/usr/include/limits.h" 2 3 4 # 123 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 2 3 4 # 8 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/syslimits.h" 2 3 4 # 12 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 2 3 4 # 12 "/usr/lib/glib-2.0/include/glibconfig.h" 2 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/float.h" 1 3 4 # 13 "/usr/lib/glib-2.0/include/glibconfig.h" 2 # 32 "/usr/lib/glib-2.0/include/glibconfig.h" typedef signed char gint8; typedef unsigned char guint8; typedef signed short gint16; typedef unsigned short guint16; typedef signed int gint32; typedef unsigned int guint32; __extension__ typedef signed long long gint64; __extension__ typedef unsigned long long guint64; # 59 "/usr/lib/glib-2.0/include/glibconfig.h" typedef signed int gssize; typedef unsigned int gsize; # 69 "/usr/lib/glib-2.0/include/glibconfig.h" typedef gint64 goffset; # 139 "/usr/lib/glib-2.0/include/glibconfig.h" typedef struct _GStaticMutex GStaticMutex; struct _GStaticMutex { struct _GMutex *runtime_mutex; union { char pad[24]; double dummy_double; void *dummy_pointer; long dummy_long; } static_mutex; }; # 158 "/usr/lib/glib-2.0/include/glibconfig.h" typedef union _GSystemThread GSystemThread; union _GSystemThread { char data[4]; double dummy_double; void *dummy_pointer; long dummy_long; }; # 200 "/usr/lib/glib-2.0/include/glibconfig.h" typedef int GPid; # 31 "/usr/include/glib-2.0/glib/gtypes.h" 2 # 41 "/usr/include/glib-2.0/glib/gtypes.h" typedef char gchar; typedef short gshort; typedef long glong; typedef int gint; typedef gint gboolean; typedef unsigned char guchar; typedef unsigned short gushort; typedef unsigned long gulong; typedef unsigned int guint; typedef float gfloat; typedef double gdouble; # 72 "/usr/include/glib-2.0/glib/gtypes.h" typedef void* gpointer; typedef const void *gconstpointer; typedef gint (*GCompareFunc) (gconstpointer a, gconstpointer b); typedef gint (*GCompareDataFunc) (gconstpointer a, gconstpointer b, gpointer user_data); typedef gboolean (*GEqualFunc) (gconstpointer a, gconstpointer b); typedef void (*GDestroyNotify) (gpointer data); typedef void (*GFunc) (gpointer data, gpointer user_data); typedef guint (*GHashFunc) (gconstpointer key); typedef void (*GHFunc) (gpointer key, gpointer value, gpointer user_data); typedef void (*GFreeFunc) (gpointer data); typedef const gchar * (*GTranslateFunc) (const gchar *str, gpointer data); # 345 "/usr/include/glib-2.0/glib/gtypes.h" typedef union _GDoubleIEEE754 GDoubleIEEE754; typedef union _GFloatIEEE754 GFloatIEEE754; union _GFloatIEEE754 { gfloat v_float; struct { guint mantissa : 23; guint biased_exponent : 8; guint sign : 1; } mpn; }; union _GDoubleIEEE754 { gdouble v_double; struct { guint mantissa_low : 32; guint mantissa_high : 20; guint biased_exponent : 11; guint sign : 1; } mpn; }; # 395 "/usr/include/glib-2.0/glib/gtypes.h" typedef struct _GTimeVal GTimeVal; struct _GTimeVal { glong tv_sec; glong tv_usec; }; # 31 "/usr/include/glib-2.0/glib/galloca.h" 2 # 31 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/garray.h" 1 # 32 "/usr/include/glib-2.0/glib/garray.h" typedef struct _GArray GArray; typedef struct _GByteArray GByteArray; typedef struct _GPtrArray GPtrArray; struct _GArray { gchar *data; guint len; }; struct _GByteArray { guint8 *data; guint len; }; struct _GPtrArray { gpointer *pdata; guint len; }; # 66 "/usr/include/glib-2.0/glib/garray.h" GArray* g_array_new (gboolean zero_terminated, gboolean clear_, guint element_size); GArray* g_array_sized_new (gboolean zero_terminated, gboolean clear_, guint element_size, guint reserved_size); gchar* g_array_free (GArray *array, gboolean free_segment); GArray* g_array_append_vals (GArray *array, gconstpointer data, guint len); GArray* g_array_prepend_vals (GArray *array, gconstpointer data, guint len); GArray* g_array_insert_vals (GArray *array, guint index_, gconstpointer data, guint len); GArray* g_array_set_size (GArray *array, guint length); GArray* g_array_remove_index (GArray *array, guint index_); GArray* g_array_remove_index_fast (GArray *array, guint index_); GArray* g_array_remove_range (GArray *array, guint index_, guint length); void g_array_sort (GArray *array, GCompareFunc compare_func); void g_array_sort_with_data (GArray *array, GCompareDataFunc compare_func, gpointer user_data); GPtrArray* g_ptr_array_new (void); GPtrArray* g_ptr_array_sized_new (guint reserved_size); gpointer* g_ptr_array_free (GPtrArray *array, gboolean free_seg); void g_ptr_array_set_size (GPtrArray *array, gint length); gpointer g_ptr_array_remove_index (GPtrArray *array, guint index_); gpointer g_ptr_array_remove_index_fast (GPtrArray *array, guint index_); gboolean g_ptr_array_remove (GPtrArray *array, gpointer data); gboolean g_ptr_array_remove_fast (GPtrArray *array, gpointer data); void g_ptr_array_remove_range (GPtrArray *array, guint index_, guint length); void g_ptr_array_add (GPtrArray *array, gpointer data); void g_ptr_array_sort (GPtrArray *array, GCompareFunc compare_func); void g_ptr_array_sort_with_data (GPtrArray *array, GCompareDataFunc compare_func, gpointer user_data); void g_ptr_array_foreach (GPtrArray *array, GFunc func, gpointer user_data); GByteArray* g_byte_array_new (void); GByteArray* g_byte_array_sized_new (guint reserved_size); guint8* g_byte_array_free (GByteArray *array, gboolean free_segment); GByteArray* g_byte_array_append (GByteArray *array, const guint8 *data, guint len); GByteArray* g_byte_array_prepend (GByteArray *array, const guint8 *data, guint len); GByteArray* g_byte_array_set_size (GByteArray *array, guint length); GByteArray* g_byte_array_remove_index (GByteArray *array, guint index_); GByteArray* g_byte_array_remove_index_fast (GByteArray *array, guint index_); GByteArray* g_byte_array_remove_range (GByteArray *array, guint index_, guint length); void g_byte_array_sort (GByteArray *array, GCompareFunc compare_func); void g_byte_array_sort_with_data (GByteArray *array, GCompareDataFunc compare_func, gpointer user_data); # 32 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1 # 30 "/usr/include/glib-2.0/glib/gasyncqueue.h" # 1 "/usr/include/glib-2.0/glib/gthread.h" 1 # 30 "/usr/include/glib-2.0/glib/gthread.h" # 1 "/usr/include/glib-2.0/glib/gerror.h" 1 # 24 "/usr/include/glib-2.0/glib/gerror.h" # 1 "/usr/include/glib-2.0/glib/gquark.h" 1 # 32 "/usr/include/glib-2.0/glib/gquark.h" typedef guint32 GQuark; GQuark g_quark_try_string (const gchar *string); GQuark g_quark_from_static_string (const gchar *string); GQuark g_quark_from_string (const gchar *string); const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__)); const gchar* g_intern_string (const gchar *string); const gchar* g_intern_static_string (const gchar *string); # 25 "/usr/include/glib-2.0/glib/gerror.h" 2 typedef struct _GError GError; struct _GError { GQuark domain; gint code; gchar *message; }; GError* g_error_new (GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); GError* g_error_new_literal (GQuark domain, gint code, const gchar *message); void g_error_free (GError *error); GError* g_error_copy (const GError *error); gboolean g_error_matches (const GError *error, GQuark domain, gint code); void g_set_error (GError **err, GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (__printf__, 4, 5))); void g_propagate_error (GError **dest, GError *src); void g_clear_error (GError **err); # 31 "/usr/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1 # 31 "/usr/include/glib-2.0/glib/gutils.h" # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 1 3 4 # 43 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 105 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; # 32 "/usr/include/glib-2.0/glib/gutils.h" 2 # 133 "/usr/include/glib-2.0/glib/gutils.h" const gchar* g_get_user_name (void); const gchar* g_get_real_name (void); const gchar* g_get_home_dir (void); const gchar* g_get_tmp_dir (void); const gchar* g_get_host_name (void); gchar* g_get_prgname (void); void g_set_prgname (const gchar *prgname); const gchar* g_get_application_name (void); void g_set_application_name (const gchar *application_name); const gchar* g_get_user_data_dir (void); const gchar* g_get_user_config_dir (void); const gchar* g_get_user_cache_dir (void); const gchar* const * g_get_system_data_dirs (void); # 161 "/usr/include/glib-2.0/glib/gutils.h" const gchar* const * g_get_system_config_dirs (void); const gchar* const * g_get_language_names (void); # 187 "/usr/include/glib-2.0/glib/gutils.h" typedef enum { G_USER_DIRECTORY_DESKTOP, G_USER_DIRECTORY_DOCUMENTS, G_USER_DIRECTORY_DOWNLOAD, G_USER_DIRECTORY_MUSIC, G_USER_DIRECTORY_PICTURES, G_USER_DIRECTORY_PUBLIC_SHARE, G_USER_DIRECTORY_TEMPLATES, G_USER_DIRECTORY_VIDEOS, G_USER_N_DIRECTORIES } GUserDirectory; const gchar* g_get_user_special_dir (GUserDirectory directory); typedef struct _GDebugKey GDebugKey; struct _GDebugKey { gchar *key; guint value; }; guint g_parse_debug_string (const gchar *string, const GDebugKey *keys, guint nkeys); gint g_snprintf (gchar *string, gulong n, gchar const *format, ...) __attribute__((__format__ (__printf__, 3, 4))); gint g_vsnprintf (gchar *string, gulong n, gchar const *format, va_list args); gboolean g_path_is_absolute (const gchar *file_name); const gchar* g_path_skip_root (const gchar *file_name); const gchar* g_basename (const gchar *file_name); # 246 "/usr/include/glib-2.0/glib/gutils.h" gchar* g_get_current_dir (void); gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__)); gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__)); void g_nullify_pointer (gpointer *nullify_location); # 262 "/usr/include/glib-2.0/glib/gutils.h" const gchar* g_getenv (const gchar *variable); gboolean g_setenv (const gchar *variable, const gchar *value, gboolean overwrite); void g_unsetenv (const gchar *variable); gchar** g_listenv (void); const gchar* _g_getenv_nomalloc (const gchar *variable, gchar buffer[1024]); typedef void (*GVoidFunc) (void); # 288 "/usr/include/glib-2.0/glib/gutils.h" void g_atexit (GVoidFunc func); # 302 "/usr/include/glib-2.0/glib/gutils.h" gchar* g_find_program_in_path (const gchar *program); extern __inline gint g_bit_nth_lsf (gulong mask, gint nth_bit) __attribute__((__const__)); extern __inline gint g_bit_nth_msf (gulong mask, gint nth_bit) __attribute__((__const__)); extern __inline guint g_bit_storage (gulong number) __attribute__((__const__)); typedef struct _GTrashStack GTrashStack; struct _GTrashStack { GTrashStack *next; }; extern __inline void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p); extern __inline gpointer g_trash_stack_pop (GTrashStack **stack_p); extern __inline gpointer g_trash_stack_peek (GTrashStack **stack_p); extern __inline guint g_trash_stack_height (GTrashStack **stack_p); extern __inline gint g_bit_nth_lsf (gulong mask, gint nth_bit) { 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))) nth_bit = -1; while (nth_bit < ((4 * 8) - 1)) { nth_bit++; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } extern __inline gint g_bit_nth_msf (gulong mask, gint nth_bit) { 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))) nth_bit = 4 * 8; while (nth_bit > 0) { nth_bit--; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } extern __inline guint g_bit_storage (gulong number) { return (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (number) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ? ((4 * 8 - 1) ^ __builtin_clzl(number)) + 1 : 1; # 375 "/usr/include/glib-2.0/glib/gutils.h" } extern __inline void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p) { GTrashStack *data = (GTrashStack *) data_p; data->next = *stack_p; *stack_p = data; } extern __inline gpointer g_trash_stack_pop (GTrashStack **stack_p) { GTrashStack *data; data = *stack_p; if (data) { *stack_p = data->next; data->next = ((void *)0); } return data; } extern __inline gpointer g_trash_stack_peek (GTrashStack **stack_p) { GTrashStack *data; data = *stack_p; return data; } extern __inline guint g_trash_stack_height (GTrashStack **stack_p) { GTrashStack *data; guint i = 0; for (data = *stack_p; data; data = data->next) i++; return i; } extern const guint glib_major_version; extern const guint glib_minor_version; extern const guint glib_micro_version; extern const guint glib_interface_age; extern const guint glib_binary_age; const gchar * glib_check_version (guint required_major, guint required_minor, guint required_micro); # 33 "/usr/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1 # 35 "/usr/include/glib-2.0/glib/gatomic.h" gint g_atomic_int_exchange_and_add (volatile gint *atomic, gint val); void g_atomic_int_add (volatile gint *atomic, gint val); gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic, gint oldval, gint newval); gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer *atomic, gpointer oldval, gpointer newval); gint g_atomic_int_get (volatile gint *atomic); void g_atomic_int_set (volatile gint *atomic, gint newval); gpointer g_atomic_pointer_get (volatile gpointer *atomic); void g_atomic_pointer_set (volatile gpointer *atomic, gpointer newval); # 66 "/usr/include/glib-2.0/glib/gatomic.h" # 34 "/usr/include/glib-2.0/glib/gthread.h" 2 extern GQuark g_thread_error_quark (void); typedef enum { G_THREAD_ERROR_AGAIN } GThreadError; typedef gpointer (*GThreadFunc) (gpointer data); typedef enum { G_THREAD_PRIORITY_LOW, G_THREAD_PRIORITY_NORMAL, G_THREAD_PRIORITY_HIGH, G_THREAD_PRIORITY_URGENT } GThreadPriority; typedef struct _GThread GThread; struct _GThread { GThreadFunc func; gpointer data; gboolean joinable; GThreadPriority priority; }; typedef struct _GMutex GMutex; typedef struct _GCond GCond; typedef struct _GPrivate GPrivate; typedef struct _GStaticPrivate GStaticPrivate; typedef struct _GThreadFunctions GThreadFunctions; struct _GThreadFunctions { GMutex* (*mutex_new) (void); void (*mutex_lock) (GMutex *mutex); gboolean (*mutex_trylock) (GMutex *mutex); void (*mutex_unlock) (GMutex *mutex); void (*mutex_free) (GMutex *mutex); GCond* (*cond_new) (void); void (*cond_signal) (GCond *cond); void (*cond_broadcast) (GCond *cond); void (*cond_wait) (GCond *cond, GMutex *mutex); gboolean (*cond_timed_wait) (GCond *cond, GMutex *mutex, GTimeVal *end_time); void (*cond_free) (GCond *cond); GPrivate* (*private_new) (GDestroyNotify destructor); gpointer (*private_get) (GPrivate *private_key); void (*private_set) (GPrivate *private_key, gpointer data); void (*thread_create) (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, gpointer thread, GError **error); void (*thread_yield) (void); void (*thread_join) (gpointer thread); void (*thread_exit) (void); void (*thread_set_priority)(gpointer thread, GThreadPriority priority); void (*thread_self) (gpointer thread); gboolean (*thread_equal) (gpointer thread1, gpointer thread2); }; extern GThreadFunctions g_thread_functions_for_glib_use; extern gboolean g_thread_use_default_impl; extern gboolean g_threads_got_initialized; extern guint64 (*g_thread_gettime) (void); void g_thread_init (GThreadFunctions *vtable); # 131 "/usr/include/glib-2.0/glib/gthread.h" void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable); # 141 "/usr/include/glib-2.0/glib/gthread.h" GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); # 212 "/usr/include/glib-2.0/glib/gthread.h" GThread* g_thread_create_full (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, GError **error); GThread* g_thread_self (void); void g_thread_exit (gpointer retval); gpointer g_thread_join (GThread *thread); void g_thread_set_priority (GThread *thread, GThreadPriority priority); # 237 "/usr/include/glib-2.0/glib/gthread.h" void g_static_mutex_init (GStaticMutex *mutex); void g_static_mutex_free (GStaticMutex *mutex); struct _GStaticPrivate { guint index; }; void g_static_private_init (GStaticPrivate *private_key); gpointer g_static_private_get (GStaticPrivate *private_key); void g_static_private_set (GStaticPrivate *private_key, gpointer data, GDestroyNotify notify); void g_static_private_free (GStaticPrivate *private_key); typedef struct _GStaticRecMutex GStaticRecMutex; struct _GStaticRecMutex { GStaticMutex mutex; guint depth; GSystemThread owner; }; void g_static_rec_mutex_init (GStaticRecMutex *mutex); void g_static_rec_mutex_lock (GStaticRecMutex *mutex); gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, guint depth); guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex); void g_static_rec_mutex_free (GStaticRecMutex *mutex); typedef struct _GStaticRWLock GStaticRWLock; struct _GStaticRWLock { GStaticMutex mutex; GCond *read_cond; GCond *write_cond; guint read_counter; gboolean have_writer; guint want_to_read; guint want_to_write; }; void g_static_rw_lock_init (GStaticRWLock* lock); void g_static_rw_lock_reader_lock (GStaticRWLock* lock); gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock); void g_static_rw_lock_reader_unlock (GStaticRWLock* lock); void g_static_rw_lock_writer_lock (GStaticRWLock* lock); gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock); void g_static_rw_lock_writer_unlock (GStaticRWLock* lock); void g_static_rw_lock_free (GStaticRWLock* lock); void g_thread_foreach (GFunc thread_func, gpointer user_data); typedef enum { G_ONCE_STATUS_NOTCALLED, G_ONCE_STATUS_PROGRESS, G_ONCE_STATUS_READY } GOnceStatus; typedef struct _GOnce GOnce; struct _GOnce { volatile GOnceStatus status; volatile gpointer retval; }; gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg); # 327 "/usr/include/glib-2.0/glib/gthread.h" extern __inline gboolean g_once_init_enter (volatile gsize *value_location); gboolean g_once_init_enter_impl (volatile gsize *value_location); void g_once_init_leave (volatile gsize *value_location, gsize initialization_value); extern __inline gboolean g_once_init_enter (volatile gsize *value_location) { 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)) return (0); else return g_once_init_enter_impl (value_location); } # 351 "/usr/include/glib-2.0/glib/gthread.h" extern void glib_dummy_decl (void); # 394 "/usr/include/glib-2.0/glib/gthread.h" # 31 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2 typedef struct _GAsyncQueue GAsyncQueue; GAsyncQueue* g_async_queue_new (void); void g_async_queue_lock (GAsyncQueue *queue); void g_async_queue_unlock (GAsyncQueue *queue); GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue); void g_async_queue_unref (GAsyncQueue *queue); void g_async_queue_ref_unlocked (GAsyncQueue *queue); void g_async_queue_unref_and_unlock (GAsyncQueue *queue); void g_async_queue_push (GAsyncQueue *queue, gpointer data); void g_async_queue_push_unlocked (GAsyncQueue *queue, gpointer data); void g_async_queue_push_sorted (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); gpointer g_async_queue_pop (GAsyncQueue *queue); gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue); gpointer g_async_queue_try_pop (GAsyncQueue *queue); gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue); gpointer g_async_queue_timed_pop (GAsyncQueue *queue, GTimeVal *end_time); gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, GTimeVal *end_time); # 100 "/usr/include/glib-2.0/glib/gasyncqueue.h" gint g_async_queue_length (GAsyncQueue *queue); gint g_async_queue_length_unlocked (GAsyncQueue *queue); void g_async_queue_sort (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); void g_async_queue_sort_unlocked (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue); # 33 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1 # 32 "/usr/include/glib-2.0/glib/gbacktrace.h" # 43 "/usr/include/glib-2.0/glib/gbacktrace.h" void g_on_error_query (const gchar *prg_name); void g_on_error_stack_trace (const gchar *prg_name); # 59 "/usr/include/glib-2.0/glib/gbacktrace.h" # 35 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1 # 26 "/usr/include/glib-2.0/glib/gbase64.h" gsize g_base64_encode_step (const guchar *in, gsize len, gboolean break_lines, gchar *out, gint *state, gint *save); gsize g_base64_encode_close (gboolean break_lines, gchar *out, gint *state, gint *save); gchar* g_base64_encode (const guchar *data, gsize len) __attribute__((__malloc__)); gsize g_base64_decode_step (const gchar *in, gsize len, guchar *out, gint *state, guint *save); guchar *g_base64_decode (const gchar *text, gsize *out_len) __attribute__((__malloc__)); # 36 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1 # 24 "/usr/include/glib-2.0/glib/gbookmarkfile.h" # 1 "/usr/include/time.h" 1 3 4 # 31 "/usr/include/time.h" 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 40 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 44 "/usr/include/time.h" 2 3 4 # 57 "/usr/include/time.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 58 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 75 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 93 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 105 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 121 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); # 229 "/usr/include/time.h" 3 4 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 312 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 327 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 416 "/usr/include/time.h" 3 4 # 25 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2 typedef enum { G_BOOKMARK_FILE_ERROR_INVALID_URI, G_BOOKMARK_FILE_ERROR_INVALID_VALUE, G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, G_BOOKMARK_FILE_ERROR_READ, G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, G_BOOKMARK_FILE_ERROR_WRITE, G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND } GBookmarkFileError; GQuark g_bookmark_file_error_quark (void); typedef struct _GBookmarkFile GBookmarkFile; GBookmarkFile *g_bookmark_file_new (void); void g_bookmark_file_free (GBookmarkFile *bookmark); gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark, const gchar *data, gsize length, GError **error); gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark, const gchar *file, gchar **full_path, GError **error); gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark, gsize *length, GError **error) __attribute__((__malloc__)); gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); void g_bookmark_file_set_title (GBookmarkFile *bookmark, const gchar *uri, const gchar *title); gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); void g_bookmark_file_set_description (GBookmarkFile *bookmark, const gchar *uri, const gchar *description); gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark, const gchar *uri, const gchar *mime_type); gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); void g_bookmark_file_set_groups (GBookmarkFile *bookmark, const gchar *uri, const gchar **groups, gsize length); void g_bookmark_file_add_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group); gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error) __attribute__((__malloc__)); void g_bookmark_file_add_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec); gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error) __attribute__((__malloc__)); gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec, gint count, time_t stamp, GError **error); gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, gchar **exec, guint *count, time_t *stamp, GError **error); void g_bookmark_file_set_is_private (GBookmarkFile *bookmark, const gchar *uri, gboolean is_private); gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark, const gchar *uri, GError **error); void g_bookmark_file_set_icon (GBookmarkFile *bookmark, const gchar *uri, const gchar *href, const gchar *mime_type); gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark, const gchar *uri, gchar **href, gchar **mime_type, GError **error); void g_bookmark_file_set_added (GBookmarkFile *bookmark, const gchar *uri, time_t added); time_t g_bookmark_file_get_added (GBookmarkFile *bookmark, const gchar *uri, GError **error); void g_bookmark_file_set_modified (GBookmarkFile *bookmark, const gchar *uri, time_t modified); time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark, const gchar *uri, GError **error); void g_bookmark_file_set_visited (GBookmarkFile *bookmark, const gchar *uri, time_t visited); time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark, const gchar *uri, GError **error); gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark, const gchar *uri); gint g_bookmark_file_get_size (GBookmarkFile *bookmark); gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark, gsize *length) __attribute__((__malloc__)); gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark, const gchar *uri, GError **error); gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark, const gchar *old_uri, const gchar *new_uri, GError **error); # 37 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gcache.h" 1 # 30 "/usr/include/glib-2.0/glib/gcache.h" # 1 "/usr/include/glib-2.0/glib/glist.h" 1 # 30 "/usr/include/glib-2.0/glib/glist.h" # 1 "/usr/include/glib-2.0/glib/gmem.h" 1 # 30 "/usr/include/glib-2.0/glib/gmem.h" # 1 "/usr/include/glib-2.0/glib/gslice.h" 1 # 28 "/usr/include/glib-2.0/glib/gslice.h" gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)); gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)); gpointer g_slice_copy (gsize block_size, gconstpointer mem_block) __attribute__((__malloc__)); void g_slice_free1 (gsize block_size, gpointer mem_block); void g_slice_free_chain_with_offset (gsize block_size, gpointer mem_chain, gsize next_offset); # 70 "/usr/include/glib-2.0/glib/gslice.h" typedef enum { G_SLICE_CONFIG_ALWAYS_MALLOC = 1, G_SLICE_CONFIG_BYPASS_MAGAZINES, G_SLICE_CONFIG_WORKING_SET_MSECS, G_SLICE_CONFIG_COLOR_INCREMENT, G_SLICE_CONFIG_CHUNK_SIZES, G_SLICE_CONFIG_CONTENTION_COUNTER } GSliceConfig; void g_slice_set_config (GSliceConfig ckey, gint64 value); gint64 g_slice_get_config (GSliceConfig ckey); gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values); # 31 "/usr/include/glib-2.0/glib/gmem.h" 2 typedef struct _GMemVTable GMemVTable; # 47 "/usr/include/glib-2.0/glib/gmem.h" gpointer g_malloc (gulong n_bytes) __attribute__((__malloc__)); gpointer g_malloc0 (gulong n_bytes) __attribute__((__malloc__)); gpointer g_realloc (gpointer mem, gulong n_bytes) __attribute__((warn_unused_result)); void g_free (gpointer mem); gpointer g_try_malloc (gulong n_bytes) __attribute__((__malloc__)); gpointer g_try_malloc0 (gulong n_bytes) __attribute__((__malloc__)); gpointer g_try_realloc (gpointer mem, gulong n_bytes) __attribute__((warn_unused_result)); # 79 "/usr/include/glib-2.0/glib/gmem.h" struct _GMemVTable { gpointer (*malloc) (gsize n_bytes); gpointer (*realloc) (gpointer mem, gsize n_bytes); void (*free) (gpointer mem); gpointer (*calloc) (gsize n_blocks, gsize n_block_bytes); gpointer (*try_malloc) (gsize n_bytes); gpointer (*try_realloc) (gpointer mem, gsize n_bytes); }; void g_mem_set_vtable (GMemVTable *vtable); gboolean g_mem_is_system_malloc (void); extern gboolean g_mem_gc_friendly; extern GMemVTable *glib_mem_profiler_table; void g_mem_profile (void); typedef struct _GAllocator GAllocator; typedef struct _GMemChunk GMemChunk; # 124 "/usr/include/glib-2.0/glib/gmem.h" GMemChunk* g_mem_chunk_new (const gchar *name, gint atom_size, gulong area_size, gint type); void g_mem_chunk_destroy (GMemChunk *mem_chunk); gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); void g_mem_chunk_free (GMemChunk *mem_chunk, gpointer mem); void g_mem_chunk_clean (GMemChunk *mem_chunk); void g_mem_chunk_reset (GMemChunk *mem_chunk); void g_mem_chunk_print (GMemChunk *mem_chunk); void g_mem_chunk_info (void); void g_blow_chunks (void); GAllocator*g_allocator_new (const gchar *name, guint n_preallocs); void g_allocator_free (GAllocator *allocator); # 31 "/usr/include/glib-2.0/glib/glist.h" 2 typedef struct _GList GList; struct _GList { gpointer data; GList *next; GList *prev; }; GList* g_list_alloc (void) __attribute__((warn_unused_result)); void g_list_free (GList *list); void g_list_free_1 (GList *list); GList* g_list_append (GList *list, gpointer data) __attribute__((warn_unused_result)); GList* g_list_prepend (GList *list, gpointer data) __attribute__((warn_unused_result)); GList* g_list_insert (GList *list, gpointer data, gint position) __attribute__((warn_unused_result)); GList* g_list_insert_sorted (GList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); GList* g_list_insert_sorted_with_data (GList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); GList* g_list_insert_before (GList *list, GList *sibling, gpointer data) __attribute__((warn_unused_result)); GList* g_list_concat (GList *list1, GList *list2) __attribute__((warn_unused_result)); GList* g_list_remove (GList *list, gconstpointer data) __attribute__((warn_unused_result)); GList* g_list_remove_all (GList *list, gconstpointer data) __attribute__((warn_unused_result)); GList* g_list_remove_link (GList *list, GList *llink) __attribute__((warn_unused_result)); GList* g_list_delete_link (GList *list, GList *link_) __attribute__((warn_unused_result)); GList* g_list_reverse (GList *list) __attribute__((warn_unused_result)); GList* g_list_copy (GList *list) __attribute__((warn_unused_result)); GList* g_list_nth (GList *list, guint n); GList* g_list_nth_prev (GList *list, guint n); GList* g_list_find (GList *list, gconstpointer data); GList* g_list_find_custom (GList *list, gconstpointer data, GCompareFunc func); gint g_list_position (GList *list, GList *llink); gint g_list_index (GList *list, gconstpointer data); GList* g_list_last (GList *list); GList* g_list_first (GList *list); guint g_list_length (GList *list); void g_list_foreach (GList *list, GFunc func, gpointer user_data); GList* g_list_sort (GList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); GList* g_list_sort_with_data (GList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); gpointer g_list_nth_data (GList *list, guint n); void g_list_push_allocator (gpointer allocator); void g_list_pop_allocator (void); # 31 "/usr/include/glib-2.0/glib/gcache.h" 2 typedef struct _GCache GCache; typedef gpointer (*GCacheNewFunc) (gpointer key); typedef gpointer (*GCacheDupFunc) (gpointer value); typedef void (*GCacheDestroyFunc) (gpointer value); GCache* g_cache_new (GCacheNewFunc value_new_func, GCacheDestroyFunc value_destroy_func, GCacheDupFunc key_dup_func, GCacheDestroyFunc key_destroy_func, GHashFunc hash_key_func, GHashFunc hash_value_func, GEqualFunc key_equal_func); void g_cache_destroy (GCache *cache); gpointer g_cache_insert (GCache *cache, gpointer key); void g_cache_remove (GCache *cache, gconstpointer value); void g_cache_key_foreach (GCache *cache, GHFunc func, gpointer user_data); void g_cache_value_foreach (GCache *cache, GHFunc func, gpointer user_data); # 38 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1 # 32 "/usr/include/glib-2.0/glib/gcompletion.h" typedef struct _GCompletion GCompletion; typedef gchar* (*GCompletionFunc) (gpointer); typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, const gchar *s2, gsize n); struct _GCompletion { GList* items; GCompletionFunc func; gchar* prefix; GList* cache; GCompletionStrncmpFunc strncmp_func; }; GCompletion* g_completion_new (GCompletionFunc func); void g_completion_add_items (GCompletion* cmp, GList* items); void g_completion_remove_items (GCompletion* cmp, GList* items); void g_completion_clear_items (GCompletion* cmp); GList* g_completion_complete (GCompletion* cmp, const gchar* prefix, gchar** new_prefix); GList* g_completion_complete_utf8 (GCompletion *cmp, const gchar* prefix, gchar** new_prefix); void g_completion_set_compare (GCompletion *cmp, GCompletionStrncmpFunc strncmp_func); void g_completion_free (GCompletion* cmp); # 39 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1 # 32 "/usr/include/glib-2.0/glib/gconvert.h" typedef enum { G_CONVERT_ERROR_NO_CONVERSION, G_CONVERT_ERROR_ILLEGAL_SEQUENCE, G_CONVERT_ERROR_FAILED, G_CONVERT_ERROR_PARTIAL_INPUT, G_CONVERT_ERROR_BAD_URI, G_CONVERT_ERROR_NOT_ABSOLUTE_PATH } GConvertError; GQuark g_convert_error_quark (void); typedef struct _GIConv *GIConv; GIConv g_iconv_open (const gchar *to_codeset, const gchar *from_codeset); gsize g_iconv (GIConv converter, gchar **inbuf, gsize *inbytes_left, gchar **outbuf, gsize *outbytes_left); gint g_iconv_close (GIConv converter); gchar* g_convert (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_convert_with_iconv (const gchar *str, gssize len, GIConv converter, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_convert_with_fallback (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gchar *fallback, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_locale_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_locale_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); # 107 "/usr/include/glib-2.0/glib/gconvert.h" gchar* g_filename_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_filename_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar *g_filename_from_uri (const gchar *uri, gchar **hostname, GError **error) __attribute__((__malloc__)); gchar *g_filename_to_uri (const gchar *filename, const gchar *hostname, GError **error) __attribute__((__malloc__)); gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__)); gboolean g_get_filename_charsets (const gchar ***charsets); gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__)); gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__)); # 40 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1 # 32 "/usr/include/glib-2.0/glib/gdataset.h" typedef struct _GData GData; typedef void (*GDataForeachFunc) (GQuark key_id, gpointer data, gpointer user_data); void g_datalist_init (GData **datalist); void g_datalist_clear (GData **datalist); gpointer g_datalist_id_get_data (GData **datalist, GQuark key_id); void g_datalist_id_set_data_full (GData **datalist, GQuark key_id, gpointer data, GDestroyNotify destroy_func); gpointer g_datalist_id_remove_no_notify (GData **datalist, GQuark key_id); void g_datalist_foreach (GData **datalist, GDataForeachFunc func, gpointer user_data); # 65 "/usr/include/glib-2.0/glib/gdataset.h" void g_datalist_set_flags (GData **datalist, guint flags); void g_datalist_unset_flags (GData **datalist, guint flags); guint g_datalist_get_flags (GData **datalist); # 89 "/usr/include/glib-2.0/glib/gdataset.h" void g_dataset_destroy (gconstpointer dataset_location); gpointer g_dataset_id_get_data (gconstpointer dataset_location, GQuark key_id); void g_dataset_id_set_data_full (gconstpointer dataset_location, GQuark key_id, gpointer data, GDestroyNotify destroy_func); gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location, GQuark key_id); void g_dataset_foreach (gconstpointer dataset_location, GDataForeachFunc func, gpointer user_data); # 116 "/usr/include/glib-2.0/glib/gdataset.h" # 41 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdate.h" 1 # 35 "/usr/include/glib-2.0/glib/gdate.h" # 46 "/usr/include/glib-2.0/glib/gdate.h" typedef gint32 GTime; typedef guint16 GDateYear; typedef guint8 GDateDay; typedef struct _GDate GDate; typedef enum { G_DATE_DAY = 0, G_DATE_MONTH = 1, G_DATE_YEAR = 2 } GDateDMY; typedef enum { G_DATE_BAD_WEEKDAY = 0, G_DATE_MONDAY = 1, G_DATE_TUESDAY = 2, G_DATE_WEDNESDAY = 3, G_DATE_THURSDAY = 4, G_DATE_FRIDAY = 5, G_DATE_SATURDAY = 6, G_DATE_SUNDAY = 7 } GDateWeekday; typedef enum { G_DATE_BAD_MONTH = 0, G_DATE_JANUARY = 1, G_DATE_FEBRUARY = 2, G_DATE_MARCH = 3, G_DATE_APRIL = 4, G_DATE_MAY = 5, G_DATE_JUNE = 6, G_DATE_JULY = 7, G_DATE_AUGUST = 8, G_DATE_SEPTEMBER = 9, G_DATE_OCTOBER = 10, G_DATE_NOVEMBER = 11, G_DATE_DECEMBER = 12 } GDateMonth; # 97 "/usr/include/glib-2.0/glib/gdate.h" struct _GDate { guint julian_days : 32; guint julian : 1; guint dmy : 1; guint day : 6; guint month : 4; guint year : 16; }; GDate* g_date_new (void); GDate* g_date_new_dmy (GDateDay day, GDateMonth month, GDateYear year); GDate* g_date_new_julian (guint32 julian_day); void g_date_free (GDate *date); gboolean g_date_valid (const GDate *date); gboolean g_date_valid_day (GDateDay day) __attribute__((__const__)); gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__)); gboolean g_date_valid_year (GDateYear year) __attribute__((__const__)); gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__)); gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__)); gboolean g_date_valid_dmy (GDateDay day, GDateMonth month, GDateYear year) __attribute__((__const__)); GDateWeekday g_date_get_weekday (const GDate *date); GDateMonth g_date_get_month (const GDate *date); GDateYear g_date_get_year (const GDate *date); GDateDay g_date_get_day (const GDate *date); guint32 g_date_get_julian (const GDate *date); guint g_date_get_day_of_year (const GDate *date); guint g_date_get_monday_week_of_year (const GDate *date); guint g_date_get_sunday_week_of_year (const GDate *date); guint g_date_get_iso8601_week_of_year (const GDate *date); void g_date_clear (GDate *date, guint n_dates); void g_date_set_parse (GDate *date, const gchar *str); void g_date_set_time_t (GDate *date, time_t timet); void g_date_set_time_val (GDate *date, GTimeVal *timeval); void g_date_set_time (GDate *date, GTime time_); void g_date_set_month (GDate *date, GDateMonth month); void g_date_set_day (GDate *date, GDateDay day); void g_date_set_year (GDate *date, GDateYear year); void g_date_set_dmy (GDate *date, GDateDay day, GDateMonth month, GDateYear y); void g_date_set_julian (GDate *date, guint32 julian_date); gboolean g_date_is_first_of_month (const GDate *date); gboolean g_date_is_last_of_month (const GDate *date); void g_date_add_days (GDate *date, guint n_days); void g_date_subtract_days (GDate *date, guint n_days); void g_date_add_months (GDate *date, guint n_months); void g_date_subtract_months (GDate *date, guint n_months); void g_date_add_years (GDate *date, guint n_years); void g_date_subtract_years (GDate *date, guint n_years); gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__)); guint8 g_date_get_days_in_month (GDateMonth month, GDateYear year) __attribute__((__const__)); guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__)); guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__)); gint g_date_days_between (const GDate *date1, const GDate *date2); gint g_date_compare (const GDate *lhs, const GDate *rhs); void g_date_to_struct_tm (const GDate *date, struct tm *tm); void g_date_clamp (GDate *date, const GDate *min_date, const GDate *max_date); void g_date_order (GDate *date1, GDate *date2); gsize g_date_strftime (gchar *s, gsize slen, const gchar *format, const GDate *date); # 257 "/usr/include/glib-2.0/glib/gdate.h" # 42 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdir.h" 1 # 28 "/usr/include/glib-2.0/glib/gdir.h" typedef struct _GDir GDir; GDir * g_dir_open (const gchar *path, guint flags, GError **error); const gchar *g_dir_read_name (GDir *dir); void g_dir_rewind (GDir *dir); void g_dir_close (GDir *dir); # 43 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1 # 26 "/usr/include/glib-2.0/glib/gfileutils.h" typedef enum { G_FILE_ERROR_EXIST, G_FILE_ERROR_ISDIR, G_FILE_ERROR_ACCES, G_FILE_ERROR_NAMETOOLONG, G_FILE_ERROR_NOENT, G_FILE_ERROR_NOTDIR, G_FILE_ERROR_NXIO, G_FILE_ERROR_NODEV, G_FILE_ERROR_ROFS, G_FILE_ERROR_TXTBSY, G_FILE_ERROR_FAULT, G_FILE_ERROR_LOOP, G_FILE_ERROR_NOSPC, G_FILE_ERROR_NOMEM, G_FILE_ERROR_MFILE, G_FILE_ERROR_NFILE, G_FILE_ERROR_BADF, G_FILE_ERROR_INVAL, G_FILE_ERROR_PIPE, G_FILE_ERROR_AGAIN, G_FILE_ERROR_INTR, G_FILE_ERROR_IO, G_FILE_ERROR_PERM, G_FILE_ERROR_NOSYS, G_FILE_ERROR_FAILED } GFileError; typedef enum { G_FILE_TEST_IS_REGULAR = 1 << 0, G_FILE_TEST_IS_SYMLINK = 1 << 1, G_FILE_TEST_IS_DIR = 1 << 2, G_FILE_TEST_IS_EXECUTABLE = 1 << 3, G_FILE_TEST_EXISTS = 1 << 4 } GFileTest; GQuark g_file_error_quark (void); GFileError g_file_error_from_errno (gint err_no); # 83 "/usr/include/glib-2.0/glib/gfileutils.h" gboolean g_file_test (const gchar *filename, GFileTest test); gboolean g_file_get_contents (const gchar *filename, gchar **contents, gsize *length, GError **error); gboolean g_file_set_contents (const gchar *filename, const gchar *contents, gssize length, GError **error); gchar *g_file_read_link (const gchar *filename, GError **error); gint g_mkstemp (gchar *tmpl); gint g_file_open_tmp (const gchar *tmpl, gchar **name_used, GError **error); gchar *g_build_path (const gchar *separator, const gchar *first_element, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar *g_build_pathv (const gchar *separator, gchar **args) __attribute__((__malloc__)); gchar *g_build_filename (const gchar *first_element, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__)); int g_mkdir_with_parents (const gchar *pathname, int mode); # 45 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1 # 33 "/usr/include/glib-2.0/glib/ghash.h" typedef struct _GHashTable GHashTable; typedef gboolean (*GHRFunc) (gpointer key, gpointer value, gpointer user_data); GHashTable* g_hash_table_new (GHashFunc hash_func, GEqualFunc key_equal_func); GHashTable* g_hash_table_new_full (GHashFunc hash_func, GEqualFunc key_equal_func, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); void g_hash_table_destroy (GHashTable *hash_table); void g_hash_table_insert (GHashTable *hash_table, gpointer key, gpointer value); void g_hash_table_replace (GHashTable *hash_table, gpointer key, gpointer value); gboolean g_hash_table_remove (GHashTable *hash_table, gconstpointer key); void g_hash_table_remove_all (GHashTable *hash_table); gboolean g_hash_table_steal (GHashTable *hash_table, gconstpointer key); void g_hash_table_steal_all (GHashTable *hash_table); gpointer g_hash_table_lookup (GHashTable *hash_table, gconstpointer key); gboolean g_hash_table_lookup_extended (GHashTable *hash_table, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); void g_hash_table_foreach (GHashTable *hash_table, GHFunc func, gpointer user_data); gpointer g_hash_table_find (GHashTable *hash_table, GHRFunc predicate, gpointer user_data); guint g_hash_table_foreach_remove (GHashTable *hash_table, GHRFunc func, gpointer user_data); guint g_hash_table_foreach_steal (GHashTable *hash_table, GHRFunc func, gpointer user_data); guint g_hash_table_size (GHashTable *hash_table); GList * g_hash_table_get_keys (GHashTable *hash_table); GList * g_hash_table_get_values (GHashTable *hash_table); GHashTable* g_hash_table_ref (GHashTable *hash_table); void g_hash_table_unref (GHashTable *hash_table); # 99 "/usr/include/glib-2.0/glib/ghash.h" gboolean g_str_equal (gconstpointer v1, gconstpointer v2); guint g_str_hash (gconstpointer v); gboolean g_int_equal (gconstpointer v1, gconstpointer v2); guint g_int_hash (gconstpointer v); guint g_direct_hash (gconstpointer v) __attribute__((__const__)); gboolean g_direct_equal (gconstpointer v1, gconstpointer v2) __attribute__((__const__)); # 46 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghook.h" 1 # 32 "/usr/include/glib-2.0/glib/ghook.h" typedef struct _GHook GHook; typedef struct _GHookList GHookList; typedef gint (*GHookCompareFunc) (GHook *new_hook, GHook *sibling); typedef gboolean (*GHookFindFunc) (GHook *hook, gpointer data); typedef void (*GHookMarshaller) (GHook *hook, gpointer marshal_data); typedef gboolean (*GHookCheckMarshaller) (GHook *hook, gpointer marshal_data); typedef void (*GHookFunc) (gpointer data); typedef gboolean (*GHookCheckFunc) (gpointer data); typedef void (*GHookFinalizeFunc) (GHookList *hook_list, GHook *hook); typedef enum { G_HOOK_FLAG_ACTIVE = 1 << 0, G_HOOK_FLAG_IN_CALL = 1 << 1, G_HOOK_FLAG_MASK = 0x0f } GHookFlagMask; struct _GHookList { gulong seq_id; guint hook_size : 16; guint is_setup : 1; GHook *hooks; gpointer dummy3; GHookFinalizeFunc finalize_hook; gpointer dummy[2]; }; struct _GHook { gpointer data; GHook *next; GHook *prev; guint ref_count; gulong hook_id; guint flags; gpointer func; GDestroyNotify destroy; }; # 102 "/usr/include/glib-2.0/glib/ghook.h" void g_hook_list_init (GHookList *hook_list, guint hook_size); void g_hook_list_clear (GHookList *hook_list); GHook* g_hook_alloc (GHookList *hook_list); void g_hook_free (GHookList *hook_list, GHook *hook); GHook * g_hook_ref (GHookList *hook_list, GHook *hook); void g_hook_unref (GHookList *hook_list, GHook *hook); gboolean g_hook_destroy (GHookList *hook_list, gulong hook_id); void g_hook_destroy_link (GHookList *hook_list, GHook *hook); void g_hook_prepend (GHookList *hook_list, GHook *hook); void g_hook_insert_before (GHookList *hook_list, GHook *sibling, GHook *hook); void g_hook_insert_sorted (GHookList *hook_list, GHook *hook, GHookCompareFunc func); GHook* g_hook_get (GHookList *hook_list, gulong hook_id); GHook* g_hook_find (GHookList *hook_list, gboolean need_valids, GHookFindFunc func, gpointer data); GHook* g_hook_find_data (GHookList *hook_list, gboolean need_valids, gpointer data); GHook* g_hook_find_func (GHookList *hook_list, gboolean need_valids, gpointer func); GHook* g_hook_find_func_data (GHookList *hook_list, gboolean need_valids, gpointer func, gpointer data); GHook* g_hook_first_valid (GHookList *hook_list, gboolean may_be_in_call); GHook* g_hook_next_valid (GHookList *hook_list, GHook *hook, gboolean may_be_in_call); gint g_hook_compare_ids (GHook *new_hook, GHook *sibling); void g_hook_list_invoke (GHookList *hook_list, gboolean may_recurse); void g_hook_list_invoke_check (GHookList *hook_list, gboolean may_recurse); void g_hook_list_marshal (GHookList *hook_list, gboolean may_recurse, GHookMarshaller marshaller, gpointer marshal_data); void g_hook_list_marshal_check (GHookList *hook_list, gboolean may_recurse, GHookCheckMarshaller marshaller, gpointer marshal_data); # 47 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1 # 31 "/usr/include/glib-2.0/glib/giochannel.h" # 1 "/usr/include/glib-2.0/glib/gmain.h" 1 # 23 "/usr/include/glib-2.0/glib/gmain.h" # 1 "/usr/include/glib-2.0/glib/gslist.h" 1 # 32 "/usr/include/glib-2.0/glib/gslist.h" typedef struct _GSList GSList; struct _GSList { gpointer data; GSList *next; }; GSList* g_slist_alloc (void) __attribute__((warn_unused_result)); void g_slist_free (GSList *list); void g_slist_free_1 (GSList *list); GSList* g_slist_append (GSList *list, gpointer data) __attribute__((warn_unused_result)); GSList* g_slist_prepend (GSList *list, gpointer data) __attribute__((warn_unused_result)); GSList* g_slist_insert (GSList *list, gpointer data, gint position) __attribute__((warn_unused_result)); GSList* g_slist_insert_sorted (GSList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); GSList* g_slist_insert_sorted_with_data (GSList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); GSList* g_slist_insert_before (GSList *slist, GSList *sibling, gpointer data) __attribute__((warn_unused_result)); GSList* g_slist_concat (GSList *list1, GSList *list2) __attribute__((warn_unused_result)); GSList* g_slist_remove (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); GSList* g_slist_remove_all (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); GSList* g_slist_remove_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); GSList* g_slist_delete_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result)); GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result)); GSList* g_slist_nth (GSList *list, guint n); GSList* g_slist_find (GSList *list, gconstpointer data); GSList* g_slist_find_custom (GSList *list, gconstpointer data, GCompareFunc func); gint g_slist_position (GSList *list, GSList *llink); gint g_slist_index (GSList *list, gconstpointer data); GSList* g_slist_last (GSList *list); guint g_slist_length (GSList *list); void g_slist_foreach (GSList *list, GFunc func, gpointer user_data); GSList* g_slist_sort (GSList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); GSList* g_slist_sort_with_data (GSList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); gpointer g_slist_nth_data (GSList *list, guint n); void g_slist_push_allocator (gpointer dummy); void g_slist_pop_allocator (void); # 24 "/usr/include/glib-2.0/glib/gmain.h" 2 typedef struct _GMainContext GMainContext; typedef struct _GMainLoop GMainLoop; typedef struct _GSource GSource; typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; typedef struct _GSourceFuncs GSourceFuncs; typedef gboolean (*GSourceFunc) (gpointer data); typedef void (*GChildWatchFunc) (GPid pid, gint status, gpointer data); struct _GSource { gpointer callback_data; GSourceCallbackFuncs *callback_funcs; GSourceFuncs *source_funcs; guint ref_count; GMainContext *context; gint priority; guint flags; guint source_id; GSList *poll_fds; GSource *prev; GSource *next; gpointer reserved1; gpointer reserved2; }; struct _GSourceCallbackFuncs { void (*ref) (gpointer cb_data); void (*unref) (gpointer cb_data); void (*get) (gpointer cb_data, GSource *source, GSourceFunc *func, gpointer *data); }; typedef void (*GSourceDummyMarshal) (void); struct _GSourceFuncs { gboolean (*prepare) (GSource *source, gint *timeout_); gboolean (*check) (GSource *source); gboolean (*dispatch) (GSource *source, GSourceFunc callback, gpointer user_data); void (*finalize) (GSource *source); GSourceFunc closure_callback; GSourceDummyMarshal closure_marshal; }; # 116 "/usr/include/glib-2.0/glib/gmain.h" typedef struct _GPollFD GPollFD; typedef gint (*GPollFunc) (GPollFD *ufds, guint nfsd, gint timeout_); struct _GPollFD { gint fd; gushort events; gushort revents; }; # 142 "/usr/include/glib-2.0/glib/gmain.h" GMainContext *g_main_context_new (void); GMainContext *g_main_context_ref (GMainContext *context); void g_main_context_unref (GMainContext *context); GMainContext *g_main_context_default (void); gboolean g_main_context_iteration (GMainContext *context, gboolean may_block); gboolean g_main_context_pending (GMainContext *context); GSource *g_main_context_find_source_by_id (GMainContext *context, guint source_id); GSource *g_main_context_find_source_by_user_data (GMainContext *context, gpointer user_data); GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context, GSourceFuncs *funcs, gpointer user_data); void g_main_context_wakeup (GMainContext *context); gboolean g_main_context_acquire (GMainContext *context); void g_main_context_release (GMainContext *context); gboolean g_main_context_is_owner (GMainContext *context); gboolean g_main_context_wait (GMainContext *context, GCond *cond, GMutex *mutex); gboolean g_main_context_prepare (GMainContext *context, gint *priority); gint g_main_context_query (GMainContext *context, gint max_priority, gint *timeout_, GPollFD *fds, gint n_fds); gint g_main_context_check (GMainContext *context, gint max_priority, GPollFD *fds, gint n_fds); void g_main_context_dispatch (GMainContext *context); void g_main_context_set_poll_func (GMainContext *context, GPollFunc func); GPollFunc g_main_context_get_poll_func (GMainContext *context); void g_main_context_add_poll (GMainContext *context, GPollFD *fd, gint priority); void g_main_context_remove_poll (GMainContext *context, GPollFD *fd); gint g_main_depth (void); GSource *g_main_current_source (void); GMainLoop *g_main_loop_new (GMainContext *context, gboolean is_running); void g_main_loop_run (GMainLoop *loop); void g_main_loop_quit (GMainLoop *loop); GMainLoop *g_main_loop_ref (GMainLoop *loop); void g_main_loop_unref (GMainLoop *loop); gboolean g_main_loop_is_running (GMainLoop *loop); GMainContext *g_main_loop_get_context (GMainLoop *loop); GSource *g_source_new (GSourceFuncs *source_funcs, guint struct_size); GSource *g_source_ref (GSource *source); void g_source_unref (GSource *source); guint g_source_attach (GSource *source, GMainContext *context); void g_source_destroy (GSource *source); void g_source_set_priority (GSource *source, gint priority); gint g_source_get_priority (GSource *source); void g_source_set_can_recurse (GSource *source, gboolean can_recurse); gboolean g_source_get_can_recurse (GSource *source); guint g_source_get_id (GSource *source); GMainContext *g_source_get_context (GSource *source); void g_source_set_callback (GSource *source, GSourceFunc func, gpointer data, GDestroyNotify notify); void g_source_set_funcs (GSource *source, GSourceFuncs *funcs); gboolean g_source_is_destroyed (GSource *source); void g_source_set_callback_indirect (GSource *source, gpointer callback_data, GSourceCallbackFuncs *callback_funcs); void g_source_add_poll (GSource *source, GPollFD *fd); void g_source_remove_poll (GSource *source, GPollFD *fd); void g_source_get_current_time (GSource *source, GTimeVal *timeval); GSource *g_idle_source_new (void); GSource *g_child_watch_source_new (GPid pid); GSource *g_timeout_source_new (guint interval); GSource *g_timeout_source_new_seconds (guint interval); void g_get_current_time (GTimeVal *result); # 292 "/usr/include/glib-2.0/glib/gmain.h" gboolean g_source_remove (guint tag); gboolean g_source_remove_by_user_data (gpointer user_data); gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, gpointer user_data); guint g_timeout_add_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); guint g_timeout_add (guint interval, GSourceFunc function, gpointer data); guint g_timeout_add_seconds_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); guint g_timeout_add_seconds (guint interval, GSourceFunc function, gpointer data); guint g_child_watch_add_full (gint priority, GPid pid, GChildWatchFunc function, gpointer data, GDestroyNotify notify); guint g_child_watch_add (GPid pid, GChildWatchFunc function, gpointer data); guint g_idle_add (GSourceFunc function, gpointer data); guint g_idle_add_full (gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); gboolean g_idle_remove_by_data (gpointer data); extern GSourceFuncs g_timeout_funcs; extern GSourceFuncs g_child_watch_funcs; extern GSourceFuncs g_idle_funcs; # 32 "/usr/include/glib-2.0/glib/giochannel.h" 2 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1 # 31 "/usr/include/glib-2.0/glib/gstring.h" # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1 # 28 "/usr/include/glib-2.0/glib/gunicode.h" typedef guint32 gunichar; typedef guint16 gunichar2; typedef enum { G_UNICODE_CONTROL, G_UNICODE_FORMAT, G_UNICODE_UNASSIGNED, G_UNICODE_PRIVATE_USE, G_UNICODE_SURROGATE, G_UNICODE_LOWERCASE_LETTER, G_UNICODE_MODIFIER_LETTER, G_UNICODE_OTHER_LETTER, G_UNICODE_TITLECASE_LETTER, G_UNICODE_UPPERCASE_LETTER, G_UNICODE_COMBINING_MARK, G_UNICODE_ENCLOSING_MARK, G_UNICODE_NON_SPACING_MARK, G_UNICODE_DECIMAL_NUMBER, G_UNICODE_LETTER_NUMBER, G_UNICODE_OTHER_NUMBER, G_UNICODE_CONNECT_PUNCTUATION, G_UNICODE_DASH_PUNCTUATION, G_UNICODE_CLOSE_PUNCTUATION, G_UNICODE_FINAL_PUNCTUATION, G_UNICODE_INITIAL_PUNCTUATION, G_UNICODE_OTHER_PUNCTUATION, G_UNICODE_OPEN_PUNCTUATION, G_UNICODE_CURRENCY_SYMBOL, G_UNICODE_MODIFIER_SYMBOL, G_UNICODE_MATH_SYMBOL, G_UNICODE_OTHER_SYMBOL, G_UNICODE_LINE_SEPARATOR, G_UNICODE_PARAGRAPH_SEPARATOR, G_UNICODE_SPACE_SEPARATOR } GUnicodeType; typedef enum { G_UNICODE_BREAK_MANDATORY, G_UNICODE_BREAK_CARRIAGE_RETURN, G_UNICODE_BREAK_LINE_FEED, G_UNICODE_BREAK_COMBINING_MARK, G_UNICODE_BREAK_SURROGATE, G_UNICODE_BREAK_ZERO_WIDTH_SPACE, G_UNICODE_BREAK_INSEPARABLE, G_UNICODE_BREAK_NON_BREAKING_GLUE, G_UNICODE_BREAK_CONTINGENT, G_UNICODE_BREAK_SPACE, G_UNICODE_BREAK_AFTER, G_UNICODE_BREAK_BEFORE, G_UNICODE_BREAK_BEFORE_AND_AFTER, G_UNICODE_BREAK_HYPHEN, G_UNICODE_BREAK_NON_STARTER, G_UNICODE_BREAK_OPEN_PUNCTUATION, G_UNICODE_BREAK_CLOSE_PUNCTUATION, G_UNICODE_BREAK_QUOTATION, G_UNICODE_BREAK_EXCLAMATION, G_UNICODE_BREAK_IDEOGRAPHIC, G_UNICODE_BREAK_NUMERIC, G_UNICODE_BREAK_INFIX_SEPARATOR, G_UNICODE_BREAK_SYMBOL, G_UNICODE_BREAK_ALPHABETIC, G_UNICODE_BREAK_PREFIX, G_UNICODE_BREAK_POSTFIX, G_UNICODE_BREAK_COMPLEX_CONTEXT, G_UNICODE_BREAK_AMBIGUOUS, G_UNICODE_BREAK_UNKNOWN, G_UNICODE_BREAK_NEXT_LINE, G_UNICODE_BREAK_WORD_JOINER, G_UNICODE_BREAK_HANGUL_L_JAMO, G_UNICODE_BREAK_HANGUL_V_JAMO, G_UNICODE_BREAK_HANGUL_T_JAMO, G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE } GUnicodeBreakType; typedef enum { G_UNICODE_SCRIPT_INVALID_CODE = -1, G_UNICODE_SCRIPT_COMMON = 0, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BOPOMOFO, G_UNICODE_SCRIPT_CHEROKEE, G_UNICODE_SCRIPT_COPTIC, G_UNICODE_SCRIPT_CYRILLIC, G_UNICODE_SCRIPT_DESERET, G_UNICODE_SCRIPT_DEVANAGARI, G_UNICODE_SCRIPT_ETHIOPIC, G_UNICODE_SCRIPT_GEORGIAN, G_UNICODE_SCRIPT_GOTHIC, G_UNICODE_SCRIPT_GREEK, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_HAN, G_UNICODE_SCRIPT_HANGUL, G_UNICODE_SCRIPT_HEBREW, G_UNICODE_SCRIPT_HIRAGANA, G_UNICODE_SCRIPT_KANNADA, G_UNICODE_SCRIPT_KATAKANA, G_UNICODE_SCRIPT_KHMER, G_UNICODE_SCRIPT_LAO, G_UNICODE_SCRIPT_LATIN, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MONGOLIAN, G_UNICODE_SCRIPT_MYANMAR, G_UNICODE_SCRIPT_OGHAM, G_UNICODE_SCRIPT_OLD_ITALIC, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_RUNIC, G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_TAMIL, G_UNICODE_SCRIPT_TELUGU, G_UNICODE_SCRIPT_THAANA, G_UNICODE_SCRIPT_THAI, G_UNICODE_SCRIPT_TIBETAN, G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, G_UNICODE_SCRIPT_YI, G_UNICODE_SCRIPT_TAGALOG, G_UNICODE_SCRIPT_HANUNOO, G_UNICODE_SCRIPT_BUHID, G_UNICODE_SCRIPT_TAGBANWA, G_UNICODE_SCRIPT_BRAILLE, G_UNICODE_SCRIPT_CYPRIOT, G_UNICODE_SCRIPT_LIMBU, G_UNICODE_SCRIPT_OSMANYA, G_UNICODE_SCRIPT_SHAVIAN, G_UNICODE_SCRIPT_LINEAR_B, G_UNICODE_SCRIPT_TAI_LE, G_UNICODE_SCRIPT_UGARITIC, G_UNICODE_SCRIPT_NEW_TAI_LUE, G_UNICODE_SCRIPT_BUGINESE, G_UNICODE_SCRIPT_GLAGOLITIC, G_UNICODE_SCRIPT_TIFINAGH, G_UNICODE_SCRIPT_SYLOTI_NAGRI, G_UNICODE_SCRIPT_OLD_PERSIAN, G_UNICODE_SCRIPT_KHAROSHTHI, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_BALINESE, G_UNICODE_SCRIPT_CUNEIFORM, G_UNICODE_SCRIPT_PHOENICIAN, G_UNICODE_SCRIPT_PHAGS_PA, G_UNICODE_SCRIPT_NKO } GUnicodeScript; gboolean g_get_charset (const char **charset); gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__)); gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__)); gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__)); gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__)); gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__)); gboolean g_unichar_islower (gunichar c) __attribute__((__const__)); gboolean g_unichar_isprint (gunichar c) __attribute__((__const__)); gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__)); gboolean g_unichar_isspace (gunichar c) __attribute__((__const__)); gboolean g_unichar_isupper (gunichar c) __attribute__((__const__)); gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__)); gboolean g_unichar_istitle (gunichar c) __attribute__((__const__)); gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__)); gboolean g_unichar_iswide (gunichar c) __attribute__((__const__)); gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__)); gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__)); gboolean g_unichar_ismark (gunichar c) __attribute__((__const__)); gunichar g_unichar_toupper (gunichar c) __attribute__((__const__)); gunichar g_unichar_tolower (gunichar c) __attribute__((__const__)); gunichar g_unichar_totitle (gunichar c) __attribute__((__const__)); gint g_unichar_digit_value (gunichar c) __attribute__((__const__)); gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__)); GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__)); GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__)); gint g_unichar_combining_class (gunichar uc) __attribute__((__const__)); void g_unicode_canonical_ordering (gunichar *string, gsize len); gunichar *g_unicode_canonical_decomposition (gunichar ch, gsize *result_len) __attribute__((__malloc__)); extern const gchar * const g_utf8_skip; gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__)); gunichar g_utf8_get_char_validated (const gchar *p, gssize max_len) __attribute__((__pure__)); gchar* g_utf8_offset_to_pointer (const gchar *str, glong offset) __attribute__((__pure__)); glong g_utf8_pointer_to_offset (const gchar *str, const gchar *pos) __attribute__((__pure__)); gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__)); gchar* g_utf8_find_next_char (const gchar *p, const gchar *end) __attribute__((__pure__)); gchar* g_utf8_find_prev_char (const gchar *str, const gchar *p) __attribute__((__pure__)); glong g_utf8_strlen (const gchar *p, gssize max) __attribute__((__pure__)); gchar* g_utf8_strncpy (gchar *dest, const gchar *src, gsize n); gchar* g_utf8_strchr (const gchar *p, gssize len, gunichar c); gchar* g_utf8_strrchr (const gchar *p, gssize len, gunichar c); gchar* g_utf8_strreverse (const gchar *str, gssize len); gunichar2 *g_utf8_to_utf16 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gunichar * g_utf8_to_ucs4 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gunichar * g_utf8_to_ucs4_fast (const gchar *str, glong len, glong *items_written) __attribute__((__malloc__)); gunichar * g_utf16_to_ucs4 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gchar* g_utf16_to_utf8 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gunichar2 *g_ucs4_to_utf16 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gchar* g_ucs4_to_utf8 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gint g_unichar_to_utf8 (gunichar c, gchar *outbuf); gboolean g_utf8_validate (const gchar *str, gssize max_len, const gchar **end); gboolean g_unichar_validate (gunichar ch) __attribute__((__const__)); gchar *g_utf8_strup (const gchar *str, gssize len) __attribute__((__malloc__)); gchar *g_utf8_strdown (const gchar *str, gssize len) __attribute__((__malloc__)); gchar *g_utf8_casefold (const gchar *str, gssize len) __attribute__((__malloc__)); typedef enum { G_NORMALIZE_DEFAULT, G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT, G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_ALL, G_NORMALIZE_NFKD = G_NORMALIZE_ALL, G_NORMALIZE_ALL_COMPOSE, G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE } GNormalizeMode; gchar *g_utf8_normalize (const gchar *str, gssize len, GNormalizeMode mode) __attribute__((__malloc__)); gint g_utf8_collate (const gchar *str1, const gchar *str2) __attribute__((__pure__)); gchar *g_utf8_collate_key (const gchar *str, gssize len) __attribute__((__malloc__)); gchar *g_utf8_collate_key_for_filename (const gchar *str, gssize len) __attribute__((__malloc__)); gboolean g_unichar_get_mirror_char (gunichar ch, gunichar *mirrored_ch); GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__)); gchar *_g_utf8_make_valid (const gchar *name); # 32 "/usr/include/glib-2.0/glib/gstring.h" 2 typedef struct _GString GString; typedef struct _GStringChunk GStringChunk; struct _GString { gchar *str; gsize len; gsize allocated_len; }; GStringChunk* g_string_chunk_new (gsize size); void g_string_chunk_free (GStringChunk *chunk); void g_string_chunk_clear (GStringChunk *chunk); gchar* g_string_chunk_insert (GStringChunk *chunk, const gchar *string); gchar* g_string_chunk_insert_len (GStringChunk *chunk, const gchar *string, gssize len); gchar* g_string_chunk_insert_const (GStringChunk *chunk, const gchar *string); GString* g_string_new (const gchar *init); GString* g_string_new_len (const gchar *init, gssize len); GString* g_string_sized_new (gsize dfl_size); gchar* g_string_free (GString *string, gboolean free_segment); gboolean g_string_equal (const GString *v, const GString *v2); guint g_string_hash (const GString *str); GString* g_string_assign (GString *string, const gchar *rval); GString* g_string_truncate (GString *string, gsize len); GString* g_string_set_size (GString *string, gsize len); GString* g_string_insert_len (GString *string, gssize pos, const gchar *val, gssize len); GString* g_string_append (GString *string, const gchar *val); GString* g_string_append_len (GString *string, const gchar *val, gssize len); GString* g_string_append_c (GString *string, gchar c); GString* g_string_append_unichar (GString *string, gunichar wc); GString* g_string_prepend (GString *string, const gchar *val); GString* g_string_prepend_c (GString *string, gchar c); GString* g_string_prepend_unichar (GString *string, gunichar wc); GString* g_string_prepend_len (GString *string, const gchar *val, gssize len); GString* g_string_insert (GString *string, gssize pos, const gchar *val); GString* g_string_insert_c (GString *string, gssize pos, gchar c); GString* g_string_insert_unichar (GString *string, gssize pos, gunichar wc); GString* g_string_overwrite (GString *string, gsize pos, const gchar *val); GString* g_string_overwrite_len (GString *string, gsize pos, const gchar *val, gssize len); GString* g_string_erase (GString *string, gssize pos, gssize len); GString* g_string_ascii_down (GString *string); GString* g_string_ascii_up (GString *string); void g_string_vprintf (GString *string, const gchar *format, va_list args); void g_string_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); void g_string_append_vprintf (GString *string, const gchar *format, va_list args); void g_string_append_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); static inline GString* g_string_append_c_inline (GString *gstring, gchar c) { if (gstring->len + 1 < gstring->allocated_len) { gstring->str[gstring->len++] = c; gstring->str[gstring->len] = 0; } else g_string_insert_c (gstring, -1, c); return gstring; } # 159 "/usr/include/glib-2.0/glib/gstring.h" GString* g_string_down (GString *string); GString* g_string_up (GString *string); # 33 "/usr/include/glib-2.0/glib/giochannel.h" 2 typedef struct _GIOChannel GIOChannel; typedef struct _GIOFuncs GIOFuncs; typedef enum { G_IO_ERROR_NONE, G_IO_ERROR_AGAIN, G_IO_ERROR_INVAL, G_IO_ERROR_UNKNOWN } GIOError; typedef enum { G_IO_CHANNEL_ERROR_FBIG, G_IO_CHANNEL_ERROR_INVAL, G_IO_CHANNEL_ERROR_IO, G_IO_CHANNEL_ERROR_ISDIR, G_IO_CHANNEL_ERROR_NOSPC, G_IO_CHANNEL_ERROR_NXIO, G_IO_CHANNEL_ERROR_OVERFLOW, G_IO_CHANNEL_ERROR_PIPE, G_IO_CHANNEL_ERROR_FAILED } GIOChannelError; typedef enum { G_IO_STATUS_ERROR, G_IO_STATUS_NORMAL, G_IO_STATUS_EOF, G_IO_STATUS_AGAIN } GIOStatus; typedef enum { G_SEEK_CUR, G_SEEK_SET, G_SEEK_END } GSeekType; typedef enum { G_IO_IN =1, G_IO_OUT =4, G_IO_PRI =2, G_IO_ERR =8, G_IO_HUP =16, G_IO_NVAL =32 } GIOCondition; typedef enum { G_IO_FLAG_APPEND = 1 << 0, G_IO_FLAG_NONBLOCK = 1 << 1, G_IO_FLAG_IS_READABLE = 1 << 2, G_IO_FLAG_IS_WRITEABLE = 1 << 3, G_IO_FLAG_IS_SEEKABLE = 1 << 4, G_IO_FLAG_MASK = (1 << 5) - 1, G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK, G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK } GIOFlags; struct _GIOChannel { gint ref_count; GIOFuncs *funcs; gchar *encoding; GIConv read_cd; GIConv write_cd; gchar *line_term; guint line_term_len; gsize buf_size; GString *read_buf; GString *encoded_read_buf; GString *write_buf; gchar partial_write_buf[6]; guint use_buffer : 1; guint do_encode : 1; guint close_on_unref : 1; guint is_readable : 1; guint is_writeable : 1; guint is_seekable : 1; gpointer reserved1; gpointer reserved2; }; typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, gpointer data); struct _GIOFuncs { GIOStatus (*io_read) (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **err); GIOStatus (*io_write) (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written, GError **err); GIOStatus (*io_seek) (GIOChannel *channel, gint64 offset, GSeekType type, GError **err); GIOStatus (*io_close) (GIOChannel *channel, GError **err); GSource* (*io_create_watch) (GIOChannel *channel, GIOCondition condition); void (*io_free) (GIOChannel *channel); GIOStatus (*io_set_flags) (GIOChannel *channel, GIOFlags flags, GError **err); GIOFlags (*io_get_flags) (GIOChannel *channel); }; void g_io_channel_init (GIOChannel *channel); GIOChannel *g_io_channel_ref (GIOChannel *channel); void g_io_channel_unref (GIOChannel *channel); GIOError g_io_channel_read (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read); GIOError g_io_channel_write (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written); GIOError g_io_channel_seek (GIOChannel *channel, gint64 offset, GSeekType type); void g_io_channel_close (GIOChannel *channel); GIOStatus g_io_channel_shutdown (GIOChannel *channel, gboolean flush, GError **err); guint g_io_add_watch_full (GIOChannel *channel, gint priority, GIOCondition condition, GIOFunc func, gpointer user_data, GDestroyNotify notify); GSource * g_io_create_watch (GIOChannel *channel, GIOCondition condition); guint g_io_add_watch (GIOChannel *channel, GIOCondition condition, GIOFunc func, gpointer user_data); void g_io_channel_set_buffer_size (GIOChannel *channel, gsize size); gsize g_io_channel_get_buffer_size (GIOChannel *channel); GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel); GIOStatus g_io_channel_set_flags (GIOChannel *channel, GIOFlags flags, GError **error); GIOFlags g_io_channel_get_flags (GIOChannel *channel); void g_io_channel_set_line_term (GIOChannel *channel, const gchar *line_term, gint length); const gchar* g_io_channel_get_line_term (GIOChannel *channel, gint *length); void g_io_channel_set_buffered (GIOChannel *channel, gboolean buffered); gboolean g_io_channel_get_buffered (GIOChannel *channel); GIOStatus g_io_channel_set_encoding (GIOChannel *channel, const gchar *encoding, GError **error); const gchar* g_io_channel_get_encoding (GIOChannel *channel); void g_io_channel_set_close_on_unref (GIOChannel *channel, gboolean do_close); gboolean g_io_channel_get_close_on_unref (GIOChannel *channel); GIOStatus g_io_channel_flush (GIOChannel *channel, GError **error); GIOStatus g_io_channel_read_line (GIOChannel *channel, gchar **str_return, gsize *length, gsize *terminator_pos, GError **error); GIOStatus g_io_channel_read_line_string (GIOChannel *channel, GString *buffer, gsize *terminator_pos, GError **error); GIOStatus g_io_channel_read_to_end (GIOChannel *channel, gchar **str_return, gsize *length, GError **error); GIOStatus g_io_channel_read_chars (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **error); GIOStatus g_io_channel_read_unichar (GIOChannel *channel, gunichar *thechar, GError **error); GIOStatus g_io_channel_write_chars (GIOChannel *channel, const gchar *buf, gssize count, gsize *bytes_written, GError **error); GIOStatus g_io_channel_write_unichar (GIOChannel *channel, gunichar thechar, GError **error); GIOStatus g_io_channel_seek_position (GIOChannel *channel, gint64 offset, GSeekType type, GError **error); GIOChannel* g_io_channel_new_file (const gchar *filename, const gchar *mode, GError **error); GQuark g_io_channel_error_quark (void); GIOChannelError g_io_channel_error_from_errno (gint en); # 294 "/usr/include/glib-2.0/glib/giochannel.h" GIOChannel* g_io_channel_unix_new (int fd); gint g_io_channel_unix_get_fd (GIOChannel *channel); extern GSourceFuncs g_io_watch_funcs; # 352 "/usr/include/glib-2.0/glib/giochannel.h" # 48 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1 # 28 "/usr/include/glib-2.0/glib/gkeyfile.h" typedef enum { G_KEY_FILE_ERROR_UNKNOWN_ENCODING, G_KEY_FILE_ERROR_PARSE, G_KEY_FILE_ERROR_NOT_FOUND, G_KEY_FILE_ERROR_KEY_NOT_FOUND, G_KEY_FILE_ERROR_GROUP_NOT_FOUND, G_KEY_FILE_ERROR_INVALID_VALUE } GKeyFileError; GQuark g_key_file_error_quark (void); typedef struct _GKeyFile GKeyFile; typedef enum { G_KEY_FILE_NONE = 0, G_KEY_FILE_KEEP_COMMENTS = 1 << 0, G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1 } GKeyFileFlags; GKeyFile *g_key_file_new (void); void g_key_file_free (GKeyFile *key_file); void g_key_file_set_list_separator (GKeyFile *key_file, gchar separator); gboolean g_key_file_load_from_file (GKeyFile *key_file, const gchar *file, GKeyFileFlags flags, GError **error); gboolean g_key_file_load_from_data (GKeyFile *key_file, const gchar *data, gsize length, GKeyFileFlags flags, GError **error); gboolean g_key_file_load_from_dirs (GKeyFile *key_file, const gchar *file, const gchar **search_dirs, gchar **full_path, GKeyFileFlags flags, GError **error); gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file, const gchar *file, gchar **full_path, GKeyFileFlags flags, GError **error); gchar *g_key_file_to_data (GKeyFile *key_file, gsize *length, GError **error) __attribute__((__malloc__)); gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__)); gchar **g_key_file_get_groups (GKeyFile *key_file, gsize *length) __attribute__((__malloc__)); gchar **g_key_file_get_keys (GKeyFile *key_file, const gchar *group_name, gsize *length, GError **error) __attribute__((__malloc__)); gboolean g_key_file_has_group (GKeyFile *key_file, const gchar *group_name); gboolean g_key_file_has_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); gchar *g_key_file_get_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); void g_key_file_set_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *value); gchar *g_key_file_get_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); void g_key_file_set_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *string); gchar *g_key_file_get_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, GError **error) __attribute__((__malloc__)); void g_key_file_set_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar *string); gboolean g_key_file_get_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_set_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean value); gint g_key_file_get_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_set_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint value); gdouble g_key_file_get_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_set_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble value); gchar **g_key_file_get_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar * const list[], gsize length); gchar **g_key_file_get_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar * const list[], gsize length); gboolean *g_key_file_get_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean list[], gsize length); gint *g_key_file_get_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble list[], gsize length); gdouble *g_key_file_get_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint list[], gsize length); void g_key_file_set_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *comment, GError **error); gchar *g_key_file_get_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); void g_key_file_remove_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_remove_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_remove_group (GKeyFile *key_file, const gchar *group_name, GError **error); # 244 "/usr/include/glib-2.0/glib/gkeyfile.h" # 49 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1 # 26 "/usr/include/glib-2.0/glib/gmappedfile.h" typedef struct _GMappedFile GMappedFile; GMappedFile *g_mapped_file_new (const gchar *filename, gboolean writable, GError **error) __attribute__((__malloc__)); gsize g_mapped_file_get_length (GMappedFile *file); gchar *g_mapped_file_get_contents (GMappedFile *file); void g_mapped_file_free (GMappedFile *file); # 53 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1 # 28 "/usr/include/glib-2.0/glib/gmarkup.h" typedef enum { G_MARKUP_ERROR_BAD_UTF8, G_MARKUP_ERROR_EMPTY, G_MARKUP_ERROR_PARSE, G_MARKUP_ERROR_UNKNOWN_ELEMENT, G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, G_MARKUP_ERROR_INVALID_CONTENT } GMarkupError; GQuark g_markup_error_quark (void); typedef enum { G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0, G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1 } GMarkupParseFlags; typedef struct _GMarkupParseContext GMarkupParseContext; typedef struct _GMarkupParser GMarkupParser; struct _GMarkupParser { void (*start_element) (GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, gpointer user_data, GError **error); void (*end_element) (GMarkupParseContext *context, const gchar *element_name, gpointer user_data, GError **error); void (*text) (GMarkupParseContext *context, const gchar *text, gsize text_len, gpointer user_data, GError **error); void (*passthrough) (GMarkupParseContext *context, const gchar *passthrough_text, gsize text_len, gpointer user_data, GError **error); void (*error) (GMarkupParseContext *context, GError *error, gpointer user_data); }; GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser, GMarkupParseFlags flags, gpointer user_data, GDestroyNotify user_data_dnotify); void g_markup_parse_context_free (GMarkupParseContext *context); gboolean g_markup_parse_context_parse (GMarkupParseContext *context, const gchar *text, gssize text_len, GError **error); gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, GError **error); const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context); void g_markup_parse_context_get_position (GMarkupParseContext *context, gint *line_number, gint *char_number); gchar* g_markup_escape_text (const gchar *text, gssize length); gchar *g_markup_printf_escaped (const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); gchar *g_markup_vprintf_escaped (const char *format, va_list args); # 54 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1 # 37 "/usr/include/glib-2.0/glib/gmessages.h" # 38 "/usr/include/glib-2.0/glib/gmessages.h" 3 gsize g_printf_string_upper_bound (const gchar* format, va_list args); # 54 "/usr/include/glib-2.0/glib/gmessages.h" 3 typedef enum { G_LOG_FLAG_RECURSION = 1 << 0, G_LOG_FLAG_FATAL = 1 << 1, G_LOG_LEVEL_ERROR = 1 << 2, G_LOG_LEVEL_CRITICAL = 1 << 3, G_LOG_LEVEL_WARNING = 1 << 4, G_LOG_LEVEL_MESSAGE = 1 << 5, G_LOG_LEVEL_INFO = 1 << 6, G_LOG_LEVEL_DEBUG = 1 << 7, G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) } GLogLevelFlags; typedef void (*GLogFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data); guint g_log_set_handler (const gchar *log_domain, GLogLevelFlags log_levels, GLogFunc log_func, gpointer user_data); void g_log_remove_handler (const gchar *log_domain, guint handler_id); void g_log_default_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); GLogFunc g_log_set_default_handler (GLogFunc log_func, gpointer user_data); void g_log (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); void g_logv (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, va_list args); GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, GLogLevelFlags fatal_mask); GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); __attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); void g_return_if_fail_warning (const char *log_domain, const char *pretty_function, const char *expression); void g_assert_warning (const char *log_domain, const char *file, const int line, const char *pretty_function, const char *expression) __attribute__((__noreturn__)); # 205 "/usr/include/glib-2.0/glib/gmessages.h" 3 typedef void (*GPrintFunc) (const gchar *string); void g_print (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))); GPrintFunc g_set_print_handler (GPrintFunc func); void g_printerr (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))); GPrintFunc g_set_printerr_handler (GPrintFunc func); # 361 "/usr/include/glib-2.0/glib/gmessages.h" 3 # 56 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1 # 32 "/usr/include/glib-2.0/glib/gnode.h" typedef struct _GNode GNode; typedef enum { G_TRAVERSE_LEAVES = 1 << 0, G_TRAVERSE_NON_LEAVES = 1 << 1, G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES, G_TRAVERSE_MASK = 0x03, G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES, G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES } GTraverseFlags; typedef enum { G_IN_ORDER, G_PRE_ORDER, G_POST_ORDER, G_LEVEL_ORDER } GTraverseType; typedef gboolean (*GNodeTraverseFunc) (GNode *node, gpointer data); typedef void (*GNodeForeachFunc) (GNode *node, gpointer data); typedef gpointer (*GCopyFunc) (gconstpointer src, gpointer data); struct _GNode { gpointer data; GNode *next; GNode *prev; GNode *parent; GNode *children; }; GNode* g_node_new (gpointer data); void g_node_destroy (GNode *root); void g_node_unlink (GNode *node); GNode* g_node_copy_deep (GNode *node, GCopyFunc copy_func, gpointer data); GNode* g_node_copy (GNode *node); GNode* g_node_insert (GNode *parent, gint position, GNode *node); GNode* g_node_insert_before (GNode *parent, GNode *sibling, GNode *node); GNode* g_node_insert_after (GNode *parent, GNode *sibling, GNode *node); GNode* g_node_prepend (GNode *parent, GNode *node); guint g_node_n_nodes (GNode *root, GTraverseFlags flags); GNode* g_node_get_root (GNode *node); gboolean g_node_is_ancestor (GNode *node, GNode *descendant); guint g_node_depth (GNode *node); GNode* g_node_find (GNode *root, GTraverseType order, GTraverseFlags flags, gpointer data); # 125 "/usr/include/glib-2.0/glib/gnode.h" void g_node_traverse (GNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, GNodeTraverseFunc func, gpointer data); guint g_node_max_height (GNode *root); void g_node_children_foreach (GNode *node, GTraverseFlags flags, GNodeForeachFunc func, gpointer data); void g_node_reverse_children (GNode *node); guint g_node_n_children (GNode *node); GNode* g_node_nth_child (GNode *node, guint n); GNode* g_node_last_child (GNode *node); GNode* g_node_find_child (GNode *node, GTraverseFlags flags, gpointer data); gint g_node_child_position (GNode *node, GNode *child); gint g_node_child_index (GNode *node, gpointer data); GNode* g_node_first_sibling (GNode *node); GNode* g_node_last_sibling (GNode *node); # 167 "/usr/include/glib-2.0/glib/gnode.h" void g_node_push_allocator (gpointer dummy); void g_node_pop_allocator (void); # 57 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/goption.h" 1 # 27 "/usr/include/glib-2.0/glib/goption.h" typedef struct _GOptionContext GOptionContext; typedef struct _GOptionGroup GOptionGroup; typedef struct _GOptionEntry GOptionEntry; typedef enum { G_OPTION_FLAG_HIDDEN = 1 << 0, G_OPTION_FLAG_IN_MAIN = 1 << 1, G_OPTION_FLAG_REVERSE = 1 << 2, G_OPTION_FLAG_NO_ARG = 1 << 3, G_OPTION_FLAG_FILENAME = 1 << 4, G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5, G_OPTION_FLAG_NOALIAS = 1 << 6 } GOptionFlags; typedef enum { G_OPTION_ARG_NONE, G_OPTION_ARG_STRING, G_OPTION_ARG_INT, G_OPTION_ARG_CALLBACK, G_OPTION_ARG_FILENAME, G_OPTION_ARG_STRING_ARRAY, G_OPTION_ARG_FILENAME_ARRAY, G_OPTION_ARG_DOUBLE, G_OPTION_ARG_INT64 } GOptionArg; typedef gboolean (*GOptionArgFunc) (const gchar *option_name, const gchar *value, gpointer data, GError **error); typedef gboolean (*GOptionParseFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); typedef void (*GOptionErrorFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); typedef enum { G_OPTION_ERROR_UNKNOWN_OPTION, G_OPTION_ERROR_BAD_VALUE, G_OPTION_ERROR_FAILED } GOptionError; GQuark g_option_error_quark (void); struct _GOptionEntry { const gchar *long_name; gchar short_name; gint flags; GOptionArg arg; gpointer arg_data; const gchar *description; const gchar *arg_description; }; GOptionContext *g_option_context_new (const gchar *parameter_string); void g_option_context_set_summary (GOptionContext *context, const gchar *summary); const gchar *g_option_context_get_summary (GOptionContext *context); void g_option_context_set_description (GOptionContext *context, const gchar *description); const gchar *g_option_context_get_description (GOptionContext *context); void g_option_context_free (GOptionContext *context); void g_option_context_set_help_enabled (GOptionContext *context, gboolean help_enabled); gboolean g_option_context_get_help_enabled (GOptionContext *context); void g_option_context_set_ignore_unknown_options (GOptionContext *context, gboolean ignore_unknown); gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context); void g_option_context_add_main_entries (GOptionContext *context, const GOptionEntry *entries, const gchar *translation_domain); gboolean g_option_context_parse (GOptionContext *context, gint *argc, gchar ***argv, GError **error); void g_option_context_set_translate_func (GOptionContext *context, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); void g_option_context_set_translation_domain (GOptionContext *context, const gchar *domain); void g_option_context_add_group (GOptionContext *context, GOptionGroup *group); void g_option_context_set_main_group (GOptionContext *context, GOptionGroup *group); GOptionGroup *g_option_context_get_main_group (GOptionContext *context); gchar *g_option_context_get_help (GOptionContext *context, gboolean main_help, GOptionGroup *group); GOptionGroup *g_option_group_new (const gchar *name, const gchar *description, const gchar *help_description, gpointer user_data, GDestroyNotify destroy); void g_option_group_set_parse_hooks (GOptionGroup *group, GOptionParseFunc pre_parse_func, GOptionParseFunc post_parse_func); void g_option_group_set_error_hook (GOptionGroup *group, GOptionErrorFunc error_func); void g_option_group_free (GOptionGroup *group); void g_option_group_add_entries (GOptionGroup *group, const GOptionEntry *entries); void g_option_group_set_translate_func (GOptionGroup *group, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); void g_option_group_set_translation_domain (GOptionGroup *group, const gchar *domain); # 58 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gpattern.h" 1 # 24 "/usr/include/glib-2.0/glib/gpattern.h" typedef struct _GPatternSpec GPatternSpec; GPatternSpec* g_pattern_spec_new (const gchar *pattern); void g_pattern_spec_free (GPatternSpec *pspec); gboolean g_pattern_spec_equal (GPatternSpec *pspec1, GPatternSpec *pspec2); gboolean g_pattern_match (GPatternSpec *pspec, guint string_length, const gchar *string, const gchar *string_reversed); gboolean g_pattern_match_string (GPatternSpec *pspec, const gchar *string); gboolean g_pattern_match_simple (const gchar *pattern, const gchar *string); # 59 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gprimes.h" 1 # 32 "/usr/include/glib-2.0/glib/gprimes.h" # 43 "/usr/include/glib-2.0/glib/gprimes.h" guint g_spaced_primes_closest (guint num) __attribute__((__const__)); # 60 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gqsort.h" 1 # 33 "/usr/include/glib-2.0/glib/gqsort.h" void g_qsort_with_data (gconstpointer pbase, gint total_elems, gsize size, GCompareDataFunc compare_func, gpointer user_data); # 61 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gqueue.h" 1 # 32 "/usr/include/glib-2.0/glib/gqueue.h" typedef struct _GQueue GQueue; struct _GQueue { GList *head; GList *tail; guint length; }; GQueue* g_queue_new (void); void g_queue_free (GQueue *queue); void g_queue_init (GQueue *queue); void g_queue_clear (GQueue *queue); gboolean g_queue_is_empty (GQueue *queue); guint g_queue_get_length (GQueue *queue); void g_queue_reverse (GQueue *queue); GQueue * g_queue_copy (GQueue *queue); void g_queue_foreach (GQueue *queue, GFunc func, gpointer user_data); GList * g_queue_find (GQueue *queue, gconstpointer data); GList * g_queue_find_custom (GQueue *queue, gconstpointer data, GCompareFunc func); void g_queue_sort (GQueue *queue, GCompareDataFunc compare_func, gpointer user_data); void g_queue_push_head (GQueue *queue, gpointer data); void g_queue_push_tail (GQueue *queue, gpointer data); void g_queue_push_nth (GQueue *queue, gpointer data, gint n); gpointer g_queue_pop_head (GQueue *queue); gpointer g_queue_pop_tail (GQueue *queue); gpointer g_queue_pop_nth (GQueue *queue, guint n); gpointer g_queue_peek_head (GQueue *queue); gpointer g_queue_peek_tail (GQueue *queue); gpointer g_queue_peek_nth (GQueue *queue, guint n); gint g_queue_index (GQueue *queue, gconstpointer data); void g_queue_remove (GQueue *queue, gconstpointer data); void g_queue_remove_all (GQueue *queue, gconstpointer data); void g_queue_insert_before (GQueue *queue, GList *sibling, gpointer data); void g_queue_insert_after (GQueue *queue, GList *sibling, gpointer data); void g_queue_insert_sorted (GQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); void g_queue_push_head_link (GQueue *queue, GList *link_); void g_queue_push_tail_link (GQueue *queue, GList *link_); void g_queue_push_nth_link (GQueue *queue, gint n, GList *link_); GList* g_queue_pop_head_link (GQueue *queue); GList* g_queue_pop_tail_link (GQueue *queue); GList* g_queue_pop_nth_link (GQueue *queue, guint n); GList* g_queue_peek_head_link (GQueue *queue); GList* g_queue_peek_tail_link (GQueue *queue); GList* g_queue_peek_nth_link (GQueue *queue, guint n); gint g_queue_link_index (GQueue *queue, GList *link_); void g_queue_unlink (GQueue *queue, GList *link_); void g_queue_delete_link (GQueue *queue, GList *link_); # 63 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/grand.h" 1 # 32 "/usr/include/glib-2.0/glib/grand.h" typedef struct _GRand GRand; # 45 "/usr/include/glib-2.0/glib/grand.h" GRand* g_rand_new_with_seed (guint32 seed); GRand* g_rand_new_with_seed_array (const guint32 *seed, guint seed_length); GRand* g_rand_new (void); void g_rand_free (GRand *rand_); GRand* g_rand_copy (GRand *rand_); void g_rand_set_seed (GRand *rand_, guint32 seed); void g_rand_set_seed_array (GRand *rand_, const guint32 *seed, guint seed_length); guint32 g_rand_int (GRand *rand_); gint32 g_rand_int_range (GRand *rand_, gint32 begin, gint32 end); gdouble g_rand_double (GRand *rand_); gdouble g_rand_double_range (GRand *rand_, gdouble begin, gdouble end); void g_random_set_seed (guint32 seed); guint32 g_random_int (void); gint32 g_random_int_range (gint32 begin, gint32 end); gdouble g_random_double (void); gdouble g_random_double_range (gdouble begin, gdouble end); # 64 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/grel.h" 1 # 32 "/usr/include/glib-2.0/glib/grel.h" typedef struct _GRelation GRelation; typedef struct _GTuples GTuples; struct _GTuples { guint len; }; # 65 "/usr/include/glib-2.0/glib/grel.h" GRelation* g_relation_new (gint fields); void g_relation_destroy (GRelation *relation); void g_relation_index (GRelation *relation, gint field, GHashFunc hash_func, GEqualFunc key_equal_func); void g_relation_insert (GRelation *relation, ...); gint g_relation_delete (GRelation *relation, gconstpointer key, gint field); GTuples* g_relation_select (GRelation *relation, gconstpointer key, gint field); gint g_relation_count (GRelation *relation, gconstpointer key, gint field); gboolean g_relation_exists (GRelation *relation, ...); void g_relation_print (GRelation *relation); void g_tuples_destroy (GTuples *tuples); gpointer g_tuples_index (GTuples *tuples, gint index_, gint field); # 65 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gregex.h" 1 # 28 "/usr/include/glib-2.0/glib/gregex.h" typedef enum { G_REGEX_ERROR_COMPILE, G_REGEX_ERROR_OPTIMIZE, G_REGEX_ERROR_REPLACE, G_REGEX_ERROR_MATCH } GRegexError; GQuark g_regex_error_quark (void); typedef enum { G_REGEX_CASELESS = 1 << 0, G_REGEX_MULTILINE = 1 << 1, G_REGEX_DOTALL = 1 << 2, G_REGEX_EXTENDED = 1 << 3, G_REGEX_ANCHORED = 1 << 4, G_REGEX_DOLLAR_ENDONLY = 1 << 5, G_REGEX_UNGREEDY = 1 << 9, G_REGEX_RAW = 1 << 11, G_REGEX_NO_AUTO_CAPTURE = 1 << 12, G_REGEX_OPTIMIZE = 1 << 13, G_REGEX_DUPNAMES = 1 << 19, G_REGEX_NEWLINE_CR = 1 << 20, G_REGEX_NEWLINE_LF = 1 << 21, G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF } GRegexCompileFlags; typedef enum { G_REGEX_MATCH_ANCHORED = 1 << 4, G_REGEX_MATCH_NOTBOL = 1 << 7, G_REGEX_MATCH_NOTEOL = 1 << 8, G_REGEX_MATCH_NOTEMPTY = 1 << 10, G_REGEX_MATCH_PARTIAL = 1 << 15, G_REGEX_MATCH_NEWLINE_CR = 1 << 20, G_REGEX_MATCH_NEWLINE_LF = 1 << 21, G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF, G_REGEX_MATCH_NEWLINE_ANY = 1 << 22 } GRegexMatchFlags; typedef struct _GRegex GRegex; typedef struct _GMatchInfo GMatchInfo; typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info, GString *result, gpointer user_data); GRegex *g_regex_new (const gchar *pattern, GRegexCompileFlags compile_options, GRegexMatchFlags match_options, GError **error); GRegex *g_regex_ref (GRegex *regex); void g_regex_unref (GRegex *regex); const gchar *g_regex_get_pattern (const GRegex *regex); gint g_regex_get_max_backref (const GRegex *regex); gint g_regex_get_capture_count (const GRegex *regex); gint g_regex_get_string_number (const GRegex *regex, const gchar *name); gchar *g_regex_escape_string (const gchar *string, gint length); gboolean g_regex_match_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); gboolean g_regex_match (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); gboolean g_regex_match_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); gboolean g_regex_match_all (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); gboolean g_regex_match_all_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); gchar **g_regex_split_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); gchar **g_regex_split (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options); gchar **g_regex_split_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, gint max_tokens, GError **error); gchar *g_regex_replace (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); gchar *g_regex_replace_literal (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); gchar *g_regex_replace_eval (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data, GError **error); gboolean g_regex_check_replacement (const gchar *replacement, gboolean *has_references, GError **error); GRegex *g_match_info_get_regex (const GMatchInfo *match_info); const gchar *g_match_info_get_string (const GMatchInfo *match_info); void g_match_info_free (GMatchInfo *match_info); gboolean g_match_info_next (GMatchInfo *match_info, GError **error); gboolean g_match_info_matches (const GMatchInfo *match_info); gint g_match_info_get_match_count (const GMatchInfo *match_info); gboolean g_match_info_is_partial_match (const GMatchInfo *match_info); gchar *g_match_info_expand_references(const GMatchInfo *match_info, const gchar *string_to_expand, GError **error); gchar *g_match_info_fetch (const GMatchInfo *match_info, gint match_num); gboolean g_match_info_fetch_pos (const GMatchInfo *match_info, gint match_num, gint *start_pos, gint *end_pos); gchar *g_match_info_fetch_named (const GMatchInfo *match_info, const gchar *name); gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info, const gchar *name, gint *start_pos, gint *end_pos); gchar **g_match_info_fetch_all (const GMatchInfo *match_info); # 66 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gscanner.h" 1 # 33 "/usr/include/glib-2.0/glib/gscanner.h" typedef struct _GScanner GScanner; typedef struct _GScannerConfig GScannerConfig; typedef union _GTokenValue GTokenValue; typedef void (*GScannerMsgFunc) (GScanner *scanner, gchar *message, gboolean error); # 60 "/usr/include/glib-2.0/glib/gscanner.h" typedef enum { G_ERR_UNKNOWN, G_ERR_UNEXP_EOF, G_ERR_UNEXP_EOF_IN_STRING, G_ERR_UNEXP_EOF_IN_COMMENT, G_ERR_NON_DIGIT_IN_CONST, G_ERR_DIGIT_RADIX, G_ERR_FLOAT_RADIX, G_ERR_FLOAT_MALFORMED } GErrorType; typedef enum { G_TOKEN_EOF = 0, G_TOKEN_LEFT_PAREN = '(', G_TOKEN_RIGHT_PAREN = ')', G_TOKEN_LEFT_CURLY = '{', G_TOKEN_RIGHT_CURLY = '}', G_TOKEN_LEFT_BRACE = '[', G_TOKEN_RIGHT_BRACE = ']', G_TOKEN_EQUAL_SIGN = '=', G_TOKEN_COMMA = ',', G_TOKEN_NONE = 256, G_TOKEN_ERROR, G_TOKEN_CHAR, G_TOKEN_BINARY, G_TOKEN_OCTAL, G_TOKEN_INT, G_TOKEN_HEX, G_TOKEN_FLOAT, G_TOKEN_STRING, G_TOKEN_SYMBOL, G_TOKEN_IDENTIFIER, G_TOKEN_IDENTIFIER_NULL, G_TOKEN_COMMENT_SINGLE, G_TOKEN_COMMENT_MULTI, G_TOKEN_LAST } GTokenType; union _GTokenValue { gpointer v_symbol; gchar *v_identifier; gulong v_binary; gulong v_octal; gulong v_int; guint64 v_int64; gdouble v_float; gulong v_hex; gchar *v_string; gchar *v_comment; guchar v_char; guint v_error; }; struct _GScannerConfig { gchar *cset_skip_characters; gchar *cset_identifier_first; gchar *cset_identifier_nth; gchar *cpair_comment_single; guint case_sensitive : 1; guint skip_comment_multi : 1; guint skip_comment_single : 1; guint scan_comment_multi : 1; guint scan_identifier : 1; guint scan_identifier_1char : 1; guint scan_identifier_NULL : 1; guint scan_symbols : 1; guint scan_binary : 1; guint scan_octal : 1; guint scan_float : 1; guint scan_hex : 1; guint scan_hex_dollar : 1; guint scan_string_sq : 1; guint scan_string_dq : 1; guint numbers_2_int : 1; guint int_2_float : 1; guint identifier_2_string : 1; guint char_2_token : 1; guint symbol_2_token : 1; guint scope_0_fallback : 1; guint store_int64 : 1; guint padding_dummy; }; struct _GScanner { gpointer user_data; guint max_parse_errors; guint parse_errors; const gchar *input_name; GData *qdata; GScannerConfig *config; GTokenType token; GTokenValue value; guint line; guint position; GTokenType next_token; GTokenValue next_value; guint next_line; guint next_position; GHashTable *symbol_table; gint input_fd; const gchar *text; const gchar *text_end; gchar *buffer; guint scope_id; GScannerMsgFunc msg_handler; }; GScanner* g_scanner_new (const GScannerConfig *config_templ); void g_scanner_destroy (GScanner *scanner); void g_scanner_input_file (GScanner *scanner, gint input_fd); void g_scanner_sync_file_offset (GScanner *scanner); void g_scanner_input_text (GScanner *scanner, const gchar *text, guint text_len); GTokenType g_scanner_get_next_token (GScanner *scanner); GTokenType g_scanner_peek_next_token (GScanner *scanner); GTokenType g_scanner_cur_token (GScanner *scanner); GTokenValue g_scanner_cur_value (GScanner *scanner); guint g_scanner_cur_line (GScanner *scanner); guint g_scanner_cur_position (GScanner *scanner); gboolean g_scanner_eof (GScanner *scanner); guint g_scanner_set_scope (GScanner *scanner, guint scope_id); void g_scanner_scope_add_symbol (GScanner *scanner, guint scope_id, const gchar *symbol, gpointer value); void g_scanner_scope_remove_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); void g_scanner_scope_foreach_symbol (GScanner *scanner, guint scope_id, GHFunc func, gpointer user_data); gpointer g_scanner_lookup_symbol (GScanner *scanner, const gchar *symbol); void g_scanner_unexp_token (GScanner *scanner, GTokenType expected_token, const gchar *identifier_spec, const gchar *symbol_spec, const gchar *symbol_name, const gchar *message, gint is_error); void g_scanner_error (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); void g_scanner_warn (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); # 272 "/usr/include/glib-2.0/glib/gscanner.h" # 67 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gsequence.h" 1 # 26 "/usr/include/glib-2.0/glib/gsequence.h" typedef struct _GSequence GSequence; typedef struct _GSequenceNode GSequenceIter; typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a, GSequenceIter *b, gpointer data); GSequence * g_sequence_new (GDestroyNotify data_destroy); void g_sequence_free (GSequence *seq); gint g_sequence_get_length (GSequence *seq); void g_sequence_foreach (GSequence *seq, GFunc func, gpointer user_data); void g_sequence_foreach_range (GSequenceIter *begin, GSequenceIter *end, GFunc func, gpointer user_data); void g_sequence_sort (GSequence *seq, GCompareDataFunc cmp_func, gpointer cmp_data); void g_sequence_sort_iter (GSequence *seq, GSequenceIterCompareFunc cmp_func, gpointer cmp_data); GSequenceIter *g_sequence_get_begin_iter (GSequence *seq); GSequenceIter *g_sequence_get_end_iter (GSequence *seq); GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq, gint pos); GSequenceIter *g_sequence_append (GSequence *seq, gpointer data); GSequenceIter *g_sequence_prepend (GSequence *seq, gpointer data); GSequenceIter *g_sequence_insert_before (GSequenceIter *iter, gpointer data); void g_sequence_move (GSequenceIter *src, GSequenceIter *dest); void g_sequence_swap (GSequenceIter *a, GSequenceIter *b); GSequenceIter *g_sequence_insert_sorted (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); void g_sequence_sort_changed (GSequenceIter *iter, GCompareDataFunc cmp_func, gpointer cmp_data); void g_sequence_sort_changed_iter (GSequenceIter *iter, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); void g_sequence_remove (GSequenceIter *iter); void g_sequence_remove_range (GSequenceIter *begin, GSequenceIter *end); void g_sequence_move_range (GSequenceIter *dest, GSequenceIter *begin, GSequenceIter *end); GSequenceIter *g_sequence_search (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); GSequenceIter *g_sequence_search_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); gpointer g_sequence_get (GSequenceIter *iter); void g_sequence_set (GSequenceIter *iter, gpointer data); gboolean g_sequence_iter_is_begin (GSequenceIter *iter); gboolean g_sequence_iter_is_end (GSequenceIter *iter); GSequenceIter *g_sequence_iter_next (GSequenceIter *iter); GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter); gint g_sequence_iter_get_position (GSequenceIter *iter); GSequenceIter *g_sequence_iter_move (GSequenceIter *iter, gint delta); GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter); gint g_sequence_iter_compare (GSequenceIter *a, GSequenceIter *b); GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin, GSequenceIter *end); # 68 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gshell.h" 1 # 26 "/usr/include/glib-2.0/glib/gshell.h" typedef enum { G_SHELL_ERROR_BAD_QUOTING, G_SHELL_ERROR_EMPTY_STRING, G_SHELL_ERROR_FAILED } GShellError; GQuark g_shell_error_quark (void); gchar* g_shell_quote (const gchar *unquoted_string); gchar* g_shell_unquote (const gchar *quoted_string, GError **error); gboolean g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp, GError **error); # 69 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gspawn.h" 1 # 26 "/usr/include/glib-2.0/glib/gspawn.h" typedef enum { G_SPAWN_ERROR_FORK, G_SPAWN_ERROR_READ, G_SPAWN_ERROR_CHDIR, G_SPAWN_ERROR_ACCES, G_SPAWN_ERROR_PERM, G_SPAWN_ERROR_2BIG, G_SPAWN_ERROR_NOEXEC, G_SPAWN_ERROR_NAMETOOLONG, G_SPAWN_ERROR_NOENT, G_SPAWN_ERROR_NOMEM, G_SPAWN_ERROR_NOTDIR, G_SPAWN_ERROR_LOOP, G_SPAWN_ERROR_TXTBUSY, G_SPAWN_ERROR_IO, G_SPAWN_ERROR_NFILE, G_SPAWN_ERROR_MFILE, G_SPAWN_ERROR_INVAL, G_SPAWN_ERROR_ISDIR, G_SPAWN_ERROR_LIBBAD, G_SPAWN_ERROR_FAILED } GSpawnError; typedef void (* GSpawnChildSetupFunc) (gpointer user_data); typedef enum { G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, G_SPAWN_SEARCH_PATH = 1 << 2, G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4, G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5, G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6 } GSpawnFlags; GQuark g_spawn_error_quark (void); # 82 "/usr/include/glib-2.0/glib/gspawn.h" gboolean g_spawn_async (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, GError **error); gboolean g_spawn_async_with_pipes (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, gint *standard_input, gint *standard_output, gint *standard_error, GError **error); gboolean g_spawn_sync (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, gchar **standard_output, gchar **standard_error, gint *exit_status, GError **error); gboolean g_spawn_command_line_sync (const gchar *command_line, gchar **standard_output, gchar **standard_error, gint *exit_status, GError **error); gboolean g_spawn_command_line_async (const gchar *command_line, GError **error); void g_spawn_close_pid (GPid pid); # 71 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1 # 33 "/usr/include/glib-2.0/glib/gstrfuncs.h" typedef enum { G_ASCII_ALNUM = 1 << 0, G_ASCII_ALPHA = 1 << 1, G_ASCII_CNTRL = 1 << 2, G_ASCII_DIGIT = 1 << 3, G_ASCII_GRAPH = 1 << 4, G_ASCII_LOWER = 1 << 5, G_ASCII_PRINT = 1 << 6, G_ASCII_PUNCT = 1 << 7, G_ASCII_SPACE = 1 << 8, G_ASCII_UPPER = 1 << 9, G_ASCII_XDIGIT = 1 << 10 } GAsciiType; extern const guint16 * const g_ascii_table; # 85 "/usr/include/glib-2.0/glib/gstrfuncs.h" gchar g_ascii_tolower (gchar c) __attribute__((__const__)); gchar g_ascii_toupper (gchar c) __attribute__((__const__)); gint g_ascii_digit_value (gchar c) __attribute__((__const__)); gint g_ascii_xdigit_value (gchar c) __attribute__((__const__)); gchar* g_strdelimit (gchar *string, const gchar *delimiters, gchar new_delimiter); gchar* g_strcanon (gchar *string, const gchar *valid_chars, gchar substitutor); const gchar* g_strerror (gint errnum) __attribute__((__const__)); const gchar* g_strsignal (gint signum) __attribute__((__const__)); gchar* g_strreverse (gchar *string); gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size); gsize g_strlcat (gchar *dest, const gchar *src, gsize dest_size); gchar * g_strstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); gchar * g_strrstr (const gchar *haystack, const gchar *needle); gchar * g_strrstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); gboolean g_str_has_suffix (const gchar *str, const gchar *suffix); gboolean g_str_has_prefix (const gchar *str, const gchar *prefix); gdouble g_strtod (const gchar *nptr, gchar **endptr); gdouble g_ascii_strtod (const gchar *nptr, gchar **endptr); guint64 g_ascii_strtoull (const gchar *nptr, gchar **endptr, guint base); gint64 g_ascii_strtoll (const gchar *nptr, gchar **endptr, guint base); gchar * g_ascii_dtostr (gchar *buffer, gint buf_len, gdouble d); gchar * g_ascii_formatd (gchar *buffer, gint buf_len, const gchar *format, gdouble d); gchar* g_strchug (gchar *string); gchar* g_strchomp (gchar *string); gint g_ascii_strcasecmp (const gchar *s1, const gchar *s2); gint g_ascii_strncasecmp (const gchar *s1, const gchar *s2, gsize n); gchar* g_ascii_strdown (const gchar *str, gssize len) __attribute__((__malloc__)); gchar* g_ascii_strup (const gchar *str, gssize len) __attribute__((__malloc__)); # 172 "/usr/include/glib-2.0/glib/gstrfuncs.h" gint g_strcasecmp (const gchar *s1, const gchar *s2); gint g_strncasecmp (const gchar *s1, const gchar *s2, guint n); gchar* g_strdown (gchar *string); gchar* g_strup (gchar *string); gchar* g_strdup (const gchar *str) __attribute__((__malloc__)); gchar* g_strdup_printf (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__)); gchar* g_strdup_vprintf (const gchar *format, va_list args) __attribute__((__malloc__)); gchar* g_strndup (const gchar *str, gsize n) __attribute__((__malloc__)); gchar* g_strnfill (gsize length, gchar fill_char) __attribute__((__malloc__)); gchar* g_strconcat (const gchar *string1, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar* g_strjoin (const gchar *separator, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar* g_strcompress (const gchar *source) __attribute__((__malloc__)); # 213 "/usr/include/glib-2.0/glib/gstrfuncs.h" gchar* g_strescape (const gchar *source, const gchar *exceptions) __attribute__((__malloc__)); gpointer g_memdup (gconstpointer mem, guint byte_size) __attribute__((__malloc__)); # 228 "/usr/include/glib-2.0/glib/gstrfuncs.h" gchar** g_strsplit (const gchar *string, const gchar *delimiter, gint max_tokens) __attribute__((__malloc__)); gchar ** g_strsplit_set (const gchar *string, const gchar *delimiters, gint max_tokens) __attribute__((__malloc__)); gchar* g_strjoinv (const gchar *separator, gchar **str_array) __attribute__((__malloc__)); void g_strfreev (gchar **str_array); gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__)); guint g_strv_length (gchar **str_array); gchar* g_stpcpy (gchar *dest, const char *src); const gchar *g_strip_context (const gchar *msgid, const gchar *msgval); # 72 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1 # 32 "/usr/include/glib-2.0/glib/gthreadpool.h" typedef struct _GThreadPool GThreadPool; struct _GThreadPool { GFunc func; gpointer user_data; gboolean exclusive; }; GThreadPool* g_thread_pool_new (GFunc func, gpointer user_data, gint max_threads, gboolean exclusive, GError **error); void g_thread_pool_push (GThreadPool *pool, gpointer data, GError **error); void g_thread_pool_set_max_threads (GThreadPool *pool, gint max_threads, GError **error); gint g_thread_pool_get_max_threads (GThreadPool *pool); guint g_thread_pool_get_num_threads (GThreadPool *pool); guint g_thread_pool_unprocessed (GThreadPool *pool); void g_thread_pool_free (GThreadPool *pool, gboolean immediate, gboolean wait_); void g_thread_pool_set_max_unused_threads (gint max_threads); gint g_thread_pool_get_max_unused_threads (void); guint g_thread_pool_get_num_unused_threads (void); void g_thread_pool_stop_unused_threads (void); void g_thread_pool_set_sort_function (GThreadPool *pool, GCompareDataFunc func, gpointer user_data); void g_thread_pool_set_max_idle_time (guint interval); guint g_thread_pool_get_max_idle_time (void); # 75 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtimer.h" 1 # 32 "/usr/include/glib-2.0/glib/gtimer.h" typedef struct _GTimer GTimer; GTimer* g_timer_new (void); void g_timer_destroy (GTimer *timer); void g_timer_start (GTimer *timer); void g_timer_stop (GTimer *timer); void g_timer_reset (GTimer *timer); void g_timer_continue (GTimer *timer); gdouble g_timer_elapsed (GTimer *timer, gulong *microseconds); void g_usleep (gulong microseconds); void g_time_val_add (GTimeVal *time_, glong microseconds); gboolean g_time_val_from_iso8601 (const gchar *iso_date, GTimeVal *time_); gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__)); # 76 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtree.h" 1 # 32 "/usr/include/glib-2.0/glib/gtree.h" typedef struct _GTree GTree; typedef gboolean (*GTraverseFunc) (gpointer key, gpointer value, gpointer data); GTree* g_tree_new (GCompareFunc key_compare_func); GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func, gpointer key_compare_data); GTree* g_tree_new_full (GCompareDataFunc key_compare_func, gpointer key_compare_data, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); void g_tree_destroy (GTree *tree); void g_tree_insert (GTree *tree, gpointer key, gpointer value); void g_tree_replace (GTree *tree, gpointer key, gpointer value); gboolean g_tree_remove (GTree *tree, gconstpointer key); gboolean g_tree_steal (GTree *tree, gconstpointer key); gpointer g_tree_lookup (GTree *tree, gconstpointer key); gboolean g_tree_lookup_extended (GTree *tree, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); void g_tree_foreach (GTree *tree, GTraverseFunc func, gpointer user_data); void g_tree_traverse (GTree *tree, GTraverseFunc traverse_func, GTraverseType traverse_type, gpointer user_data); gpointer g_tree_search (GTree *tree, GCompareFunc search_func, gconstpointer user_data); gint g_tree_height (GTree *tree); gint g_tree_nnodes (GTree *tree); # 77 "/usr/include/glib-2.0/glib.h" 2 # 33 "../gdk/gdktypes.h" 2 # 1 "/usr/include/pango-1.0/pango/pango.h" 1 # 25 "/usr/include/pango-1.0/pango/pango.h" # 1 "/usr/include/pango-1.0/pango/pango-attributes.h" 1 # 25 "/usr/include/pango-1.0/pango/pango-attributes.h" # 1 "/usr/include/pango-1.0/pango/pango-font.h" 1 # 25 "/usr/include/pango-1.0/pango/pango-font.h" # 1 "/usr/include/pango-1.0/pango/pango-coverage.h" 1 # 27 "/usr/include/pango-1.0/pango/pango-coverage.h" typedef struct _PangoCoverage PangoCoverage; typedef enum { PANGO_COVERAGE_NONE, PANGO_COVERAGE_FALLBACK, PANGO_COVERAGE_APPROXIMATE, PANGO_COVERAGE_EXACT } PangoCoverageLevel; PangoCoverage * pango_coverage_new (void); PangoCoverage * pango_coverage_ref (PangoCoverage *coverage); void pango_coverage_unref (PangoCoverage *coverage); PangoCoverage * pango_coverage_copy (PangoCoverage *coverage); PangoCoverageLevel pango_coverage_get (PangoCoverage *coverage, int index_); void pango_coverage_set (PangoCoverage *coverage, int index_, PangoCoverageLevel level); void pango_coverage_max (PangoCoverage *coverage, PangoCoverage *other); void pango_coverage_to_bytes (PangoCoverage *coverage, guchar **bytes, int *n_bytes); PangoCoverage *pango_coverage_from_bytes (guchar *bytes, int n_bytes); # 26 "/usr/include/pango-1.0/pango/pango-font.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-types.h" 1 # 26 "/usr/include/pango-1.0/pango/pango-types.h" # 1 "/usr/include/glib-2.0/glib-object.h" 1 # 25 "/usr/include/glib-2.0/glib-object.h" # 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1 # 26 "/usr/include/glib-2.0/gobject/gboxed.h" # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 # 28 "/usr/include/glib-2.0/gobject/gtype.h" # 92 "/usr/include/glib-2.0/gobject/gtype.h" typedef gsize GType; typedef struct _GValue GValue; typedef union _GTypeCValue GTypeCValue; typedef struct _GTypePlugin GTypePlugin; typedef struct _GTypeClass GTypeClass; typedef struct _GTypeInterface GTypeInterface; typedef struct _GTypeInstance GTypeInstance; typedef struct _GTypeInfo GTypeInfo; typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo; typedef struct _GInterfaceInfo GInterfaceInfo; typedef struct _GTypeValueTable GTypeValueTable; typedef struct _GTypeQuery GTypeQuery; struct _GTypeClass { GType g_type; }; struct _GTypeInstance { GTypeClass *g_class; }; struct _GTypeInterface { GType g_type; GType g_instance_type; }; struct _GTypeQuery { GType type; const gchar *type_name; guint class_size; guint instance_size; }; # 157 "/usr/include/glib-2.0/gobject/gtype.h" typedef enum { G_TYPE_DEBUG_NONE = 0, G_TYPE_DEBUG_OBJECTS = 1 << 0, G_TYPE_DEBUG_SIGNALS = 1 << 1, G_TYPE_DEBUG_MASK = 0x03 } GTypeDebugFlags; void g_type_init (void); void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags); const gchar* g_type_name (GType type); GQuark g_type_qname (GType type); GType g_type_from_name (const gchar *name); GType g_type_parent (GType type); guint g_type_depth (GType type); GType g_type_next_base (GType leaf_type, GType root_type); gboolean g_type_is_a (GType type, GType is_a_type); gpointer g_type_class_ref (GType type); gpointer g_type_class_peek (GType type); gpointer g_type_class_peek_static (GType type); void g_type_class_unref (gpointer g_class); gpointer g_type_class_peek_parent (gpointer g_class); gpointer g_type_interface_peek (gpointer instance_class, GType iface_type); gpointer g_type_interface_peek_parent (gpointer g_iface); gpointer g_type_default_interface_ref (GType g_type); gpointer g_type_default_interface_peek (GType g_type); void g_type_default_interface_unref (gpointer g_iface); GType* g_type_children (GType type, guint *n_children); GType* g_type_interfaces (GType type, guint *n_interfaces); void g_type_set_qdata (GType type, GQuark quark, gpointer data); gpointer g_type_get_qdata (GType type, GQuark quark); void g_type_query (GType type, GTypeQuery *query); typedef void (*GBaseInitFunc) (gpointer g_class); typedef void (*GBaseFinalizeFunc) (gpointer g_class); typedef void (*GClassInitFunc) (gpointer g_class, gpointer class_data); typedef void (*GClassFinalizeFunc) (gpointer g_class, gpointer class_data); typedef void (*GInstanceInitFunc) (GTypeInstance *instance, gpointer g_class); typedef void (*GInterfaceInitFunc) (gpointer g_iface, gpointer iface_data); typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface, gpointer iface_data); typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data, GTypeClass *g_class); typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data, gpointer g_iface); typedef enum { G_TYPE_FLAG_CLASSED = (1 << 0), G_TYPE_FLAG_INSTANTIATABLE = (1 << 1), G_TYPE_FLAG_DERIVABLE = (1 << 2), G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3) } GTypeFundamentalFlags; typedef enum { G_TYPE_FLAG_ABSTRACT = (1 << 4), G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5) } GTypeFlags; struct _GTypeInfo { guint16 class_size; GBaseInitFunc base_init; GBaseFinalizeFunc base_finalize; GClassInitFunc class_init; GClassFinalizeFunc class_finalize; gconstpointer class_data; guint16 instance_size; guint16 n_preallocs; GInstanceInitFunc instance_init; const GTypeValueTable *value_table; }; struct _GTypeFundamentalInfo { GTypeFundamentalFlags type_flags; }; struct _GInterfaceInfo { GInterfaceInitFunc interface_init; GInterfaceFinalizeFunc interface_finalize; gpointer interface_data; }; struct _GTypeValueTable { void (*value_init) (GValue *value); void (*value_free) (GValue *value); void (*value_copy) (const GValue *src_value, GValue *dest_value); gpointer (*value_peek_pointer) (const GValue *value); gchar *collect_format; gchar* (*collect_value) (GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags); gchar *lcopy_format; gchar* (*lcopy_value) (const GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags); }; GType g_type_register_static (GType parent_type, const gchar *type_name, const GTypeInfo *info, GTypeFlags flags); GType g_type_register_static_simple (GType parent_type, const gchar *type_name, guint class_size, GClassInitFunc class_init, guint instance_size, GInstanceInitFunc instance_init, GTypeFlags flags); GType g_type_register_dynamic (GType parent_type, const gchar *type_name, GTypePlugin *plugin, GTypeFlags flags); GType g_type_register_fundamental (GType type_id, const gchar *type_name, const GTypeInfo *info, const GTypeFundamentalInfo *finfo, GTypeFlags flags); void g_type_add_interface_static (GType instance_type, GType interface_type, const GInterfaceInfo *info); void g_type_add_interface_dynamic (GType instance_type, GType interface_type, GTypePlugin *plugin); void g_type_interface_add_prerequisite (GType interface_type, GType prerequisite_type); GType*g_type_interface_prerequisites (GType interface_type, guint *n_prerequisites); void g_type_class_add_private (gpointer g_class, gsize private_size); gpointer g_type_instance_get_private (GTypeInstance *instance, GType private_type); # 393 "/usr/include/glib-2.0/gobject/gtype.h" GTypePlugin* g_type_get_plugin (GType type); GTypePlugin* g_type_interface_get_plugin (GType instance_type, GType interface_type); GType g_type_fundamental_next (void); GType g_type_fundamental (GType type_id); GTypeInstance* g_type_create_instance (GType type); void g_type_free_instance (GTypeInstance *instance); void g_type_add_class_cache_func (gpointer cache_data, GTypeClassCacheFunc cache_func); void g_type_remove_class_cache_func (gpointer cache_data, GTypeClassCacheFunc cache_func); void g_type_class_unref_uncached (gpointer g_class); void g_type_add_interface_check (gpointer check_data, GTypeInterfaceCheckFunc check_func); void g_type_remove_interface_check (gpointer check_data, GTypeInterfaceCheckFunc check_func); GTypeValueTable* g_type_value_table_peek (GType type); gboolean g_type_check_instance (GTypeInstance *instance) __attribute__((__pure__)); GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance, GType iface_type); gboolean g_type_check_instance_is_a (GTypeInstance *instance, GType iface_type) __attribute__((__pure__)); GTypeClass* g_type_check_class_cast (GTypeClass *g_class, GType is_a_type); gboolean g_type_check_class_is_a (GTypeClass *g_class, GType is_a_type) __attribute__((__pure__)); gboolean g_type_check_is_value_type (GType type) __attribute__((__const__)); gboolean g_type_check_value (GValue *value) __attribute__((__pure__)); gboolean g_type_check_value_holds (GValue *value, GType type) __attribute__((__pure__)); gboolean g_type_test_flags (GType type, guint flags) __attribute__((__const__)); const gchar* g_type_name_from_instance (GTypeInstance *instance); const gchar* g_type_name_from_class (GTypeClass *g_class); __attribute__((visibility("hidden"))) void g_value_c_init (void); __attribute__((visibility("hidden"))) void g_value_types_init (void); __attribute__((visibility("hidden"))) void g_enum_types_init (void); __attribute__((visibility("hidden"))) void g_param_type_init (void); __attribute__((visibility("hidden"))) void g_boxed_type_init (void); __attribute__((visibility("hidden"))) void g_object_type_init (void); __attribute__((visibility("hidden"))) void g_param_spec_types_init (void); __attribute__((visibility("hidden"))) void g_value_transforms_init (void); __attribute__((visibility("hidden"))) void g_signal_init (void); # 495 "/usr/include/glib-2.0/gobject/gtype.h" extern GTypeDebugFlags _g_type_debug_flags; # 27 "/usr/include/glib-2.0/gobject/gboxed.h" 2 typedef gpointer (*GBoxedCopyFunc) (gpointer boxed); typedef void (*GBoxedFreeFunc) (gpointer boxed); gpointer g_boxed_copy (GType boxed_type, gconstpointer src_boxed); void g_boxed_free (GType boxed_type, gpointer boxed); void g_value_set_boxed (GValue *value, gconstpointer v_boxed); void g_value_set_static_boxed (GValue *value, gconstpointer v_boxed); gpointer g_value_get_boxed (const GValue *value); gpointer g_value_dup_boxed (const GValue *value); GType g_boxed_type_register_static (const gchar *name, GBoxedCopyFunc boxed_copy, GBoxedFreeFunc boxed_free); # 70 "/usr/include/glib-2.0/gobject/gboxed.h" void g_value_take_boxed (GValue *value, gconstpointer v_boxed); void g_value_set_boxed_take_ownership (GValue *value, gconstpointer v_boxed); GType g_closure_get_type (void) __attribute__((__const__)); GType g_value_get_type (void) __attribute__((__const__)); GType g_value_array_get_type (void) __attribute__((__const__)); GType g_date_get_type (void) __attribute__((__const__)); GType g_strv_get_type (void) __attribute__((__const__)); GType g_gstring_get_type (void) __attribute__((__const__)); GType g_hash_table_get_type (void) __attribute__((__const__)); GType g_regex_get_type (void) __attribute__((__const__)); typedef gchar** GStrv; # 26 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/genums.h" 1 # 26 "/usr/include/glib-2.0/gobject/genums.h" # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 # 27 "/usr/include/glib-2.0/gobject/genums.h" 2 # 46 "/usr/include/glib-2.0/gobject/genums.h" typedef struct _GEnumClass GEnumClass; typedef struct _GFlagsClass GFlagsClass; typedef struct _GEnumValue GEnumValue; typedef struct _GFlagsValue GFlagsValue; struct _GEnumClass { GTypeClass g_type_class; gint minimum; gint maximum; guint n_values; GEnumValue *values; }; struct _GFlagsClass { GTypeClass g_type_class; guint mask; guint n_values; GFlagsValue *values; }; struct _GEnumValue { gint value; const gchar *value_name; const gchar *value_nick; }; struct _GFlagsValue { guint value; const gchar *value_name; const gchar *value_nick; }; GEnumValue* g_enum_get_value (GEnumClass *enum_class, gint value); GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class, const gchar *name); GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class, const gchar *nick); GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class, guint value); GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class, const gchar *name); GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class, const gchar *nick); void g_value_set_enum (GValue *value, gint v_enum); gint g_value_get_enum (const GValue *value); void g_value_set_flags (GValue *value, guint v_flags); guint g_value_get_flags (const GValue *value); GType g_enum_register_static (const gchar *name, const GEnumValue *const_static_values); GType g_flags_register_static (const gchar *name, const GFlagsValue *const_static_values); void g_enum_complete_type_info (GType g_enum_type, GTypeInfo *info, const GEnumValue *const_values); void g_flags_complete_type_info (GType g_flags_type, GTypeInfo *info, const GFlagsValue *const_values); # 27 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1 # 26 "/usr/include/glib-2.0/gobject/gobject.h" # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 # 27 "/usr/include/glib-2.0/gobject/gobject.h" 2 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 # 28 "/usr/include/glib-2.0/gobject/gvalue.h" # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 # 29 "/usr/include/glib-2.0/gobject/gvalue.h" 2 # 41 "/usr/include/glib-2.0/gobject/gvalue.h" typedef void (*GValueTransform) (const GValue *src_value, GValue *dest_value); struct _GValue { GType g_type; union { gint v_int; guint v_uint; glong v_long; gulong v_ulong; gint64 v_int64; guint64 v_uint64; gfloat v_float; gdouble v_double; gpointer v_pointer; } data[2]; }; GValue* g_value_init (GValue *value, GType g_type); void g_value_copy (const GValue *src_value, GValue *dest_value); GValue* g_value_reset (GValue *value); void g_value_unset (GValue *value); void g_value_set_instance (GValue *value, gpointer instance); gboolean g_value_fits_pointer (const GValue *value); gpointer g_value_peek_pointer (const GValue *value); gboolean g_value_type_compatible (GType src_type, GType dest_type); gboolean g_value_type_transformable (GType src_type, GType dest_type); gboolean g_value_transform (const GValue *src_value, GValue *dest_value); void g_value_register_transform_func (GType src_type, GType dest_type, GValueTransform transform_func); # 28 "/usr/include/glib-2.0/gobject/gobject.h" 2 # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1 # 28 "/usr/include/glib-2.0/gobject/gparam.h" # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 # 29 "/usr/include/glib-2.0/gobject/gparam.h" 2 # 49 "/usr/include/glib-2.0/gobject/gparam.h" typedef enum { G_PARAM_READABLE = 1 << 0, G_PARAM_WRITABLE = 1 << 1, G_PARAM_CONSTRUCT = 1 << 2, G_PARAM_CONSTRUCT_ONLY = 1 << 3, G_PARAM_LAX_VALIDATION = 1 << 4, G_PARAM_STATIC_NAME = 1 << 5, G_PARAM_PRIVATE = G_PARAM_STATIC_NAME, G_PARAM_STATIC_NICK = 1 << 6, G_PARAM_STATIC_BLURB = 1 << 7 } GParamFlags; # 71 "/usr/include/glib-2.0/gobject/gparam.h" typedef struct _GParamSpec GParamSpec; typedef struct _GParamSpecClass GParamSpecClass; typedef struct _GParameter GParameter; typedef struct _GParamSpecPool GParamSpecPool; struct _GParamSpec { GTypeInstance g_type_instance; gchar *name; GParamFlags flags; GType value_type; GType owner_type; gchar *_nick; gchar *_blurb; GData *qdata; guint ref_count; guint param_id; }; struct _GParamSpecClass { GTypeClass g_type_class; GType value_type; void (*finalize) (GParamSpec *pspec); void (*value_set_default) (GParamSpec *pspec, GValue *value); gboolean (*value_validate) (GParamSpec *pspec, GValue *value); gint (*values_cmp) (GParamSpec *pspec, const GValue *value1, const GValue *value2); gpointer dummy[4]; }; struct _GParameter { const gchar *name; GValue value; }; GParamSpec* g_param_spec_ref (GParamSpec *pspec); void g_param_spec_unref (GParamSpec *pspec); void g_param_spec_sink (GParamSpec *pspec); GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec); gpointer g_param_spec_get_qdata (GParamSpec *pspec, GQuark quark); void g_param_spec_set_qdata (GParamSpec *pspec, GQuark quark, gpointer data); void g_param_spec_set_qdata_full (GParamSpec *pspec, GQuark quark, gpointer data, GDestroyNotify destroy); gpointer g_param_spec_steal_qdata (GParamSpec *pspec, GQuark quark); GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec); void g_param_value_set_default (GParamSpec *pspec, GValue *value); gboolean g_param_value_defaults (GParamSpec *pspec, GValue *value); gboolean g_param_value_validate (GParamSpec *pspec, GValue *value); gboolean g_param_value_convert (GParamSpec *pspec, const GValue *src_value, GValue *dest_value, gboolean strict_validation); gint g_param_values_cmp (GParamSpec *pspec, const GValue *value1, const GValue *value2); const gchar* g_param_spec_get_name (GParamSpec *pspec); const gchar* g_param_spec_get_nick (GParamSpec *pspec); const gchar* g_param_spec_get_blurb (GParamSpec *pspec); void g_value_set_param (GValue *value, GParamSpec *param); GParamSpec* g_value_get_param (const GValue *value); GParamSpec* g_value_dup_param (const GValue *value); void g_value_take_param (GValue *value, GParamSpec *param); void g_value_set_param_take_ownership (GValue *value, GParamSpec *param); typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo; struct _GParamSpecTypeInfo { guint16 instance_size; guint16 n_preallocs; void (*instance_init) (GParamSpec *pspec); GType value_type; void (*finalize) (GParamSpec *pspec); void (*value_set_default) (GParamSpec *pspec, GValue *value); gboolean (*value_validate) (GParamSpec *pspec, GValue *value); gint (*values_cmp) (GParamSpec *pspec, const GValue *value1, const GValue *value2); }; GType g_param_type_register_static (const gchar *name, const GParamSpecTypeInfo *pspec_info); GType _g_param_type_register_static_constant (const gchar *name, const GParamSpecTypeInfo *pspec_info, GType opt_type); gpointer g_param_spec_internal (GType param_type, const gchar *name, const gchar *nick, const gchar *blurb, GParamFlags flags); GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing); void g_param_spec_pool_insert (GParamSpecPool *pool, GParamSpec *pspec, GType owner_type); void g_param_spec_pool_remove (GParamSpecPool *pool, GParamSpec *pspec); GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool, const gchar *param_name, GType owner_type, gboolean walk_ancestors); GList* g_param_spec_pool_list_owned (GParamSpecPool *pool, GType owner_type); GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool, GType owner_type, guint *n_pspecs_p); # 233 "/usr/include/glib-2.0/gobject/gparam.h" # 29 "/usr/include/glib-2.0/gobject/gobject.h" 2 # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1 # 27 "/usr/include/glib-2.0/gobject/gclosure.h" # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 # 28 "/usr/include/glib-2.0/gobject/gclosure.h" 2 # 40 "/usr/include/glib-2.0/gobject/gclosure.h" typedef struct _GClosure GClosure; typedef struct _GClosureNotifyData GClosureNotifyData; typedef void (*GCallback) (void); typedef void (*GClosureNotify) (gpointer data, GClosure *closure); typedef void (*GClosureMarshal) (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); typedef struct _GCClosure GCClosure; struct _GClosureNotifyData { gpointer data; GClosureNotify notify; }; struct _GClosure { volatile guint ref_count : 15; volatile guint meta_marshal : 1; volatile guint n_guards : 1; volatile guint n_fnotifiers : 2; volatile guint n_inotifiers : 8; volatile guint in_inotify : 1; volatile guint floating : 1; volatile guint derivative_flag : 1; volatile guint in_marshal : 1; volatile guint is_invalid : 1; void (*marshal) (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); gpointer data; GClosureNotifyData *notifiers; # 96 "/usr/include/glib-2.0/gobject/gclosure.h" }; struct _GCClosure { GClosure closure; gpointer callback; }; GClosure* g_cclosure_new (GCallback callback_func, gpointer user_data, GClosureNotify destroy_data); GClosure* g_cclosure_new_swap (GCallback callback_func, gpointer user_data, GClosureNotify destroy_data); GClosure* g_signal_type_cclosure_new (GType itype, guint struct_offset); GClosure* g_closure_ref (GClosure *closure); void g_closure_sink (GClosure *closure); void g_closure_unref (GClosure *closure); GClosure* g_closure_new_simple (guint sizeof_closure, gpointer data); void g_closure_add_finalize_notifier (GClosure *closure, gpointer notify_data, GClosureNotify notify_func); void g_closure_remove_finalize_notifier (GClosure *closure, gpointer notify_data, GClosureNotify notify_func); void g_closure_add_invalidate_notifier (GClosure *closure, gpointer notify_data, GClosureNotify notify_func); void g_closure_remove_invalidate_notifier (GClosure *closure, gpointer notify_data, GClosureNotify notify_func); void g_closure_add_marshal_guards (GClosure *closure, gpointer pre_marshal_data, GClosureNotify pre_marshal_notify, gpointer post_marshal_data, GClosureNotify post_marshal_notify); void g_closure_set_marshal (GClosure *closure, GClosureMarshal marshal); void g_closure_set_meta_marshal (GClosure *closure, gpointer marshal_data, GClosureMarshal meta_marshal); void g_closure_invalidate (GClosure *closure); void g_closure_invoke (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint); # 164 "/usr/include/glib-2.0/gobject/gclosure.h" # 30 "/usr/include/glib-2.0/gobject/gobject.h" 2 # 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1 # 26 "/usr/include/glib-2.0/gobject/gsignal.h" # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1 # 27 "/usr/include/glib-2.0/gobject/gsignal.h" 2 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 # 28 "/usr/include/glib-2.0/gobject/gsignal.h" 2 # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1 # 29 "/usr/include/glib-2.0/gobject/gsignal.h" 2 # 1 "/usr/include/glib-2.0/gobject/gmarshal.h" 1 extern void g_cclosure_marshal_VOID__VOID (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__LONG (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); # 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2 typedef struct _GSignalQuery GSignalQuery; typedef struct _GSignalInvocationHint GSignalInvocationHint; typedef GClosureMarshal GSignalCMarshaller; typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint, guint n_param_values, const GValue *param_values, gpointer data); typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer data); typedef enum { G_SIGNAL_RUN_FIRST = 1 << 0, G_SIGNAL_RUN_LAST = 1 << 1, G_SIGNAL_RUN_CLEANUP = 1 << 2, G_SIGNAL_NO_RECURSE = 1 << 3, G_SIGNAL_DETAILED = 1 << 4, G_SIGNAL_ACTION = 1 << 5, G_SIGNAL_NO_HOOKS = 1 << 6 } GSignalFlags; typedef enum { G_CONNECT_AFTER = 1 << 0, G_CONNECT_SWAPPED = 1 << 1 } GConnectFlags; typedef enum { G_SIGNAL_MATCH_ID = 1 << 0, G_SIGNAL_MATCH_DETAIL = 1 << 1, G_SIGNAL_MATCH_CLOSURE = 1 << 2, G_SIGNAL_MATCH_FUNC = 1 << 3, G_SIGNAL_MATCH_DATA = 1 << 4, G_SIGNAL_MATCH_UNBLOCKED = 1 << 5 } GSignalMatchType; struct _GSignalInvocationHint { guint signal_id; GQuark detail; GSignalFlags run_type; }; struct _GSignalQuery { guint signal_id; const gchar *signal_name; GType itype; GSignalFlags signal_flags; GType return_type; guint n_params; const GType *param_types; }; guint g_signal_newv (const gchar *signal_name, GType itype, GSignalFlags signal_flags, GClosure *class_closure, GSignalAccumulator accumulator, gpointer accu_data, GSignalCMarshaller c_marshaller, GType return_type, guint n_params, GType *param_types); guint g_signal_new_valist (const gchar *signal_name, GType itype, GSignalFlags signal_flags, GClosure *class_closure, GSignalAccumulator accumulator, gpointer accu_data, GSignalCMarshaller c_marshaller, GType return_type, guint n_params, va_list args); guint g_signal_new (const gchar *signal_name, GType itype, GSignalFlags signal_flags, guint class_offset, GSignalAccumulator accumulator, gpointer accu_data, GSignalCMarshaller c_marshaller, GType return_type, guint n_params, ...); void g_signal_emitv (const GValue *instance_and_params, guint signal_id, GQuark detail, GValue *return_value); void g_signal_emit_valist (gpointer instance, guint signal_id, GQuark detail, va_list var_args); void g_signal_emit (gpointer instance, guint signal_id, GQuark detail, ...); void g_signal_emit_by_name (gpointer instance, const gchar *detailed_signal, ...); guint g_signal_lookup (const gchar *name, GType itype); const gchar* g_signal_name (guint signal_id); void g_signal_query (guint signal_id, GSignalQuery *query); guint* g_signal_list_ids (GType itype, guint *n_ids); gboolean g_signal_parse_name (const gchar *detailed_signal, GType itype, guint *signal_id_p, GQuark *detail_p, gboolean force_detail_quark); GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance); void g_signal_stop_emission (gpointer instance, guint signal_id, GQuark detail); void g_signal_stop_emission_by_name (gpointer instance, const gchar *detailed_signal); gulong g_signal_add_emission_hook (guint signal_id, GQuark detail, GSignalEmissionHook hook_func, gpointer hook_data, GDestroyNotify data_destroy); void g_signal_remove_emission_hook (guint signal_id, gulong hook_id); gboolean g_signal_has_handler_pending (gpointer instance, guint signal_id, GQuark detail, gboolean may_be_blocked); gulong g_signal_connect_closure_by_id (gpointer instance, guint signal_id, GQuark detail, GClosure *closure, gboolean after); gulong g_signal_connect_closure (gpointer instance, const gchar *detailed_signal, GClosure *closure, gboolean after); gulong g_signal_connect_data (gpointer instance, const gchar *detailed_signal, GCallback c_handler, gpointer data, GClosureNotify destroy_data, GConnectFlags connect_flags); void g_signal_handler_block (gpointer instance, gulong handler_id); void g_signal_handler_unblock (gpointer instance, gulong handler_id); void g_signal_handler_disconnect (gpointer instance, gulong handler_id); gboolean g_signal_handler_is_connected (gpointer instance, gulong handler_id); gulong g_signal_handler_find (gpointer instance, GSignalMatchType mask, guint signal_id, GQuark detail, GClosure *closure, gpointer func, gpointer data); guint g_signal_handlers_block_matched (gpointer instance, GSignalMatchType mask, guint signal_id, GQuark detail, GClosure *closure, gpointer func, gpointer data); guint g_signal_handlers_unblock_matched (gpointer instance, GSignalMatchType mask, guint signal_id, GQuark detail, GClosure *closure, gpointer func, gpointer data); guint g_signal_handlers_disconnect_matched (gpointer instance, GSignalMatchType mask, guint signal_id, GQuark detail, GClosure *closure, gpointer func, gpointer data); void g_signal_override_class_closure (guint signal_id, GType instance_type, GClosure *class_closure); void g_signal_chain_from_overridden (const GValue *instance_and_params, GValue *return_value); # 259 "/usr/include/glib-2.0/gobject/gsignal.h" gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer dummy); void g_signal_handlers_destroy (gpointer instance); void _g_signals_destroy (GType itype); # 31 "/usr/include/glib-2.0/gobject/gobject.h" 2 # 58 "/usr/include/glib-2.0/gobject/gobject.h" typedef struct _GObject GObject; typedef struct _GObjectClass GObjectClass; typedef struct _GObject GInitiallyUnowned; typedef struct _GObjectClass GInitiallyUnownedClass; typedef struct _GObjectConstructParam GObjectConstructParam; typedef void (*GObjectGetPropertyFunc) (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); typedef void (*GObjectSetPropertyFunc) (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); typedef void (*GObjectFinalizeFunc) (GObject *object); typedef void (*GWeakNotify) (gpointer data, GObject *where_the_object_was); struct _GObject { GTypeInstance g_type_instance; volatile guint ref_count; GData *qdata; }; struct _GObjectClass { GTypeClass g_type_class; GSList *construct_properties; GObject* (*constructor) (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties); void (*set_property) (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); void (*get_property) (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); void (*dispose) (GObject *object); void (*finalize) (GObject *object); void (*dispatch_properties_changed) (GObject *object, guint n_pspecs, GParamSpec **pspecs); void (*notify) (GObject *object, GParamSpec *pspec); void (*constructed) (GObject *object); gpointer pdummy[7]; }; struct _GObjectConstructParam { GParamSpec *pspec; GValue *value; }; GType g_initially_unowned_get_type (void); void g_object_class_install_property (GObjectClass *oclass, guint property_id, GParamSpec *pspec); GParamSpec* g_object_class_find_property (GObjectClass *oclass, const gchar *property_name); GParamSpec**g_object_class_list_properties (GObjectClass *oclass, guint *n_properties); void g_object_class_override_property (GObjectClass *oclass, guint property_id, const gchar *name); void g_object_interface_install_property (gpointer g_iface, GParamSpec *pspec); GParamSpec* g_object_interface_find_property (gpointer g_iface, const gchar *property_name); GParamSpec**g_object_interface_list_properties (gpointer g_iface, guint *n_properties_p); gpointer g_object_new (GType object_type, const gchar *first_property_name, ...); gpointer g_object_newv (GType object_type, guint n_parameters, GParameter *parameters); GObject* g_object_new_valist (GType object_type, const gchar *first_property_name, va_list var_args); void g_object_set (gpointer object, const gchar *first_property_name, ...) __attribute__((__sentinel__)); void g_object_get (gpointer object, const gchar *first_property_name, ...) __attribute__((__sentinel__)); gpointer g_object_connect (gpointer object, const gchar *signal_spec, ...) __attribute__((__sentinel__)); void g_object_disconnect (gpointer object, const gchar *signal_spec, ...) __attribute__((__sentinel__)); void g_object_set_valist (GObject *object, const gchar *first_property_name, va_list var_args); void g_object_get_valist (GObject *object, const gchar *first_property_name, va_list var_args); void g_object_set_property (GObject *object, const gchar *property_name, const GValue *value); void g_object_get_property (GObject *object, const gchar *property_name, GValue *value); void g_object_freeze_notify (GObject *object); void g_object_notify (GObject *object, const gchar *property_name); void g_object_thaw_notify (GObject *object); gboolean g_object_is_floating (gpointer object); gpointer g_object_ref_sink (gpointer object); gpointer g_object_ref (gpointer object); void g_object_unref (gpointer object); void g_object_weak_ref (GObject *object, GWeakNotify notify, gpointer data); void g_object_weak_unref (GObject *object, GWeakNotify notify, gpointer data); void g_object_add_weak_pointer (GObject *object, gpointer *weak_pointer_location); void g_object_remove_weak_pointer (GObject *object, gpointer *weak_pointer_location); typedef void (*GToggleNotify) (gpointer data, GObject *object, gboolean is_last_ref); void g_object_add_toggle_ref (GObject *object, GToggleNotify notify, gpointer data); void g_object_remove_toggle_ref (GObject *object, GToggleNotify notify, gpointer data); gpointer g_object_get_qdata (GObject *object, GQuark quark); void g_object_set_qdata (GObject *object, GQuark quark, gpointer data); void g_object_set_qdata_full (GObject *object, GQuark quark, gpointer data, GDestroyNotify destroy); gpointer g_object_steal_qdata (GObject *object, GQuark quark); gpointer g_object_get_data (GObject *object, const gchar *key); void g_object_set_data (GObject *object, const gchar *key, gpointer data); void g_object_set_data_full (GObject *object, const gchar *key, gpointer data, GDestroyNotify destroy); gpointer g_object_steal_data (GObject *object, const gchar *key); void g_object_watch_closure (GObject *object, GClosure *closure); GClosure* g_cclosure_new_object (GCallback callback_func, GObject *object); GClosure* g_cclosure_new_object_swap (GCallback callback_func, GObject *object); GClosure* g_closure_new_object (guint sizeof_closure, GObject *object); void g_value_set_object (GValue *value, gpointer v_object); gpointer g_value_get_object (const GValue *value); gpointer g_value_dup_object (const GValue *value); gulong g_signal_connect_object (gpointer instance, const gchar *detailed_signal, GCallback c_handler, gpointer gobject, GConnectFlags connect_flags); void g_object_force_floating (GObject *object); void g_object_run_dispose (GObject *object); void g_value_take_object (GValue *value, gpointer v_object); void g_value_set_object_take_ownership (GValue *value, gpointer v_object); gsize g_object_compat_control (gsize what, gpointer data); # 284 "/usr/include/glib-2.0/gobject/gobject.h" # 28 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1 # 29 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gparamspecs.h" 1 # 28 "/usr/include/glib-2.0/gobject/gparamspecs.h" # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 # 29 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 # 1 "/usr/include/glib-2.0/gobject/genums.h" 1 # 30 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 # 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1 # 31 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1 # 32 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 # 105 "/usr/include/glib-2.0/gobject/gparamspecs.h" typedef struct _GParamSpecChar GParamSpecChar; typedef struct _GParamSpecUChar GParamSpecUChar; typedef struct _GParamSpecBoolean GParamSpecBoolean; typedef struct _GParamSpecInt GParamSpecInt; typedef struct _GParamSpecUInt GParamSpecUInt; typedef struct _GParamSpecLong GParamSpecLong; typedef struct _GParamSpecULong GParamSpecULong; typedef struct _GParamSpecInt64 GParamSpecInt64; typedef struct _GParamSpecUInt64 GParamSpecUInt64; typedef struct _GParamSpecUnichar GParamSpecUnichar; typedef struct _GParamSpecEnum GParamSpecEnum; typedef struct _GParamSpecFlags GParamSpecFlags; typedef struct _GParamSpecFloat GParamSpecFloat; typedef struct _GParamSpecDouble GParamSpecDouble; typedef struct _GParamSpecString GParamSpecString; typedef struct _GParamSpecParam GParamSpecParam; typedef struct _GParamSpecBoxed GParamSpecBoxed; typedef struct _GParamSpecPointer GParamSpecPointer; typedef struct _GParamSpecValueArray GParamSpecValueArray; typedef struct _GParamSpecObject GParamSpecObject; typedef struct _GParamSpecOverride GParamSpecOverride; typedef struct _GParamSpecGType GParamSpecGType; struct _GParamSpecChar { GParamSpec parent_instance; gint8 minimum; gint8 maximum; gint8 default_value; }; struct _GParamSpecUChar { GParamSpec parent_instance; guint8 minimum; guint8 maximum; guint8 default_value; }; struct _GParamSpecBoolean { GParamSpec parent_instance; gboolean default_value; }; struct _GParamSpecInt { GParamSpec parent_instance; gint minimum; gint maximum; gint default_value; }; struct _GParamSpecUInt { GParamSpec parent_instance; guint minimum; guint maximum; guint default_value; }; struct _GParamSpecLong { GParamSpec parent_instance; glong minimum; glong maximum; glong default_value; }; struct _GParamSpecULong { GParamSpec parent_instance; gulong minimum; gulong maximum; gulong default_value; }; struct _GParamSpecInt64 { GParamSpec parent_instance; gint64 minimum; gint64 maximum; gint64 default_value; }; struct _GParamSpecUInt64 { GParamSpec parent_instance; guint64 minimum; guint64 maximum; guint64 default_value; }; struct _GParamSpecUnichar { GParamSpec parent_instance; gunichar default_value; }; struct _GParamSpecEnum { GParamSpec parent_instance; GEnumClass *enum_class; gint default_value; }; struct _GParamSpecFlags { GParamSpec parent_instance; GFlagsClass *flags_class; guint default_value; }; struct _GParamSpecFloat { GParamSpec parent_instance; gfloat minimum; gfloat maximum; gfloat default_value; gfloat epsilon; }; struct _GParamSpecDouble { GParamSpec parent_instance; gdouble minimum; gdouble maximum; gdouble default_value; gdouble epsilon; }; struct _GParamSpecString { GParamSpec parent_instance; gchar *default_value; gchar *cset_first; gchar *cset_nth; gchar substitutor; guint null_fold_if_empty : 1; guint ensure_non_null : 1; }; struct _GParamSpecParam { GParamSpec parent_instance; }; struct _GParamSpecBoxed { GParamSpec parent_instance; }; struct _GParamSpecPointer { GParamSpec parent_instance; }; struct _GParamSpecValueArray { GParamSpec parent_instance; GParamSpec *element_spec; guint fixed_n_elements; }; struct _GParamSpecObject { GParamSpec parent_instance; }; struct _GParamSpecOverride { GParamSpec parent_instance; GParamSpec *overridden; }; struct _GParamSpecGType { GParamSpec parent_instance; GType is_a_type; }; GParamSpec* g_param_spec_char (const gchar *name, const gchar *nick, const gchar *blurb, gint8 minimum, gint8 maximum, gint8 default_value, GParamFlags flags); GParamSpec* g_param_spec_uchar (const gchar *name, const gchar *nick, const gchar *blurb, guint8 minimum, guint8 maximum, guint8 default_value, GParamFlags flags); GParamSpec* g_param_spec_boolean (const gchar *name, const gchar *nick, const gchar *blurb, gboolean default_value, GParamFlags flags); GParamSpec* g_param_spec_int (const gchar *name, const gchar *nick, const gchar *blurb, gint minimum, gint maximum, gint default_value, GParamFlags flags); GParamSpec* g_param_spec_uint (const gchar *name, const gchar *nick, const gchar *blurb, guint minimum, guint maximum, guint default_value, GParamFlags flags); GParamSpec* g_param_spec_long (const gchar *name, const gchar *nick, const gchar *blurb, glong minimum, glong maximum, glong default_value, GParamFlags flags); GParamSpec* g_param_spec_ulong (const gchar *name, const gchar *nick, const gchar *blurb, gulong minimum, gulong maximum, gulong default_value, GParamFlags flags); GParamSpec* g_param_spec_int64 (const gchar *name, const gchar *nick, const gchar *blurb, gint64 minimum, gint64 maximum, gint64 default_value, GParamFlags flags); GParamSpec* g_param_spec_uint64 (const gchar *name, const gchar *nick, const gchar *blurb, guint64 minimum, guint64 maximum, guint64 default_value, GParamFlags flags); GParamSpec* g_param_spec_unichar (const gchar *name, const gchar *nick, const gchar *blurb, gunichar default_value, GParamFlags flags); GParamSpec* g_param_spec_enum (const gchar *name, const gchar *nick, const gchar *blurb, GType enum_type, gint default_value, GParamFlags flags); GParamSpec* g_param_spec_flags (const gchar *name, const gchar *nick, const gchar *blurb, GType flags_type, guint default_value, GParamFlags flags); GParamSpec* g_param_spec_float (const gchar *name, const gchar *nick, const gchar *blurb, gfloat minimum, gfloat maximum, gfloat default_value, GParamFlags flags); GParamSpec* g_param_spec_double (const gchar *name, const gchar *nick, const gchar *blurb, gdouble minimum, gdouble maximum, gdouble default_value, GParamFlags flags); GParamSpec* g_param_spec_string (const gchar *name, const gchar *nick, const gchar *blurb, const gchar *default_value, GParamFlags flags); GParamSpec* g_param_spec_param (const gchar *name, const gchar *nick, const gchar *blurb, GType param_type, GParamFlags flags); GParamSpec* g_param_spec_boxed (const gchar *name, const gchar *nick, const gchar *blurb, GType boxed_type, GParamFlags flags); GParamSpec* g_param_spec_pointer (const gchar *name, const gchar *nick, const gchar *blurb, GParamFlags flags); GParamSpec* g_param_spec_value_array (const gchar *name, const gchar *nick, const gchar *blurb, GParamSpec *element_spec, GParamFlags flags); GParamSpec* g_param_spec_object (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags); GParamSpec* g_param_spec_override (const gchar *name, GParamSpec *overridden); GParamSpec* g_param_spec_gtype (const gchar *name, const gchar *nick, const gchar *blurb, GType is_a_type, GParamFlags flags); # 435 "/usr/include/glib-2.0/gobject/gparamspecs.h" extern GType *g_param_spec_types; # 30 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1 # 31 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 1 # 26 "/usr/include/glib-2.0/gobject/gsourceclosure.h" # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1 # 27 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 2 void g_source_set_closure (GSource *source, GClosure *closure); GType g_io_channel_get_type (void); GType g_io_condition_get_type (void); # 32 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 # 33 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gtypemodule.h" 1 # 26 "/usr/include/glib-2.0/gobject/gtypemodule.h" # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1 # 27 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2 # 1 "/usr/include/glib-2.0/gobject/genums.h" 1 # 28 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2 typedef struct _GTypeModule GTypeModule; typedef struct _GTypeModuleClass GTypeModuleClass; # 41 "/usr/include/glib-2.0/gobject/gtypemodule.h" struct _GTypeModule { GObject parent_instance; guint use_count; GSList *type_infos; GSList *interface_infos; gchar *name; }; struct _GTypeModuleClass { GObjectClass parent_class; gboolean (* load) (GTypeModule *module); void (* unload) (GTypeModule *module); void (*reserved1) (void); void (*reserved2) (void); void (*reserved3) (void); void (*reserved4) (void); }; # 112 "/usr/include/glib-2.0/gobject/gtypemodule.h" GType g_type_module_get_type (void) __attribute__((__const__)); gboolean g_type_module_use (GTypeModule *module); void g_type_module_unuse (GTypeModule *module); void g_type_module_set_name (GTypeModule *module, const gchar *name); GType g_type_module_register_type (GTypeModule *module, GType parent_type, const gchar *type_name, const GTypeInfo *type_info, GTypeFlags flags); void g_type_module_add_interface (GTypeModule *module, GType instance_type, GType interface_type, const GInterfaceInfo *interface_info); GType g_type_module_register_enum (GTypeModule *module, const gchar *name, const GEnumValue *const_static_values); GType g_type_module_register_flags (GTypeModule *module, const gchar *name, const GFlagsValue *const_static_values); # 34 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 1 # 26 "/usr/include/glib-2.0/gobject/gtypeplugin.h" # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 # 27 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 2 # 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h" typedef struct _GTypePluginClass GTypePluginClass; typedef void (*GTypePluginUse) (GTypePlugin *plugin); typedef void (*GTypePluginUnuse) (GTypePlugin *plugin); typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin, GType g_type, GTypeInfo *info, GTypeValueTable *value_table); typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin, GType instance_type, GType interface_type, GInterfaceInfo *info); struct _GTypePluginClass { GTypeInterface base_iface; GTypePluginUse use_plugin; GTypePluginUnuse unuse_plugin; GTypePluginCompleteTypeInfo complete_type_info; GTypePluginCompleteInterfaceInfo complete_interface_info; }; GType g_type_plugin_get_type (void) __attribute__((__const__)); void g_type_plugin_use (GTypePlugin *plugin); void g_type_plugin_unuse (GTypePlugin *plugin); void g_type_plugin_complete_type_info (GTypePlugin *plugin, GType g_type, GTypeInfo *info, GTypeValueTable *value_table); void g_type_plugin_complete_interface_info (GTypePlugin *plugin, GType instance_type, GType interface_type, GInterfaceInfo *info); # 35 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 # 36 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gvaluearray.h" 1 # 28 "/usr/include/glib-2.0/gobject/gvaluearray.h" # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 # 29 "/usr/include/glib-2.0/gobject/gvaluearray.h" 2 typedef struct _GValueArray GValueArray; struct _GValueArray { guint n_values; GValue *values; guint n_prealloced; }; GValue* g_value_array_get_nth (GValueArray *value_array, guint index_); GValueArray* g_value_array_new (guint n_prealloced); void g_value_array_free (GValueArray *value_array); GValueArray* g_value_array_copy (const GValueArray *value_array); GValueArray* g_value_array_prepend (GValueArray *value_array, const GValue *value); GValueArray* g_value_array_append (GValueArray *value_array, const GValue *value); GValueArray* g_value_array_insert (GValueArray *value_array, guint index_, const GValue *value); GValueArray* g_value_array_remove (GValueArray *value_array, guint index_); GValueArray* g_value_array_sort (GValueArray *value_array, GCompareFunc compare_func); GValueArray* g_value_array_sort_with_data (GValueArray *value_array, GCompareDataFunc compare_func, gpointer user_data); # 37 "/usr/include/glib-2.0/glib-object.h" 2 # 1 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 1 # 28 "/usr/include/glib-2.0/gobject/gvaluetypes.h" # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 # 29 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 2 # 51 "/usr/include/glib-2.0/gobject/gvaluetypes.h" void g_value_set_char (GValue *value, gchar v_char); gchar g_value_get_char (const GValue *value); void g_value_set_uchar (GValue *value, guchar v_uchar); guchar g_value_get_uchar (const GValue *value); void g_value_set_boolean (GValue *value, gboolean v_boolean); gboolean g_value_get_boolean (const GValue *value); void g_value_set_int (GValue *value, gint v_int); gint g_value_get_int (const GValue *value); void g_value_set_uint (GValue *value, guint v_uint); guint g_value_get_uint (const GValue *value); void g_value_set_long (GValue *value, glong v_long); glong g_value_get_long (const GValue *value); void g_value_set_ulong (GValue *value, gulong v_ulong); gulong g_value_get_ulong (const GValue *value); void g_value_set_int64 (GValue *value, gint64 v_int64); gint64 g_value_get_int64 (const GValue *value); void g_value_set_uint64 (GValue *value, guint64 v_uint64); guint64 g_value_get_uint64 (const GValue *value); void g_value_set_float (GValue *value, gfloat v_float); gfloat g_value_get_float (const GValue *value); void g_value_set_double (GValue *value, gdouble v_double); gdouble g_value_get_double (const GValue *value); void g_value_set_string (GValue *value, const gchar *v_string); void g_value_set_static_string (GValue *value, const gchar *v_string); const gchar* g_value_get_string (const GValue *value); gchar* g_value_dup_string (const GValue *value); void g_value_set_pointer (GValue *value, gpointer v_pointer); gpointer g_value_get_pointer (const GValue *value); GType g_gtype_get_type (void); void g_value_set_gtype (GValue *value, GType v_gtype); GType g_value_get_gtype (const GValue *value); GType g_pointer_type_register_static (const gchar *name); gchar* g_strdup_value_contents (const GValue *value); void g_value_take_string (GValue *value, gchar *v_string); void g_value_set_string_take_ownership (GValue *value, gchar *v_string); typedef gchar* gchararray; # 38 "/usr/include/glib-2.0/glib-object.h" 2 # 27 "/usr/include/pango-1.0/pango/pango-types.h" 2 typedef struct _PangoLogAttr PangoLogAttr; typedef struct _PangoEngineLang PangoEngineLang; typedef struct _PangoEngineShape PangoEngineShape; typedef struct _PangoFont PangoFont; typedef struct _PangoFontMap PangoFontMap; typedef struct _PangoRectangle PangoRectangle; typedef guint32 PangoGlyph; # 64 "/usr/include/pango-1.0/pango/pango-types.h" int pango_units_from_double (double d) __attribute__((__const__)); double pango_units_to_double (int i) __attribute__((__const__)); struct _PangoRectangle { int x; int y; int width; int height; }; # 87 "/usr/include/pango-1.0/pango/pango-types.h" void pango_extents_to_pixels (PangoRectangle *ink_rect, PangoRectangle *logical_rect); # 118 "/usr/include/pango-1.0/pango/pango-types.h" typedef enum { PANGO_DIRECTION_LTR, PANGO_DIRECTION_RTL, PANGO_DIRECTION_TTB_LTR, PANGO_DIRECTION_TTB_RTL, PANGO_DIRECTION_WEAK_LTR, PANGO_DIRECTION_WEAK_RTL, PANGO_DIRECTION_NEUTRAL } PangoDirection; PangoDirection pango_unichar_direction (gunichar ch) __attribute__((__const__)); PangoDirection pango_find_base_dir (const gchar *text, gint length); gboolean pango_get_mirror_char (gunichar ch, gunichar *mirrored_ch); # 1 "/usr/include/pango-1.0/pango/pango-gravity.h" 1 # 27 "/usr/include/pango-1.0/pango/pango-gravity.h" # 50 "/usr/include/pango-1.0/pango/pango-gravity.h" typedef enum { PANGO_GRAVITY_SOUTH, PANGO_GRAVITY_EAST, PANGO_GRAVITY_NORTH, PANGO_GRAVITY_WEST, PANGO_GRAVITY_AUTO } PangoGravity; # 77 "/usr/include/pango-1.0/pango/pango-gravity.h" typedef enum { PANGO_GRAVITY_HINT_NATURAL, PANGO_GRAVITY_HINT_STRONG, PANGO_GRAVITY_HINT_LINE } PangoGravityHint; # 97 "/usr/include/pango-1.0/pango/pango-gravity.h" # 1 "/usr/include/pango-1.0/pango/pango-matrix.h" 1 # 28 "/usr/include/pango-1.0/pango/pango-matrix.h" typedef struct _PangoMatrix PangoMatrix; # 52 "/usr/include/pango-1.0/pango/pango-matrix.h" struct _PangoMatrix { double xx; double xy; double yx; double yy; double x0; double y0; }; # 85 "/usr/include/pango-1.0/pango/pango-matrix.h" # 1 "/usr/include/pango-1.0/pango/pango-types.h" 1 # 86 "/usr/include/pango-1.0/pango/pango-matrix.h" 2 GType pango_matrix_get_type (void) __attribute__((__const__)); PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix); void pango_matrix_free (PangoMatrix *matrix); void pango_matrix_translate (PangoMatrix *matrix, double tx, double ty); void pango_matrix_scale (PangoMatrix *matrix, double scale_x, double scale_y); void pango_matrix_rotate (PangoMatrix *matrix, double degrees); void pango_matrix_concat (PangoMatrix *matrix, const PangoMatrix *new_matrix); void pango_matrix_transform_point (const PangoMatrix *matrix, double *x, double *y); void pango_matrix_transform_distance (const PangoMatrix *matrix, double *dx, double *dy); void pango_matrix_transform_rectangle (const PangoMatrix *matrix, PangoRectangle *rect); void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix, PangoRectangle *rect); double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) __attribute__((__pure__)); # 98 "/usr/include/pango-1.0/pango/pango-gravity.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-script.h" 1 # 27 "/usr/include/pango-1.0/pango/pango-script.h" # 1 "/usr/include/pango-1.0/pango/pango-language.h" 1 # 28 "/usr/include/pango-1.0/pango/pango-language.h" typedef struct _PangoLanguage PangoLanguage; GType pango_language_get_type (void) __attribute__((__const__)); PangoLanguage *pango_language_from_string (const char *language); const char *pango_language_get_sample_string (PangoLanguage *language) __attribute__((__const__)); PangoLanguage *pango_language_get_default (void) __attribute__((__const__)); gboolean pango_language_matches (PangoLanguage *language, const char *range_list) __attribute__((__pure__)); # 28 "/usr/include/pango-1.0/pango/pango-script.h" 2 typedef struct _PangoScriptIter PangoScriptIter; typedef enum { PANGO_SCRIPT_INVALID_CODE = -1, PANGO_SCRIPT_COMMON = 0, PANGO_SCRIPT_INHERITED, PANGO_SCRIPT_ARABIC, PANGO_SCRIPT_ARMENIAN, PANGO_SCRIPT_BENGALI, PANGO_SCRIPT_BOPOMOFO, PANGO_SCRIPT_CHEROKEE, PANGO_SCRIPT_COPTIC, PANGO_SCRIPT_CYRILLIC, PANGO_SCRIPT_DESERET, PANGO_SCRIPT_DEVANAGARI, PANGO_SCRIPT_ETHIOPIC, PANGO_SCRIPT_GEORGIAN, PANGO_SCRIPT_GOTHIC, PANGO_SCRIPT_GREEK, PANGO_SCRIPT_GUJARATI, PANGO_SCRIPT_GURMUKHI, PANGO_SCRIPT_HAN, PANGO_SCRIPT_HANGUL, PANGO_SCRIPT_HEBREW, PANGO_SCRIPT_HIRAGANA, PANGO_SCRIPT_KANNADA, PANGO_SCRIPT_KATAKANA, PANGO_SCRIPT_KHMER, PANGO_SCRIPT_LAO, PANGO_SCRIPT_LATIN, PANGO_SCRIPT_MALAYALAM, PANGO_SCRIPT_MONGOLIAN, PANGO_SCRIPT_MYANMAR, PANGO_SCRIPT_OGHAM, PANGO_SCRIPT_OLD_ITALIC, PANGO_SCRIPT_ORIYA, PANGO_SCRIPT_RUNIC, PANGO_SCRIPT_SINHALA, PANGO_SCRIPT_SYRIAC, PANGO_SCRIPT_TAMIL, PANGO_SCRIPT_TELUGU, PANGO_SCRIPT_THAANA, PANGO_SCRIPT_THAI, PANGO_SCRIPT_TIBETAN, PANGO_SCRIPT_CANADIAN_ABORIGINAL, PANGO_SCRIPT_YI, PANGO_SCRIPT_TAGALOG, PANGO_SCRIPT_HANUNOO, PANGO_SCRIPT_BUHID, PANGO_SCRIPT_TAGBANWA, PANGO_SCRIPT_BRAILLE, PANGO_SCRIPT_CYPRIOT, PANGO_SCRIPT_LIMBU, PANGO_SCRIPT_OSMANYA, PANGO_SCRIPT_SHAVIAN, PANGO_SCRIPT_LINEAR_B, PANGO_SCRIPT_TAI_LE, PANGO_SCRIPT_UGARITIC, PANGO_SCRIPT_NEW_TAI_LUE, PANGO_SCRIPT_BUGINESE, PANGO_SCRIPT_GLAGOLITIC, PANGO_SCRIPT_TIFINAGH, PANGO_SCRIPT_SYLOTI_NAGRI, PANGO_SCRIPT_OLD_PERSIAN, PANGO_SCRIPT_KHAROSHTHI, PANGO_SCRIPT_UNKNOWN, PANGO_SCRIPT_BALINESE, PANGO_SCRIPT_CUNEIFORM, PANGO_SCRIPT_PHOENICIAN, PANGO_SCRIPT_PHAGS_PA, PANGO_SCRIPT_NKO } PangoScript; PangoScript pango_script_for_unichar (gunichar ch) __attribute__((__const__)); PangoScriptIter *pango_script_iter_new (const char *text, int length); void pango_script_iter_get_range (PangoScriptIter *iter, const char **start, const char **end, PangoScript *script); gboolean pango_script_iter_next (PangoScriptIter *iter); void pango_script_iter_free (PangoScriptIter *iter); PangoLanguage *pango_script_get_sample_language (PangoScript script) __attribute__((__pure__)); gboolean pango_language_includes_script (PangoLanguage *language, PangoScript script) __attribute__((__pure__)); # 99 "/usr/include/pango-1.0/pango/pango-gravity.h" 2 double pango_gravity_to_rotation (PangoGravity gravity) __attribute__((__const__)); PangoGravity pango_gravity_get_for_matrix (const PangoMatrix *matrix) __attribute__((__pure__)); PangoGravity pango_gravity_get_for_script (PangoScript script, PangoGravity base_gravity, PangoGravityHint hint) __attribute__((__const__)); # 139 "/usr/include/pango-1.0/pango/pango-types.h" 2 # 27 "/usr/include/pango-1.0/pango/pango-font.h" 2 typedef struct _PangoFontDescription PangoFontDescription; typedef struct _PangoFontMetrics PangoFontMetrics; # 43 "/usr/include/pango-1.0/pango/pango-font.h" typedef enum { PANGO_STYLE_NORMAL, PANGO_STYLE_OBLIQUE, PANGO_STYLE_ITALIC } PangoStyle; typedef enum { PANGO_VARIANT_NORMAL, PANGO_VARIANT_SMALL_CAPS } PangoVariant; typedef enum { PANGO_WEIGHT_ULTRALIGHT = 200, PANGO_WEIGHT_LIGHT = 300, PANGO_WEIGHT_NORMAL = 400, PANGO_WEIGHT_SEMIBOLD = 600, PANGO_WEIGHT_BOLD = 700, PANGO_WEIGHT_ULTRABOLD = 800, PANGO_WEIGHT_HEAVY = 900 } PangoWeight; typedef enum { PANGO_STRETCH_ULTRA_CONDENSED, PANGO_STRETCH_EXTRA_CONDENSED, PANGO_STRETCH_CONDENSED, PANGO_STRETCH_SEMI_CONDENSED, PANGO_STRETCH_NORMAL, PANGO_STRETCH_SEMI_EXPANDED, PANGO_STRETCH_EXPANDED, PANGO_STRETCH_EXTRA_EXPANDED, PANGO_STRETCH_ULTRA_EXPANDED } PangoStretch; typedef enum { PANGO_FONT_MASK_FAMILY = 1 << 0, PANGO_FONT_MASK_STYLE = 1 << 1, PANGO_FONT_MASK_VARIANT = 1 << 2, PANGO_FONT_MASK_WEIGHT = 1 << 3, PANGO_FONT_MASK_STRETCH = 1 << 4, PANGO_FONT_MASK_SIZE = 1 << 5, PANGO_FONT_MASK_GRAVITY = 1 << 6 } PangoFontMask; # 101 "/usr/include/pango-1.0/pango/pango-font.h" GType pango_font_description_get_type (void) __attribute__((__const__)); PangoFontDescription *pango_font_description_new (void); PangoFontDescription *pango_font_description_copy (const PangoFontDescription *desc); PangoFontDescription *pango_font_description_copy_static (const PangoFontDescription *desc); guint pango_font_description_hash (const PangoFontDescription *desc) __attribute__((__pure__)); gboolean pango_font_description_equal (const PangoFontDescription *desc1, const PangoFontDescription *desc2) __attribute__((__pure__)); void pango_font_description_free (PangoFontDescription *desc); void pango_font_descriptions_free (PangoFontDescription **descs, int n_descs); void pango_font_description_set_family (PangoFontDescription *desc, const char *family); void pango_font_description_set_family_static (PangoFontDescription *desc, const char *family); const char *pango_font_description_get_family (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_set_style (PangoFontDescription *desc, PangoStyle style); PangoStyle pango_font_description_get_style (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_set_variant (PangoFontDescription *desc, PangoVariant variant); PangoVariant pango_font_description_get_variant (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_set_weight (PangoFontDescription *desc, PangoWeight weight); PangoWeight pango_font_description_get_weight (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_set_stretch (PangoFontDescription *desc, PangoStretch stretch); PangoStretch pango_font_description_get_stretch (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_set_size (PangoFontDescription *desc, gint size); gint pango_font_description_get_size (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_set_absolute_size (PangoFontDescription *desc, double size); gboolean pango_font_description_get_size_is_absolute (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_set_gravity (PangoFontDescription *desc, PangoGravity gravity); PangoGravity pango_font_description_get_gravity (const PangoFontDescription *desc) __attribute__((__pure__)); PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc) __attribute__((__pure__)); void pango_font_description_unset_fields (PangoFontDescription *desc, PangoFontMask to_unset); void pango_font_description_merge (PangoFontDescription *desc, const PangoFontDescription *desc_to_merge, gboolean replace_existing); void pango_font_description_merge_static (PangoFontDescription *desc, const PangoFontDescription *desc_to_merge, gboolean replace_existing); gboolean pango_font_description_better_match (const PangoFontDescription *desc, const PangoFontDescription *old_match, const PangoFontDescription *new_match) __attribute__((__pure__)); PangoFontDescription *pango_font_description_from_string (const char *str); char * pango_font_description_to_string (const PangoFontDescription *desc); char * pango_font_description_to_filename (const PangoFontDescription *desc); GType pango_font_metrics_get_type (void) __attribute__((__const__)); PangoFontMetrics *pango_font_metrics_ref (PangoFontMetrics *metrics); void pango_font_metrics_unref (PangoFontMetrics *metrics); int pango_font_metrics_get_ascent (PangoFontMetrics *metrics) __attribute__((__pure__)); int pango_font_metrics_get_descent (PangoFontMetrics *metrics) __attribute__((__pure__)); int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics) __attribute__((__pure__)); int pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics) __attribute__((__pure__)); int pango_font_metrics_get_underline_position (PangoFontMetrics *metrics) __attribute__((__pure__)); int pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics) __attribute__((__pure__)); int pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics) __attribute__((__pure__)); int pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics) __attribute__((__pure__)); # 203 "/usr/include/pango-1.0/pango/pango-font.h" typedef struct _PangoFontFamily PangoFontFamily; typedef struct _PangoFontFace PangoFontFace; GType pango_font_family_get_type (void) __attribute__((__const__)); void pango_font_family_list_faces (PangoFontFamily *family, PangoFontFace ***faces, int *n_faces); const char *pango_font_family_get_name (PangoFontFamily *family) __attribute__((__pure__)); gboolean pango_font_family_is_monospace (PangoFontFamily *family) __attribute__((__pure__)); # 257 "/usr/include/pango-1.0/pango/pango-font.h" GType pango_font_face_get_type (void) __attribute__((__const__)); PangoFontDescription *pango_font_face_describe (PangoFontFace *face); const char *pango_font_face_get_face_name (PangoFontFace *face) __attribute__((__pure__)); void pango_font_face_list_sizes (PangoFontFace *face, int **sizes, int *n_sizes); gboolean pango_font_face_is_synthesized (PangoFontFace *face) __attribute__((__pure__)); # 309 "/usr/include/pango-1.0/pango/pango-font.h" GType pango_font_get_type (void) __attribute__((__const__)); PangoFontDescription *pango_font_describe (PangoFont *font); PangoFontDescription *pango_font_describe_with_absolute_size (PangoFont *font); PangoCoverage * pango_font_get_coverage (PangoFont *font, PangoLanguage *language); PangoEngineShape * pango_font_find_shaper (PangoFont *font, PangoLanguage *language, guint32 ch); PangoFontMetrics * pango_font_get_metrics (PangoFont *font, PangoLanguage *language); void pango_font_get_glyph_extents (PangoFont *font, PangoGlyph glyph, PangoRectangle *ink_rect, PangoRectangle *logical_rect); PangoFontMap *pango_font_get_font_map (PangoFont *font); # 381 "/usr/include/pango-1.0/pango/pango-font.h" # 26 "/usr/include/pango-1.0/pango/pango-attributes.h" 2 typedef struct _PangoColor PangoColor; struct _PangoColor { guint16 red; guint16 green; guint16 blue; }; GType pango_color_get_type (void) __attribute__((__const__)); PangoColor *pango_color_copy (const PangoColor *src); void pango_color_free (PangoColor *color); gboolean pango_color_parse (PangoColor *color, const char *spec); gchar *pango_color_to_string(const PangoColor *color); typedef struct _PangoAttribute PangoAttribute; typedef struct _PangoAttrClass PangoAttrClass; typedef struct _PangoAttrString PangoAttrString; typedef struct _PangoAttrLanguage PangoAttrLanguage; typedef struct _PangoAttrInt PangoAttrInt; typedef struct _PangoAttrSize PangoAttrSize; typedef struct _PangoAttrFloat PangoAttrFloat; typedef struct _PangoAttrColor PangoAttrColor; typedef struct _PangoAttrFontDesc PangoAttrFontDesc; typedef struct _PangoAttrShape PangoAttrShape; typedef struct _PangoAttrList PangoAttrList; typedef struct _PangoAttrIterator PangoAttrIterator; typedef enum { PANGO_ATTR_INVALID, PANGO_ATTR_LANGUAGE, PANGO_ATTR_FAMILY, PANGO_ATTR_STYLE, PANGO_ATTR_WEIGHT, PANGO_ATTR_VARIANT, PANGO_ATTR_STRETCH, PANGO_ATTR_SIZE, PANGO_ATTR_FONT_DESC, PANGO_ATTR_FOREGROUND, PANGO_ATTR_BACKGROUND, PANGO_ATTR_UNDERLINE, PANGO_ATTR_STRIKETHROUGH, PANGO_ATTR_RISE, PANGO_ATTR_SHAPE, PANGO_ATTR_SCALE, PANGO_ATTR_FALLBACK, PANGO_ATTR_LETTER_SPACING, PANGO_ATTR_UNDERLINE_COLOR, PANGO_ATTR_STRIKETHROUGH_COLOR, PANGO_ATTR_ABSOLUTE_SIZE, PANGO_ATTR_GRAVITY, PANGO_ATTR_GRAVITY_HINT } PangoAttrType; typedef enum { PANGO_UNDERLINE_NONE, PANGO_UNDERLINE_SINGLE, PANGO_UNDERLINE_DOUBLE, PANGO_UNDERLINE_LOW, PANGO_UNDERLINE_ERROR } PangoUnderline; struct _PangoAttribute { const PangoAttrClass *klass; guint start_index; guint end_index; }; typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute, gpointer data); typedef gpointer (*PangoAttrDataCopyFunc) (gconstpointer data); struct _PangoAttrClass { PangoAttrType type; PangoAttribute * (*copy) (const PangoAttribute *attr); void (*destroy) (PangoAttribute *attr); gboolean (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2); }; struct _PangoAttrString { PangoAttribute attr; char *value; }; struct _PangoAttrLanguage { PangoAttribute attr; PangoLanguage *value; }; struct _PangoAttrInt { PangoAttribute attr; int value; }; struct _PangoAttrFloat { PangoAttribute attr; double value; }; struct _PangoAttrColor { PangoAttribute attr; PangoColor color; }; struct _PangoAttrSize { PangoAttribute attr; int size; guint absolute : 1; }; struct _PangoAttrShape { PangoAttribute attr; PangoRectangle ink_rect; PangoRectangle logical_rect; gpointer data; PangoAttrDataCopyFunc copy_func; GDestroyNotify destroy_func; }; struct _PangoAttrFontDesc { PangoAttribute attr; PangoFontDescription *desc; }; PangoAttrType pango_attr_type_register (const gchar *name); PangoAttribute * pango_attribute_copy (const PangoAttribute *attr); void pango_attribute_destroy (PangoAttribute *attr); gboolean pango_attribute_equal (const PangoAttribute *attr1, const PangoAttribute *attr2) __attribute__((__pure__)); PangoAttribute *pango_attr_language_new (PangoLanguage *language); PangoAttribute *pango_attr_family_new (const char *family); PangoAttribute *pango_attr_foreground_new (guint16 red, guint16 green, guint16 blue); PangoAttribute *pango_attr_background_new (guint16 red, guint16 green, guint16 blue); PangoAttribute *pango_attr_size_new (int size); PangoAttribute *pango_attr_size_new_absolute (int size); PangoAttribute *pango_attr_style_new (PangoStyle style); PangoAttribute *pango_attr_weight_new (PangoWeight weight); PangoAttribute *pango_attr_variant_new (PangoVariant variant); PangoAttribute *pango_attr_stretch_new (PangoStretch stretch); PangoAttribute *pango_attr_font_desc_new (const PangoFontDescription *desc); PangoAttribute *pango_attr_underline_new (PangoUnderline underline); PangoAttribute *pango_attr_underline_color_new (guint16 red, guint16 green, guint16 blue); PangoAttribute *pango_attr_strikethrough_new (gboolean strikethrough); PangoAttribute *pango_attr_strikethrough_color_new (guint16 red, guint16 green, guint16 blue); PangoAttribute *pango_attr_rise_new (int rise); PangoAttribute *pango_attr_scale_new (double scale_factor); PangoAttribute *pango_attr_fallback_new (gboolean enable_fallback); PangoAttribute *pango_attr_letter_spacing_new (int letter_spacing); PangoAttribute *pango_attr_shape_new (const PangoRectangle *ink_rect, const PangoRectangle *logical_rect); PangoAttribute *pango_attr_shape_new_with_data (const PangoRectangle *ink_rect, const PangoRectangle *logical_rect, gpointer data, PangoAttrDataCopyFunc copy_func, GDestroyNotify destroy_func); PangoAttribute *pango_attr_gravity_new (PangoGravity gravity); PangoAttribute *pango_attr_gravity_hint_new (PangoGravityHint hint); GType pango_attr_list_get_type (void) __attribute__((__const__)); PangoAttrList * pango_attr_list_new (void); PangoAttrList * pango_attr_list_ref (PangoAttrList *list); void pango_attr_list_unref (PangoAttrList *list); PangoAttrList * pango_attr_list_copy (PangoAttrList *list); void pango_attr_list_insert (PangoAttrList *list, PangoAttribute *attr); void pango_attr_list_insert_before (PangoAttrList *list, PangoAttribute *attr); void pango_attr_list_change (PangoAttrList *list, PangoAttribute *attr); void pango_attr_list_splice (PangoAttrList *list, PangoAttrList *other, gint pos, gint len); PangoAttrList *pango_attr_list_filter (PangoAttrList *list, PangoAttrFilterFunc func, gpointer data); PangoAttrIterator *pango_attr_list_get_iterator (PangoAttrList *list); void pango_attr_iterator_range (PangoAttrIterator *iterator, gint *start, gint *end); gboolean pango_attr_iterator_next (PangoAttrIterator *iterator); PangoAttrIterator *pango_attr_iterator_copy (PangoAttrIterator *iterator); void pango_attr_iterator_destroy (PangoAttrIterator *iterator); PangoAttribute * pango_attr_iterator_get (PangoAttrIterator *iterator, PangoAttrType type); void pango_attr_iterator_get_font (PangoAttrIterator *iterator, PangoFontDescription *desc, PangoLanguage **language, GSList **extra_attrs); GSList * pango_attr_iterator_get_attrs (PangoAttrIterator *iterator); gboolean pango_parse_markup (const char *markup_text, int length, gunichar accel_marker, PangoAttrList **attr_list, char **text, gunichar *accel_char, GError **error); # 26 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-break.h" 1 # 27 "/usr/include/pango-1.0/pango/pango-break.h" # 1 "/usr/include/pango-1.0/pango/pango-item.h" 1 # 27 "/usr/include/pango-1.0/pango/pango-item.h" typedef struct _PangoAnalysis PangoAnalysis; typedef struct _PangoItem PangoItem; struct _PangoAnalysis { PangoEngineShape *shape_engine; PangoEngineLang *lang_engine; PangoFont *font; guint8 level; guint8 gravity; guint8 flags; guint8 script; PangoLanguage *language; GSList *extra_attrs; }; struct _PangoItem { gint offset; gint length; gint num_chars; PangoAnalysis analysis; }; GType pango_item_get_type (void) __attribute__((__const__)); PangoItem *pango_item_new (void); PangoItem *pango_item_copy (PangoItem *item); void pango_item_free (PangoItem *item); PangoItem *pango_item_split (PangoItem *orig, int split_index, int split_offset); # 30 "/usr/include/pango-1.0/pango/pango-break.h" 2 struct _PangoLogAttr { guint is_line_break : 1; guint is_mandatory_break : 1; guint is_char_break : 1; guint is_white : 1; guint is_cursor_position : 1; guint is_word_start : 1; guint is_word_end : 1; # 64 "/usr/include/pango-1.0/pango/pango-break.h" guint is_sentence_boundary : 1; guint is_sentence_start : 1; guint is_sentence_end : 1; guint backspace_deletes_character : 1; guint is_expandable_space : 1; }; void pango_break (const gchar *text, int length, PangoAnalysis *analysis, PangoLogAttr *attrs, int attrs_len); void pango_find_paragraph_boundary (const gchar *text, gint length, gint *paragraph_delimiter_index, gint *next_paragraph_start); void pango_get_log_attrs (const char *text, int length, int level, PangoLanguage *language, PangoLogAttr *log_attrs, int attrs_len); # 115 "/usr/include/pango-1.0/pango/pango-break.h" # 27 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-context.h" 1 # 26 "/usr/include/pango-1.0/pango/pango-context.h" # 1 "/usr/include/pango-1.0/pango/pango-fontmap.h" 1 # 26 "/usr/include/pango-1.0/pango/pango-fontmap.h" # 1 "/usr/include/pango-1.0/pango/pango-fontset.h" 1 # 30 "/usr/include/pango-1.0/pango/pango-fontset.h" # 40 "/usr/include/pango-1.0/pango/pango-fontset.h" GType pango_fontset_get_type (void) __attribute__((__const__)); typedef struct _PangoFontset PangoFontset; # 57 "/usr/include/pango-1.0/pango/pango-fontset.h" typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset, PangoFont *font, gpointer data); PangoFont * pango_fontset_get_font (PangoFontset *fontset, guint wc); PangoFontMetrics *pango_fontset_get_metrics (PangoFontset *fontset); void pango_fontset_foreach (PangoFontset *fontset, PangoFontsetForeachFunc func, gpointer data); # 125 "/usr/include/pango-1.0/pango/pango-fontset.h" # 27 "/usr/include/pango-1.0/pango/pango-fontmap.h" 2 typedef struct _PangoContext PangoContext; GType pango_font_map_get_type (void) __attribute__((__const__)); PangoFont * pango_font_map_load_font (PangoFontMap *fontmap, PangoContext *context, const PangoFontDescription *desc); PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontmap, PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language); void pango_font_map_list_families (PangoFontMap *fontmap, PangoFontFamily ***families, int *n_families); # 93 "/usr/include/pango-1.0/pango/pango-fontmap.h" # 27 "/usr/include/pango-1.0/pango/pango-context.h" 2 typedef struct _PangoContextClass PangoContextClass; # 50 "/usr/include/pango-1.0/pango/pango-context.h" GType pango_context_get_type (void) __attribute__((__const__)); PangoFontMap *pango_context_get_font_map (PangoContext *context); void pango_context_list_families (PangoContext *context, PangoFontFamily ***families, int *n_families); PangoFont * pango_context_load_font (PangoContext *context, const PangoFontDescription *desc); PangoFontset *pango_context_load_fontset (PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language); PangoFontMetrics *pango_context_get_metrics (PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language); void pango_context_set_font_description (PangoContext *context, const PangoFontDescription *desc); PangoFontDescription * pango_context_get_font_description (PangoContext *context); PangoLanguage *pango_context_get_language (PangoContext *context); void pango_context_set_language (PangoContext *context, PangoLanguage *language); void pango_context_set_base_dir (PangoContext *context, PangoDirection direction); PangoDirection pango_context_get_base_dir (PangoContext *context); void pango_context_set_base_gravity (PangoContext *context, PangoGravity gravity); PangoGravity pango_context_get_base_gravity (PangoContext *context); PangoGravity pango_context_get_gravity (PangoContext *context); void pango_context_set_gravity_hint (PangoContext *context, PangoGravityHint hint); PangoGravityHint pango_context_get_gravity_hint (PangoContext *context); void pango_context_set_matrix (PangoContext *context, const PangoMatrix *matrix); const PangoMatrix *pango_context_get_matrix (PangoContext *context); GList *pango_itemize (PangoContext *context, const char *text, int start_index, int length, PangoAttrList *attrs, PangoAttrIterator *cached_iter); GList *pango_itemize_with_base_dir (PangoContext *context, PangoDirection base_dir, const char *text, int start_index, int length, PangoAttrList *attrs, PangoAttrIterator *cached_iter); # 28 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-engine.h" 1 # 28 "/usr/include/pango-1.0/pango/pango-engine.h" # 1 "/usr/include/pango-1.0/pango/pango-glyph.h" 1 # 28 "/usr/include/pango-1.0/pango/pango-glyph.h" typedef struct _PangoGlyphGeometry PangoGlyphGeometry; typedef struct _PangoGlyphVisAttr PangoGlyphVisAttr; typedef struct _PangoGlyphInfo PangoGlyphInfo; typedef struct _PangoGlyphString PangoGlyphString; typedef gint32 PangoGlyphUnit; struct _PangoGlyphGeometry { PangoGlyphUnit width; PangoGlyphUnit x_offset; PangoGlyphUnit y_offset; }; struct _PangoGlyphVisAttr { guint is_cluster_start : 1; }; struct _PangoGlyphInfo { PangoGlyph glyph; PangoGlyphGeometry geometry; PangoGlyphVisAttr attr; }; struct _PangoGlyphString { gint num_glyphs; PangoGlyphInfo *glyphs; gint *log_clusters; gint space; }; PangoGlyphString *pango_glyph_string_new (void); void pango_glyph_string_set_size (PangoGlyphString *string, gint new_len); GType pango_glyph_string_get_type (void) __attribute__((__const__)); PangoGlyphString *pango_glyph_string_copy (PangoGlyphString *string); void pango_glyph_string_free (PangoGlyphString *string); void pango_glyph_string_extents (PangoGlyphString *glyphs, PangoFont *font, PangoRectangle *ink_rect, PangoRectangle *logical_rect); int pango_glyph_string_get_width(PangoGlyphString *glyphs) __attribute__((__pure__)); void pango_glyph_string_extents_range (PangoGlyphString *glyphs, int start, int end, PangoFont *font, PangoRectangle *ink_rect, PangoRectangle *logical_rect); void pango_glyph_string_get_logical_widths (PangoGlyphString *glyphs, const char *text, int length, int embedding_level, int *logical_widths); void pango_glyph_string_index_to_x (PangoGlyphString *glyphs, char *text, int length, PangoAnalysis *analysis, int index_, gboolean trailing, int *x_pos); void pango_glyph_string_x_to_index (PangoGlyphString *glyphs, char *text, int length, PangoAnalysis *analysis, int x_pos, int *index_, int *trailing); void pango_shape (const gchar *text, gint length, const PangoAnalysis *analysis, PangoGlyphString *glyphs); GList *pango_reorder_items (GList *logical_items); # 29 "/usr/include/pango-1.0/pango/pango-engine.h" 2 # 377 "/usr/include/pango-1.0/pango/pango-engine.h" # 30 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-enum-types.h" 1 # 9 "/usr/include/pango-1.0/pango/pango-enum-types.h" GType pango_attr_type_get_type (void); GType pango_underline_get_type (void); GType pango_coverage_level_get_type (void); GType pango_style_get_type (void); GType pango_variant_get_type (void); GType pango_weight_get_type (void); GType pango_stretch_get_type (void); GType pango_font_mask_get_type (void); GType pango_gravity_get_type (void); GType pango_gravity_hint_get_type (void); GType pango_alignment_get_type (void); GType pango_wrap_mode_get_type (void); GType pango_ellipsize_mode_get_type (void); GType pango_render_part_get_type (void); GType pango_script_get_type (void); GType pango_tab_align_get_type (void); GType pango_direction_get_type (void); # 31 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-features.h" 1 # 32 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-glyph-item.h" 1 # 30 "/usr/include/pango-1.0/pango/pango-glyph-item.h" typedef struct _PangoGlyphItem PangoGlyphItem; struct _PangoGlyphItem { PangoItem *item; PangoGlyphString *glyphs; }; PangoGlyphItem *pango_glyph_item_split (PangoGlyphItem *orig, const char *text, int split_index); void pango_glyph_item_free (PangoGlyphItem *glyph_item); GSList * pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item, const char *text, PangoAttrList *list); void pango_glyph_item_letter_space (PangoGlyphItem *glyph_item, const char *text, PangoLogAttr *log_attrs, int letter_spacing); # 37 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-layout.h" 1 # 28 "/usr/include/pango-1.0/pango/pango-layout.h" # 1 "/usr/include/pango-1.0/pango/pango-tabs.h" 1 # 27 "/usr/include/pango-1.0/pango/pango-tabs.h" typedef struct _PangoTabArray PangoTabArray; typedef enum { PANGO_TAB_LEFT # 42 "/usr/include/pango-1.0/pango/pango-tabs.h" } PangoTabAlign; PangoTabArray *pango_tab_array_new (gint initial_size, gboolean positions_in_pixels); PangoTabArray *pango_tab_array_new_with_positions (gint size, gboolean positions_in_pixels, PangoTabAlign first_alignment, gint first_position, ...); GType pango_tab_array_get_type (void) __attribute__((__const__)); PangoTabArray *pango_tab_array_copy (PangoTabArray *src); void pango_tab_array_free (PangoTabArray *tab_array); gint pango_tab_array_get_size (PangoTabArray *tab_array); void pango_tab_array_resize (PangoTabArray *tab_array, gint new_size); void pango_tab_array_set_tab (PangoTabArray *tab_array, gint tab_index, PangoTabAlign alignment, gint location); void pango_tab_array_get_tab (PangoTabArray *tab_array, gint tab_index, PangoTabAlign *alignment, gint *location); void pango_tab_array_get_tabs (PangoTabArray *tab_array, PangoTabAlign **alignments, gint **locations); gboolean pango_tab_array_get_positions_in_pixels (PangoTabArray *tab_array); # 29 "/usr/include/pango-1.0/pango/pango-layout.h" 2 typedef struct _PangoLayout PangoLayout; typedef struct _PangoLayoutClass PangoLayoutClass; typedef struct _PangoLayoutLine PangoLayoutLine; typedef PangoGlyphItem PangoLayoutRun; typedef enum { PANGO_ALIGN_LEFT, PANGO_ALIGN_CENTER, PANGO_ALIGN_RIGHT } PangoAlignment; typedef enum { PANGO_WRAP_WORD, PANGO_WRAP_CHAR, PANGO_WRAP_WORD_CHAR } PangoWrapMode; # 64 "/usr/include/pango-1.0/pango/pango-layout.h" typedef enum { PANGO_ELLIPSIZE_NONE, PANGO_ELLIPSIZE_START, PANGO_ELLIPSIZE_MIDDLE, PANGO_ELLIPSIZE_END } PangoEllipsizeMode; struct _PangoLayoutLine { PangoLayout *layout; gint start_index; gint length; GSList *runs; guint is_paragraph_start : 1; guint resolved_dir : 3; }; # 92 "/usr/include/pango-1.0/pango/pango-layout.h" GType pango_layout_get_type (void) __attribute__((__const__)); PangoLayout *pango_layout_new (PangoContext *context); PangoLayout *pango_layout_copy (PangoLayout *src); PangoContext *pango_layout_get_context (PangoLayout *layout); void pango_layout_set_attributes (PangoLayout *layout, PangoAttrList *attrs); PangoAttrList *pango_layout_get_attributes (PangoLayout *layout); void pango_layout_set_text (PangoLayout *layout, const char *text, int length); const char *pango_layout_get_text (PangoLayout *layout); void pango_layout_set_markup (PangoLayout *layout, const char *markup, int length); void pango_layout_set_markup_with_accel (PangoLayout *layout, const char *markup, int length, gunichar accel_marker, gunichar *accel_char); void pango_layout_set_font_description (PangoLayout *layout, const PangoFontDescription *desc); const PangoFontDescription *pango_layout_get_font_description (PangoLayout *layout); void pango_layout_set_width (PangoLayout *layout, int width); int pango_layout_get_width (PangoLayout *layout); void pango_layout_set_wrap (PangoLayout *layout, PangoWrapMode wrap); PangoWrapMode pango_layout_get_wrap (PangoLayout *layout); gboolean pango_layout_is_wrapped (PangoLayout *layout); void pango_layout_set_indent (PangoLayout *layout, int indent); int pango_layout_get_indent (PangoLayout *layout); void pango_layout_set_spacing (PangoLayout *layout, int spacing); int pango_layout_get_spacing (PangoLayout *layout); void pango_layout_set_justify (PangoLayout *layout, gboolean justify); gboolean pango_layout_get_justify (PangoLayout *layout); void pango_layout_set_auto_dir (PangoLayout *layout, gboolean auto_dir); gboolean pango_layout_get_auto_dir (PangoLayout *layout); void pango_layout_set_alignment (PangoLayout *layout, PangoAlignment alignment); PangoAlignment pango_layout_get_alignment (PangoLayout *layout); void pango_layout_set_tabs (PangoLayout *layout, PangoTabArray *tabs); PangoTabArray* pango_layout_get_tabs (PangoLayout *layout); void pango_layout_set_single_paragraph_mode (PangoLayout *layout, gboolean setting); gboolean pango_layout_get_single_paragraph_mode (PangoLayout *layout); void pango_layout_set_ellipsize (PangoLayout *layout, PangoEllipsizeMode ellipsize); PangoEllipsizeMode pango_layout_get_ellipsize (PangoLayout *layout); gboolean pango_layout_is_ellipsized (PangoLayout *layout); int pango_layout_get_unknown_glyphs_count (PangoLayout *layout); void pango_layout_context_changed (PangoLayout *layout); void pango_layout_get_log_attrs (PangoLayout *layout, PangoLogAttr **attrs, gint *n_attrs); void pango_layout_index_to_pos (PangoLayout *layout, int index_, PangoRectangle *pos); void pango_layout_index_to_line_x (PangoLayout *layout, int index_, gboolean trailing, int *line, int *x_pos); void pango_layout_get_cursor_pos (PangoLayout *layout, int index_, PangoRectangle *strong_pos, PangoRectangle *weak_pos); void pango_layout_move_cursor_visually (PangoLayout *layout, gboolean strong, int old_index, int old_trailing, int direction, int *new_index, int *new_trailing); gboolean pango_layout_xy_to_index (PangoLayout *layout, int x, int y, int *index_, int *trailing); void pango_layout_get_extents (PangoLayout *layout, PangoRectangle *ink_rect, PangoRectangle *logical_rect); void pango_layout_get_pixel_extents (PangoLayout *layout, PangoRectangle *ink_rect, PangoRectangle *logical_rect); void pango_layout_get_size (PangoLayout *layout, int *width, int *height); void pango_layout_get_pixel_size (PangoLayout *layout, int *width, int *height); int pango_layout_get_line_count (PangoLayout *layout); PangoLayoutLine *pango_layout_get_line (PangoLayout *layout, int line); PangoLayoutLine *pango_layout_get_line_readonly (PangoLayout *layout, int line); GSList * pango_layout_get_lines (PangoLayout *layout); GSList * pango_layout_get_lines_readonly (PangoLayout *layout); GType pango_layout_line_get_type (void) __attribute__((__const__)); PangoLayoutLine *pango_layout_line_ref (PangoLayoutLine *line); void pango_layout_line_unref (PangoLayoutLine *line); gboolean pango_layout_line_x_to_index (PangoLayoutLine *line, int x_pos, int *index_, int *trailing); void pango_layout_line_index_to_x (PangoLayoutLine *line, int index_, gboolean trailing, int *x_pos); void pango_layout_line_get_x_ranges (PangoLayoutLine *line, int start_index, int end_index, int **ranges, int *n_ranges); void pango_layout_line_get_extents (PangoLayoutLine *line, PangoRectangle *ink_rect, PangoRectangle *logical_rect); void pango_layout_line_get_pixel_extents (PangoLayoutLine *layout_line, PangoRectangle *ink_rect, PangoRectangle *logical_rect); typedef struct _PangoLayoutIter PangoLayoutIter; GType pango_layout_iter_get_type (void) __attribute__((__const__)); PangoLayoutIter *pango_layout_get_iter (PangoLayout *layout); void pango_layout_iter_free (PangoLayoutIter *iter); int pango_layout_iter_get_index (PangoLayoutIter *iter); PangoLayoutRun *pango_layout_iter_get_run (PangoLayoutIter *iter); PangoLayoutRun *pango_layout_iter_get_run_readonly (PangoLayoutIter *iter); PangoLayoutLine *pango_layout_iter_get_line (PangoLayoutIter *iter); PangoLayoutLine *pango_layout_iter_get_line_readonly (PangoLayoutIter *iter); gboolean pango_layout_iter_at_last_line (PangoLayoutIter *iter); gboolean pango_layout_iter_next_char (PangoLayoutIter *iter); gboolean pango_layout_iter_next_cluster (PangoLayoutIter *iter); gboolean pango_layout_iter_next_run (PangoLayoutIter *iter); gboolean pango_layout_iter_next_line (PangoLayoutIter *iter); void pango_layout_iter_get_char_extents (PangoLayoutIter *iter, PangoRectangle *logical_rect); void pango_layout_iter_get_cluster_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect); void pango_layout_iter_get_run_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect); void pango_layout_iter_get_line_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect); void pango_layout_iter_get_line_yrange (PangoLayoutIter *iter, int *y0_, int *y1_); void pango_layout_iter_get_layout_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect); int pango_layout_iter_get_baseline (PangoLayoutIter *iter); # 40 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-renderer.h" 1 # 26 "/usr/include/pango-1.0/pango/pango-renderer.h" # 35 "/usr/include/pango-1.0/pango/pango-renderer.h" typedef struct _PangoRenderer PangoRenderer; typedef struct _PangoRendererClass PangoRendererClass; typedef struct _PangoRendererPrivate PangoRendererPrivate; # 52 "/usr/include/pango-1.0/pango/pango-renderer.h" typedef enum { PANGO_RENDER_PART_FOREGROUND, PANGO_RENDER_PART_BACKGROUND, PANGO_RENDER_PART_UNDERLINE, PANGO_RENDER_PART_STRIKETHROUGH } PangoRenderPart; # 71 "/usr/include/pango-1.0/pango/pango-renderer.h" struct _PangoRenderer { GObject parent_instance; PangoUnderline underline; gboolean strikethrough; int active_count; PangoMatrix *matrix; PangoRendererPrivate *priv; }; # 109 "/usr/include/pango-1.0/pango/pango-renderer.h" struct _PangoRendererClass { GObjectClass parent_class; void (*draw_glyphs) (PangoRenderer *renderer, PangoFont *font, PangoGlyphString *glyphs, int x, int y); void (*draw_rectangle) (PangoRenderer *renderer, PangoRenderPart part, int x, int y, int width, int height); void (*draw_error_underline) (PangoRenderer *renderer, int x, int y, int width, int height); void (*draw_shape) (PangoRenderer *renderer, PangoAttrShape *attr, int x, int y); void (*draw_trapezoid) (PangoRenderer *renderer, PangoRenderPart part, double y1_, double x11, double x21, double y2, double x12, double x22); void (*draw_glyph) (PangoRenderer *renderer, PangoFont *font, PangoGlyph glyph, double x, double y); void (*part_changed) (PangoRenderer *renderer, PangoRenderPart part); void (*begin) (PangoRenderer *renderer); void (*end) (PangoRenderer *renderer); void (*prepare_run) (PangoRenderer *renderer, PangoLayoutRun *run); void (*_pango_reserved1) (void); void (*_pango_reserved2) (void); void (*_pango_reserved3) (void); void (*_pango_reserved4) (void); }; GType pango_renderer_get_type (void) __attribute__((__const__)); void pango_renderer_draw_layout (PangoRenderer *renderer, PangoLayout *layout, int x, int y); void pango_renderer_draw_layout_line (PangoRenderer *renderer, PangoLayoutLine *line, int x, int y); void pango_renderer_draw_glyphs (PangoRenderer *renderer, PangoFont *font, PangoGlyphString *glyphs, int x, int y); void pango_renderer_draw_rectangle (PangoRenderer *renderer, PangoRenderPart part, int x, int y, int width, int height); void pango_renderer_draw_error_underline (PangoRenderer *renderer, int x, int y, int width, int height); void pango_renderer_draw_trapezoid (PangoRenderer *renderer, PangoRenderPart part, double y1_, double x11, double x21, double y2, double x12, double x22); void pango_renderer_draw_glyph (PangoRenderer *renderer, PangoFont *font, PangoGlyph glyph, double x, double y); void pango_renderer_activate (PangoRenderer *renderer); void pango_renderer_deactivate (PangoRenderer *renderer); void pango_renderer_part_changed (PangoRenderer *renderer, PangoRenderPart part); void pango_renderer_set_color (PangoRenderer *renderer, PangoRenderPart part, const PangoColor *color); PangoColor *pango_renderer_get_color (PangoRenderer *renderer, PangoRenderPart part); void pango_renderer_set_matrix (PangoRenderer *renderer, const PangoMatrix *matrix); const PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer); # 42 "/usr/include/pango-1.0/pango/pango.h" 2 # 1 "/usr/include/pango-1.0/pango/pango-utils.h" 1 # 25 "/usr/include/pango-1.0/pango/pango-utils.h" # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 45 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 65 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 75 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 78 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 21 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 53 "/usr/include/_G_config.h" 3 4 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 170 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 180 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 203 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 271 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 319 "/usr/include/libio.h" 3 4 __off64_t _offset; # 328 "/usr/include/libio.h" 3 4 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 364 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); # 416 "/usr/include/libio.h" 3 4 extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 458 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); # 488 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); # 76 "/usr/include/stdio.h" 2 3 4 # 89 "/usr/include/stdio.h" 3 4 typedef _G_fpos64_t fpos_t; # 141 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 142 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); # 175 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") ; # 186 "/usr/include/stdio.h" 3 4 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ; # 204 "/usr/include/stdio.h" 3 4 extern char *tempnam (__const char *__dir, __const char *__pfx) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 229 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 243 "/usr/include/stdio.h" 3 4 # 260 "/usr/include/stdio.h" 3 4 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64") ; extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") ; # 283 "/usr/include/stdio.h" 3 4 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ; # 304 "/usr/include/stdio.h" 3 4 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int printf (__const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 398 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) ; extern int scanf (__const char *__restrict __format, ...) ; extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); # 441 "/usr/include/stdio.h" 3 4 # 504 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 528 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 539 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 572 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern char *gets (char *__s) ; # 653 "/usr/include/stdio.h" 3 4 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); extern int puts (__const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s) ; # 706 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 750 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64"); extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); # 775 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64"); extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64"); # 793 "/usr/include/stdio.h" 3 4 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void perror (__const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 27 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern __const char *__const sys_errlist[]; # 823 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; # 842 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); # 882 "/usr/include/stdio.h" 3 4 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); # 903 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 36 "/usr/include/bits/stdio.h" 3 4 extern __inline int vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } # 125 "/usr/include/bits/stdio.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 904 "/usr/include/stdio.h" 2 3 4 # 912 "/usr/include/stdio.h" 3 4 # 26 "/usr/include/pango-1.0/pango/pango-utils.h" 2 char ** pango_split_file_list (const char *str); char *pango_trim_string (const char *str); gint pango_read_line (FILE *stream, GString *str); gboolean pango_skip_space (const char **pos); gboolean pango_scan_word (const char **pos, GString *out); gboolean pango_scan_string (const char **pos, GString *out); gboolean pango_scan_int (const char **pos, int *out); # 51 "/usr/include/pango-1.0/pango/pango-utils.h" gboolean pango_parse_enum (GType type, const char *str, int *value, gboolean warn, char **possible_values); # 64 "/usr/include/pango-1.0/pango/pango-utils.h" gboolean pango_parse_style (const char *str, PangoStyle *style, gboolean warn); gboolean pango_parse_variant (const char *str, PangoVariant *variant, gboolean warn); gboolean pango_parse_weight (const char *str, PangoWeight *weight, gboolean warn); gboolean pango_parse_stretch (const char *str, PangoStretch *stretch, gboolean warn); # 97 "/usr/include/pango-1.0/pango/pango-utils.h" void pango_quantize_line_geometry (int *thickness, int *position); guint8 * pango_log2vis_get_embedding_levels (const gchar *text, int length, PangoDirection *pbase_dir); gboolean pango_is_zero_width (gunichar ch) __attribute__((__const__)); # 131 "/usr/include/pango-1.0/pango/pango-utils.h" int pango_version (void) __attribute__((__const__)); const char * pango_version_string (void) __attribute__((__const__)); const char * pango_version_check (int required_major, int required_minor, int required_micro) __attribute__((__const__)); # 46 "/usr/include/pango-1.0/pango/pango.h" 2 # 34 "../gdk/gdktypes.h" 2 # 51 "../gdk/gdktypes.h" # 1 "../gdk/gdkconfig.h" 1 # 52 "../gdk/gdktypes.h" 2 typedef struct _GdkPoint GdkPoint; typedef struct _GdkRectangle GdkRectangle; typedef struct _GdkSegment GdkSegment; typedef struct _GdkSpan GdkSpan; typedef guint32 GdkWChar; typedef struct _GdkAtom *GdkAtom; # 87 "../gdk/gdktypes.h" typedef guint32 GdkNativeWindow; typedef struct _GdkColor GdkColor; typedef struct _GdkColormap GdkColormap; typedef struct _GdkCursor GdkCursor; typedef struct _GdkFont GdkFont; typedef struct _GdkGC GdkGC; typedef struct _GdkImage GdkImage; typedef struct _GdkRegion GdkRegion; typedef struct _GdkVisual GdkVisual; typedef struct _GdkDrawable GdkDrawable; typedef struct _GdkDrawable GdkBitmap; typedef struct _GdkDrawable GdkPixmap; typedef struct _GdkDrawable GdkWindow; typedef struct _GdkDisplay GdkDisplay; typedef struct _GdkScreen GdkScreen; typedef enum { GDK_LSB_FIRST, GDK_MSB_FIRST } GdkByteOrder; typedef enum { GDK_SHIFT_MASK = 1 << 0, GDK_LOCK_MASK = 1 << 1, GDK_CONTROL_MASK = 1 << 2, GDK_MOD1_MASK = 1 << 3, GDK_MOD2_MASK = 1 << 4, GDK_MOD3_MASK = 1 << 5, GDK_MOD4_MASK = 1 << 6, GDK_MOD5_MASK = 1 << 7, GDK_BUTTON1_MASK = 1 << 8, GDK_BUTTON2_MASK = 1 << 9, GDK_BUTTON3_MASK = 1 << 10, GDK_BUTTON4_MASK = 1 << 11, GDK_BUTTON5_MASK = 1 << 12, GDK_SUPER_MASK = 1 << 26, GDK_HYPER_MASK = 1 << 27, GDK_META_MASK = 1 << 28, GDK_RELEASE_MASK = 1 << 30, GDK_MODIFIER_MASK = 0x5c001fff } GdkModifierType; typedef enum { GDK_INPUT_READ = 1 << 0, GDK_INPUT_WRITE = 1 << 1, GDK_INPUT_EXCEPTION = 1 << 2 } GdkInputCondition; typedef enum { GDK_OK = 0, GDK_ERROR = -1, GDK_ERROR_PARAM = -2, GDK_ERROR_FILE = -3, GDK_ERROR_MEM = -4 } GdkStatus; typedef enum { GDK_GRAB_SUCCESS = 0, GDK_GRAB_ALREADY_GRABBED = 1, GDK_GRAB_INVALID_TIME = 2, GDK_GRAB_NOT_VIEWABLE = 3, GDK_GRAB_FROZEN = 4 } GdkGrabStatus; typedef void (*GdkInputFunction) (gpointer data, gint source, GdkInputCondition condition); typedef void (*GdkDestroyNotify) (gpointer data); struct _GdkPoint { gint x; gint y; }; struct _GdkRectangle { gint x; gint y; gint width; gint height; }; struct _GdkSegment { gint x1; gint y1; gint x2; gint y2; }; struct _GdkSpan { gint x; gint y; gint width; }; # 32 "../gdk/gdkcolor.h" 2 # 42 "../gdk/gdkcolor.h" struct _GdkColor { guint32 pixel; guint16 red; guint16 green; guint16 blue; }; typedef struct _GdkColormapClass GdkColormapClass; # 64 "../gdk/gdkcolor.h" struct _GdkColormap { GObject parent_instance; gint size; GdkColor *colors; GdkVisual *visual; gpointer windowing_data; }; struct _GdkColormapClass { GObjectClass parent_class; }; GType gdk_colormap_get_type (void) __attribute__((__const__)); GdkColormap* gdk_colormap_new (GdkVisual *visual, gboolean allocate); GdkColormap* gdk_colormap_get_system (void); GdkScreen *gdk_colormap_get_screen (GdkColormap *cmap); # 111 "../gdk/gdkcolor.h" gint gdk_colormap_alloc_colors (GdkColormap *colormap, GdkColor *colors, gint ncolors, gboolean writeable, gboolean best_match, gboolean *success); gboolean gdk_colormap_alloc_color (GdkColormap *colormap, GdkColor *color, gboolean writeable, gboolean best_match); void gdk_colormap_free_colors (GdkColormap *colormap, GdkColor *colors, gint ncolors); void gdk_colormap_query_color (GdkColormap *colormap, gulong pixel, GdkColor *result); GdkVisual *gdk_colormap_get_visual (GdkColormap *colormap); GdkColor *gdk_color_copy (const GdkColor *color); void gdk_color_free (GdkColor *color); gboolean gdk_color_parse (const gchar *spec, GdkColor *color); guint gdk_color_hash (const GdkColor *colora); gboolean gdk_color_equal (const GdkColor *colora, const GdkColor *colorb); gchar * gdk_color_to_string (const GdkColor *color); GType gdk_color_get_type (void) __attribute__((__const__)); # 170 "../gdk/gdkcolor.h" # 24 "../gdk/gdkcairo.h" 2 # 1 "../gdk/gdkpixbuf.h" 1 # 32 "../gdk/gdkpixbuf.h" # 1 "../gdk/gdkrgb.h" 1 # 32 "../gdk/gdkrgb.h" typedef struct _GdkRgbCmap GdkRgbCmap; struct _GdkRgbCmap { guint32 colors[256]; gint n_colors; GSList *info_list; }; # 55 "../gdk/gdkrgb.h" void gdk_rgb_find_color (GdkColormap *colormap, GdkColor *color); typedef enum { GDK_RGB_DITHER_NONE, GDK_RGB_DITHER_NORMAL, GDK_RGB_DITHER_MAX } GdkRgbDither; void gdk_draw_rgb_image (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, gint width, gint height, GdkRgbDither dith, guchar *rgb_buf, gint rowstride); void gdk_draw_rgb_image_dithalign (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, gint width, gint height, GdkRgbDither dith, guchar *rgb_buf, gint rowstride, gint xdith, gint ydith); void gdk_draw_rgb_32_image (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, gint width, gint height, GdkRgbDither dith, guchar *buf, gint rowstride); void gdk_draw_rgb_32_image_dithalign (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, gint width, gint height, GdkRgbDither dith, guchar *buf, gint rowstride, gint xdith, gint ydith); void gdk_draw_gray_image (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, gint width, gint height, GdkRgbDither dith, guchar *buf, gint rowstride); void gdk_draw_indexed_image (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, gint width, gint height, GdkRgbDither dith, guchar *buf, gint rowstride, GdkRgbCmap *cmap); GdkRgbCmap *gdk_rgb_cmap_new (guint32 *colors, gint n_colors); void gdk_rgb_cmap_free (GdkRgbCmap *cmap); void gdk_rgb_set_verbose (gboolean verbose); void gdk_rgb_set_install (gboolean install); void gdk_rgb_set_min_colors (gint min_colors); GdkColormap *gdk_rgb_get_colormap (void); GdkVisual * gdk_rgb_get_visual (void); gboolean gdk_rgb_ditherable (void); gboolean gdk_rgb_colormap_ditherable (GdkColormap *cmap); # 33 "../gdk/gdkpixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf.h" 1 # 30 "../gdk-pixbuf/gdk-pixbuf.h" # 1 "../gdk-pixbuf/gdk-pixbuf-features.h" 1 # 36 "../gdk-pixbuf/gdk-pixbuf-features.h" extern const guint gdk_pixbuf_major_version; extern const guint gdk_pixbuf_minor_version; extern const guint gdk_pixbuf_micro_version; extern const char *gdk_pixbuf_version; # 31 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf-core.h" 1 # 32 "../gdk-pixbuf/gdk-pixbuf-core.h" typedef enum { GDK_PIXBUF_ALPHA_BILEVEL, GDK_PIXBUF_ALPHA_FULL } GdkPixbufAlphaMode; typedef enum { GDK_COLORSPACE_RGB } GdkColorspace; typedef struct _GdkPixbuf GdkPixbuf; typedef void (* GdkPixbufDestroyNotify) (guchar *pixels, gpointer data); typedef enum { GDK_PIXBUF_ERROR_CORRUPT_IMAGE, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY, GDK_PIXBUF_ERROR_BAD_OPTION, GDK_PIXBUF_ERROR_UNKNOWN_TYPE, GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION, GDK_PIXBUF_ERROR_FAILED } GdkPixbufError; GQuark gdk_pixbuf_error_quark (void); GType gdk_pixbuf_get_type (void) __attribute__((__const__)); # 91 "../gdk-pixbuf/gdk-pixbuf-core.h" GdkColorspace gdk_pixbuf_get_colorspace (const GdkPixbuf *pixbuf); int gdk_pixbuf_get_n_channels (const GdkPixbuf *pixbuf); gboolean gdk_pixbuf_get_has_alpha (const GdkPixbuf *pixbuf); int gdk_pixbuf_get_bits_per_sample (const GdkPixbuf *pixbuf); guchar *gdk_pixbuf_get_pixels (const GdkPixbuf *pixbuf); int gdk_pixbuf_get_width (const GdkPixbuf *pixbuf); int gdk_pixbuf_get_height (const GdkPixbuf *pixbuf); int gdk_pixbuf_get_rowstride (const GdkPixbuf *pixbuf); GdkPixbuf *gdk_pixbuf_new (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height); GdkPixbuf *gdk_pixbuf_copy (const GdkPixbuf *pixbuf); GdkPixbuf *gdk_pixbuf_new_subpixbuf (GdkPixbuf *src_pixbuf, int src_x, int src_y, int width, int height); # 126 "../gdk-pixbuf/gdk-pixbuf-core.h" GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename, GError **error); GdkPixbuf *gdk_pixbuf_new_from_file_at_size (const char *filename, int width, int height, GError **error); GdkPixbuf *gdk_pixbuf_new_from_file_at_scale (const char *filename, int width, int height, gboolean preserve_aspect_ratio, GError **error); GdkPixbuf *gdk_pixbuf_new_from_data (const guchar *data, GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height, int rowstride, GdkPixbufDestroyNotify destroy_fn, gpointer destroy_fn_data); GdkPixbuf *gdk_pixbuf_new_from_xpm_data (const char **data); GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, const guint8 *data, gboolean copy_pixels, GError **error); void gdk_pixbuf_fill (GdkPixbuf *pixbuf, guint32 pixel); # 165 "../gdk-pixbuf/gdk-pixbuf-core.h" gboolean gdk_pixbuf_save (GdkPixbuf *pixbuf, const char *filename, const char *type, GError **error, ...) __attribute__((__sentinel__)); gboolean gdk_pixbuf_savev (GdkPixbuf *pixbuf, const char *filename, const char *type, char **option_keys, char **option_values, GError **error); typedef gboolean (*GdkPixbufSaveFunc) (const gchar *buf, gsize count, GError **error, gpointer data); gboolean gdk_pixbuf_save_to_callback (GdkPixbuf *pixbuf, GdkPixbufSaveFunc save_func, gpointer user_data, const char *type, GError **error, ...) __attribute__((__sentinel__)); gboolean gdk_pixbuf_save_to_callbackv (GdkPixbuf *pixbuf, GdkPixbufSaveFunc save_func, gpointer user_data, const char *type, char **option_keys, char **option_values, GError **error); gboolean gdk_pixbuf_save_to_buffer (GdkPixbuf *pixbuf, gchar **buffer, gsize *buffer_size, const char *type, GError **error, ...) __attribute__((__sentinel__)); gboolean gdk_pixbuf_save_to_bufferv (GdkPixbuf *pixbuf, gchar **buffer, gsize *buffer_size, const char *type, char **option_keys, char **option_values, GError **error); GdkPixbuf *gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf, gboolean substitute_color, guchar r, guchar g, guchar b); void gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf, int src_x, int src_y, int width, int height, GdkPixbuf *dest_pixbuf, int dest_x, int dest_y); void gdk_pixbuf_saturate_and_pixelate (const GdkPixbuf *src, GdkPixbuf *dest, gfloat saturation, gboolean pixelate); GdkPixbuf *gdk_pixbuf_apply_embedded_orientation (GdkPixbuf *src); const gchar * gdk_pixbuf_get_option (GdkPixbuf *pixbuf, const gchar *key); # 34 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf-transform.h" 1 # 33 "../gdk-pixbuf/gdk-pixbuf-transform.h" typedef enum { GDK_INTERP_NEAREST, GDK_INTERP_TILES, GDK_INTERP_BILINEAR, GDK_INTERP_HYPER } GdkInterpType; typedef enum { GDK_PIXBUF_ROTATE_NONE = 0, GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE = 90, GDK_PIXBUF_ROTATE_UPSIDEDOWN = 180, GDK_PIXBUF_ROTATE_CLOCKWISE = 270 } GdkPixbufRotation; void gdk_pixbuf_scale (const GdkPixbuf *src, GdkPixbuf *dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, GdkInterpType interp_type); void gdk_pixbuf_composite (const GdkPixbuf *src, GdkPixbuf *dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, GdkInterpType interp_type, int overall_alpha); void gdk_pixbuf_composite_color (const GdkPixbuf *src, GdkPixbuf *dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, GdkInterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, guint32 color1, guint32 color2); GdkPixbuf *gdk_pixbuf_scale_simple (const GdkPixbuf *src, int dest_width, int dest_height, GdkInterpType interp_type); GdkPixbuf *gdk_pixbuf_composite_color_simple (const GdkPixbuf *src, int dest_width, int dest_height, GdkInterpType interp_type, int overall_alpha, int check_size, guint32 color1, guint32 color2); GdkPixbuf *gdk_pixbuf_rotate_simple (const GdkPixbuf *src, GdkPixbufRotation angle); GdkPixbuf *gdk_pixbuf_flip (const GdkPixbuf *src, gboolean horizontal); # 35 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf-animation.h" 1 # 34 "../gdk-pixbuf/gdk-pixbuf-animation.h" typedef struct _GdkPixbufAnimation GdkPixbufAnimation; typedef struct _GdkPixbufAnimationIter GdkPixbufAnimationIter; # 49 "../gdk-pixbuf/gdk-pixbuf-animation.h" GType gdk_pixbuf_animation_get_type (void) __attribute__((__const__)); GdkPixbufAnimation *gdk_pixbuf_animation_new_from_file (const char *filename, GError **error); int gdk_pixbuf_animation_get_width (GdkPixbufAnimation *animation); int gdk_pixbuf_animation_get_height (GdkPixbufAnimation *animation); gboolean gdk_pixbuf_animation_is_static_image (GdkPixbufAnimation *animation); GdkPixbuf *gdk_pixbuf_animation_get_static_image (GdkPixbufAnimation *animation); GdkPixbufAnimationIter *gdk_pixbuf_animation_get_iter (GdkPixbufAnimation *animation, const GTimeVal *start_time); GType gdk_pixbuf_animation_iter_get_type (void) __attribute__((__const__)); int gdk_pixbuf_animation_iter_get_delay_time (GdkPixbufAnimationIter *iter); GdkPixbuf *gdk_pixbuf_animation_iter_get_pixbuf (GdkPixbufAnimationIter *iter); gboolean gdk_pixbuf_animation_iter_on_currently_loading_frame (GdkPixbufAnimationIter *iter); gboolean gdk_pixbuf_animation_iter_advance (GdkPixbufAnimationIter *iter, const GTimeVal *current_time); # 145 "../gdk-pixbuf/gdk-pixbuf-animation.h" # 36 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf-simple-anim.h" 1 # 29 "../gdk-pixbuf/gdk-pixbuf-simple-anim.h" typedef struct _GdkPixbufSimpleAnim GdkPixbufSimpleAnim; typedef struct _GdkPixbufSimpleAnimClass GdkPixbufSimpleAnimClass; # 42 "../gdk-pixbuf/gdk-pixbuf-simple-anim.h" GType gdk_pixbuf_simple_anim_get_type (void) __attribute__((__const__)); GType gdk_pixbuf_simple_anim_iter_get_type (void) __attribute__((__const__)); GdkPixbufSimpleAnim *gdk_pixbuf_simple_anim_new (gint width, gint height, gfloat rate); void gdk_pixbuf_simple_anim_add_frame (GdkPixbufSimpleAnim *animation, GdkPixbuf *pixbuf); # 37 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf-io.h" 1 # 34 "../gdk-pixbuf/gdk-pixbuf-io.h" # 1 "/usr/include/glib-2.0/gmodule.h" 1 # 32 "/usr/include/glib-2.0/gmodule.h" # 44 "/usr/include/glib-2.0/gmodule.h" typedef enum { G_MODULE_BIND_LAZY = 1 << 0, G_MODULE_BIND_LOCAL = 1 << 1, G_MODULE_BIND_MASK = 0x03 } GModuleFlags; typedef struct _GModule GModule; typedef const gchar* (*GModuleCheckInit) (GModule *module); typedef void (*GModuleUnload) (GModule *module); gboolean g_module_supported (void) __attribute__((__const__)); GModule* g_module_open (const gchar *file_name, GModuleFlags flags); gboolean g_module_close (GModule *module); void g_module_make_resident (GModule *module); const gchar* g_module_error (void); gboolean g_module_symbol (GModule *module, const gchar *symbol_name, gpointer *symbol); const gchar* g_module_name (GModule *module); # 95 "/usr/include/glib-2.0/gmodule.h" gchar* g_module_build_path (const gchar *directory, const gchar *module_name); # 35 "../gdk-pixbuf/gdk-pixbuf-io.h" 2 typedef struct _GdkPixbufFormat GdkPixbufFormat; GSList *gdk_pixbuf_get_formats (void); gchar *gdk_pixbuf_format_get_name (GdkPixbufFormat *format); gchar *gdk_pixbuf_format_get_description (GdkPixbufFormat *format); gchar **gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format); gchar **gdk_pixbuf_format_get_extensions (GdkPixbufFormat *format); gboolean gdk_pixbuf_format_is_writable (GdkPixbufFormat *format); gboolean gdk_pixbuf_format_is_scalable (GdkPixbufFormat *format); gboolean gdk_pixbuf_format_is_disabled (GdkPixbufFormat *format); void gdk_pixbuf_format_set_disabled (GdkPixbufFormat *format, gboolean disabled); gchar *gdk_pixbuf_format_get_license (GdkPixbufFormat *format); GdkPixbufFormat *gdk_pixbuf_get_file_info (const gchar *filename, gint *width, gint *height); # 166 "../gdk-pixbuf/gdk-pixbuf-io.h" # 38 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf-loader.h" 1 # 35 "../gdk-pixbuf/gdk-pixbuf-loader.h" # 45 "../gdk-pixbuf/gdk-pixbuf-loader.h" typedef struct _GdkPixbufLoader GdkPixbufLoader; struct _GdkPixbufLoader { GObject parent_instance; gpointer priv; }; typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass; struct _GdkPixbufLoaderClass { GObjectClass parent_class; void (*size_prepared) (GdkPixbufLoader *loader, int width, int height); void (*area_prepared) (GdkPixbufLoader *loader); void (*area_updated) (GdkPixbufLoader *loader, int x, int y, int width, int height); void (*closed) (GdkPixbufLoader *loader); }; GType gdk_pixbuf_loader_get_type (void) __attribute__((__const__)); GdkPixbufLoader * gdk_pixbuf_loader_new (void); GdkPixbufLoader * gdk_pixbuf_loader_new_with_type (const char *image_type, GError **error); GdkPixbufLoader * gdk_pixbuf_loader_new_with_mime_type (const char *mime_type, GError **error); void gdk_pixbuf_loader_set_size (GdkPixbufLoader *loader, int width, int height); gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader, const guchar *buf, gsize count, GError **error); GdkPixbuf * gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader); GdkPixbufAnimation * gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader); gboolean gdk_pixbuf_loader_close (GdkPixbufLoader *loader, GError **error); GdkPixbufFormat *gdk_pixbuf_loader_get_format (GdkPixbufLoader *loader); # 39 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 1 "../gdk-pixbuf/gdk-pixbuf-enum-types.h" 1 # 9 "../gdk-pixbuf/gdk-pixbuf-enum-types.h" GType gdk_pixbuf_alpha_mode_get_type (void) __attribute__((__const__)); GType gdk_colorspace_get_type (void) __attribute__((__const__)); GType gdk_pixbuf_error_get_type (void) __attribute__((__const__)); GType gdk_interp_type_get_type (void) __attribute__((__const__)); GType gdk_pixbuf_rotation_get_type (void) __attribute__((__const__)); # 40 "../gdk-pixbuf/gdk-pixbuf.h" 2 # 34 "../gdk/gdkpixbuf.h" 2 void gdk_pixbuf_render_threshold_alpha (GdkPixbuf *pixbuf, GdkBitmap *bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold); # 75 "../gdk/gdkpixbuf.h" void gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf *pixbuf, GdkColormap *colormap, GdkPixmap **pixmap_return, GdkBitmap **mask_return, int alpha_threshold); void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf, GdkPixmap **pixmap_return, GdkBitmap **mask_return, int alpha_threshold); GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest, GdkDrawable *src, GdkColormap *cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); GdkPixbuf *gdk_pixbuf_get_from_image (GdkPixbuf *dest, GdkImage *src, GdkColormap *cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); # 25 "../gdk/gdkcairo.h" 2 # 1 "/usr/include/pango-1.0/pango/pangocairo.h" 1 # 30 "/usr/include/pango-1.0/pango/pangocairo.h" # 41 "/usr/include/pango-1.0/pango/pangocairo.h" typedef struct _PangoCairoFont PangoCairoFont; # 55 "/usr/include/pango-1.0/pango/pangocairo.h" typedef struct _PangoCairoFontMap PangoCairoFontMap; typedef void (* PangoCairoShapeRendererFunc) (cairo_t *cr, PangoAttrShape *attr, gboolean do_path, gpointer data); GType pango_cairo_font_map_get_type (void) __attribute__((__const__)); PangoFontMap *pango_cairo_font_map_new (void); PangoFontMap *pango_cairo_font_map_new_for_font_type (cairo_font_type_t fonttype); PangoFontMap *pango_cairo_font_map_get_default (void); cairo_font_type_t pango_cairo_font_map_get_font_type (PangoCairoFontMap *fontmap); void pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap, double dpi); double pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap); PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap); GType pango_cairo_font_get_type (void) __attribute__((__const__)); cairo_scaled_font_t *pango_cairo_font_get_scaled_font (PangoCairoFont *font); void pango_cairo_update_context (cairo_t *cr, PangoContext *context); void pango_cairo_context_set_font_options (PangoContext *context, const cairo_font_options_t *options); const cairo_font_options_t *pango_cairo_context_get_font_options (PangoContext *context); void pango_cairo_context_set_resolution (PangoContext *context, double dpi); double pango_cairo_context_get_resolution (PangoContext *context); void pango_cairo_context_set_shape_renderer (PangoContext *context, PangoCairoShapeRendererFunc func, gpointer data, GDestroyNotify dnotify); PangoCairoShapeRendererFunc pango_cairo_context_get_shape_renderer (PangoContext *context, gpointer *data); PangoLayout *pango_cairo_create_layout (cairo_t *cr); void pango_cairo_update_layout (cairo_t *cr, PangoLayout *layout); void pango_cairo_show_glyph_string (cairo_t *cr, PangoFont *font, PangoGlyphString *glyphs); void pango_cairo_show_layout_line (cairo_t *cr, PangoLayoutLine *line); void pango_cairo_show_layout (cairo_t *cr, PangoLayout *layout); void pango_cairo_show_error_underline (cairo_t *cr, double x, double y, double width, double height); void pango_cairo_glyph_string_path (cairo_t *cr, PangoFont *font, PangoGlyphString *glyphs); void pango_cairo_layout_line_path (cairo_t *cr, PangoLayoutLine *line); void pango_cairo_layout_path (cairo_t *cr, PangoLayout *layout); void pango_cairo_error_underline_path (cairo_t *cr, double x, double y, double width, double height); # 26 "../gdk/gdkcairo.h" 2 cairo_t *gdk_cairo_create (GdkDrawable *drawable); void gdk_cairo_set_source_color (cairo_t *cr, GdkColor *color); void gdk_cairo_set_source_pixbuf (cairo_t *cr, GdkPixbuf *pixbuf, double pixbuf_x, double pixbuf_y); void gdk_cairo_set_source_pixmap (cairo_t *cr, GdkPixmap *pixmap, double pixmap_x, double pixmap_y); void gdk_cairo_rectangle (cairo_t *cr, GdkRectangle *rectangle); void gdk_cairo_region (cairo_t *cr, GdkRegion *region); # 31 "../gdk/gdk.h" 2 # 1 "../gdk/gdkcursor.h" 1 # 33 "../gdk/gdkcursor.h" typedef enum { GDK_X_CURSOR = 0, GDK_ARROW = 2, GDK_BASED_ARROW_DOWN = 4, GDK_BASED_ARROW_UP = 6, GDK_BOAT = 8, GDK_BOGOSITY = 10, GDK_BOTTOM_LEFT_CORNER = 12, GDK_BOTTOM_RIGHT_CORNER = 14, GDK_BOTTOM_SIDE = 16, GDK_BOTTOM_TEE = 18, GDK_BOX_SPIRAL = 20, GDK_CENTER_PTR = 22, GDK_CIRCLE = 24, GDK_CLOCK = 26, GDK_COFFEE_MUG = 28, GDK_CROSS = 30, GDK_CROSS_REVERSE = 32, GDK_CROSSHAIR = 34, GDK_DIAMOND_CROSS = 36, GDK_DOT = 38, GDK_DOTBOX = 40, GDK_DOUBLE_ARROW = 42, GDK_DRAFT_LARGE = 44, GDK_DRAFT_SMALL = 46, GDK_DRAPED_BOX = 48, GDK_EXCHANGE = 50, GDK_FLEUR = 52, GDK_GOBBLER = 54, GDK_GUMBY = 56, GDK_HAND1 = 58, GDK_HAND2 = 60, GDK_HEART = 62, GDK_ICON = 64, GDK_IRON_CROSS = 66, GDK_LEFT_PTR = 68, GDK_LEFT_SIDE = 70, GDK_LEFT_TEE = 72, GDK_LEFTBUTTON = 74, GDK_LL_ANGLE = 76, GDK_LR_ANGLE = 78, GDK_MAN = 80, GDK_MIDDLEBUTTON = 82, GDK_MOUSE = 84, GDK_PENCIL = 86, GDK_PIRATE = 88, GDK_PLUS = 90, GDK_QUESTION_ARROW = 92, GDK_RIGHT_PTR = 94, GDK_RIGHT_SIDE = 96, GDK_RIGHT_TEE = 98, GDK_RIGHTBUTTON = 100, GDK_RTL_LOGO = 102, GDK_SAILBOAT = 104, GDK_SB_DOWN_ARROW = 106, GDK_SB_H_DOUBLE_ARROW = 108, GDK_SB_LEFT_ARROW = 110, GDK_SB_RIGHT_ARROW = 112, GDK_SB_UP_ARROW = 114, GDK_SB_V_DOUBLE_ARROW = 116, GDK_SHUTTLE = 118, GDK_SIZING = 120, GDK_SPIDER = 122, GDK_SPRAYCAN = 124, GDK_STAR = 126, GDK_TARGET = 128, GDK_TCROSS = 130, GDK_TOP_LEFT_ARROW = 132, GDK_TOP_LEFT_CORNER = 134, GDK_TOP_RIGHT_CORNER = 136, GDK_TOP_SIDE = 138, GDK_TOP_TEE = 140, GDK_TREK = 142, GDK_UL_ANGLE = 144, GDK_UMBRELLA = 146, GDK_UR_ANGLE = 148, GDK_WATCH = 150, GDK_XTERM = 152, GDK_LAST_CURSOR, GDK_CURSOR_IS_PIXMAP = -1 } GdkCursorType; struct _GdkCursor { GdkCursorType type; guint ref_count; }; GType gdk_cursor_get_type (void) __attribute__((__const__)); GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display, GdkCursorType cursor_type); GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); GdkCursor* gdk_cursor_new_from_pixmap (GdkPixmap *source, GdkPixmap *mask, const GdkColor *fg, const GdkColor *bg, gint x, gint y); GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display, GdkPixbuf *pixbuf, gint x, gint y); GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor); GdkCursor* gdk_cursor_ref (GdkCursor *cursor); void gdk_cursor_unref (GdkCursor *cursor); GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display, const gchar *name); GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor); # 33 "../gdk/gdk.h" 2 # 1 "../gdk/gdkdisplay.h" 1 # 28 "../gdk/gdkdisplay.h" # 1 "../gdk/gdkevents.h" 1 # 32 "../gdk/gdkevents.h" # 1 "../gdk/gdkdnd.h" 1 # 31 "../gdk/gdkdnd.h" typedef struct _GdkDragContext GdkDragContext; typedef enum { GDK_ACTION_DEFAULT = 1 << 0, GDK_ACTION_COPY = 1 << 1, GDK_ACTION_MOVE = 1 << 2, GDK_ACTION_LINK = 1 << 3, GDK_ACTION_PRIVATE = 1 << 4, GDK_ACTION_ASK = 1 << 5 } GdkDragAction; typedef enum { GDK_DRAG_PROTO_MOTIF, GDK_DRAG_PROTO_XDND, GDK_DRAG_PROTO_ROOTWIN, GDK_DRAG_PROTO_NONE, GDK_DRAG_PROTO_WIN32_DROPFILES, GDK_DRAG_PROTO_OLE2, GDK_DRAG_PROTO_LOCAL } GdkDragProtocol; typedef struct _GdkDragContextClass GdkDragContextClass; # 70 "../gdk/gdkdnd.h" struct _GdkDragContext { GObject parent_instance; GdkDragProtocol protocol; gboolean is_source; GdkWindow *source_window; GdkWindow *dest_window; GList *targets; GdkDragAction actions; GdkDragAction suggested_action; GdkDragAction action; guint32 start_time; gpointer windowing_data; }; struct _GdkDragContextClass { GObjectClass parent_class; }; GType gdk_drag_context_get_type (void) __attribute__((__const__)); GdkDragContext * gdk_drag_context_new (void); # 112 "../gdk/gdkdnd.h" void gdk_drag_status (GdkDragContext *context, GdkDragAction action, guint32 time_); void gdk_drop_reply (GdkDragContext *context, gboolean ok, guint32 time_); void gdk_drop_finish (GdkDragContext *context, gboolean success, guint32 time_); GdkAtom gdk_drag_get_selection (GdkDragContext *context); GdkDragContext * gdk_drag_begin (GdkWindow *window, GList *targets); guint32 gdk_drag_get_protocol_for_display (GdkDisplay *display, guint32 xid, GdkDragProtocol *protocol); void gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow *drag_window, GdkScreen *screen, gint x_root, gint y_root, GdkWindow **dest_window, GdkDragProtocol *protocol); guint32 gdk_drag_get_protocol (guint32 xid, GdkDragProtocol *protocol); void gdk_drag_find_window (GdkDragContext *context, GdkWindow *drag_window, gint x_root, gint y_root, GdkWindow **dest_window, GdkDragProtocol *protocol); gboolean gdk_drag_motion (GdkDragContext *context, GdkWindow *dest_window, GdkDragProtocol protocol, gint x_root, gint y_root, GdkDragAction suggested_action, GdkDragAction possible_actions, guint32 time_); void gdk_drag_drop (GdkDragContext *context, guint32 time_); void gdk_drag_abort (GdkDragContext *context, guint32 time_); gboolean gdk_drag_drop_succeeded (GdkDragContext *context); # 33 "../gdk/gdkevents.h" 2 # 1 "../gdk/gdkinput.h" 1 # 32 "../gdk/gdkinput.h" # 41 "../gdk/gdkinput.h" typedef struct _GdkDeviceKey GdkDeviceKey; typedef struct _GdkDeviceAxis GdkDeviceAxis; typedef struct _GdkDevice GdkDevice; typedef struct _GdkDeviceClass GdkDeviceClass; typedef struct _GdkTimeCoord GdkTimeCoord; typedef enum { GDK_EXTENSION_EVENTS_NONE, GDK_EXTENSION_EVENTS_ALL, GDK_EXTENSION_EVENTS_CURSOR } GdkExtensionMode; typedef enum { GDK_SOURCE_MOUSE, GDK_SOURCE_PEN, GDK_SOURCE_ERASER, GDK_SOURCE_CURSOR } GdkInputSource; typedef enum { GDK_MODE_DISABLED, GDK_MODE_SCREEN, GDK_MODE_WINDOW } GdkInputMode; typedef enum { GDK_AXIS_IGNORE, GDK_AXIS_X, GDK_AXIS_Y, GDK_AXIS_PRESSURE, GDK_AXIS_XTILT, GDK_AXIS_YTILT, GDK_AXIS_WHEEL, GDK_AXIS_LAST } GdkAxisUse; struct _GdkDeviceKey { guint keyval; GdkModifierType modifiers; }; struct _GdkDeviceAxis { GdkAxisUse use; gdouble min; gdouble max; }; struct _GdkDevice { GObject parent_instance; gchar *name; GdkInputSource source; GdkInputMode mode; gboolean has_cursor; gint num_axes; GdkDeviceAxis *axes; gint num_keys; GdkDeviceKey *keys; }; struct _GdkTimeCoord { guint32 time; gdouble axes[128]; }; GType gdk_device_get_type (void) __attribute__((__const__)); GList * gdk_devices_list (void); void gdk_device_set_source (GdkDevice *device, GdkInputSource source); gboolean gdk_device_set_mode (GdkDevice *device, GdkInputMode mode); void gdk_device_set_key (GdkDevice *device, guint index_, guint keyval, GdkModifierType modifiers); void gdk_device_set_axis_use (GdkDevice *device, guint index_, GdkAxisUse use); void gdk_device_get_state (GdkDevice *device, GdkWindow *window, gdouble *axes, GdkModifierType *mask); gboolean gdk_device_get_history (GdkDevice *device, GdkWindow *window, guint32 start, guint32 stop, GdkTimeCoord ***events, gint *n_events); void gdk_device_free_history (GdkTimeCoord **events, gint n_events); gboolean gdk_device_get_axis (GdkDevice *device, gdouble *axes, GdkAxisUse use, gdouble *value); void gdk_input_set_extension_events (GdkWindow *window, gint mask, GdkExtensionMode mode); GdkDevice *gdk_device_get_core_pointer (void); # 34 "../gdk/gdkevents.h" 2 typedef struct _GdkEventAny GdkEventAny; typedef struct _GdkEventExpose GdkEventExpose; typedef struct _GdkEventNoExpose GdkEventNoExpose; typedef struct _GdkEventVisibility GdkEventVisibility; typedef struct _GdkEventMotion GdkEventMotion; typedef struct _GdkEventButton GdkEventButton; typedef struct _GdkEventScroll GdkEventScroll; typedef struct _GdkEventKey GdkEventKey; typedef struct _GdkEventFocus GdkEventFocus; typedef struct _GdkEventCrossing GdkEventCrossing; typedef struct _GdkEventConfigure GdkEventConfigure; typedef struct _GdkEventProperty GdkEventProperty; typedef struct _GdkEventSelection GdkEventSelection; typedef struct _GdkEventOwnerChange GdkEventOwnerChange; typedef struct _GdkEventProximity GdkEventProximity; typedef struct _GdkEventClient GdkEventClient; typedef struct _GdkEventDND GdkEventDND; typedef struct _GdkEventWindowState GdkEventWindowState; typedef struct _GdkEventSetting GdkEventSetting; typedef struct _GdkEventGrabBroken GdkEventGrabBroken; typedef union _GdkEvent GdkEvent; typedef void (*GdkEventFunc) (GdkEvent *event, gpointer data); typedef void GdkXEvent; typedef enum { GDK_FILTER_CONTINUE, GDK_FILTER_TRANSLATE, GDK_FILTER_REMOVE } GdkFilterReturn; typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent, GdkEvent *event, gpointer data); # 111 "../gdk/gdkevents.h" typedef enum { GDK_NOTHING = -1, GDK_DELETE = 0, GDK_DESTROY = 1, GDK_EXPOSE = 2, GDK_MOTION_NOTIFY = 3, GDK_BUTTON_PRESS = 4, GDK_2BUTTON_PRESS = 5, GDK_3BUTTON_PRESS = 6, GDK_BUTTON_RELEASE = 7, GDK_KEY_PRESS = 8, GDK_KEY_RELEASE = 9, GDK_ENTER_NOTIFY = 10, GDK_LEAVE_NOTIFY = 11, GDK_FOCUS_CHANGE = 12, GDK_CONFIGURE = 13, GDK_MAP = 14, GDK_UNMAP = 15, GDK_PROPERTY_NOTIFY = 16, GDK_SELECTION_CLEAR = 17, GDK_SELECTION_REQUEST = 18, GDK_SELECTION_NOTIFY = 19, GDK_PROXIMITY_IN = 20, GDK_PROXIMITY_OUT = 21, GDK_DRAG_ENTER = 22, GDK_DRAG_LEAVE = 23, GDK_DRAG_MOTION = 24, GDK_DRAG_STATUS = 25, GDK_DROP_START = 26, GDK_DROP_FINISHED = 27, GDK_CLIENT_EVENT = 28, GDK_VISIBILITY_NOTIFY = 29, GDK_NO_EXPOSE = 30, GDK_SCROLL = 31, GDK_WINDOW_STATE = 32, GDK_SETTING = 33, GDK_OWNER_CHANGE = 34, GDK_GRAB_BROKEN = 35 } GdkEventType; typedef enum { GDK_EXPOSURE_MASK = 1 << 1, GDK_POINTER_MOTION_MASK = 1 << 2, GDK_POINTER_MOTION_HINT_MASK = 1 << 3, GDK_BUTTON_MOTION_MASK = 1 << 4, GDK_BUTTON1_MOTION_MASK = 1 << 5, GDK_BUTTON2_MOTION_MASK = 1 << 6, GDK_BUTTON3_MOTION_MASK = 1 << 7, GDK_BUTTON_PRESS_MASK = 1 << 8, GDK_BUTTON_RELEASE_MASK = 1 << 9, GDK_KEY_PRESS_MASK = 1 << 10, GDK_KEY_RELEASE_MASK = 1 << 11, GDK_ENTER_NOTIFY_MASK = 1 << 12, GDK_LEAVE_NOTIFY_MASK = 1 << 13, GDK_FOCUS_CHANGE_MASK = 1 << 14, GDK_STRUCTURE_MASK = 1 << 15, GDK_PROPERTY_CHANGE_MASK = 1 << 16, GDK_VISIBILITY_NOTIFY_MASK = 1 << 17, GDK_PROXIMITY_IN_MASK = 1 << 18, GDK_PROXIMITY_OUT_MASK = 1 << 19, GDK_SUBSTRUCTURE_MASK = 1 << 20, GDK_SCROLL_MASK = 1 << 21, GDK_ALL_EVENTS_MASK = 0x3FFFFE } GdkEventMask; typedef enum { GDK_VISIBILITY_UNOBSCURED, GDK_VISIBILITY_PARTIAL, GDK_VISIBILITY_FULLY_OBSCURED } GdkVisibilityState; typedef enum { GDK_SCROLL_UP, GDK_SCROLL_DOWN, GDK_SCROLL_LEFT, GDK_SCROLL_RIGHT } GdkScrollDirection; # 204 "../gdk/gdkevents.h" typedef enum { GDK_NOTIFY_ANCESTOR = 0, GDK_NOTIFY_VIRTUAL = 1, GDK_NOTIFY_INFERIOR = 2, GDK_NOTIFY_NONLINEAR = 3, GDK_NOTIFY_NONLINEAR_VIRTUAL = 4, GDK_NOTIFY_UNKNOWN = 5 } GdkNotifyType; typedef enum { GDK_CROSSING_NORMAL, GDK_CROSSING_GRAB, GDK_CROSSING_UNGRAB } GdkCrossingMode; typedef enum { GDK_PROPERTY_NEW_VALUE, GDK_PROPERTY_DELETE } GdkPropertyState; typedef enum { GDK_WINDOW_STATE_WITHDRAWN = 1 << 0, GDK_WINDOW_STATE_ICONIFIED = 1 << 1, GDK_WINDOW_STATE_MAXIMIZED = 1 << 2, GDK_WINDOW_STATE_STICKY = 1 << 3, GDK_WINDOW_STATE_FULLSCREEN = 1 << 4, GDK_WINDOW_STATE_ABOVE = 1 << 5, GDK_WINDOW_STATE_BELOW = 1 << 6 } GdkWindowState; typedef enum { GDK_SETTING_ACTION_NEW, GDK_SETTING_ACTION_CHANGED, GDK_SETTING_ACTION_DELETED } GdkSettingAction; typedef enum { GDK_OWNER_CHANGE_NEW_OWNER, GDK_OWNER_CHANGE_DESTROY, GDK_OWNER_CHANGE_CLOSE } GdkOwnerChange; struct _GdkEventAny { GdkEventType type; GdkWindow *window; gint8 send_event; }; struct _GdkEventExpose { GdkEventType type; GdkWindow *window; gint8 send_event; GdkRectangle area; GdkRegion *region; gint count; }; struct _GdkEventNoExpose { GdkEventType type; GdkWindow *window; gint8 send_event; }; struct _GdkEventVisibility { GdkEventType type; GdkWindow *window; gint8 send_event; GdkVisibilityState state; }; struct _GdkEventMotion { GdkEventType type; GdkWindow *window; gint8 send_event; guint32 time; gdouble x; gdouble y; gdouble *axes; guint state; gint16 is_hint; GdkDevice *device; gdouble x_root, y_root; }; struct _GdkEventButton { GdkEventType type; GdkWindow *window; gint8 send_event; guint32 time; gdouble x; gdouble y; gdouble *axes; guint state; guint button; GdkDevice *device; gdouble x_root, y_root; }; struct _GdkEventScroll { GdkEventType type; GdkWindow *window; gint8 send_event; guint32 time; gdouble x; gdouble y; guint state; GdkScrollDirection direction; GdkDevice *device; gdouble x_root, y_root; }; struct _GdkEventKey { GdkEventType type; GdkWindow *window; gint8 send_event; guint32 time; guint state; guint keyval; gint length; gchar *string; guint16 hardware_keycode; guint8 group; guint is_modifier : 1; }; struct _GdkEventCrossing { GdkEventType type; GdkWindow *window; gint8 send_event; GdkWindow *subwindow; guint32 time; gdouble x; gdouble y; gdouble x_root; gdouble y_root; GdkCrossingMode mode; GdkNotifyType detail; gboolean focus; guint state; }; struct _GdkEventFocus { GdkEventType type; GdkWindow *window; gint8 send_event; gint16 in; }; struct _GdkEventConfigure { GdkEventType type; GdkWindow *window; gint8 send_event; gint x, y; gint width; gint height; }; struct _GdkEventProperty { GdkEventType type; GdkWindow *window; gint8 send_event; GdkAtom atom; guint32 time; guint state; }; struct _GdkEventSelection { GdkEventType type; GdkWindow *window; gint8 send_event; GdkAtom selection; GdkAtom target; GdkAtom property; guint32 time; GdkNativeWindow requestor; }; struct _GdkEventOwnerChange { GdkEventType type; GdkWindow *window; gint8 send_event; GdkNativeWindow owner; GdkOwnerChange reason; GdkAtom selection; guint32 time; guint32 selection_time; }; struct _GdkEventProximity { GdkEventType type; GdkWindow *window; gint8 send_event; guint32 time; GdkDevice *device; }; struct _GdkEventClient { GdkEventType type; GdkWindow *window; gint8 send_event; GdkAtom message_type; gushort data_format; union { char b[20]; short s[10]; long l[5]; } data; }; struct _GdkEventSetting { GdkEventType type; GdkWindow *window; gint8 send_event; GdkSettingAction action; char *name; }; struct _GdkEventWindowState { GdkEventType type; GdkWindow *window; gint8 send_event; GdkWindowState changed_mask; GdkWindowState new_window_state; }; struct _GdkEventGrabBroken { GdkEventType type; GdkWindow *window; gint8 send_event; gboolean keyboard; gboolean implicit; GdkWindow *grab_window; }; struct _GdkEventDND { GdkEventType type; GdkWindow *window; gint8 send_event; GdkDragContext *context; guint32 time; gshort x_root, y_root; }; union _GdkEvent { GdkEventType type; GdkEventAny any; GdkEventExpose expose; GdkEventNoExpose no_expose; GdkEventVisibility visibility; GdkEventMotion motion; GdkEventButton button; GdkEventScroll scroll; GdkEventKey key; GdkEventCrossing crossing; GdkEventFocus focus_change; GdkEventConfigure configure; GdkEventProperty property; GdkEventSelection selection; GdkEventOwnerChange owner_change; GdkEventProximity proximity; GdkEventClient client; GdkEventDND dnd; GdkEventWindowState window_state; GdkEventSetting setting; GdkEventGrabBroken grab_broken; }; GType gdk_event_get_type (void) __attribute__((__const__)); gboolean gdk_events_pending (void); GdkEvent* gdk_event_get (void); GdkEvent* gdk_event_peek (void); GdkEvent* gdk_event_get_graphics_expose (GdkWindow *window); void gdk_event_put (GdkEvent *event); GdkEvent* gdk_event_new (GdkEventType type); GdkEvent* gdk_event_copy (GdkEvent *event); void gdk_event_free (GdkEvent *event); guint32 gdk_event_get_time (GdkEvent *event); gboolean gdk_event_get_state (GdkEvent *event, GdkModifierType *state); gboolean gdk_event_get_coords (GdkEvent *event, gdouble *x_win, gdouble *y_win); gboolean gdk_event_get_root_coords (GdkEvent *event, gdouble *x_root, gdouble *y_root); gboolean gdk_event_get_axis (GdkEvent *event, GdkAxisUse axis_use, gdouble *value); void gdk_event_request_motions (GdkEventMotion *event); void gdk_event_handler_set (GdkEventFunc func, gpointer data, GDestroyNotify notify); void gdk_event_set_screen (GdkEvent *event, GdkScreen *screen); GdkScreen *gdk_event_get_screen (GdkEvent *event); void gdk_set_show_events (gboolean show_events); gboolean gdk_get_show_events (void); void gdk_add_client_message_filter (GdkAtom message_type, GdkFilterFunc func, gpointer data); gboolean gdk_setting_get (const gchar *name, GValue *value); # 29 "../gdk/gdkdisplay.h" 2 typedef struct _GdkDisplayClass GdkDisplayClass; typedef struct _GdkDisplayPointerHooks GdkDisplayPointerHooks; # 43 "../gdk/gdkdisplay.h" struct _GdkDisplay { GObject parent_instance; GList *queued_events; GList *queued_tail; guint32 button_click_time[2]; GdkWindow *button_window[2]; gint button_number[2]; guint double_click_time; GdkDevice *core_pointer; const GdkDisplayPointerHooks *pointer_hooks; guint closed : 1; guint double_click_distance; gint button_x[2]; gint button_y[2]; }; struct _GdkDisplayClass { GObjectClass parent_class; const gchar * (*get_display_name) (GdkDisplay *display); gint (*get_n_screens) (GdkDisplay *display); GdkScreen * (*get_screen) (GdkDisplay *display, gint screen_num); GdkScreen * (*get_default_screen) (GdkDisplay *display); void (*closed) (GdkDisplay *display, gboolean is_error); }; struct _GdkDisplayPointerHooks { void (*get_pointer) (GdkDisplay *display, GdkScreen **screen, gint *x, gint *y, GdkModifierType *mask); GdkWindow* (*window_get_pointer) (GdkDisplay *display, GdkWindow *window, gint *x, gint *y, GdkModifierType *mask); GdkWindow* (*window_at_pointer) (GdkDisplay *display, gint *win_x, gint *win_y); }; GType gdk_display_get_type (void) __attribute__((__const__)); GdkDisplay *gdk_display_open (const gchar *display_name); const gchar * gdk_display_get_name (GdkDisplay *display); gint gdk_display_get_n_screens (GdkDisplay *display); GdkScreen * gdk_display_get_screen (GdkDisplay *display, gint screen_num); GdkScreen * gdk_display_get_default_screen (GdkDisplay *display); void gdk_display_pointer_ungrab (GdkDisplay *display, guint32 time_); void gdk_display_keyboard_ungrab (GdkDisplay *display, guint32 time_); gboolean gdk_display_pointer_is_grabbed (GdkDisplay *display); void gdk_display_beep (GdkDisplay *display); void gdk_display_sync (GdkDisplay *display); void gdk_display_flush (GdkDisplay *display); void gdk_display_close (GdkDisplay *display); GList * gdk_display_list_devices (GdkDisplay *display); GdkEvent* gdk_display_get_event (GdkDisplay *display); GdkEvent* gdk_display_peek_event (GdkDisplay *display); void gdk_display_put_event (GdkDisplay *display, GdkEvent *event); void gdk_display_add_client_message_filter (GdkDisplay *display, GdkAtom message_type, GdkFilterFunc func, gpointer data); void gdk_display_set_double_click_time (GdkDisplay *display, guint msec); void gdk_display_set_double_click_distance (GdkDisplay *display, guint distance); GdkDisplay *gdk_display_get_default (void); GdkDevice *gdk_display_get_core_pointer (GdkDisplay *display); void gdk_display_get_pointer (GdkDisplay *display, GdkScreen **screen, gint *x, gint *y, GdkModifierType *mask); GdkWindow * gdk_display_get_window_at_pointer (GdkDisplay *display, gint *win_x, gint *win_y); void gdk_display_warp_pointer (GdkDisplay *display, GdkScreen *screen, gint x, gint y); GdkDisplayPointerHooks *gdk_display_set_pointer_hooks (GdkDisplay *display, const GdkDisplayPointerHooks *new_hooks); GdkDisplay *gdk_display_open_default_libgtk_only (void); gboolean gdk_display_supports_cursor_alpha (GdkDisplay *display); gboolean gdk_display_supports_cursor_color (GdkDisplay *display); guint gdk_display_get_default_cursor_size (GdkDisplay *display); void gdk_display_get_maximal_cursor_size (GdkDisplay *display, guint *width, guint *height); GdkWindow *gdk_display_get_default_group (GdkDisplay *display); gboolean gdk_display_supports_selection_notification (GdkDisplay *display); gboolean gdk_display_request_selection_notification (GdkDisplay *display, GdkAtom selection); gboolean gdk_display_supports_clipboard_persistence (GdkDisplay *display); void gdk_display_store_clipboard (GdkDisplay *display, GdkWindow *clipboard_window, guint32 time_, GdkAtom *targets, gint n_targets); gboolean gdk_display_supports_shapes (GdkDisplay *display); gboolean gdk_display_supports_input_shapes (GdkDisplay *display); gboolean gdk_display_supports_composite (GdkDisplay *display); # 34 "../gdk/gdk.h" 2 # 1 "../gdk/gdkdrawable.h" 1 # 30 "../gdk/gdkdrawable.h" # 1 "../gdk/gdkgc.h" 1 # 33 "../gdk/gdkgc.h" typedef struct _GdkGCValues GdkGCValues; typedef struct _GdkGCClass GdkGCClass; typedef enum { GDK_CAP_NOT_LAST, GDK_CAP_BUTT, GDK_CAP_ROUND, GDK_CAP_PROJECTING } GdkCapStyle; typedef enum { GDK_SOLID, GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED } GdkFill; # 84 "../gdk/gdkgc.h" typedef enum { GDK_COPY, GDK_INVERT, GDK_XOR, GDK_CLEAR, GDK_AND, GDK_AND_REVERSE, GDK_AND_INVERT, GDK_NOOP, GDK_OR, GDK_EQUIV, GDK_OR_REVERSE, GDK_COPY_INVERT, GDK_OR_INVERT, GDK_NAND, GDK_NOR, GDK_SET } GdkFunction; typedef enum { GDK_JOIN_MITER, GDK_JOIN_ROUND, GDK_JOIN_BEVEL } GdkJoinStyle; typedef enum { GDK_LINE_SOLID, GDK_LINE_ON_OFF_DASH, GDK_LINE_DOUBLE_DASH } GdkLineStyle; typedef enum { GDK_CLIP_BY_CHILDREN = 0, GDK_INCLUDE_INFERIORS = 1 } GdkSubwindowMode; typedef enum { GDK_GC_FOREGROUND = 1 << 0, GDK_GC_BACKGROUND = 1 << 1, GDK_GC_FONT = 1 << 2, GDK_GC_FUNCTION = 1 << 3, GDK_GC_FILL = 1 << 4, GDK_GC_TILE = 1 << 5, GDK_GC_STIPPLE = 1 << 6, GDK_GC_CLIP_MASK = 1 << 7, GDK_GC_SUBWINDOW = 1 << 8, GDK_GC_TS_X_ORIGIN = 1 << 9, GDK_GC_TS_Y_ORIGIN = 1 << 10, GDK_GC_CLIP_X_ORIGIN = 1 << 11, GDK_GC_CLIP_Y_ORIGIN = 1 << 12, GDK_GC_EXPOSURES = 1 << 13, GDK_GC_LINE_WIDTH = 1 << 14, GDK_GC_LINE_STYLE = 1 << 15, GDK_GC_CAP_STYLE = 1 << 16, GDK_GC_JOIN_STYLE = 1 << 17 } GdkGCValuesMask; struct _GdkGCValues { GdkColor foreground; GdkColor background; GdkFont *font; GdkFunction function; GdkFill fill; GdkPixmap *tile; GdkPixmap *stipple; GdkPixmap *clip_mask; GdkSubwindowMode subwindow_mode; gint ts_x_origin; gint ts_y_origin; gint clip_x_origin; gint clip_y_origin; gint graphics_exposures; gint line_width; GdkLineStyle line_style; GdkCapStyle cap_style; GdkJoinStyle join_style; }; # 185 "../gdk/gdkgc.h" struct _GdkGC { GObject parent_instance; gint clip_x_origin; gint clip_y_origin; gint ts_x_origin; gint ts_y_origin; GdkColormap *colormap; }; struct _GdkGCClass { GObjectClass parent_class; void (*get_values) (GdkGC *gc, GdkGCValues *values); void (*set_values) (GdkGC *gc, GdkGCValues *values, GdkGCValuesMask mask); void (*set_dashes) (GdkGC *gc, gint dash_offset, gint8 dash_list[], gint n); void (*_gdk_reserved1) (void); void (*_gdk_reserved2) (void); void (*_gdk_reserved3) (void); void (*_gdk_reserved4) (void); }; GType gdk_gc_get_type (void) __attribute__((__const__)); GdkGC *gdk_gc_new (GdkDrawable *drawable); GdkGC *gdk_gc_new_with_values (GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask values_mask); void gdk_gc_get_values (GdkGC *gc, GdkGCValues *values); void gdk_gc_set_values (GdkGC *gc, GdkGCValues *values, GdkGCValuesMask values_mask); void gdk_gc_set_foreground (GdkGC *gc, const GdkColor *color); void gdk_gc_set_background (GdkGC *gc, const GdkColor *color); void gdk_gc_set_function (GdkGC *gc, GdkFunction function); void gdk_gc_set_fill (GdkGC *gc, GdkFill fill); void gdk_gc_set_tile (GdkGC *gc, GdkPixmap *tile); void gdk_gc_set_stipple (GdkGC *gc, GdkPixmap *stipple); void gdk_gc_set_ts_origin (GdkGC *gc, gint x, gint y); void gdk_gc_set_clip_origin (GdkGC *gc, gint x, gint y); void gdk_gc_set_clip_mask (GdkGC *gc, GdkBitmap *mask); void gdk_gc_set_clip_rectangle (GdkGC *gc, GdkRectangle *rectangle); void gdk_gc_set_clip_region (GdkGC *gc, GdkRegion *region); void gdk_gc_set_subwindow (GdkGC *gc, GdkSubwindowMode mode); void gdk_gc_set_exposures (GdkGC *gc, gboolean exposures); void gdk_gc_set_line_attributes (GdkGC *gc, gint line_width, GdkLineStyle line_style, GdkCapStyle cap_style, GdkJoinStyle join_style); void gdk_gc_set_dashes (GdkGC *gc, gint dash_offset, gint8 dash_list[], gint n); void gdk_gc_offset (GdkGC *gc, gint x_offset, gint y_offset); void gdk_gc_copy (GdkGC *dst_gc, GdkGC *src_gc); void gdk_gc_set_colormap (GdkGC *gc, GdkColormap *colormap); GdkColormap *gdk_gc_get_colormap (GdkGC *gc); void gdk_gc_set_rgb_fg_color (GdkGC *gc, const GdkColor *color); void gdk_gc_set_rgb_bg_color (GdkGC *gc, const GdkColor *color); GdkScreen * gdk_gc_get_screen (GdkGC *gc); # 31 "../gdk/gdkdrawable.h" 2 typedef struct _GdkDrawableClass GdkDrawableClass; typedef struct _GdkTrapezoid GdkTrapezoid; # 48 "../gdk/gdkdrawable.h" struct _GdkDrawable { GObject parent_instance; }; struct _GdkDrawableClass { GObjectClass parent_class; GdkGC *(*create_gc) (GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask mask); void (*draw_rectangle) (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height); void (*draw_arc) (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2); void (*draw_polygon) (GdkDrawable *drawable, GdkGC *gc, gboolean filled, GdkPoint *points, gint npoints); void (*draw_text) (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *text, gint text_length); void (*draw_text_wc) (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const GdkWChar *text, gint text_length); void (*draw_drawable) (GdkDrawable *drawable, GdkGC *gc, GdkDrawable *src, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height); void (*draw_points) (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints); void (*draw_segments) (GdkDrawable *drawable, GdkGC *gc, GdkSegment *segs, gint nsegs); void (*draw_lines) (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints); void (*draw_glyphs) (GdkDrawable *drawable, GdkGC *gc, PangoFont *font, gint x, gint y, PangoGlyphString *glyphs); void (*draw_image) (GdkDrawable *drawable, GdkGC *gc, GdkImage *image, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height); gint (*get_depth) (GdkDrawable *drawable); void (*get_size) (GdkDrawable *drawable, gint *width, gint *height); void (*set_colormap) (GdkDrawable *drawable, GdkColormap *cmap); GdkColormap* (*get_colormap) (GdkDrawable *drawable); GdkVisual* (*get_visual) (GdkDrawable *drawable); GdkScreen* (*get_screen) (GdkDrawable *drawable); GdkImage* (*get_image) (GdkDrawable *drawable, gint x, gint y, gint width, gint height); GdkRegion* (*get_clip_region) (GdkDrawable *drawable); GdkRegion* (*get_visible_region) (GdkDrawable *drawable); GdkDrawable* (*get_composite_drawable) (GdkDrawable *drawable, gint x, gint y, gint width, gint height, gint *composite_x_offset, gint *composite_y_offset); void (*draw_pixbuf) (GdkDrawable *drawable, GdkGC *gc, GdkPixbuf *pixbuf, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height, GdkRgbDither dither, gint x_dither, gint y_dither); GdkImage* (*_copy_to_image) (GdkDrawable *drawable, GdkImage *image, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height); void (*draw_glyphs_transformed) (GdkDrawable *drawable, GdkGC *gc, PangoMatrix *matrix, PangoFont *font, gint x, gint y, PangoGlyphString *glyphs); void (*draw_trapezoids) (GdkDrawable *drawable, GdkGC *gc, GdkTrapezoid *trapezoids, gint n_trapezoids); cairo_surface_t *(*ref_cairo_surface) (GdkDrawable *drawable); void (*_gdk_reserved4) (void); void (*_gdk_reserved5) (void); void (*_gdk_reserved6) (void); void (*_gdk_reserved7) (void); void (*_gdk_reserved9) (void); void (*_gdk_reserved10) (void); void (*_gdk_reserved11) (void); void (*_gdk_reserved12) (void); void (*_gdk_reserved13) (void); void (*_gdk_reserved14) (void); void (*_gdk_reserved15) (void); void (*_gdk_reserved16) (void); }; struct _GdkTrapezoid { double y1, x11, x21, y2, x12, x22; }; GType gdk_drawable_get_type (void) __attribute__((__const__)); # 232 "../gdk/gdkdrawable.h" void gdk_drawable_get_size (GdkDrawable *drawable, gint *width, gint *height); void gdk_drawable_set_colormap (GdkDrawable *drawable, GdkColormap *colormap); GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable); GdkVisual* gdk_drawable_get_visual (GdkDrawable *drawable); gint gdk_drawable_get_depth (GdkDrawable *drawable); GdkScreen* gdk_drawable_get_screen (GdkDrawable *drawable); GdkDisplay* gdk_drawable_get_display (GdkDrawable *drawable); # 250 "../gdk/gdkdrawable.h" void gdk_draw_point (GdkDrawable *drawable, GdkGC *gc, gint x, gint y); void gdk_draw_line (GdkDrawable *drawable, GdkGC *gc, gint x1_, gint y1_, gint x2_, gint y2_); void gdk_draw_rectangle (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height); void gdk_draw_arc (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2); void gdk_draw_polygon (GdkDrawable *drawable, GdkGC *gc, gboolean filled, GdkPoint *points, gint npoints); void gdk_draw_string (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *string); # 308 "../gdk/gdkdrawable.h" void gdk_draw_drawable (GdkDrawable *drawable, GdkGC *gc, GdkDrawable *src, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height); void gdk_draw_image (GdkDrawable *drawable, GdkGC *gc, GdkImage *image, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height); void gdk_draw_points (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints); void gdk_draw_segments (GdkDrawable *drawable, GdkGC *gc, GdkSegment *segs, gint nsegs); void gdk_draw_lines (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints); void gdk_draw_pixbuf (GdkDrawable *drawable, GdkGC *gc, GdkPixbuf *pixbuf, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height, GdkRgbDither dither, gint x_dither, gint y_dither); void gdk_draw_glyphs (GdkDrawable *drawable, GdkGC *gc, PangoFont *font, gint x, gint y, PangoGlyphString *glyphs); void gdk_draw_layout_line (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayoutLine *line); void gdk_draw_layout (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayout *layout); void gdk_draw_layout_line_with_colors (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayoutLine *line, const GdkColor *foreground, const GdkColor *background); void gdk_draw_layout_with_colors (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayout *layout, const GdkColor *foreground, const GdkColor *background); void gdk_draw_glyphs_transformed (GdkDrawable *drawable, GdkGC *gc, PangoMatrix *matrix, PangoFont *font, gint x, gint y, PangoGlyphString *glyphs); void gdk_draw_trapezoids (GdkDrawable *drawable, GdkGC *gc, GdkTrapezoid *trapezoids, gint n_trapezoids); GdkImage* gdk_drawable_get_image (GdkDrawable *drawable, gint x, gint y, gint width, gint height); GdkImage *gdk_drawable_copy_to_image (GdkDrawable *drawable, GdkImage *image, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height); GdkRegion *gdk_drawable_get_clip_region (GdkDrawable *drawable); GdkRegion *gdk_drawable_get_visible_region (GdkDrawable *drawable); # 36 "../gdk/gdk.h" 2 # 1 "../gdk/gdkenumtypes.h" 1 # 9 "../gdk/gdkenumtypes.h" GType gdk_cursor_type_get_type (void) __attribute__((__const__)); GType gdk_drag_action_get_type (void) __attribute__((__const__)); GType gdk_drag_protocol_get_type (void) __attribute__((__const__)); GType gdk_filter_return_get_type (void) __attribute__((__const__)); GType gdk_event_type_get_type (void) __attribute__((__const__)); GType gdk_event_mask_get_type (void) __attribute__((__const__)); GType gdk_visibility_state_get_type (void) __attribute__((__const__)); GType gdk_scroll_direction_get_type (void) __attribute__((__const__)); GType gdk_notify_type_get_type (void) __attribute__((__const__)); GType gdk_crossing_mode_get_type (void) __attribute__((__const__)); GType gdk_property_state_get_type (void) __attribute__((__const__)); GType gdk_window_state_get_type (void) __attribute__((__const__)); GType gdk_setting_action_get_type (void) __attribute__((__const__)); GType gdk_owner_change_get_type (void) __attribute__((__const__)); GType gdk_font_type_get_type (void) __attribute__((__const__)); GType gdk_cap_style_get_type (void) __attribute__((__const__)); GType gdk_fill_get_type (void) __attribute__((__const__)); GType gdk_function_get_type (void) __attribute__((__const__)); GType gdk_join_style_get_type (void) __attribute__((__const__)); GType gdk_line_style_get_type (void) __attribute__((__const__)); GType gdk_subwindow_mode_get_type (void) __attribute__((__const__)); GType gdk_gc_values_mask_get_type (void) __attribute__((__const__)); GType gdk_image_type_get_type (void) __attribute__((__const__)); GType gdk_extension_mode_get_type (void) __attribute__((__const__)); GType gdk_input_source_get_type (void) __attribute__((__const__)); GType gdk_input_mode_get_type (void) __attribute__((__const__)); GType gdk_axis_use_get_type (void) __attribute__((__const__)); GType gdk_prop_mode_get_type (void) __attribute__((__const__)); GType gdk_fill_rule_get_type (void) __attribute__((__const__)); GType gdk_overlap_type_get_type (void) __attribute__((__const__)); GType gdk_rgb_dither_get_type (void) __attribute__((__const__)); GType gdk_byte_order_get_type (void) __attribute__((__const__)); GType gdk_modifier_type_get_type (void) __attribute__((__const__)); GType gdk_input_condition_get_type (void) __attribute__((__const__)); GType gdk_status_get_type (void) __attribute__((__const__)); GType gdk_grab_status_get_type (void) __attribute__((__const__)); GType gdk_visual_type_get_type (void) __attribute__((__const__)); GType gdk_window_class_get_type (void) __attribute__((__const__)); GType gdk_window_type_get_type (void) __attribute__((__const__)); GType gdk_window_attributes_type_get_type (void) __attribute__((__const__)); GType gdk_window_hints_get_type (void) __attribute__((__const__)); GType gdk_window_type_hint_get_type (void) __attribute__((__const__)); GType gdk_wm_decoration_get_type (void) __attribute__((__const__)); GType gdk_wm_function_get_type (void) __attribute__((__const__)); GType gdk_gravity_get_type (void) __attribute__((__const__)); GType gdk_window_edge_get_type (void) __attribute__((__const__)); # 37 "../gdk/gdk.h" 2 # 1 "../gdk/gdkfont.h" 1 # 35 "../gdk/gdkfont.h" typedef enum { GDK_FONT_FONT, GDK_FONT_FONTSET } GdkFontType; struct _GdkFont { GdkFontType type; gint ascent; gint descent; }; GType gdk_font_get_type (void) __attribute__((__const__)); GdkFont* gdk_font_ref (GdkFont *font); void gdk_font_unref (GdkFont *font); gint gdk_font_id (const GdkFont *font); gboolean gdk_font_equal (const GdkFont *fonta, const GdkFont *fontb); GdkFont *gdk_font_load_for_display (GdkDisplay *display, const gchar *font_name); GdkFont *gdk_fontset_load_for_display (GdkDisplay *display, const gchar *fontset_name); GdkFont *gdk_font_from_description_for_display (GdkDisplay *display, PangoFontDescription *font_desc); # 134 "../gdk/gdkfont.h" # 39 "../gdk/gdk.h" 2 # 1 "../gdk/gdkimage.h" 1 # 32 "../gdk/gdkimage.h" # 45 "../gdk/gdkimage.h" typedef enum { GDK_IMAGE_NORMAL, GDK_IMAGE_SHARED, GDK_IMAGE_FASTEST } GdkImageType; typedef struct _GdkImageClass GdkImageClass; # 61 "../gdk/gdkimage.h" struct _GdkImage { GObject parent_instance; GdkImageType type; GdkVisual *visual; GdkByteOrder byte_order; gint width; gint height; guint16 depth; guint16 bpp; guint16 bpl; guint16 bits_per_pixel; gpointer mem; GdkColormap *colormap; gpointer windowing_data; }; struct _GdkImageClass { GObjectClass parent_class; }; GType gdk_image_get_type (void) __attribute__((__const__)); GdkImage* gdk_image_new (GdkImageType type, GdkVisual *visual, gint width, gint height); # 107 "../gdk/gdkimage.h" void gdk_image_put_pixel (GdkImage *image, gint x, gint y, guint32 pixel); guint32 gdk_image_get_pixel (GdkImage *image, gint x, gint y); void gdk_image_set_colormap (GdkImage *image, GdkColormap *colormap); GdkColormap* gdk_image_get_colormap (GdkImage *image); # 131 "../gdk/gdkimage.h" # 41 "../gdk/gdk.h" 2 # 1 "../gdk/gdkkeys.h" 1 # 32 "../gdk/gdkkeys.h" typedef struct _GdkKeymapKey GdkKeymapKey; struct _GdkKeymapKey { guint keycode; gint group; gint level; }; # 52 "../gdk/gdkkeys.h" typedef struct _GdkKeymap GdkKeymap; typedef struct _GdkKeymapClass GdkKeymapClass; # 62 "../gdk/gdkkeys.h" struct _GdkKeymap { GObject parent_instance; GdkDisplay *display; }; struct _GdkKeymapClass { GObjectClass parent_class; void (*direction_changed) (GdkKeymap *keymap); void (*keys_changed) (GdkKeymap *keymap); }; GType gdk_keymap_get_type (void) __attribute__((__const__)); GdkKeymap* gdk_keymap_get_default (void); GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display); guint gdk_keymap_lookup_key (GdkKeymap *keymap, const GdkKeymapKey *key); gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap, guint hardware_keycode, GdkModifierType state, gint group, guint *keyval, gint *effective_group, gint *level, GdkModifierType *consumed_modifiers); gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap, guint keyval, GdkKeymapKey **keys, gint *n_keys); gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap, guint hardware_keycode, GdkKeymapKey **keys, guint **keyvals, gint *n_entries); PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap); gboolean gdk_keymap_have_bidi_layouts (GdkKeymap *keymap); gchar* gdk_keyval_name (guint keyval) __attribute__((__const__)); guint gdk_keyval_from_name (const gchar *keyval_name); void gdk_keyval_convert_case (guint symbol, guint *lower, guint *upper); guint gdk_keyval_to_upper (guint keyval) __attribute__((__const__)); guint gdk_keyval_to_lower (guint keyval) __attribute__((__const__)); gboolean gdk_keyval_is_upper (guint keyval) __attribute__((__const__)); gboolean gdk_keyval_is_lower (guint keyval) __attribute__((__const__)); guint32 gdk_keyval_to_unicode (guint keyval) __attribute__((__const__)); guint gdk_unicode_to_keyval (guint32 wc) __attribute__((__const__)); # 43 "../gdk/gdk.h" 2 # 1 "../gdk/gdkdisplaymanager.h" 1 # 33 "../gdk/gdkdisplaymanager.h" typedef struct _GdkDisplayManager GdkDisplayManager; typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass; # 45 "../gdk/gdkdisplaymanager.h" struct _GdkDisplayManagerClass { GObjectClass parent_class; void (*display_opened) (GdkDisplayManager *display_manager, GdkDisplay *display); }; GType gdk_display_manager_get_type (void) __attribute__((__const__)); GdkDisplayManager *gdk_display_manager_get (void); GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *display_manager); void gdk_display_manager_set_default_display (GdkDisplayManager *display_manager, GdkDisplay *display); GSList * gdk_display_manager_list_displays (GdkDisplayManager *display_manager); # 44 "../gdk/gdk.h" 2 # 1 "../gdk/gdkpango.h" 1 # 25 "../gdk/gdkpango.h" typedef struct _GdkPangoRenderer GdkPangoRenderer; typedef struct _GdkPangoRendererClass GdkPangoRendererClass; typedef struct _GdkPangoRendererPrivate GdkPangoRendererPrivate; # 64 "../gdk/gdkpango.h" struct _GdkPangoRenderer { PangoRenderer parent_instance; GdkPangoRendererPrivate *priv; }; # 79 "../gdk/gdkpango.h" struct _GdkPangoRendererClass { PangoRendererClass parent_class; }; GType gdk_pango_renderer_get_type (void) __attribute__((__const__)); PangoRenderer *gdk_pango_renderer_new (GdkScreen *screen); PangoRenderer *gdk_pango_renderer_get_default (GdkScreen *screen); void gdk_pango_renderer_set_drawable (GdkPangoRenderer *gdk_renderer, GdkDrawable *drawable); void gdk_pango_renderer_set_gc (GdkPangoRenderer *gdk_renderer, GdkGC *gc); void gdk_pango_renderer_set_stipple (GdkPangoRenderer *gdk_renderer, PangoRenderPart part, GdkBitmap *stipple); void gdk_pango_renderer_set_override_color (GdkPangoRenderer *gdk_renderer, PangoRenderPart part, const GdkColor *color); PangoContext *gdk_pango_context_get_for_screen (GdkScreen *screen); PangoContext *gdk_pango_context_get (void); # 119 "../gdk/gdkpango.h" GdkRegion *gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line, gint x_origin, gint y_origin, gint *index_ranges, gint n_ranges); GdkRegion *gdk_pango_layout_get_clip_region (PangoLayout *layout, gint x_origin, gint y_origin, gint *index_ranges, gint n_ranges); typedef struct _GdkPangoAttrStipple GdkPangoAttrStipple; typedef struct _GdkPangoAttrEmbossed GdkPangoAttrEmbossed; typedef struct _GdkPangoAttrEmbossColor GdkPangoAttrEmbossColor; struct _GdkPangoAttrStipple { PangoAttribute attr; GdkBitmap *stipple; }; struct _GdkPangoAttrEmbossed { PangoAttribute attr; gboolean embossed; }; struct _GdkPangoAttrEmbossColor { PangoAttribute attr; PangoColor color; }; PangoAttribute *gdk_pango_attr_stipple_new (GdkBitmap *stipple); PangoAttribute *gdk_pango_attr_embossed_new (gboolean embossed); PangoAttribute *gdk_pango_attr_emboss_color_new (const GdkColor *color); # 45 "../gdk/gdk.h" 2 # 1 "../gdk/gdkpixmap.h" 1 # 33 "../gdk/gdkpixmap.h" typedef struct _GdkPixmapObject GdkPixmapObject; typedef struct _GdkPixmapObjectClass GdkPixmapObjectClass; # 46 "../gdk/gdkpixmap.h" struct _GdkPixmapObject { GdkDrawable parent_instance; GdkDrawable *impl; gint depth; }; struct _GdkPixmapObjectClass { GdkDrawableClass parent_class; }; GType gdk_pixmap_get_type (void) __attribute__((__const__)); GdkPixmap* gdk_pixmap_new (GdkDrawable *drawable, gint width, gint height, gint depth); GdkBitmap* gdk_bitmap_create_from_data (GdkDrawable *drawable, const gchar *data, gint width, gint height); GdkPixmap* gdk_pixmap_create_from_data (GdkDrawable *drawable, const gchar *data, gint width, gint height, gint depth, const GdkColor *fg, const GdkColor *bg); GdkPixmap* gdk_pixmap_create_from_xpm (GdkDrawable *drawable, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename); GdkPixmap* gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable, GdkColormap *colormap, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename); GdkPixmap* gdk_pixmap_create_from_xpm_d (GdkDrawable *drawable, GdkBitmap **mask, const GdkColor *transparent_color, gchar **data); GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d (GdkDrawable *drawable, GdkColormap *colormap, GdkBitmap **mask, const GdkColor *transparent_color, gchar **data); GdkPixmap* gdk_pixmap_foreign_new (GdkNativeWindow anid); GdkPixmap* gdk_pixmap_lookup (GdkNativeWindow anid); GdkPixmap* gdk_pixmap_foreign_new_for_display (GdkDisplay *display, GdkNativeWindow anid); GdkPixmap* gdk_pixmap_lookup_for_display (GdkDisplay *display, GdkNativeWindow anid); GdkPixmap* gdk_pixmap_foreign_new_for_screen (GdkScreen *screen, GdkNativeWindow anid, gint width, gint height, gint depth); # 124 "../gdk/gdkpixmap.h" # 47 "../gdk/gdk.h" 2 # 1 "../gdk/gdkproperty.h" 1 # 32 "../gdk/gdkproperty.h" typedef enum { GDK_PROP_MODE_REPLACE, GDK_PROP_MODE_PREPEND, GDK_PROP_MODE_APPEND } GdkPropMode; GdkAtom gdk_atom_intern (const gchar *atom_name, gboolean only_if_exists); GdkAtom gdk_atom_intern_static_string (const gchar *atom_name); gchar* gdk_atom_name (GdkAtom atom); gboolean gdk_property_get (GdkWindow *window, GdkAtom property, GdkAtom type, gulong offset, gulong length, gint pdelete, GdkAtom *actual_property_type, gint *actual_format, gint *actual_length, guchar **data); void gdk_property_change (GdkWindow *window, GdkAtom property, GdkAtom type, gint format, GdkPropMode mode, const guchar *data, gint nelements); void gdk_property_delete (GdkWindow *window, GdkAtom property); gint gdk_text_property_to_text_list (GdkAtom encoding, gint format, const guchar *text, gint length, gchar ***list); gint gdk_text_property_to_utf8_list (GdkAtom encoding, gint format, const guchar *text, gint length, gchar ***list); gboolean gdk_utf8_to_compound_text (const gchar *str, GdkAtom *encoding, gint *format, guchar **ctext, gint *length); gint gdk_string_to_compound_text (const gchar *str, GdkAtom *encoding, gint *format, guchar **ctext, gint *length); gint gdk_text_property_to_text_list_for_display (GdkDisplay *display, GdkAtom encoding, gint format, const guchar *text, gint length, gchar ***list); gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display, GdkAtom encoding, gint format, const guchar *text, gint length, gchar ***list); gchar *gdk_utf8_to_string_target (const gchar *str); gint gdk_string_to_compound_text_for_display (GdkDisplay *display, const gchar *str, GdkAtom *encoding, gint *format, guchar **ctext, gint *length); gboolean gdk_utf8_to_compound_text_for_display (GdkDisplay *display, const gchar *str, GdkAtom *encoding, gint *format, guchar **ctext, gint *length); void gdk_free_text_list (gchar **list); void gdk_free_compound_text (guchar *ctext); # 48 "../gdk/gdk.h" 2 # 1 "../gdk/gdkregion.h" 1 # 32 "../gdk/gdkregion.h" typedef enum { GDK_EVEN_ODD_RULE, GDK_WINDING_RULE } GdkFillRule; typedef enum { GDK_OVERLAP_RECTANGLE_IN, GDK_OVERLAP_RECTANGLE_OUT, GDK_OVERLAP_RECTANGLE_PART } GdkOverlapType; typedef void (*GdkSpanFunc) (GdkSpan *span, gpointer data); GdkRegion *gdk_region_new (void); GdkRegion *gdk_region_polygon (GdkPoint *points, gint npoints, GdkFillRule fill_rule); GdkRegion *gdk_region_copy (GdkRegion *region); GdkRegion *gdk_region_rectangle (GdkRectangle *rectangle); void gdk_region_destroy (GdkRegion *region); void gdk_region_get_clipbox (GdkRegion *region, GdkRectangle *rectangle); void gdk_region_get_rectangles (GdkRegion *region, GdkRectangle **rectangles, gint *n_rectangles); gboolean gdk_region_empty (GdkRegion *region); gboolean gdk_region_equal (GdkRegion *region1, GdkRegion *region2); gboolean gdk_region_point_in (GdkRegion *region, int x, int y); GdkOverlapType gdk_region_rect_in (GdkRegion *region, GdkRectangle *rectangle); void gdk_region_offset (GdkRegion *region, gint dx, gint dy); void gdk_region_shrink (GdkRegion *region, gint dx, gint dy); void gdk_region_union_with_rect (GdkRegion *region, GdkRectangle *rect); void gdk_region_intersect (GdkRegion *source1, GdkRegion *source2); void gdk_region_union (GdkRegion *source1, GdkRegion *source2); void gdk_region_subtract (GdkRegion *source1, GdkRegion *source2); void gdk_region_xor (GdkRegion *source1, GdkRegion *source2); void gdk_region_spans_intersect_foreach (GdkRegion *region, GdkSpan *spans, int n_spans, gboolean sorted, GdkSpanFunc function, gpointer data); # 49 "../gdk/gdk.h" 2 # 1 "../gdk/gdkscreen.h" 1 # 31 "../gdk/gdkscreen.h" typedef struct _GdkScreenClass GdkScreenClass; # 42 "../gdk/gdkscreen.h" struct _GdkScreen { GObject parent_instance; guint closed : 1; GdkGC *normal_gcs[32]; GdkGC *exposure_gcs[32]; cairo_font_options_t *font_options; double resolution; }; struct _GdkScreenClass { GObjectClass parent_class; void (*size_changed) (GdkScreen *screen); void (*composited_changed) (GdkScreen *screen); }; GType gdk_screen_get_type (void) __attribute__((__const__)); GdkColormap *gdk_screen_get_default_colormap (GdkScreen *screen); void gdk_screen_set_default_colormap (GdkScreen *screen, GdkColormap *colormap); GdkColormap* gdk_screen_get_system_colormap (GdkScreen *screen); GdkVisual* gdk_screen_get_system_visual (GdkScreen *screen); GdkColormap *gdk_screen_get_rgb_colormap (GdkScreen *screen); GdkVisual * gdk_screen_get_rgb_visual (GdkScreen *screen); GdkColormap *gdk_screen_get_rgba_colormap (GdkScreen *screen); GdkVisual * gdk_screen_get_rgba_visual (GdkScreen *screen); gboolean gdk_screen_is_composited (GdkScreen *screen); GdkWindow * gdk_screen_get_root_window (GdkScreen *screen); GdkDisplay * gdk_screen_get_display (GdkScreen *screen); gint gdk_screen_get_number (GdkScreen *screen); gint gdk_screen_get_width (GdkScreen *screen); gint gdk_screen_get_height (GdkScreen *screen); gint gdk_screen_get_width_mm (GdkScreen *screen); gint gdk_screen_get_height_mm (GdkScreen *screen); GList * gdk_screen_list_visuals (GdkScreen *screen); GList * gdk_screen_get_toplevel_windows (GdkScreen *screen); gchar * gdk_screen_make_display_name (GdkScreen *screen); gint gdk_screen_get_n_monitors (GdkScreen *screen); void gdk_screen_get_monitor_geometry (GdkScreen *screen, gint monitor_num, GdkRectangle *dest); gint gdk_screen_get_monitor_at_point (GdkScreen *screen, gint x, gint y); gint gdk_screen_get_monitor_at_window (GdkScreen *screen, GdkWindow *window); void gdk_screen_broadcast_client_message (GdkScreen *screen, GdkEvent *event); GdkScreen *gdk_screen_get_default (void); gboolean gdk_screen_get_setting (GdkScreen *screen, const gchar *name, GValue *value); void gdk_screen_set_font_options (GdkScreen *screen, const cairo_font_options_t *options); const cairo_font_options_t *gdk_screen_get_font_options (GdkScreen *screen); void gdk_screen_set_resolution (GdkScreen *screen, gdouble dpi); gdouble gdk_screen_get_resolution (GdkScreen *screen); GdkWindow *gdk_screen_get_active_window (GdkScreen *screen); GList *gdk_screen_get_window_stack (GdkScreen *screen); # 51 "../gdk/gdk.h" 2 # 1 "../gdk/gdkselection.h" 1 # 32 "../gdk/gdkselection.h" # 66 "../gdk/gdkselection.h" gboolean gdk_selection_owner_set (GdkWindow *owner, GdkAtom selection, guint32 time_, gboolean send_event); GdkWindow* gdk_selection_owner_get (GdkAtom selection); gboolean gdk_selection_owner_set_for_display (GdkDisplay *display, GdkWindow *owner, GdkAtom selection, guint32 time_, gboolean send_event); GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display, GdkAtom selection); void gdk_selection_convert (GdkWindow *requestor, GdkAtom selection, GdkAtom target, guint32 time_); gboolean gdk_selection_property_get (GdkWindow *requestor, guchar **data, GdkAtom *prop_type, gint *prop_format); void gdk_selection_send_notify (guint32 requestor, GdkAtom selection, GdkAtom target, GdkAtom property, guint32 time_); void gdk_selection_send_notify_for_display (GdkDisplay *display, guint32 requestor, GdkAtom selection, GdkAtom target, GdkAtom property, guint32 time_); # 52 "../gdk/gdk.h" 2 # 1 "../gdk/gdkspawn.h" 1 # 28 "../gdk/gdkspawn.h" gboolean gdk_spawn_on_screen (GdkScreen *screen, const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, gint *child_pid, GError **error); gboolean gdk_spawn_on_screen_with_pipes (GdkScreen *screen, const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, gint *child_pid, gint *standard_input, gint *standard_output, gint *standard_error, GError **error); gboolean gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command_line, GError **error); # 53 "../gdk/gdk.h" 2 # 1 "../gdk/gdkvisual.h" 1 # 32 "../gdk/gdkvisual.h" # 41 "../gdk/gdkvisual.h" typedef struct _GdkVisualClass GdkVisualClass; # 51 "../gdk/gdkvisual.h" typedef enum { GDK_VISUAL_STATIC_GRAY, GDK_VISUAL_GRAYSCALE, GDK_VISUAL_STATIC_COLOR, GDK_VISUAL_PSEUDO_COLOR, GDK_VISUAL_TRUE_COLOR, GDK_VISUAL_DIRECT_COLOR } GdkVisualType; # 73 "../gdk/gdkvisual.h" struct _GdkVisual { GObject parent_instance; GdkVisualType type; gint depth; GdkByteOrder byte_order; gint colormap_size; gint bits_per_rgb; guint32 red_mask; gint red_shift; gint red_prec; guint32 green_mask; gint green_shift; gint green_prec; guint32 blue_mask; gint blue_shift; gint blue_prec; }; GType gdk_visual_get_type (void) __attribute__((__const__)); gint gdk_visual_get_best_depth (void); GdkVisualType gdk_visual_get_best_type (void); GdkVisual* gdk_visual_get_system (void); GdkVisual* gdk_visual_get_best (void); GdkVisual* gdk_visual_get_best_with_depth (gint depth); GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type); GdkVisual* gdk_visual_get_best_with_both (gint depth, GdkVisualType visual_type); void gdk_query_depths (gint **depths, gint *count); void gdk_query_visual_types (GdkVisualType **visual_types, gint *count); GList* gdk_list_visuals (void); GdkScreen *gdk_visual_get_screen (GdkVisual *visual); # 55 "../gdk/gdk.h" 2 # 1 "../gdk/gdkwindow.h" 1 # 34 "../gdk/gdkwindow.h" typedef struct _GdkGeometry GdkGeometry; typedef struct _GdkWindowAttr GdkWindowAttr; typedef struct _GdkPointerHooks GdkPointerHooks; # 49 "../gdk/gdkwindow.h" typedef enum { GDK_INPUT_OUTPUT, GDK_INPUT_ONLY } GdkWindowClass; # 68 "../gdk/gdkwindow.h" typedef enum { GDK_WINDOW_ROOT, GDK_WINDOW_TOPLEVEL, GDK_WINDOW_CHILD, GDK_WINDOW_DIALOG, GDK_WINDOW_TEMP, GDK_WINDOW_FOREIGN } GdkWindowType; # 86 "../gdk/gdkwindow.h" typedef enum { GDK_WA_TITLE = 1 << 1, GDK_WA_X = 1 << 2, GDK_WA_Y = 1 << 3, GDK_WA_CURSOR = 1 << 4, GDK_WA_COLORMAP = 1 << 5, GDK_WA_VISUAL = 1 << 6, GDK_WA_WMCLASS = 1 << 7, GDK_WA_NOREDIR = 1 << 8, GDK_WA_TYPE_HINT = 1 << 9 } GdkWindowAttributesType; typedef enum { GDK_HINT_POS = 1 << 0, GDK_HINT_MIN_SIZE = 1 << 1, GDK_HINT_MAX_SIZE = 1 << 2, GDK_HINT_BASE_SIZE = 1 << 3, GDK_HINT_ASPECT = 1 << 4, GDK_HINT_RESIZE_INC = 1 << 5, GDK_HINT_WIN_GRAVITY = 1 << 6, GDK_HINT_USER_POS = 1 << 7, GDK_HINT_USER_SIZE = 1 << 8 } GdkWindowHints; # 127 "../gdk/gdkwindow.h" typedef enum { GDK_WINDOW_TYPE_HINT_NORMAL, GDK_WINDOW_TYPE_HINT_DIALOG, GDK_WINDOW_TYPE_HINT_MENU, GDK_WINDOW_TYPE_HINT_TOOLBAR, GDK_WINDOW_TYPE_HINT_SPLASHSCREEN, GDK_WINDOW_TYPE_HINT_UTILITY, GDK_WINDOW_TYPE_HINT_DOCK, GDK_WINDOW_TYPE_HINT_DESKTOP, GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU, GDK_WINDOW_TYPE_HINT_POPUP_MENU, GDK_WINDOW_TYPE_HINT_TOOLTIP, GDK_WINDOW_TYPE_HINT_NOTIFICATION, GDK_WINDOW_TYPE_HINT_COMBO, GDK_WINDOW_TYPE_HINT_DND } GdkWindowTypeHint; typedef enum { GDK_DECOR_ALL = 1 << 0, GDK_DECOR_BORDER = 1 << 1, GDK_DECOR_RESIZEH = 1 << 2, GDK_DECOR_TITLE = 1 << 3, GDK_DECOR_MENU = 1 << 4, GDK_DECOR_MINIMIZE = 1 << 5, GDK_DECOR_MAXIMIZE = 1 << 6 } GdkWMDecoration; typedef enum { GDK_FUNC_ALL = 1 << 0, GDK_FUNC_RESIZE = 1 << 1, GDK_FUNC_MOVE = 1 << 2, GDK_FUNC_MINIMIZE = 1 << 3, GDK_FUNC_MAXIMIZE = 1 << 4, GDK_FUNC_CLOSE = 1 << 5 } GdkWMFunction; typedef enum { GDK_GRAVITY_NORTH_WEST = 1, GDK_GRAVITY_NORTH, GDK_GRAVITY_NORTH_EAST, GDK_GRAVITY_WEST, GDK_GRAVITY_CENTER, GDK_GRAVITY_EAST, GDK_GRAVITY_SOUTH_WEST, GDK_GRAVITY_SOUTH, GDK_GRAVITY_SOUTH_EAST, GDK_GRAVITY_STATIC } GdkGravity; typedef enum { GDK_WINDOW_EDGE_NORTH_WEST, GDK_WINDOW_EDGE_NORTH, GDK_WINDOW_EDGE_NORTH_EAST, GDK_WINDOW_EDGE_WEST, GDK_WINDOW_EDGE_EAST, GDK_WINDOW_EDGE_SOUTH_WEST, GDK_WINDOW_EDGE_SOUTH, GDK_WINDOW_EDGE_SOUTH_EAST } GdkWindowEdge; struct _GdkWindowAttr { gchar *title; gint event_mask; gint x, y; gint width; gint height; GdkWindowClass wclass; GdkVisual *visual; GdkColormap *colormap; GdkWindowType window_type; GdkCursor *cursor; gchar *wmclass_name; gchar *wmclass_class; gboolean override_redirect; GdkWindowTypeHint type_hint; }; struct _GdkGeometry { gint min_width; gint min_height; gint max_width; gint max_height; gint base_width; gint base_height; gint width_inc; gint height_inc; gdouble min_aspect; gdouble max_aspect; GdkGravity win_gravity; }; struct _GdkPointerHooks { GdkWindow* (*get_pointer) (GdkWindow *window, gint *x, gint *y, GdkModifierType *mask); GdkWindow* (*window_at_pointer) (GdkScreen *screen, gint *win_x, gint *win_y); }; typedef struct _GdkWindowObject GdkWindowObject; typedef struct _GdkWindowObjectClass GdkWindowObjectClass; # 257 "../gdk/gdkwindow.h" struct _GdkWindowObject { GdkDrawable parent_instance; GdkDrawable *impl; GdkWindowObject *parent; gpointer user_data; gint x; gint y; gint extension_events; GList *filters; GList *children; GdkColor bg_color; GdkPixmap *bg_pixmap; GSList *paint_stack; GdkRegion *update_area; guint update_freeze_count; guint8 window_type; guint8 depth; guint8 resize_count; GdkWindowState state; guint guffaw_gravity : 1; guint input_only : 1; guint modal_hint : 1; guint composited : 1; guint destroyed : 2; guint accept_focus : 1; guint focus_on_map : 1; guint shaped : 1; GdkEventMask event_mask; guint update_and_descendants_freeze_count; }; struct _GdkWindowObjectClass { GdkDrawableClass parent_class; }; GType gdk_window_object_get_type (void) __attribute__((__const__)); GdkWindow* gdk_window_new (GdkWindow *parent, GdkWindowAttr *attributes, gint attributes_mask); void gdk_window_destroy (GdkWindow *window); GdkWindowType gdk_window_get_window_type (GdkWindow *window); GdkWindow* gdk_window_at_pointer (gint *win_x, gint *win_y); void gdk_window_show (GdkWindow *window); void gdk_window_hide (GdkWindow *window); void gdk_window_withdraw (GdkWindow *window); void gdk_window_show_unraised (GdkWindow *window); void gdk_window_move (GdkWindow *window, gint x, gint y); void gdk_window_resize (GdkWindow *window, gint width, gint height); void gdk_window_move_resize (GdkWindow *window, gint x, gint y, gint width, gint height); void gdk_window_reparent (GdkWindow *window, GdkWindow *new_parent, gint x, gint y); void gdk_window_clear (GdkWindow *window); void gdk_window_clear_area (GdkWindow *window, gint x, gint y, gint width, gint height); void gdk_window_clear_area_e (GdkWindow *window, gint x, gint y, gint width, gint height); void gdk_window_raise (GdkWindow *window); void gdk_window_lower (GdkWindow *window); void gdk_window_focus (GdkWindow *window, guint32 timestamp); void gdk_window_set_user_data (GdkWindow *window, gpointer user_data); void gdk_window_set_override_redirect (GdkWindow *window, gboolean override_redirect); void gdk_window_set_accept_focus (GdkWindow *window, gboolean accept_focus); void gdk_window_set_focus_on_map (GdkWindow *window, gboolean focus_on_map); void gdk_window_add_filter (GdkWindow *window, GdkFilterFunc function, gpointer data); void gdk_window_remove_filter (GdkWindow *window, GdkFilterFunc function, gpointer data); void gdk_window_scroll (GdkWindow *window, gint dx, gint dy); void gdk_window_move_region (GdkWindow *window, GdkRegion *region, gint dx, gint dy); void gdk_window_shape_combine_mask (GdkWindow *window, GdkBitmap *mask, gint x, gint y); void gdk_window_shape_combine_region (GdkWindow *window, GdkRegion *shape_region, gint offset_x, gint offset_y); # 398 "../gdk/gdkwindow.h" void gdk_window_set_child_shapes (GdkWindow *window); void gdk_window_set_composited (GdkWindow *window, gboolean composited); # 410 "../gdk/gdkwindow.h" void gdk_window_merge_child_shapes (GdkWindow *window); void gdk_window_input_shape_combine_mask (GdkWindow *window, GdkBitmap *mask, gint x, gint y); void gdk_window_input_shape_combine_region (GdkWindow *window, GdkRegion *shape_region, gint offset_x, gint offset_y); void gdk_window_set_child_input_shapes (GdkWindow *window); void gdk_window_merge_child_input_shapes (GdkWindow *window); # 430 "../gdk/gdkwindow.h" gboolean gdk_window_is_visible (GdkWindow *window); gboolean gdk_window_is_viewable (GdkWindow *window); GdkWindowState gdk_window_get_state (GdkWindow *window); gboolean gdk_window_set_static_gravities (GdkWindow *window, gboolean use_static); GdkWindow* gdk_window_foreign_new (GdkNativeWindow anid); GdkWindow* gdk_window_lookup (GdkNativeWindow anid); GdkWindow *gdk_window_foreign_new_for_display (GdkDisplay *display, GdkNativeWindow anid); GdkWindow* gdk_window_lookup_for_display (GdkDisplay *display, GdkNativeWindow anid); # 464 "../gdk/gdkwindow.h" void gdk_window_set_type_hint (GdkWindow *window, GdkWindowTypeHint hint); GdkWindowTypeHint gdk_window_get_type_hint (GdkWindow *window); void gdk_window_set_modal_hint (GdkWindow *window, gboolean modal); void gdk_window_set_skip_taskbar_hint (GdkWindow *window, gboolean skips_taskbar); void gdk_window_set_skip_pager_hint (GdkWindow *window, gboolean skips_pager); void gdk_window_set_urgency_hint (GdkWindow *window, gboolean urgent); void gdk_window_set_geometry_hints (GdkWindow *window, GdkGeometry *geometry, GdkWindowHints geom_mask); void gdk_set_sm_client_id (const gchar *sm_client_id); void gdk_window_begin_paint_rect (GdkWindow *window, GdkRectangle *rectangle); void gdk_window_begin_paint_region (GdkWindow *window, GdkRegion *region); void gdk_window_end_paint (GdkWindow *window); void gdk_window_set_title (GdkWindow *window, const gchar *title); void gdk_window_set_role (GdkWindow *window, const gchar *role); void gdk_window_set_startup_id (GdkWindow *window, const gchar *startup_id); void gdk_window_set_transient_for (GdkWindow *window, GdkWindow *parent); void gdk_window_set_background (GdkWindow *window, const GdkColor *color); void gdk_window_set_back_pixmap (GdkWindow *window, GdkPixmap *pixmap, gboolean parent_relative); void gdk_window_set_cursor (GdkWindow *window, GdkCursor *cursor); void gdk_window_get_user_data (GdkWindow *window, gpointer *data); void gdk_window_get_geometry (GdkWindow *window, gint *x, gint *y, gint *width, gint *height, gint *depth); void gdk_window_get_position (GdkWindow *window, gint *x, gint *y); gint gdk_window_get_origin (GdkWindow *window, gint *x, gint *y); gboolean gdk_window_get_deskrelative_origin (GdkWindow *window, gint *x, gint *y); void gdk_window_get_root_origin (GdkWindow *window, gint *x, gint *y); void gdk_window_get_frame_extents (GdkWindow *window, GdkRectangle *rect); GdkWindow* gdk_window_get_pointer (GdkWindow *window, gint *x, gint *y, GdkModifierType *mask); GdkWindow * gdk_window_get_parent (GdkWindow *window); GdkWindow * gdk_window_get_toplevel (GdkWindow *window); GList * gdk_window_get_children (GdkWindow *window); GList * gdk_window_peek_children (GdkWindow *window); GdkEventMask gdk_window_get_events (GdkWindow *window); void gdk_window_set_events (GdkWindow *window, GdkEventMask event_mask); void gdk_window_set_icon_list (GdkWindow *window, GList *pixbufs); void gdk_window_set_icon (GdkWindow *window, GdkWindow *icon_window, GdkPixmap *pixmap, GdkBitmap *mask); void gdk_window_set_icon_name (GdkWindow *window, const gchar *name); void gdk_window_set_group (GdkWindow *window, GdkWindow *leader); GdkWindow* gdk_window_get_group (GdkWindow *window); void gdk_window_set_decorations (GdkWindow *window, GdkWMDecoration decorations); gboolean gdk_window_get_decorations (GdkWindow *window, GdkWMDecoration *decorations); void gdk_window_set_functions (GdkWindow *window, GdkWMFunction functions); GList * gdk_window_get_toplevels (void); void gdk_window_beep (GdkWindow *window); void gdk_window_iconify (GdkWindow *window); void gdk_window_deiconify (GdkWindow *window); void gdk_window_stick (GdkWindow *window); void gdk_window_unstick (GdkWindow *window); void gdk_window_maximize (GdkWindow *window); void gdk_window_unmaximize (GdkWindow *window); void gdk_window_fullscreen (GdkWindow *window); void gdk_window_unfullscreen (GdkWindow *window); void gdk_window_set_keep_above (GdkWindow *window, gboolean setting); void gdk_window_set_keep_below (GdkWindow *window, gboolean setting); void gdk_window_set_opacity (GdkWindow *window, gdouble opacity); void gdk_window_register_dnd (GdkWindow *window); void gdk_window_begin_resize_drag (GdkWindow *window, GdkWindowEdge edge, gint button, gint root_x, gint root_y, guint32 timestamp); void gdk_window_begin_move_drag (GdkWindow *window, gint button, gint root_x, gint root_y, guint32 timestamp); void gdk_window_invalidate_rect (GdkWindow *window, GdkRectangle *rect, gboolean invalidate_children); void gdk_window_invalidate_region (GdkWindow *window, GdkRegion *region, gboolean invalidate_children); void gdk_window_invalidate_maybe_recurse (GdkWindow *window, GdkRegion *region, gboolean (*child_func) (GdkWindow *, gpointer), gpointer user_data); GdkRegion *gdk_window_get_update_area (GdkWindow *window); void gdk_window_freeze_updates (GdkWindow *window); void gdk_window_thaw_updates (GdkWindow *window); void gdk_window_freeze_toplevel_updates_libgtk_only (GdkWindow *window); void gdk_window_thaw_toplevel_updates_libgtk_only (GdkWindow *window); void gdk_window_process_all_updates (void); void gdk_window_process_updates (GdkWindow *window, gboolean update_children); void gdk_window_set_debug_updates (gboolean setting); void gdk_window_constrain_size (GdkGeometry *geometry, guint flags, gint width, gint height, gint *new_width, gint *new_height); void gdk_window_get_internal_paint_info (GdkWindow *window, GdkDrawable **real_drawable, gint *x_offset, gint *y_offset); void gdk_window_enable_synchronized_configure (GdkWindow *window); void gdk_window_configure_finished (GdkWindow *window); GdkPointerHooks *gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks); GdkWindow *gdk_get_default_root_window (void); # 655 "../gdk/gdkwindow.h" # 56 "../gdk/gdk.h" 2 void gdk_parse_args (gint *argc, gchar ***argv); void gdk_init (gint *argc, gchar ***argv); gboolean gdk_init_check (gint *argc, gchar ***argv); void gdk_add_option_entries_libgtk_only (GOptionGroup *group); void gdk_pre_parse_libgtk_only (void); gchar* gdk_set_locale (void); const char *gdk_get_program_class (void); void gdk_set_program_class (const char *program_class); void gdk_error_trap_push (void); gint gdk_error_trap_pop (void); gchar* gdk_get_display (void); const gchar* gdk_get_display_arg_name (void); gint gdk_input_add_full (gint source, GdkInputCondition condition, GdkInputFunction function, gpointer data, GdkDestroyNotify destroy); # 109 "../gdk/gdk.h" GdkGrabStatus gdk_pointer_grab (GdkWindow *window, gboolean owner_events, GdkEventMask event_mask, GdkWindow *confine_to, GdkCursor *cursor, guint32 time_); GdkGrabStatus gdk_keyboard_grab (GdkWindow *window, gboolean owner_events, guint32 time_); gboolean gdk_pointer_grab_info_libgtk_only (GdkDisplay *display, GdkWindow **grab_window, gboolean *owner_events); gboolean gdk_keyboard_grab_info_libgtk_only (GdkDisplay *display, GdkWindow **grab_window, gboolean *owner_events); void gdk_pointer_ungrab (guint32 time_); void gdk_keyboard_ungrab (guint32 time_); gboolean gdk_pointer_is_grabbed (void); gint gdk_screen_width (void) __attribute__((__const__)); gint gdk_screen_height (void) __attribute__((__const__)); gint gdk_screen_width_mm (void) __attribute__((__const__)); gint gdk_screen_height_mm (void) __attribute__((__const__)); void gdk_beep (void); void gdk_flush (void); void gdk_set_double_click_time (guint msec); gboolean gdk_rectangle_intersect (GdkRectangle *src1, GdkRectangle *src2, GdkRectangle *dest); void gdk_rectangle_union (GdkRectangle *src1, GdkRectangle *src2, GdkRectangle *dest); GType gdk_rectangle_get_type (void) __attribute__((__const__)); # 170 "../gdk/gdk.h" gboolean gdk_event_send_client_message (GdkEvent *event, GdkNativeWindow winid); void gdk_event_send_clientmessage_toall (GdkEvent *event); gboolean gdk_event_send_client_message_for_display (GdkDisplay *display, GdkEvent *event, GdkNativeWindow winid); void gdk_notify_startup_complete (void); void gdk_notify_startup_complete_with_id (const gchar* startup_id); # 189 "../gdk/gdk.h" extern GCallback gdk_threads_lock; extern GCallback gdk_threads_unlock; void gdk_threads_enter (void); void gdk_threads_leave (void); void gdk_threads_init (void); void gdk_threads_set_lock_functions (GCallback enter_fn, GCallback leave_fn); guint gdk_threads_add_idle_full (gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); guint gdk_threads_add_idle (GSourceFunc function, gpointer data); guint gdk_threads_add_timeout_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); guint gdk_threads_add_timeout (guint interval, GSourceFunc function, gpointer data); # 227 "../gdk/gdk.h" # 33 "gtknotebook.h" 2 # 1 "../gtk/gtkcontainer.h" 1 # 32 "../gtk/gtkcontainer.h" # 1 "../gtk/gtkenums.h" 1 # 32 "../gtk/gtkenums.h" typedef enum { GTK_ANCHOR_CENTER, GTK_ANCHOR_NORTH, GTK_ANCHOR_NORTH_WEST, GTK_ANCHOR_NORTH_EAST, GTK_ANCHOR_SOUTH, GTK_ANCHOR_SOUTH_WEST, GTK_ANCHOR_SOUTH_EAST, GTK_ANCHOR_WEST, GTK_ANCHOR_EAST, GTK_ANCHOR_N = GTK_ANCHOR_NORTH, GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST, GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST, GTK_ANCHOR_S = GTK_ANCHOR_SOUTH, GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST, GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST, GTK_ANCHOR_W = GTK_ANCHOR_WEST, GTK_ANCHOR_E = GTK_ANCHOR_EAST } GtkAnchorType; typedef enum { GTK_ARROW_UP, GTK_ARROW_DOWN, GTK_ARROW_LEFT, GTK_ARROW_RIGHT, GTK_ARROW_NONE } GtkArrowType; typedef enum { GTK_EXPAND = 1 << 0, GTK_SHRINK = 1 << 1, GTK_FILL = 1 << 2 } GtkAttachOptions; typedef enum { GTK_BUTTONBOX_DEFAULT_STYLE, GTK_BUTTONBOX_SPREAD, GTK_BUTTONBOX_EDGE, GTK_BUTTONBOX_START, GTK_BUTTONBOX_END, GTK_BUTTONBOX_CENTER } GtkButtonBoxStyle; typedef enum { GTK_CURVE_TYPE_LINEAR, GTK_CURVE_TYPE_SPLINE, GTK_CURVE_TYPE_FREE } GtkCurveType; typedef enum { GTK_DELETE_CHARS, GTK_DELETE_WORD_ENDS, GTK_DELETE_WORDS, GTK_DELETE_DISPLAY_LINES, GTK_DELETE_DISPLAY_LINE_ENDS, GTK_DELETE_PARAGRAPH_ENDS, GTK_DELETE_PARAGRAPHS, GTK_DELETE_WHITESPACE } GtkDeleteType; typedef enum { GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_UP, GTK_DIR_DOWN, GTK_DIR_LEFT, GTK_DIR_RIGHT } GtkDirectionType; typedef enum { GTK_EXPANDER_COLLAPSED, GTK_EXPANDER_SEMI_COLLAPSED, GTK_EXPANDER_SEMI_EXPANDED, GTK_EXPANDER_EXPANDED } GtkExpanderStyle; typedef enum { GTK_ICON_SIZE_INVALID, GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_SMALL_TOOLBAR, GTK_ICON_SIZE_LARGE_TOOLBAR, GTK_ICON_SIZE_BUTTON, GTK_ICON_SIZE_DND, GTK_ICON_SIZE_DIALOG } GtkIconSize; typedef enum { GTK_SENSITIVITY_AUTO, GTK_SENSITIVITY_ON, GTK_SENSITIVITY_OFF } GtkSensitivityType; typedef enum { GTK_SIDE_TOP, GTK_SIDE_BOTTOM, GTK_SIDE_LEFT, GTK_SIDE_RIGHT } GtkSideType; typedef enum { GTK_TEXT_DIR_NONE, GTK_TEXT_DIR_LTR, GTK_TEXT_DIR_RTL } GtkTextDirection; typedef enum { GTK_JUSTIFY_LEFT, GTK_JUSTIFY_RIGHT, GTK_JUSTIFY_CENTER, GTK_JUSTIFY_FILL } GtkJustification; typedef enum { GTK_MATCH_ALL, GTK_MATCH_ALL_TAIL, GTK_MATCH_HEAD, GTK_MATCH_TAIL, GTK_MATCH_EXACT, GTK_MATCH_LAST } GtkMatchType; typedef enum { GTK_MENU_DIR_PARENT, GTK_MENU_DIR_CHILD, GTK_MENU_DIR_NEXT, GTK_MENU_DIR_PREV } GtkMenuDirectionType; typedef enum { GTK_PIXELS, GTK_INCHES, GTK_CENTIMETERS } GtkMetricType; typedef enum { GTK_MOVEMENT_LOGICAL_POSITIONS, GTK_MOVEMENT_VISUAL_POSITIONS, GTK_MOVEMENT_WORDS, GTK_MOVEMENT_DISPLAY_LINES, GTK_MOVEMENT_DISPLAY_LINE_ENDS, GTK_MOVEMENT_PARAGRAPHS, GTK_MOVEMENT_PARAGRAPH_ENDS, GTK_MOVEMENT_PAGES, GTK_MOVEMENT_BUFFER_ENDS, GTK_MOVEMENT_HORIZONTAL_PAGES } GtkMovementStep; typedef enum { GTK_SCROLL_STEPS, GTK_SCROLL_PAGES, GTK_SCROLL_ENDS, GTK_SCROLL_HORIZONTAL_STEPS, GTK_SCROLL_HORIZONTAL_PAGES, GTK_SCROLL_HORIZONTAL_ENDS } GtkScrollStep; typedef enum { GTK_ORIENTATION_HORIZONTAL, GTK_ORIENTATION_VERTICAL } GtkOrientation; typedef enum { GTK_CORNER_TOP_LEFT, GTK_CORNER_BOTTOM_LEFT, GTK_CORNER_TOP_RIGHT, GTK_CORNER_BOTTOM_RIGHT } GtkCornerType; typedef enum { GTK_PACK_START, GTK_PACK_END } GtkPackType; typedef enum { GTK_PATH_PRIO_LOWEST = 0, GTK_PATH_PRIO_GTK = 4, GTK_PATH_PRIO_APPLICATION = 8, GTK_PATH_PRIO_THEME = 10, GTK_PATH_PRIO_RC = 12, GTK_PATH_PRIO_HIGHEST = 15 } GtkPathPriorityType; typedef enum { GTK_PATH_WIDGET, GTK_PATH_WIDGET_CLASS, GTK_PATH_CLASS } GtkPathType; typedef enum { GTK_POLICY_ALWAYS, GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER } GtkPolicyType; typedef enum { GTK_POS_LEFT, GTK_POS_RIGHT, GTK_POS_TOP, GTK_POS_BOTTOM } GtkPositionType; typedef enum { GTK_PREVIEW_COLOR, GTK_PREVIEW_GRAYSCALE } GtkPreviewType; typedef enum { GTK_RELIEF_NORMAL, GTK_RELIEF_HALF, GTK_RELIEF_NONE } GtkReliefStyle; typedef enum { GTK_RESIZE_PARENT, GTK_RESIZE_QUEUE, GTK_RESIZE_IMMEDIATE } GtkResizeMode; typedef enum { GTK_RUN_FIRST = G_SIGNAL_RUN_FIRST, GTK_RUN_LAST = G_SIGNAL_RUN_LAST, GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST), GTK_RUN_NO_RECURSE = G_SIGNAL_NO_RECURSE, GTK_RUN_ACTION = G_SIGNAL_ACTION, GTK_RUN_NO_HOOKS = G_SIGNAL_NO_HOOKS } GtkSignalRunType; typedef enum { GTK_SCROLL_NONE, GTK_SCROLL_JUMP, GTK_SCROLL_STEP_BACKWARD, GTK_SCROLL_STEP_FORWARD, GTK_SCROLL_PAGE_BACKWARD, GTK_SCROLL_PAGE_FORWARD, GTK_SCROLL_STEP_UP, GTK_SCROLL_STEP_DOWN, GTK_SCROLL_PAGE_UP, GTK_SCROLL_PAGE_DOWN, GTK_SCROLL_STEP_LEFT, GTK_SCROLL_STEP_RIGHT, GTK_SCROLL_PAGE_LEFT, GTK_SCROLL_PAGE_RIGHT, GTK_SCROLL_START, GTK_SCROLL_END } GtkScrollType; typedef enum { GTK_SELECTION_NONE, GTK_SELECTION_SINGLE, GTK_SELECTION_BROWSE, GTK_SELECTION_MULTIPLE, GTK_SELECTION_EXTENDED = GTK_SELECTION_MULTIPLE } GtkSelectionMode; typedef enum { GTK_SHADOW_NONE, GTK_SHADOW_IN, GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN, GTK_SHADOW_ETCHED_OUT } GtkShadowType; typedef enum { GTK_STATE_NORMAL, GTK_STATE_ACTIVE, GTK_STATE_PRELIGHT, GTK_STATE_SELECTED, GTK_STATE_INSENSITIVE } GtkStateType; typedef enum { GTK_DIRECTION_LEFT, GTK_DIRECTION_RIGHT } GtkSubmenuDirection; typedef enum { GTK_TOP_BOTTOM, GTK_LEFT_RIGHT } GtkSubmenuPlacement; typedef enum { GTK_TOOLBAR_ICONS, GTK_TOOLBAR_TEXT, GTK_TOOLBAR_BOTH, GTK_TOOLBAR_BOTH_HORIZ } GtkToolbarStyle; typedef enum { GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, GTK_UPDATE_DELAYED } GtkUpdateType; typedef enum { GTK_VISIBILITY_NONE, GTK_VISIBILITY_PARTIAL, GTK_VISIBILITY_FULL } GtkVisibility; typedef enum { GTK_WIN_POS_NONE, GTK_WIN_POS_CENTER, GTK_WIN_POS_MOUSE, GTK_WIN_POS_CENTER_ALWAYS, GTK_WIN_POS_CENTER_ON_PARENT } GtkWindowPosition; typedef enum { GTK_WINDOW_TOPLEVEL, GTK_WINDOW_POPUP } GtkWindowType; typedef enum { GTK_WRAP_NONE, GTK_WRAP_CHAR, GTK_WRAP_WORD, GTK_WRAP_WORD_CHAR } GtkWrapMode; typedef enum { GTK_SORT_ASCENDING, GTK_SORT_DESCENDING } GtkSortType; typedef enum { GTK_IM_PREEDIT_NOTHING, GTK_IM_PREEDIT_CALLBACK, GTK_IM_PREEDIT_NONE } GtkIMPreeditStyle; typedef enum { GTK_IM_STATUS_NOTHING, GTK_IM_STATUS_CALLBACK, GTK_IM_STATUS_NONE } GtkIMStatusStyle; typedef enum { GTK_PACK_DIRECTION_LTR, GTK_PACK_DIRECTION_RTL, GTK_PACK_DIRECTION_TTB, GTK_PACK_DIRECTION_BTT } GtkPackDirection; typedef enum { GTK_PRINT_PAGES_ALL, GTK_PRINT_PAGES_CURRENT, GTK_PRINT_PAGES_RANGES } GtkPrintPages; typedef enum { GTK_PAGE_SET_ALL, GTK_PAGE_SET_EVEN, GTK_PAGE_SET_ODD } GtkPageSet; typedef enum { GTK_PAGE_ORIENTATION_PORTRAIT, GTK_PAGE_ORIENTATION_LANDSCAPE, GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT, GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE } GtkPageOrientation; typedef enum { GTK_PRINT_QUALITY_LOW, GTK_PRINT_QUALITY_NORMAL, GTK_PRINT_QUALITY_HIGH, GTK_PRINT_QUALITY_DRAFT } GtkPrintQuality; typedef enum { GTK_PRINT_DUPLEX_SIMPLEX, GTK_PRINT_DUPLEX_HORIZONTAL, GTK_PRINT_DUPLEX_VERTICAL } GtkPrintDuplex; typedef enum { GTK_UNIT_PIXEL, GTK_UNIT_POINTS, GTK_UNIT_INCH, GTK_UNIT_MM } GtkUnit; typedef enum { GTK_TREE_VIEW_GRID_LINES_NONE, GTK_TREE_VIEW_GRID_LINES_HORIZONTAL, GTK_TREE_VIEW_GRID_LINES_VERTICAL, GTK_TREE_VIEW_GRID_LINES_BOTH } GtkTreeViewGridLines; typedef enum { GTK_DRAG_RESULT_SUCCESS, GTK_DRAG_RESULT_NO_TARGET, GTK_DRAG_RESULT_USER_CANCELLED, GTK_DRAG_RESULT_TIMEOUT_EXPIRED, GTK_DRAG_RESULT_GRAB_BROKEN, GTK_DRAG_RESULT_ERROR } GtkDragResult; # 33 "../gtk/gtkcontainer.h" 2 # 1 "../gtk/gtkwidget.h" 1 # 31 "../gtk/gtkwidget.h" # 1 "../gtk/gtkaccelgroup.h" 1 # 34 "../gtk/gtkaccelgroup.h" # 47 "../gtk/gtkaccelgroup.h" typedef enum { GTK_ACCEL_VISIBLE = 1 << 0, GTK_ACCEL_LOCKED = 1 << 1, GTK_ACCEL_MASK = 0x07 } GtkAccelFlags; typedef struct _GtkAccelGroup GtkAccelGroup; typedef struct _GtkAccelGroupClass GtkAccelGroupClass; typedef struct _GtkAccelKey GtkAccelKey; typedef struct _GtkAccelGroupEntry GtkAccelGroupEntry; typedef gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group, GObject *acceleratable, guint keyval, GdkModifierType modifier); typedef gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key, GClosure *closure, gpointer data); struct _GtkAccelGroup { GObject parent; guint lock_count; GdkModifierType modifier_mask; GSList *acceleratables; guint n_accels; GtkAccelGroupEntry *priv_accels; }; struct _GtkAccelGroupClass { GObjectClass parent_class; void (*accel_changed) (GtkAccelGroup *accel_group, guint keyval, GdkModifierType modifier, GClosure *accel_closure); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; struct _GtkAccelKey { guint accel_key; GdkModifierType accel_mods; guint accel_flags : 16; }; GType gtk_accel_group_get_type (void) __attribute__((__const__)); GtkAccelGroup* gtk_accel_group_new (void); void gtk_accel_group_lock (GtkAccelGroup *accel_group); void gtk_accel_group_unlock (GtkAccelGroup *accel_group); void gtk_accel_group_connect (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags, GClosure *closure); void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group, const gchar *accel_path, GClosure *closure); gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group, GClosure *closure); gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods); gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group, GQuark accel_quark, GObject *acceleratable, guint accel_key, GdkModifierType accel_mods); void _gtk_accel_group_attach (GtkAccelGroup *accel_group, GObject *object); void _gtk_accel_group_detach (GtkAccelGroup *accel_group, GObject *object); gboolean gtk_accel_groups_activate (GObject *object, guint accel_key, GdkModifierType accel_mods); GSList* gtk_accel_groups_from_object (GObject *object); GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group, GtkAccelGroupFindFunc find_func, gpointer data); GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure); gboolean gtk_accelerator_valid (guint keyval, GdkModifierType modifiers) __attribute__((__const__)); void gtk_accelerator_parse (const gchar *accelerator, guint *accelerator_key, GdkModifierType *accelerator_mods); gchar* gtk_accelerator_name (guint accelerator_key, GdkModifierType accelerator_mods); gchar* gtk_accelerator_get_label (guint accelerator_key, GdkModifierType accelerator_mods); void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask); guint gtk_accelerator_get_default_mod_mask (void); GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, guint *n_entries); void _gtk_accel_group_reconnect (GtkAccelGroup *accel_group, GQuark accel_path_quark); struct _GtkAccelGroupEntry { GtkAccelKey key; GClosure *closure; GQuark accel_path_quark; }; # 32 "../gtk/gtkwidget.h" 2 # 1 "../gtk/gtkobject.h" 1 # 32 "../gtk/gtkobject.h" # 1 "../gtk/gtktypeutils.h" 1 # 34 "../gtk/gtktypeutils.h" # 62 "../gtk/gtktypeutils.h" typedef GType GtkFundamentalType; # 89 "../gtk/gtktypeutils.h" typedef GType GtkType; typedef GTypeInstance GtkTypeObject; typedef GTypeClass GtkTypeClass; typedef GBaseInitFunc GtkClassInitFunc; typedef GInstanceInitFunc GtkObjectInitFunc; # 1 "../gtk/gtktypebuiltins.h" 1 # 9 "../gtk/gtktypebuiltins.h" GType gtk_accel_flags_get_type (void) __attribute__((__const__)); GType gtk_assistant_page_type_get_type (void) __attribute__((__const__)); GType gtk_builder_error_get_type (void) __attribute__((__const__)); GType gtk_calendar_display_options_get_type (void) __attribute__((__const__)); GType gtk_cell_renderer_state_get_type (void) __attribute__((__const__)); GType gtk_cell_renderer_mode_get_type (void) __attribute__((__const__)); GType gtk_cell_renderer_accel_mode_get_type (void) __attribute__((__const__)); GType gtk_cell_type_get_type (void) __attribute__((__const__)); GType gtk_clist_drag_pos_get_type (void) __attribute__((__const__)); GType gtk_button_action_get_type (void) __attribute__((__const__)); GType gtk_ctree_pos_get_type (void) __attribute__((__const__)); GType gtk_ctree_line_style_get_type (void) __attribute__((__const__)); GType gtk_ctree_expander_style_get_type (void) __attribute__((__const__)); GType gtk_ctree_expansion_type_get_type (void) __attribute__((__const__)); GType gtk_debug_flag_get_type (void) __attribute__((__const__)); GType gtk_dialog_flags_get_type (void) __attribute__((__const__)); GType gtk_response_type_get_type (void) __attribute__((__const__)); GType gtk_dest_defaults_get_type (void) __attribute__((__const__)); GType gtk_target_flags_get_type (void) __attribute__((__const__)); GType gtk_anchor_type_get_type (void) __attribute__((__const__)); GType gtk_arrow_type_get_type (void) __attribute__((__const__)); GType gtk_attach_options_get_type (void) __attribute__((__const__)); GType gtk_button_box_style_get_type (void) __attribute__((__const__)); GType gtk_curve_type_get_type (void) __attribute__((__const__)); GType gtk_delete_type_get_type (void) __attribute__((__const__)); GType gtk_direction_type_get_type (void) __attribute__((__const__)); GType gtk_expander_style_get_type (void) __attribute__((__const__)); GType gtk_icon_size_get_type (void) __attribute__((__const__)); GType gtk_sensitivity_type_get_type (void) __attribute__((__const__)); GType gtk_side_type_get_type (void) __attribute__((__const__)); GType gtk_text_direction_get_type (void) __attribute__((__const__)); GType gtk_justification_get_type (void) __attribute__((__const__)); GType gtk_match_type_get_type (void) __attribute__((__const__)); GType gtk_menu_direction_type_get_type (void) __attribute__((__const__)); GType gtk_metric_type_get_type (void) __attribute__((__const__)); GType gtk_movement_step_get_type (void) __attribute__((__const__)); GType gtk_scroll_step_get_type (void) __attribute__((__const__)); GType gtk_orientation_get_type (void) __attribute__((__const__)); GType gtk_corner_type_get_type (void) __attribute__((__const__)); GType gtk_pack_type_get_type (void) __attribute__((__const__)); GType gtk_path_priority_type_get_type (void) __attribute__((__const__)); GType gtk_path_type_get_type (void) __attribute__((__const__)); GType gtk_policy_type_get_type (void) __attribute__((__const__)); GType gtk_position_type_get_type (void) __attribute__((__const__)); GType gtk_preview_type_get_type (void) __attribute__((__const__)); GType gtk_relief_style_get_type (void) __attribute__((__const__)); GType gtk_resize_mode_get_type (void) __attribute__((__const__)); GType gtk_signal_run_type_get_type (void) __attribute__((__const__)); GType gtk_scroll_type_get_type (void) __attribute__((__const__)); GType gtk_selection_mode_get_type (void) __attribute__((__const__)); GType gtk_shadow_type_get_type (void) __attribute__((__const__)); GType gtk_state_type_get_type (void) __attribute__((__const__)); GType gtk_submenu_direction_get_type (void) __attribute__((__const__)); GType gtk_submenu_placement_get_type (void) __attribute__((__const__)); GType gtk_toolbar_style_get_type (void) __attribute__((__const__)); GType gtk_update_type_get_type (void) __attribute__((__const__)); GType gtk_visibility_get_type (void) __attribute__((__const__)); GType gtk_window_position_get_type (void) __attribute__((__const__)); GType gtk_window_type_get_type (void) __attribute__((__const__)); GType gtk_wrap_mode_get_type (void) __attribute__((__const__)); GType gtk_sort_type_get_type (void) __attribute__((__const__)); GType gtk_im_preedit_style_get_type (void) __attribute__((__const__)); GType gtk_im_status_style_get_type (void) __attribute__((__const__)); GType gtk_pack_direction_get_type (void) __attribute__((__const__)); GType gtk_print_pages_get_type (void) __attribute__((__const__)); GType gtk_page_set_get_type (void) __attribute__((__const__)); GType gtk_page_orientation_get_type (void) __attribute__((__const__)); GType gtk_print_quality_get_type (void) __attribute__((__const__)); GType gtk_print_duplex_get_type (void) __attribute__((__const__)); GType gtk_unit_get_type (void) __attribute__((__const__)); GType gtk_tree_view_grid_lines_get_type (void) __attribute__((__const__)); GType gtk_drag_result_get_type (void) __attribute__((__const__)); GType gtk_file_chooser_action_get_type (void) __attribute__((__const__)); GType gtk_file_chooser_confirmation_get_type (void) __attribute__((__const__)); GType gtk_file_chooser_error_get_type (void) __attribute__((__const__)); GType gtk_file_filter_flags_get_type (void) __attribute__((__const__)); GType gtk_icon_lookup_flags_get_type (void) __attribute__((__const__)); GType gtk_icon_theme_error_get_type (void) __attribute__((__const__)); GType gtk_icon_view_drop_position_get_type (void) __attribute__((__const__)); GType gtk_image_type_get_type (void) __attribute__((__const__)); GType gtk_message_type_get_type (void) __attribute__((__const__)); GType gtk_buttons_type_get_type (void) __attribute__((__const__)); GType gtk_notebook_tab_get_type (void) __attribute__((__const__)); GType gtk_object_flags_get_type (void) __attribute__((__const__)); GType gtk_arg_flags_get_type (void) __attribute__((__const__)); GType gtk_print_status_get_type (void) __attribute__((__const__)); GType gtk_print_operation_result_get_type (void) __attribute__((__const__)); GType gtk_print_operation_action_get_type (void) __attribute__((__const__)); GType gtk_print_error_get_type (void) __attribute__((__const__)); GType gtk_private_flags_get_type (void) __attribute__((__const__)); GType gtk_progress_bar_style_get_type (void) __attribute__((__const__)); GType gtk_progress_bar_orientation_get_type (void) __attribute__((__const__)); GType gtk_rc_flags_get_type (void) __attribute__((__const__)); GType gtk_rc_token_type_get_type (void) __attribute__((__const__)); GType gtk_recent_sort_type_get_type (void) __attribute__((__const__)); GType gtk_recent_chooser_error_get_type (void) __attribute__((__const__)); GType gtk_recent_filter_flags_get_type (void) __attribute__((__const__)); GType gtk_recent_manager_error_get_type (void) __attribute__((__const__)); GType gtk_size_group_mode_get_type (void) __attribute__((__const__)); GType gtk_spin_button_update_policy_get_type (void) __attribute__((__const__)); GType gtk_spin_type_get_type (void) __attribute__((__const__)); GType gtk_text_buffer_target_info_get_type (void) __attribute__((__const__)); GType gtk_text_search_flags_get_type (void) __attribute__((__const__)); GType gtk_text_window_type_get_type (void) __attribute__((__const__)); GType gtk_toolbar_child_type_get_type (void) __attribute__((__const__)); GType gtk_toolbar_space_style_get_type (void) __attribute__((__const__)); GType gtk_tree_view_mode_get_type (void) __attribute__((__const__)); GType gtk_tree_model_flags_get_type (void) __attribute__((__const__)); GType gtk_tree_view_drop_position_get_type (void) __attribute__((__const__)); GType gtk_tree_view_column_sizing_get_type (void) __attribute__((__const__)); GType gtk_ui_manager_item_type_get_type (void) __attribute__((__const__)); GType gtk_widget_flags_get_type (void) __attribute__((__const__)); GType gtk_widget_help_type_get_type (void) __attribute__((__const__)); # 105 "../gtk/gtktypeutils.h" 2 GType gtk_identifier_get_type (void) __attribute__((__const__)); typedef struct _GtkArg GtkArg; typedef struct _GtkObject GtkObject; typedef gboolean (*GtkFunction) (gpointer data); typedef void (*GtkDestroyNotify) (gpointer data); typedef void (*GtkCallbackMarshal) (GtkObject *object, gpointer data, guint n_args, GtkArg *args); typedef void (*GtkSignalFunc) (void); typedef struct _GtkTypeInfo GtkTypeInfo; typedef GSignalCMarshaller GtkSignalMarshaller; struct _GtkArg { GtkType type; gchar *name; union { gchar char_data; guchar uchar_data; gboolean bool_data; gint int_data; guint uint_data; glong long_data; gulong ulong_data; gfloat float_data; gdouble double_data; gchar *string_data; GtkObject *object_data; gpointer pointer_data; struct { GtkSignalFunc f; gpointer d; } signal_data; } d; }; # 218 "../gtk/gtktypeutils.h" struct _GtkTypeInfo { gchar *type_name; guint object_size; guint class_size; GtkClassInitFunc class_init_func; GtkObjectInitFunc object_init_func; gpointer reserved_1; gpointer reserved_2; GtkClassInitFunc base_class_init_func; }; gpointer gtk_type_class (GtkType type); GtkType gtk_type_unique (GtkType parent_type, const GtkTypeInfo *gtkinfo); gpointer gtk_type_new (GtkType type); # 249 "../gtk/gtktypeutils.h" typedef GEnumValue GtkEnumValue; typedef GFlagsValue GtkFlagValue; GtkEnumValue* gtk_type_enum_get_values (GtkType enum_type); GtkFlagValue* gtk_type_flags_get_values (GtkType flags_type); GtkEnumValue* gtk_type_enum_find_value (GtkType enum_type, const gchar *value_name); GtkFlagValue* gtk_type_flags_find_value (GtkType flags_type, const gchar *value_name); void gtk_type_init (GTypeDebugFlags debug_flags); # 33 "../gtk/gtkobject.h" 2 # 1 "../gtk/gtkdebug.h" 1 # 32 "../gtk/gtkdebug.h" typedef enum { GTK_DEBUG_MISC = 1 << 0, GTK_DEBUG_PLUGSOCKET = 1 << 1, GTK_DEBUG_TEXT = 1 << 2, GTK_DEBUG_TREE = 1 << 3, GTK_DEBUG_UPDATES = 1 << 4, GTK_DEBUG_KEYBINDINGS = 1 << 5, GTK_DEBUG_MULTIHEAD = 1 << 6, GTK_DEBUG_MODULES = 1 << 7, GTK_DEBUG_GEOMETRY = 1 << 8, GTK_DEBUG_ICONTHEME = 1 << 9, GTK_DEBUG_PRINTING = 1 << 10, GTK_DEBUG_BUILDER = 1 << 11 } GtkDebugFlag; # 71 "../gtk/gtkdebug.h" extern guint gtk_debug_flags; # 34 "../gtk/gtkobject.h" 2 # 58 "../gtk/gtkobject.h" typedef enum { GTK_IN_DESTRUCTION = 1 << 0, GTK_FLOATING = 1 << 1, GTK_RESERVED_1 = 1 << 2, GTK_RESERVED_2 = 1 << 3 } GtkObjectFlags; # 80 "../gtk/gtkobject.h" typedef struct _GtkObjectClass GtkObjectClass; struct _GtkObject { GInitiallyUnowned parent_instance; guint32 flags; }; struct _GtkObjectClass { GInitiallyUnownedClass parent_class; void (*set_arg) (GtkObject *object, GtkArg *arg, guint arg_id); void (*get_arg) (GtkObject *object, GtkArg *arg, guint arg_id); # 115 "../gtk/gtkobject.h" void (*destroy) (GtkObject *object); }; GtkType gtk_object_get_type (void) __attribute__((__const__)); void gtk_object_sink (GtkObject *object); void gtk_object_destroy (GtkObject *object); GtkObject* gtk_object_new (GtkType type, const gchar *first_property_name, ...); GtkObject* gtk_object_ref (GtkObject *object); void gtk_object_unref (GtkObject *object); void gtk_object_weakref (GtkObject *object, GtkDestroyNotify notify, gpointer data); void gtk_object_weakunref (GtkObject *object, GtkDestroyNotify notify, gpointer data); # 157 "../gtk/gtkobject.h" void gtk_object_set_data (GtkObject *object, const gchar *key, gpointer data); void gtk_object_set_data_full (GtkObject *object, const gchar *key, gpointer data, GtkDestroyNotify destroy); void gtk_object_remove_data (GtkObject *object, const gchar *key); gpointer gtk_object_get_data (GtkObject *object, const gchar *key); void gtk_object_remove_no_notify (GtkObject *object, const gchar *key); void gtk_object_set_user_data (GtkObject *object, gpointer data); gpointer gtk_object_get_user_data (GtkObject *object); void gtk_object_set_data_by_id (GtkObject *object, GQuark data_id, gpointer data); void gtk_object_set_data_by_id_full (GtkObject *object, GQuark data_id, gpointer data, GtkDestroyNotify destroy); gpointer gtk_object_get_data_by_id (GtkObject *object, GQuark data_id); void gtk_object_remove_data_by_id (GtkObject *object, GQuark data_id); void gtk_object_remove_no_notify_by_id (GtkObject *object, GQuark key_id); typedef enum { GTK_ARG_READABLE = G_PARAM_READABLE, GTK_ARG_WRITABLE = G_PARAM_WRITABLE, GTK_ARG_CONSTRUCT = G_PARAM_CONSTRUCT, GTK_ARG_CONSTRUCT_ONLY = G_PARAM_CONSTRUCT_ONLY, GTK_ARG_CHILD_ARG = 1 << 4 } GtkArgFlags; void gtk_object_get (GtkObject *object, const gchar *first_property_name, ...) __attribute__((__sentinel__)); void gtk_object_set (GtkObject *object, const gchar *first_property_name, ...) __attribute__((__sentinel__)); void gtk_object_add_arg_type (const gchar *arg_name, GtkType arg_type, guint arg_flags, guint arg_id); # 33 "../gtk/gtkwidget.h" 2 # 1 "../gtk/gtkadjustment.h" 1 # 34 "../gtk/gtkadjustment.h" # 44 "../gtk/gtkadjustment.h" typedef struct _GtkAdjustment GtkAdjustment; typedef struct _GtkAdjustmentClass GtkAdjustmentClass; struct _GtkAdjustment { GtkObject parent_instance; gdouble lower; gdouble upper; gdouble value; gdouble step_increment; gdouble page_increment; gdouble page_size; }; struct _GtkAdjustmentClass { GtkObjectClass parent_class; void (* changed) (GtkAdjustment *adjustment); void (* value_changed) (GtkAdjustment *adjustment); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_adjustment_get_type (void) __attribute__((__const__)); GtkObject* gtk_adjustment_new (gdouble value, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size); void gtk_adjustment_changed (GtkAdjustment *adjustment); void gtk_adjustment_value_changed (GtkAdjustment *adjustment); void gtk_adjustment_clamp_page (GtkAdjustment *adjustment, gdouble lower, gdouble upper); gdouble gtk_adjustment_get_value (GtkAdjustment *adjustment); void gtk_adjustment_set_value (GtkAdjustment *adjustment, gdouble value); # 34 "../gtk/gtkwidget.h" 2 # 1 "../gtk/gtkstyle.h" 1 # 35 "../gtk/gtkstyle.h" # 49 "../gtk/gtkstyle.h" typedef struct _GtkBorder GtkBorder; typedef struct _GtkStyle GtkStyle; typedef struct _GtkStyleClass GtkStyleClass; typedef struct _GtkThemeEngine GtkThemeEngine; typedef struct _GtkRcStyle GtkRcStyle; typedef struct _GtkIconSet GtkIconSet; typedef struct _GtkIconSource GtkIconSource; typedef struct _GtkRcProperty GtkRcProperty; typedef struct _GtkSettings GtkSettings; typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec, const GString *rc_string, GValue *property_value); typedef struct _GtkWidget GtkWidget; struct _GtkStyle { GObject parent_instance; GdkColor fg[5]; GdkColor bg[5]; GdkColor light[5]; GdkColor dark[5]; GdkColor mid[5]; GdkColor text[5]; GdkColor base[5]; GdkColor text_aa[5]; GdkColor black; GdkColor white; PangoFontDescription *font_desc; gint xthickness; gint ythickness; GdkGC *fg_gc[5]; GdkGC *bg_gc[5]; GdkGC *light_gc[5]; GdkGC *dark_gc[5]; GdkGC *mid_gc[5]; GdkGC *text_gc[5]; GdkGC *base_gc[5]; GdkGC *text_aa_gc[5]; GdkGC *black_gc; GdkGC *white_gc; GdkPixmap *bg_pixmap[5]; gint attach_count; gint depth; GdkColormap *colormap; GdkFont *private_font; PangoFontDescription *private_font_desc; GtkRcStyle *rc_style; GSList *styles; GArray *property_cache; GSList *icon_factories; }; struct _GtkStyleClass { GObjectClass parent_class; void (*realize) (GtkStyle *style); void (*unrealize) (GtkStyle *style); void (*copy) (GtkStyle *style, GtkStyle *src); GtkStyle *(*clone) (GtkStyle *style); void (*init_from_rc) (GtkStyle *style, GtkRcStyle *rc_style); void (*set_background) (GtkStyle *style, GdkWindow *window, GtkStateType state_type); GdkPixbuf * (* render_icon) (GtkStyle *style, const GtkIconSource *source, GtkTextDirection direction, GtkStateType state, GtkIconSize size, GtkWidget *widget, const gchar *detail); void (*draw_hline) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x1, gint x2, gint y); void (*draw_vline) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint y1_, gint y2_, gint x); void (*draw_shadow) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_polygon) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, GdkPoint *point, gint npoints, gboolean fill); void (*draw_arrow) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, GtkArrowType arrow_type, gboolean fill, gint x, gint y, gint width, gint height); void (*draw_diamond) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_string) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, const gchar *string); void (*draw_box) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_flat_box) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_check) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_option) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_tab) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_shadow_gap) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width); void (*draw_box_gap) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width); void (*draw_extension) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side); void (*draw_focus) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void (*draw_slider) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height, GtkOrientation orientation); void (*draw_handle) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height, GtkOrientation orientation); void (*draw_expander) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, GtkExpanderStyle expander_style); void (*draw_layout) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, gboolean use_text, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, PangoLayout *layout); void (*draw_resize_grip) (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, GdkWindowEdge edge, gint x, gint y, gint width, gint height); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); void (*_gtk_reserved5) (void); void (*_gtk_reserved6) (void); void (*_gtk_reserved7) (void); void (*_gtk_reserved8) (void); void (*_gtk_reserved9) (void); void (*_gtk_reserved10) (void); void (*_gtk_reserved11) (void); void (*_gtk_reserved12) (void); }; struct _GtkBorder { gint left; gint right; gint top; gint bottom; }; GType gtk_style_get_type (void) __attribute__((__const__)); GtkStyle* gtk_style_new (void); GtkStyle* gtk_style_copy (GtkStyle *style); GtkStyle* gtk_style_attach (GtkStyle *style, GdkWindow *window) __attribute__((warn_unused_result)); void gtk_style_detach (GtkStyle *style); GtkStyle* gtk_style_ref (GtkStyle *style); void gtk_style_unref (GtkStyle *style); GdkFont * gtk_style_get_font (GtkStyle *style); void gtk_style_set_font (GtkStyle *style, GdkFont *font); void gtk_style_set_background (GtkStyle *style, GdkWindow *window, GtkStateType state_type); void gtk_style_apply_default_background (GtkStyle *style, GdkWindow *window, gboolean set_bg, GtkStateType state_type, GdkRectangle *area, gint x, gint y, gint width, gint height); GtkIconSet* gtk_style_lookup_icon_set (GtkStyle *style, const gchar *stock_id); gboolean gtk_style_lookup_color (GtkStyle *style, const gchar *color_name, GdkColor *color); GdkPixbuf* gtk_style_render_icon (GtkStyle *style, const GtkIconSource *source, GtkTextDirection direction, GtkStateType state, GtkIconSize size, GtkWidget *widget, const gchar *detail); void gtk_draw_hline (GtkStyle *style, GdkWindow *window, GtkStateType state_type, gint x1, gint x2, gint y); void gtk_draw_vline (GtkStyle *style, GdkWindow *window, GtkStateType state_type, gint y1_, gint y2_, gint x); void gtk_draw_shadow (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height); void gtk_draw_polygon (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkPoint *points, gint npoints, gboolean fill); void gtk_draw_arrow (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GtkArrowType arrow_type, gboolean fill, gint x, gint y, gint width, gint height); void gtk_draw_diamond (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height); void gtk_draw_box (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height); void gtk_draw_flat_box (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height); void gtk_draw_check (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height); void gtk_draw_option (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height); void gtk_draw_tab (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height); void gtk_draw_shadow_gap (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width); void gtk_draw_box_gap (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width); void gtk_draw_extension (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height, GtkPositionType gap_side); void gtk_draw_focus (GtkStyle *style, GdkWindow *window, gint x, gint y, gint width, gint height); void gtk_draw_slider (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height, GtkOrientation orientation); void gtk_draw_handle (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, gint x, gint y, gint width, gint height, GtkOrientation orientation); void gtk_draw_expander (GtkStyle *style, GdkWindow *window, GtkStateType state_type, gint x, gint y, GtkExpanderStyle expander_style); void gtk_draw_layout (GtkStyle *style, GdkWindow *window, GtkStateType state_type, gboolean use_text, gint x, gint y, PangoLayout *layout); void gtk_draw_resize_grip (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkWindowEdge edge, gint x, gint y, gint width, gint height); void gtk_paint_hline (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x1, gint x2, gint y); void gtk_paint_vline (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint y1_, gint y2_, gint x); void gtk_paint_shadow (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_polygon (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, GdkPoint *points, gint npoints, gboolean fill); void gtk_paint_arrow (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, GtkArrowType arrow_type, gboolean fill, gint x, gint y, gint width, gint height); void gtk_paint_diamond (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_box (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_flat_box (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_check (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_option (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_tab (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_shadow_gap (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, gchar *detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width); void gtk_paint_box_gap (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, gchar *detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width); void gtk_paint_extension (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, gchar *detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side); void gtk_paint_focus (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height); void gtk_paint_slider (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height, GtkOrientation orientation); void gtk_paint_handle (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, gint width, gint height, GtkOrientation orientation); void gtk_paint_expander (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, GtkExpanderStyle expander_style); void gtk_paint_layout (GtkStyle *style, GdkWindow *window, GtkStateType state_type, gboolean use_text, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, PangoLayout *layout); void gtk_paint_resize_grip (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, GdkWindowEdge edge, gint x, gint y, gint width, gint height); GType gtk_border_get_type (void) __attribute__((__const__)); GtkBorder *gtk_border_copy (const GtkBorder *border_); void gtk_border_free (GtkBorder *border_); const GValue* _gtk_style_peek_property_value (GtkStyle *style, GType widget_type, GParamSpec *pspec, GtkRcPropertyParser parser); void _gtk_style_init_for_settings (GtkStyle *style, GtkSettings *settings); void _gtk_style_shade (GdkColor *a, GdkColor *b, gdouble k); void gtk_draw_string (GtkStyle *style, GdkWindow *window, GtkStateType state_type, gint x, gint y, const gchar *string); void gtk_paint_string (GtkStyle *style, GdkWindow *window, GtkStateType state_type, GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, gint y, const gchar *string); void gtk_draw_insertion_cursor (GtkWidget *widget, GdkDrawable *drawable, GdkRectangle *area, GdkRectangle *location, gboolean is_primary, GtkTextDirection direction, gboolean draw_arrow); GdkGC *_gtk_widget_get_cursor_gc (GtkWidget *widget); void _gtk_widget_get_cursor_color (GtkWidget *widget, GdkColor *color); # 35 "../gtk/gtkwidget.h" 2 # 1 "../gtk/gtksettings.h" 1 # 21 "../gtk/gtksettings.h" # 1 "../gtk/gtkrc.h" 1 # 33 "../gtk/gtkrc.h" typedef struct _GtkIconFactory GtkIconFactory; typedef struct _GtkRcContext GtkRcContext; typedef struct _GtkRcStyleClass GtkRcStyleClass; # 48 "../gtk/gtkrc.h" typedef enum { GTK_RC_FG = 1 << 0, GTK_RC_BG = 1 << 1, GTK_RC_TEXT = 1 << 2, GTK_RC_BASE = 1 << 3 } GtkRcFlags; struct _GtkRcStyle { GObject parent_instance; gchar *name; gchar *bg_pixmap_name[5]; PangoFontDescription *font_desc; GtkRcFlags color_flags[5]; GdkColor fg[5]; GdkColor bg[5]; GdkColor text[5]; GdkColor base[5]; gint xthickness; gint ythickness; GArray *rc_properties; GSList *rc_style_lists; GSList *icon_factories; guint engine_specified : 1; }; struct _GtkRcStyleClass { GObjectClass parent_class; GtkRcStyle * (*create_rc_style) (GtkRcStyle *rc_style); guint (*parse) (GtkRcStyle *rc_style, GtkSettings *settings, GScanner *scanner); void (*merge) (GtkRcStyle *dest, GtkRcStyle *src); GtkStyle * (*create_style) (GtkRcStyle *rc_style); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; # 129 "../gtk/gtkrc.h" void _gtk_rc_init (void); GSList* _gtk_rc_parse_widget_class_path (const gchar *pattern); void _gtk_rc_free_widget_class_path (GSList *list); gboolean _gtk_rc_match_widget_class (GSList *list, gint length, gchar *path, gchar *path_reversed); void gtk_rc_add_default_file (const gchar *filename); void gtk_rc_set_default_files (gchar **filenames); gchar** gtk_rc_get_default_files (void); GtkStyle* gtk_rc_get_style (GtkWidget *widget); GtkStyle* gtk_rc_get_style_by_paths (GtkSettings *settings, const char *widget_path, const char *class_path, GType type); gboolean gtk_rc_reparse_all_for_settings (GtkSettings *settings, gboolean force_load); void gtk_rc_reset_styles (GtkSettings *settings); gchar* gtk_rc_find_pixmap_in_path (GtkSettings *settings, GScanner *scanner, const gchar *pixmap_file); void gtk_rc_parse (const gchar *filename); void gtk_rc_parse_string (const gchar *rc_string); gboolean gtk_rc_reparse_all (void); void gtk_rc_add_widget_name_style (GtkRcStyle *rc_style, const gchar *pattern); void gtk_rc_add_widget_class_style (GtkRcStyle *rc_style, const gchar *pattern); void gtk_rc_add_class_style (GtkRcStyle *rc_style, const gchar *pattern); GType gtk_rc_style_get_type (void) __attribute__((__const__)); GtkRcStyle* gtk_rc_style_new (void); GtkRcStyle* gtk_rc_style_copy (GtkRcStyle *orig); void gtk_rc_style_ref (GtkRcStyle *rc_style); void gtk_rc_style_unref (GtkRcStyle *rc_style); gchar* gtk_rc_find_module_in_path (const gchar *module_file); gchar* gtk_rc_get_theme_dir (void); gchar* gtk_rc_get_module_dir (void); gchar* gtk_rc_get_im_module_path (void); gchar* gtk_rc_get_im_module_file (void); typedef enum { GTK_RC_TOKEN_INVALID = G_TOKEN_LAST, GTK_RC_TOKEN_INCLUDE, GTK_RC_TOKEN_NORMAL, GTK_RC_TOKEN_ACTIVE, GTK_RC_TOKEN_PRELIGHT, GTK_RC_TOKEN_SELECTED, GTK_RC_TOKEN_INSENSITIVE, GTK_RC_TOKEN_FG, GTK_RC_TOKEN_BG, GTK_RC_TOKEN_TEXT, GTK_RC_TOKEN_BASE, GTK_RC_TOKEN_XTHICKNESS, GTK_RC_TOKEN_YTHICKNESS, GTK_RC_TOKEN_FONT, GTK_RC_TOKEN_FONTSET, GTK_RC_TOKEN_FONT_NAME, GTK_RC_TOKEN_BG_PIXMAP, GTK_RC_TOKEN_PIXMAP_PATH, GTK_RC_TOKEN_STYLE, GTK_RC_TOKEN_BINDING, GTK_RC_TOKEN_BIND, GTK_RC_TOKEN_WIDGET, GTK_RC_TOKEN_WIDGET_CLASS, GTK_RC_TOKEN_CLASS, GTK_RC_TOKEN_LOWEST, GTK_RC_TOKEN_GTK, GTK_RC_TOKEN_APPLICATION, GTK_RC_TOKEN_THEME, GTK_RC_TOKEN_RC, GTK_RC_TOKEN_HIGHEST, GTK_RC_TOKEN_ENGINE, GTK_RC_TOKEN_MODULE_PATH, GTK_RC_TOKEN_IM_MODULE_PATH, GTK_RC_TOKEN_IM_MODULE_FILE, GTK_RC_TOKEN_STOCK, GTK_RC_TOKEN_LTR, GTK_RC_TOKEN_RTL, GTK_RC_TOKEN_COLOR, GTK_RC_TOKEN_UNBIND, GTK_RC_TOKEN_LAST } GtkRcTokenType; GScanner* gtk_rc_scanner_new (void); guint gtk_rc_parse_color (GScanner *scanner, GdkColor *color); guint gtk_rc_parse_color_full (GScanner *scanner, GtkRcStyle *style, GdkColor *color); guint gtk_rc_parse_state (GScanner *scanner, GtkStateType *state); guint gtk_rc_parse_priority (GScanner *scanner, GtkPathPriorityType *priority); struct _GtkRcProperty { GQuark type_name; GQuark property_name; gchar *origin; GValue value; }; const GtkRcProperty* _gtk_rc_style_lookup_rc_property (GtkRcStyle *rc_style, GQuark type_name, GQuark property_name); void _gtk_rc_style_set_rc_property (GtkRcStyle *rc_style, GtkRcProperty *property); void _gtk_rc_style_unset_rc_property (GtkRcStyle *rc_style, GQuark type_name, GQuark property_name); GSList * _gtk_rc_style_get_color_hashes (GtkRcStyle *rc_style); const gchar* _gtk_rc_context_get_default_font_name (GtkSettings *settings); void _gtk_rc_context_destroy (GtkSettings *settings); # 22 "../gtk/gtksettings.h" 2 # 36 "../gtk/gtksettings.h" typedef struct _GtkSettingsClass GtkSettingsClass; typedef struct _GtkSettingsValue GtkSettingsValue; typedef struct _GtkSettingsPropertyValue GtkSettingsPropertyValue; struct _GtkSettings { GObject parent_instance; GData *queued_settings; GtkSettingsPropertyValue *property_values; GtkRcContext *rc_context; GdkScreen *screen; }; struct _GtkSettingsClass { GObjectClass parent_class; }; struct _GtkSettingsValue { gchar *origin; GValue value; }; GType gtk_settings_get_type (void) __attribute__((__const__)); GtkSettings* gtk_settings_get_default (void); GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen); void gtk_settings_install_property (GParamSpec *pspec); void gtk_settings_install_property_parser (GParamSpec *pspec, GtkRcPropertyParser parser); gboolean gtk_rc_property_parse_color (const GParamSpec *pspec, const GString *gstring, GValue *property_value); gboolean gtk_rc_property_parse_enum (const GParamSpec *pspec, const GString *gstring, GValue *property_value); gboolean gtk_rc_property_parse_flags (const GParamSpec *pspec, const GString *gstring, GValue *property_value); gboolean gtk_rc_property_parse_requisition (const GParamSpec *pspec, const GString *gstring, GValue *property_value); gboolean gtk_rc_property_parse_border (const GParamSpec *pspec, const GString *gstring, GValue *property_value); void gtk_settings_set_property_value (GtkSettings *settings, const gchar *name, const GtkSettingsValue *svalue); void gtk_settings_set_string_property (GtkSettings *settings, const gchar *name, const gchar *v_string, const gchar *origin); void gtk_settings_set_long_property (GtkSettings *settings, const gchar *name, glong v_long, const gchar *origin); void gtk_settings_set_double_property (GtkSettings *settings, const gchar *name, gdouble v_double, const gchar *origin); void _gtk_settings_set_property_value_from_rc (GtkSettings *settings, const gchar *name, const GtkSettingsValue *svalue); void _gtk_settings_reset_rc_values (GtkSettings *settings); void _gtk_settings_handle_event (GdkEventSetting *event); GtkRcPropertyParser _gtk_rc_property_parser_from_type (GType type); gboolean _gtk_settings_parse_convert (GtkRcPropertyParser parser, const GValue *src_value, GParamSpec *pspec, GValue *dest_value); # 36 "../gtk/gtkwidget.h" 2 # 1 "/usr/include/atk-1.0/atk/atkobject.h" 1 # 28 "/usr/include/atk-1.0/atk/atkobject.h" # 1 "/usr/include/atk-1.0/atk/atkstate.h" 1 # 122 "/usr/include/atk-1.0/atk/atkstate.h" typedef enum { ATK_STATE_INVALID, ATK_STATE_ACTIVE, ATK_STATE_ARMED, ATK_STATE_BUSY, ATK_STATE_CHECKED, ATK_STATE_DEFUNCT, ATK_STATE_EDITABLE, ATK_STATE_ENABLED, ATK_STATE_EXPANDABLE, ATK_STATE_EXPANDED, ATK_STATE_FOCUSABLE, ATK_STATE_FOCUSED, ATK_STATE_HORIZONTAL, ATK_STATE_ICONIFIED, ATK_STATE_MODAL, ATK_STATE_MULTI_LINE, ATK_STATE_MULTISELECTABLE, ATK_STATE_OPAQUE, ATK_STATE_PRESSED, ATK_STATE_RESIZABLE, ATK_STATE_SELECTABLE, ATK_STATE_SELECTED, ATK_STATE_SENSITIVE, ATK_STATE_SHOWING, ATK_STATE_SINGLE_LINE, ATK_STATE_STALE, ATK_STATE_TRANSIENT, ATK_STATE_VERTICAL, ATK_STATE_VISIBLE, ATK_STATE_MANAGES_DESCENDANTS, ATK_STATE_INDETERMINATE, ATK_STATE_TRUNCATED, ATK_STATE_REQUIRED, ATK_STATE_INVALID_ENTRY, ATK_STATE_SUPPORTS_AUTOCOMPLETION, ATK_STATE_SELECTABLE_TEXT, ATK_STATE_DEFAULT, ATK_STATE_ANIMATED, ATK_STATE_VISITED, ATK_STATE_LAST_DEFINED } AtkStateType; typedef guint64 AtkState; AtkStateType atk_state_type_register (const gchar *name); const gchar* atk_state_type_get_name (AtkStateType type); AtkStateType atk_state_type_for_name (const gchar *name); # 29 "/usr/include/atk-1.0/atk/atkobject.h" 2 # 1 "/usr/include/atk-1.0/atk/atkrelationtype.h" 1 # 54 "/usr/include/atk-1.0/atk/atkrelationtype.h" typedef enum { ATK_RELATION_NULL = 0, ATK_RELATION_CONTROLLED_BY, ATK_RELATION_CONTROLLER_FOR, ATK_RELATION_LABEL_FOR, ATK_RELATION_LABELLED_BY, ATK_RELATION_MEMBER_OF, ATK_RELATION_NODE_CHILD_OF, ATK_RELATION_FLOWS_TO, ATK_RELATION_FLOWS_FROM, ATK_RELATION_SUBWINDOW_OF, ATK_RELATION_EMBEDS, ATK_RELATION_EMBEDDED_BY, ATK_RELATION_POPUP_FOR, ATK_RELATION_PARENT_WINDOW_OF, ATK_RELATION_DESCRIBED_BY, ATK_RELATION_DESCRIPTION_FOR, ATK_RELATION_LAST_DEFINED } AtkRelationType; # 30 "/usr/include/atk-1.0/atk/atkobject.h" 2 # 148 "/usr/include/atk-1.0/atk/atkobject.h" typedef enum { ATK_ROLE_INVALID = 0, ATK_ROLE_ACCEL_LABEL, ATK_ROLE_ALERT, ATK_ROLE_ANIMATION, ATK_ROLE_ARROW, ATK_ROLE_CALENDAR, ATK_ROLE_CANVAS, ATK_ROLE_CHECK_BOX, ATK_ROLE_CHECK_MENU_ITEM, ATK_ROLE_COLOR_CHOOSER, ATK_ROLE_COLUMN_HEADER, ATK_ROLE_COMBO_BOX, ATK_ROLE_DATE_EDITOR, ATK_ROLE_DESKTOP_ICON, ATK_ROLE_DESKTOP_FRAME, ATK_ROLE_DIAL, ATK_ROLE_DIALOG, ATK_ROLE_DIRECTORY_PANE, ATK_ROLE_DRAWING_AREA, ATK_ROLE_FILE_CHOOSER, ATK_ROLE_FILLER, ATK_ROLE_FONT_CHOOSER, ATK_ROLE_FRAME, ATK_ROLE_GLASS_PANE, ATK_ROLE_HTML_CONTAINER, ATK_ROLE_ICON, ATK_ROLE_IMAGE, ATK_ROLE_INTERNAL_FRAME, ATK_ROLE_LABEL, ATK_ROLE_LAYERED_PANE, ATK_ROLE_LIST, ATK_ROLE_LIST_ITEM, ATK_ROLE_MENU, ATK_ROLE_MENU_BAR, ATK_ROLE_MENU_ITEM, ATK_ROLE_OPTION_PANE, ATK_ROLE_PAGE_TAB, ATK_ROLE_PAGE_TAB_LIST, ATK_ROLE_PANEL, ATK_ROLE_PASSWORD_TEXT, ATK_ROLE_POPUP_MENU, ATK_ROLE_PROGRESS_BAR, ATK_ROLE_PUSH_BUTTON, ATK_ROLE_RADIO_BUTTON, ATK_ROLE_RADIO_MENU_ITEM, ATK_ROLE_ROOT_PANE, ATK_ROLE_ROW_HEADER, ATK_ROLE_SCROLL_BAR, ATK_ROLE_SCROLL_PANE, ATK_ROLE_SEPARATOR, ATK_ROLE_SLIDER, ATK_ROLE_SPLIT_PANE, ATK_ROLE_SPIN_BUTTON, ATK_ROLE_STATUSBAR, ATK_ROLE_TABLE, ATK_ROLE_TABLE_CELL, ATK_ROLE_TABLE_COLUMN_HEADER, ATK_ROLE_TABLE_ROW_HEADER, ATK_ROLE_TEAR_OFF_MENU_ITEM, ATK_ROLE_TERMINAL, ATK_ROLE_TEXT, ATK_ROLE_TOGGLE_BUTTON, ATK_ROLE_TOOL_BAR, ATK_ROLE_TOOL_TIP, ATK_ROLE_TREE, ATK_ROLE_TREE_TABLE, ATK_ROLE_UNKNOWN, ATK_ROLE_VIEWPORT, ATK_ROLE_WINDOW, ATK_ROLE_HEADER, ATK_ROLE_FOOTER, ATK_ROLE_PARAGRAPH, ATK_ROLE_RULER, ATK_ROLE_APPLICATION, ATK_ROLE_AUTOCOMPLETE, ATK_ROLE_EDITBAR, ATK_ROLE_EMBEDDED, ATK_ROLE_ENTRY, ATK_ROLE_CHART, ATK_ROLE_CAPTION, ATK_ROLE_DOCUMENT_FRAME, ATK_ROLE_HEADING, ATK_ROLE_PAGE, ATK_ROLE_SECTION, ATK_ROLE_REDUNDANT_OBJECT, ATK_ROLE_FORM, ATK_ROLE_LINK, ATK_ROLE_INPUT_METHOD_WINDOW, ATK_ROLE_LAST_DEFINED } AtkRole; AtkRole atk_role_register (const gchar *name); # 260 "/usr/include/atk-1.0/atk/atkobject.h" typedef enum { ATK_LAYER_INVALID, ATK_LAYER_BACKGROUND, ATK_LAYER_CANVAS, ATK_LAYER_WIDGET, ATK_LAYER_MDI, ATK_LAYER_POPUP, ATK_LAYER_OVERLAY, ATK_LAYER_WINDOW } AtkLayer; # 279 "/usr/include/atk-1.0/atk/atkobject.h" typedef GSList AtkAttributeSet; # 291 "/usr/include/atk-1.0/atk/atkobject.h" typedef struct _AtkAttribute AtkAttribute; struct _AtkAttribute { gchar* name; gchar* value; }; # 311 "/usr/include/atk-1.0/atk/atkobject.h" typedef struct _AtkImplementor AtkImplementor; typedef struct _AtkImplementorIface AtkImplementorIface; typedef struct _AtkObject AtkObject; typedef struct _AtkObjectClass AtkObjectClass; typedef struct _AtkRelationSet AtkRelationSet; typedef struct _AtkStateSet AtkStateSet; # 338 "/usr/include/atk-1.0/atk/atkobject.h" struct _AtkPropertyValues { const gchar *property_name; GValue old_value; GValue new_value; }; typedef struct _AtkPropertyValues AtkPropertyValues; typedef gboolean (*AtkFunction) (gpointer data); # 360 "/usr/include/atk-1.0/atk/atkobject.h" typedef void (*AtkPropertyChangeHandler) (AtkObject*, AtkPropertyValues*); struct _AtkObject { GObject parent; gchar *description; gchar *name; AtkObject *accessible_parent; AtkRole role; AtkRelationSet *relation_set; AtkLayer layer; }; struct _AtkObjectClass { GObjectClass parent; const gchar* (* get_name) (AtkObject *accessible); const gchar* (* get_description) (AtkObject *accessible); AtkObject* (*get_parent) (AtkObject *accessible); gint (* get_n_children) (AtkObject *accessible); AtkObject* (* ref_child) (AtkObject *accessible, gint i); gint (* get_index_in_parent) (AtkObject *accessible); AtkRelationSet* (* ref_relation_set) (AtkObject *accessible); AtkRole (* get_role) (AtkObject *accessible); AtkLayer (* get_layer) (AtkObject *accessible); gint (* get_mdi_zorder) (AtkObject *accessible); AtkStateSet* (* ref_state_set) (AtkObject *accessible); void (* set_name) (AtkObject *accessible, const gchar *name); void (* set_description) (AtkObject *accessible, const gchar *description); void (* set_parent) (AtkObject *accessible, AtkObject *parent); void (* set_role) (AtkObject *accessible, AtkRole role); guint (* connect_property_change_handler) (AtkObject *accessible, AtkPropertyChangeHandler *handler); void (* remove_property_change_handler) (AtkObject *accessible, guint handler_id); void (* initialize) (AtkObject *accessible, gpointer data); void (* children_changed) (AtkObject *accessible, guint change_index, gpointer changed_child); void (* focus_event) (AtkObject *accessible, gboolean focus_in); void (* property_change) (AtkObject *accessible, AtkPropertyValues *values); void (* state_change) (AtkObject *accessible, const gchar *name, gboolean state_set); void (*visible_data_changed) (AtkObject *accessible); void (*active_descendant_changed) (AtkObject *accessible, gpointer *child); AtkAttributeSet* (*get_attributes) (AtkObject *accessible); AtkFunction pad1; AtkFunction pad2; }; GType atk_object_get_type (void); struct _AtkImplementorIface { GTypeInterface parent; AtkObject* (*ref_accessible) (AtkImplementor *implementor); }; GType atk_implementor_get_type (void); # 530 "/usr/include/atk-1.0/atk/atkobject.h" AtkObject* atk_implementor_ref_accessible (AtkImplementor *implementor); const gchar* atk_object_get_name (AtkObject *accessible); const gchar* atk_object_get_description (AtkObject *accessible); AtkObject* atk_object_get_parent (AtkObject *accessible); gint atk_object_get_n_accessible_children (AtkObject *accessible); AtkObject* atk_object_ref_accessible_child (AtkObject *accessible, gint i); AtkRelationSet* atk_object_ref_relation_set (AtkObject *accessible); AtkRole atk_object_get_role (AtkObject *accessible); AtkLayer atk_object_get_layer (AtkObject *accessible); gint atk_object_get_mdi_zorder (AtkObject *accessible); AtkAttributeSet* atk_object_get_attributes (AtkObject *accessible); AtkStateSet* atk_object_ref_state_set (AtkObject *accessible); gint atk_object_get_index_in_parent (AtkObject *accessible); void atk_object_set_name (AtkObject *accessible, const gchar *name); void atk_object_set_description (AtkObject *accessible, const gchar *description); void atk_object_set_parent (AtkObject *accessible, AtkObject *parent); void atk_object_set_role (AtkObject *accessible, AtkRole role); guint atk_object_connect_property_change_handler (AtkObject *accessible, AtkPropertyChangeHandler *handler); void atk_object_remove_property_change_handler (AtkObject *accessible, guint handler_id); void atk_object_notify_state_change (AtkObject *accessible, AtkState state, gboolean value); void atk_object_initialize (AtkObject *accessible, gpointer data); const gchar* atk_role_get_name (AtkRole role); AtkRole atk_role_for_name (const gchar *name); gboolean atk_object_add_relationship (AtkObject *object, AtkRelationType relationship, AtkObject *target); gboolean atk_object_remove_relationship (AtkObject *object, AtkRelationType relationship, AtkObject *target); const gchar* atk_role_get_localized_name (AtkRole role); # 37 "../gtk/gtkwidget.h" 2 typedef enum { GTK_TOPLEVEL = 1 << 4, GTK_NO_WINDOW = 1 << 5, GTK_REALIZED = 1 << 6, GTK_MAPPED = 1 << 7, GTK_VISIBLE = 1 << 8, GTK_SENSITIVE = 1 << 9, GTK_PARENT_SENSITIVE = 1 << 10, GTK_CAN_FOCUS = 1 << 11, GTK_HAS_FOCUS = 1 << 12, GTK_CAN_DEFAULT = 1 << 13, GTK_HAS_DEFAULT = 1 << 14, GTK_HAS_GRAB = 1 << 15, GTK_RC_STYLE = 1 << 16, GTK_COMPOSITE_CHILD = 1 << 17, GTK_NO_REPARENT = 1 << 18, GTK_APP_PAINTABLE = 1 << 19, GTK_RECEIVES_DEFAULT = 1 << 20, GTK_DOUBLE_BUFFERED = 1 << 21, GTK_NO_SHOW_ALL = 1 << 22 } GtkWidgetFlags; typedef enum { GTK_WIDGET_HELP_TOOLTIP, GTK_WIDGET_HELP_WHATS_THIS } GtkWidgetHelpType; # 136 "../gtk/gtkwidget.h" typedef struct _GtkRequisition GtkRequisition; typedef GdkRectangle GtkAllocation; typedef struct _GtkSelectionData GtkSelectionData; typedef struct _GtkWidgetClass GtkWidgetClass; typedef struct _GtkWidgetAuxInfo GtkWidgetAuxInfo; typedef struct _GtkWidgetShapeInfo GtkWidgetShapeInfo; typedef struct _GtkClipboard GtkClipboard; typedef struct _GtkTooltip GtkTooltip; typedef struct _GtkWindow GtkWindow; typedef void (*GtkCallback) (GtkWidget *widget, gpointer data); struct _GtkRequisition { gint width; gint height; }; struct _GtkWidget { GtkObject object; guint16 private_flags; guint8 state; guint8 saved_state; gchar *name; # 207 "../gtk/gtkwidget.h" GtkStyle *style; GtkRequisition requisition; GtkAllocation allocation; GdkWindow *window; GtkWidget *parent; }; struct _GtkWidgetClass { GtkObjectClass parent_class; guint activate_signal; guint set_scroll_adjustments_signal; void (*dispatch_child_properties_changed) (GtkWidget *widget, guint n_pspecs, GParamSpec **pspecs); void (* show) (GtkWidget *widget); void (* show_all) (GtkWidget *widget); void (* hide) (GtkWidget *widget); void (* hide_all) (GtkWidget *widget); void (* map) (GtkWidget *widget); void (* unmap) (GtkWidget *widget); void (* realize) (GtkWidget *widget); void (* unrealize) (GtkWidget *widget); void (* size_request) (GtkWidget *widget, GtkRequisition *requisition); void (* size_allocate) (GtkWidget *widget, GtkAllocation *allocation); void (* state_changed) (GtkWidget *widget, GtkStateType previous_state); void (* parent_set) (GtkWidget *widget, GtkWidget *previous_parent); void (* hierarchy_changed) (GtkWidget *widget, GtkWidget *previous_toplevel); void (* style_set) (GtkWidget *widget, GtkStyle *previous_style); void (* direction_changed) (GtkWidget *widget, GtkTextDirection previous_direction); void (* grab_notify) (GtkWidget *widget, gboolean was_grabbed); void (* child_notify) (GtkWidget *widget, GParamSpec *pspec); gboolean (* mnemonic_activate) (GtkWidget *widget, gboolean group_cycling); void (* grab_focus) (GtkWidget *widget); gboolean (* focus) (GtkWidget *widget, GtkDirectionType direction); gboolean (* event) (GtkWidget *widget, GdkEvent *event); gboolean (* button_press_event) (GtkWidget *widget, GdkEventButton *event); gboolean (* button_release_event) (GtkWidget *widget, GdkEventButton *event); gboolean (* scroll_event) (GtkWidget *widget, GdkEventScroll *event); gboolean (* motion_notify_event) (GtkWidget *widget, GdkEventMotion *event); gboolean (* delete_event) (GtkWidget *widget, GdkEventAny *event); gboolean (* destroy_event) (GtkWidget *widget, GdkEventAny *event); gboolean (* expose_event) (GtkWidget *widget, GdkEventExpose *event); gboolean (* key_press_event) (GtkWidget *widget, GdkEventKey *event); gboolean (* key_release_event) (GtkWidget *widget, GdkEventKey *event); gboolean (* enter_notify_event) (GtkWidget *widget, GdkEventCrossing *event); gboolean (* leave_notify_event) (GtkWidget *widget, GdkEventCrossing *event); gboolean (* configure_event) (GtkWidget *widget, GdkEventConfigure *event); gboolean (* focus_in_event) (GtkWidget *widget, GdkEventFocus *event); gboolean (* focus_out_event) (GtkWidget *widget, GdkEventFocus *event); gboolean (* map_event) (GtkWidget *widget, GdkEventAny *event); gboolean (* unmap_event) (GtkWidget *widget, GdkEventAny *event); gboolean (* property_notify_event) (GtkWidget *widget, GdkEventProperty *event); gboolean (* selection_clear_event) (GtkWidget *widget, GdkEventSelection *event); gboolean (* selection_request_event) (GtkWidget *widget, GdkEventSelection *event); gboolean (* selection_notify_event) (GtkWidget *widget, GdkEventSelection *event); gboolean (* proximity_in_event) (GtkWidget *widget, GdkEventProximity *event); gboolean (* proximity_out_event) (GtkWidget *widget, GdkEventProximity *event); gboolean (* visibility_notify_event) (GtkWidget *widget, GdkEventVisibility *event); gboolean (* client_event) (GtkWidget *widget, GdkEventClient *event); gboolean (* no_expose_event) (GtkWidget *widget, GdkEventAny *event); gboolean (* window_state_event) (GtkWidget *widget, GdkEventWindowState *event); void (* selection_get) (GtkWidget *widget, GtkSelectionData *selection_data, guint info, guint time_); void (* selection_received) (GtkWidget *widget, GtkSelectionData *selection_data, guint time_); void (* drag_begin) (GtkWidget *widget, GdkDragContext *context); void (* drag_end) (GtkWidget *widget, GdkDragContext *context); void (* drag_data_get) (GtkWidget *widget, GdkDragContext *context, GtkSelectionData *selection_data, guint info, guint time_); void (* drag_data_delete) (GtkWidget *widget, GdkDragContext *context); void (* drag_leave) (GtkWidget *widget, GdkDragContext *context, guint time_); gboolean (* drag_motion) (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time_); gboolean (* drag_drop) (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time_); void (* drag_data_received) (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint info, guint time_); gboolean (* popup_menu) (GtkWidget *widget); gboolean (* show_help) (GtkWidget *widget, GtkWidgetHelpType help_type); AtkObject* (*get_accessible) (GtkWidget *widget); void (*screen_changed) (GtkWidget *widget, GdkScreen *previous_screen); gboolean (*can_activate_accel) (GtkWidget *widget, guint signal_id); gboolean (*grab_broken_event) (GtkWidget *widget, GdkEventGrabBroken *event); void (* composited_changed) (GtkWidget *widget); gboolean (* query_tooltip) (GtkWidget *widget, gint x, gint y, gboolean keyboard_tooltip, GtkTooltip *tooltip); void (*_gtk_reserved5) (void); void (*_gtk_reserved6) (void); void (*_gtk_reserved7) (void); }; struct _GtkWidgetAuxInfo { gint x; gint y; gint width; gint height; guint x_set : 1; guint y_set : 1; }; struct _GtkWidgetShapeInfo { gint16 offset_x; gint16 offset_y; GdkBitmap *shape_mask; }; GType gtk_widget_get_type (void) __attribute__((__const__)); GtkWidget* gtk_widget_new (GType type, const gchar *first_property_name, ...); void gtk_widget_destroy (GtkWidget *widget); void gtk_widget_destroyed (GtkWidget *widget, GtkWidget **widget_pointer); GtkWidget* gtk_widget_ref (GtkWidget *widget); void gtk_widget_unref (GtkWidget *widget); void gtk_widget_set (GtkWidget *widget, const gchar *first_property_name, ...) __attribute__((__sentinel__)); void gtk_widget_unparent (GtkWidget *widget); void gtk_widget_show (GtkWidget *widget); void gtk_widget_show_now (GtkWidget *widget); void gtk_widget_hide (GtkWidget *widget); void gtk_widget_show_all (GtkWidget *widget); void gtk_widget_hide_all (GtkWidget *widget); void gtk_widget_set_no_show_all (GtkWidget *widget, gboolean no_show_all); gboolean gtk_widget_get_no_show_all (GtkWidget *widget); void gtk_widget_map (GtkWidget *widget); void gtk_widget_unmap (GtkWidget *widget); void gtk_widget_realize (GtkWidget *widget); void gtk_widget_unrealize (GtkWidget *widget); void gtk_widget_queue_draw (GtkWidget *widget); void gtk_widget_queue_draw_area (GtkWidget *widget, gint x, gint y, gint width, gint height); void gtk_widget_queue_clear (GtkWidget *widget); void gtk_widget_queue_clear_area (GtkWidget *widget, gint x, gint y, gint width, gint height); void gtk_widget_queue_resize (GtkWidget *widget); void gtk_widget_queue_resize_no_redraw (GtkWidget *widget); void gtk_widget_draw (GtkWidget *widget, GdkRectangle *area); void gtk_widget_size_request (GtkWidget *widget, GtkRequisition *requisition); void gtk_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation); void gtk_widget_get_child_requisition (GtkWidget *widget, GtkRequisition *requisition); void gtk_widget_add_accelerator (GtkWidget *widget, const gchar *accel_signal, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags); gboolean gtk_widget_remove_accelerator (GtkWidget *widget, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods); void gtk_widget_set_accel_path (GtkWidget *widget, const gchar *accel_path, GtkAccelGroup *accel_group); const gchar* _gtk_widget_get_accel_path (GtkWidget *widget, gboolean *locked); GList* gtk_widget_list_accel_closures (GtkWidget *widget); gboolean gtk_widget_can_activate_accel (GtkWidget *widget, guint signal_id); gboolean gtk_widget_mnemonic_activate (GtkWidget *widget, gboolean group_cycling); gboolean gtk_widget_event (GtkWidget *widget, GdkEvent *event); gint gtk_widget_send_expose (GtkWidget *widget, GdkEvent *event); gboolean gtk_widget_activate (GtkWidget *widget); gboolean gtk_widget_set_scroll_adjustments (GtkWidget *widget, GtkAdjustment *hadjustment, GtkAdjustment *vadjustment); void gtk_widget_reparent (GtkWidget *widget, GtkWidget *new_parent); gboolean gtk_widget_intersect (GtkWidget *widget, GdkRectangle *area, GdkRectangle *intersection); GdkRegion *gtk_widget_region_intersect (GtkWidget *widget, GdkRegion *region); void gtk_widget_freeze_child_notify (GtkWidget *widget); void gtk_widget_child_notify (GtkWidget *widget, const gchar *child_property); void gtk_widget_thaw_child_notify (GtkWidget *widget); gboolean gtk_widget_is_focus (GtkWidget *widget); void gtk_widget_grab_focus (GtkWidget *widget); void gtk_widget_grab_default (GtkWidget *widget); void gtk_widget_set_name (GtkWidget *widget, const gchar *name); const gchar* gtk_widget_get_name (GtkWidget *widget); void gtk_widget_set_state (GtkWidget *widget, GtkStateType state); void gtk_widget_set_sensitive (GtkWidget *widget, gboolean sensitive); void gtk_widget_set_app_paintable (GtkWidget *widget, gboolean app_paintable); void gtk_widget_set_double_buffered (GtkWidget *widget, gboolean double_buffered); void gtk_widget_set_redraw_on_allocate (GtkWidget *widget, gboolean redraw_on_allocate); void gtk_widget_set_parent (GtkWidget *widget, GtkWidget *parent); void gtk_widget_set_parent_window (GtkWidget *widget, GdkWindow *parent_window); void gtk_widget_set_child_visible (GtkWidget *widget, gboolean is_visible); gboolean gtk_widget_get_child_visible (GtkWidget *widget); GtkWidget *gtk_widget_get_parent (GtkWidget *widget); GdkWindow *gtk_widget_get_parent_window (GtkWidget *widget); gboolean gtk_widget_child_focus (GtkWidget *widget, GtkDirectionType direction); gboolean gtk_widget_keynav_failed (GtkWidget *widget, GtkDirectionType direction); void gtk_widget_error_bell (GtkWidget *widget); void gtk_widget_set_size_request (GtkWidget *widget, gint width, gint height); void gtk_widget_get_size_request (GtkWidget *widget, gint *width, gint *height); void gtk_widget_set_uposition (GtkWidget *widget, gint x, gint y); void gtk_widget_set_usize (GtkWidget *widget, gint width, gint height); void gtk_widget_set_events (GtkWidget *widget, gint events); void gtk_widget_add_events (GtkWidget *widget, gint events); void gtk_widget_set_extension_events (GtkWidget *widget, GdkExtensionMode mode); GdkExtensionMode gtk_widget_get_extension_events (GtkWidget *widget); GtkWidget* gtk_widget_get_toplevel (GtkWidget *widget); GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget, GType widget_type); GdkColormap* gtk_widget_get_colormap (GtkWidget *widget); GdkVisual* gtk_widget_get_visual (GtkWidget *widget); GdkScreen * gtk_widget_get_screen (GtkWidget *widget); gboolean gtk_widget_has_screen (GtkWidget *widget); GdkDisplay * gtk_widget_get_display (GtkWidget *widget); GdkWindow * gtk_widget_get_root_window (GtkWidget *widget); GtkSettings* gtk_widget_get_settings (GtkWidget *widget); GtkClipboard *gtk_widget_get_clipboard (GtkWidget *widget, GdkAtom selection); # 622 "../gtk/gtkwidget.h" AtkObject* gtk_widget_get_accessible (GtkWidget *widget); void gtk_widget_set_colormap (GtkWidget *widget, GdkColormap *colormap); gint gtk_widget_get_events (GtkWidget *widget); void gtk_widget_get_pointer (GtkWidget *widget, gint *x, gint *y); gboolean gtk_widget_is_ancestor (GtkWidget *widget, GtkWidget *ancestor); gboolean gtk_widget_translate_coordinates (GtkWidget *src_widget, GtkWidget *dest_widget, gint src_x, gint src_y, gint *dest_x, gint *dest_y); gboolean gtk_widget_hide_on_delete (GtkWidget *widget); void gtk_widget_set_style (GtkWidget *widget, GtkStyle *style); void gtk_widget_ensure_style (GtkWidget *widget); GtkStyle* gtk_widget_get_style (GtkWidget *widget); void gtk_widget_modify_style (GtkWidget *widget, GtkRcStyle *style); GtkRcStyle *gtk_widget_get_modifier_style (GtkWidget *widget); void gtk_widget_modify_fg (GtkWidget *widget, GtkStateType state, const GdkColor *color); void gtk_widget_modify_bg (GtkWidget *widget, GtkStateType state, const GdkColor *color); void gtk_widget_modify_text (GtkWidget *widget, GtkStateType state, const GdkColor *color); void gtk_widget_modify_base (GtkWidget *widget, GtkStateType state, const GdkColor *color); void gtk_widget_modify_cursor (GtkWidget *widget, const GdkColor *primary, const GdkColor *secondary); void gtk_widget_modify_font (GtkWidget *widget, PangoFontDescription *font_desc); PangoContext *gtk_widget_create_pango_context (GtkWidget *widget); PangoContext *gtk_widget_get_pango_context (GtkWidget *widget); PangoLayout *gtk_widget_create_pango_layout (GtkWidget *widget, const gchar *text); GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, const gchar *stock_id, GtkIconSize size, const gchar *detail); void gtk_widget_set_composite_name (GtkWidget *widget, const gchar *name); gchar* gtk_widget_get_composite_name (GtkWidget *widget); void gtk_widget_reset_rc_styles (GtkWidget *widget); void gtk_widget_push_colormap (GdkColormap *cmap); void gtk_widget_push_composite_child (void); void gtk_widget_pop_composite_child (void); void gtk_widget_pop_colormap (void); void gtk_widget_class_install_style_property (GtkWidgetClass *klass, GParamSpec *pspec); void gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass, GParamSpec *pspec, GtkRcPropertyParser parser); GParamSpec* gtk_widget_class_find_style_property (GtkWidgetClass *klass, const gchar *property_name); GParamSpec** gtk_widget_class_list_style_properties (GtkWidgetClass *klass, guint *n_properties); void gtk_widget_style_get_property (GtkWidget *widget, const gchar *property_name, GValue *value); void gtk_widget_style_get_valist (GtkWidget *widget, const gchar *first_property_name, va_list var_args); void gtk_widget_style_get (GtkWidget *widget, const gchar *first_property_name, ...) __attribute__((__sentinel__)); void gtk_widget_set_default_colormap (GdkColormap *colormap); GtkStyle* gtk_widget_get_default_style (void); GdkColormap* gtk_widget_get_default_colormap (void); GdkVisual* gtk_widget_get_default_visual (void); void gtk_widget_set_direction (GtkWidget *widget, GtkTextDirection dir); GtkTextDirection gtk_widget_get_direction (GtkWidget *widget); void gtk_widget_set_default_direction (GtkTextDirection dir); GtkTextDirection gtk_widget_get_default_direction (void); gboolean gtk_widget_is_composited (GtkWidget *widget); void gtk_widget_shape_combine_mask (GtkWidget *widget, GdkBitmap *shape_mask, gint offset_x, gint offset_y); void gtk_widget_input_shape_combine_mask (GtkWidget *widget, GdkBitmap *shape_mask, gint offset_x, gint offset_y); void gtk_widget_reset_shapes (GtkWidget *widget); void gtk_widget_path (GtkWidget *widget, guint *path_length, gchar **path, gchar **path_reversed); void gtk_widget_class_path (GtkWidget *widget, guint *path_length, gchar **path, gchar **path_reversed); GList* gtk_widget_list_mnemonic_labels (GtkWidget *widget); void gtk_widget_add_mnemonic_label (GtkWidget *widget, GtkWidget *label); void gtk_widget_remove_mnemonic_label (GtkWidget *widget, GtkWidget *label); void gtk_widget_set_tooltip_window (GtkWidget *widget, GtkWindow *custom_window); GtkWindow *gtk_widget_get_tooltip_window (GtkWidget *widget); void gtk_widget_trigger_tooltip_query (GtkWidget *widget); void gtk_widget_set_tooltip_text (GtkWidget *widget, const gchar *text); gchar * gtk_widget_get_tooltip_text (GtkWidget *widget); void gtk_widget_set_tooltip_markup (GtkWidget *widget, const gchar *markup); gchar * gtk_widget_get_tooltip_markup (GtkWidget *widget); void gtk_widget_set_has_tooltip (GtkWidget *widget, gboolean has_tooltip); gboolean gtk_widget_get_has_tooltip (GtkWidget *widget); GType gtk_requisition_get_type (void) __attribute__((__const__)); GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition); void gtk_requisition_free (GtkRequisition *requisition); void _gtk_widget_grab_notify (GtkWidget *widget, gboolean was_grabbed); GtkWidgetAuxInfo *_gtk_widget_get_aux_info (GtkWidget *widget, gboolean create); void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget, GtkWidget *previous_toplevel); void _gtk_widget_propagate_screen_changed (GtkWidget *widget, GdkScreen *previous_screen); void _gtk_widget_propagate_composited_changed (GtkWidget *widget); GdkColormap* _gtk_widget_peek_colormap (void); # 34 "../gtk/gtkcontainer.h" 2 # 49 "../gtk/gtkcontainer.h" typedef struct _GtkContainer GtkContainer; typedef struct _GtkContainerClass GtkContainerClass; struct _GtkContainer { GtkWidget widget; GtkWidget *focus_child; guint border_width : 16; guint need_resize : 1; guint resize_mode : 2; guint reallocate_redraws : 1; guint has_focus_chain : 1; }; struct _GtkContainerClass { GtkWidgetClass parent_class; void (*add) (GtkContainer *container, GtkWidget *widget); void (*remove) (GtkContainer *container, GtkWidget *widget); void (*check_resize) (GtkContainer *container); void (*forall) (GtkContainer *container, gboolean include_internals, GtkCallback callback, gpointer callback_data); void (*set_focus_child) (GtkContainer *container, GtkWidget *widget); GType (*child_type) (GtkContainer *container); gchar* (*composite_name) (GtkContainer *container, GtkWidget *child); void (*set_child_property) (GtkContainer *container, GtkWidget *child, guint property_id, const GValue *value, GParamSpec *pspec); void (*get_child_property) (GtkContainer *container, GtkWidget *child, guint property_id, GValue *value, GParamSpec *pspec); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_container_get_type (void) __attribute__((__const__)); void gtk_container_set_border_width (GtkContainer *container, guint border_width); guint gtk_container_get_border_width (GtkContainer *container); void gtk_container_add (GtkContainer *container, GtkWidget *widget); void gtk_container_remove (GtkContainer *container, GtkWidget *widget); void gtk_container_set_resize_mode (GtkContainer *container, GtkResizeMode resize_mode); GtkResizeMode gtk_container_get_resize_mode (GtkContainer *container); void gtk_container_check_resize (GtkContainer *container); void gtk_container_foreach (GtkContainer *container, GtkCallback callback, gpointer callback_data); void gtk_container_foreach_full (GtkContainer *container, GtkCallback callback, GtkCallbackMarshal marshal, gpointer callback_data, GtkDestroyNotify notify); GList* gtk_container_get_children (GtkContainer *container); void gtk_container_propagate_expose (GtkContainer *container, GtkWidget *child, GdkEventExpose *event); void gtk_container_set_focus_chain (GtkContainer *container, GList *focusable_widgets); gboolean gtk_container_get_focus_chain (GtkContainer *container, GList **focusable_widgets); void gtk_container_unset_focus_chain (GtkContainer *container); void gtk_container_set_reallocate_redraws (GtkContainer *container, gboolean needs_redraws); void gtk_container_set_focus_child (GtkContainer *container, GtkWidget *child); void gtk_container_set_focus_vadjustment (GtkContainer *container, GtkAdjustment *adjustment); GtkAdjustment *gtk_container_get_focus_vadjustment (GtkContainer *container); void gtk_container_set_focus_hadjustment (GtkContainer *container, GtkAdjustment *adjustment); GtkAdjustment *gtk_container_get_focus_hadjustment (GtkContainer *container); void gtk_container_resize_children (GtkContainer *container); GType gtk_container_child_type (GtkContainer *container); void gtk_container_class_install_child_property (GtkContainerClass *cclass, guint property_id, GParamSpec *pspec); GParamSpec* gtk_container_class_find_child_property (GObjectClass *cclass, const gchar *property_name); GParamSpec** gtk_container_class_list_child_properties (GObjectClass *cclass, guint *n_properties); void gtk_container_add_with_properties (GtkContainer *container, GtkWidget *widget, const gchar *first_prop_name, ...) __attribute__((__sentinel__)); void gtk_container_child_set (GtkContainer *container, GtkWidget *child, const gchar *first_prop_name, ...) __attribute__((__sentinel__)); void gtk_container_child_get (GtkContainer *container, GtkWidget *child, const gchar *first_prop_name, ...) __attribute__((__sentinel__)); void gtk_container_child_set_valist (GtkContainer *container, GtkWidget *child, const gchar *first_property_name, va_list var_args); void gtk_container_child_get_valist (GtkContainer *container, GtkWidget *child, const gchar *first_property_name, va_list var_args); void gtk_container_child_set_property (GtkContainer *container, GtkWidget *child, const gchar *property_name, const GValue *value); void gtk_container_child_get_property (GtkContainer *container, GtkWidget *child, const gchar *property_name, GValue *value); void gtk_container_forall (GtkContainer *container, GtkCallback callback, gpointer callback_data); void _gtk_container_queue_resize (GtkContainer *container); void _gtk_container_clear_resize_widgets (GtkContainer *container); gchar* _gtk_container_child_composite_name (GtkContainer *container, GtkWidget *child); void _gtk_container_dequeue_resize_handler (GtkContainer *container); GList *_gtk_container_focus_sort (GtkContainer *container, GList *children, GtkDirectionType direction, GtkWidget *old_focus); # 34 "gtknotebook.h" 2 # 45 "gtknotebook.h" typedef enum { GTK_NOTEBOOK_TAB_FIRST, GTK_NOTEBOOK_TAB_LAST } GtkNotebookTab; typedef struct _GtkNotebook GtkNotebook; typedef struct _GtkNotebookClass GtkNotebookClass; typedef struct _GtkNotebookPage GtkNotebookPage; struct _GtkNotebook { GtkContainer container; GtkNotebookPage *cur_page; GList *children; GList *first_tab; GList *focus_tab; GtkWidget *menu; GdkWindow *event_window; guint32 timer; guint16 tab_hborder; guint16 tab_vborder; guint show_tabs : 1; guint homogeneous : 1; guint show_border : 1; guint tab_pos : 2; guint scrollable : 1; guint in_child : 3; guint click_child : 3; guint button : 2; guint need_timer : 1; guint child_has_focus : 1; guint have_visible_child : 1; guint focus_out : 1; guint has_before_previous : 1; guint has_before_next : 1; guint has_after_previous : 1; guint has_after_next : 1; }; struct _GtkNotebookClass { GtkContainerClass parent_class; void (* switch_page) (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num); gboolean (* select_page) (GtkNotebook *notebook, gboolean move_focus); gboolean (* focus_tab) (GtkNotebook *notebook, GtkNotebookTab type); gboolean (* change_current_page) (GtkNotebook *notebook, gint offset); void (* move_focus_out) (GtkNotebook *notebook, GtkDirectionType direction); gboolean (* reorder_tab) (GtkNotebook *notebook, GtkDirectionType direction, gboolean move_to_last); gint (* insert_page) (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position); GtkNotebook * (* create_window) (GtkNotebook *notebook, GtkWidget *page, gint x, gint y); void (*_gtk_reserved1) (void); }; typedef GtkNotebook* (*GtkNotebookWindowCreationFunc) (GtkNotebook *source, GtkWidget *page, gint x, gint y, gpointer data); GType gtk_notebook_get_type (void) __attribute__((__const__)); GtkWidget * gtk_notebook_new (void); gint gtk_notebook_append_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label); gint gtk_notebook_append_page_menu (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label); gint gtk_notebook_prepend_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label); gint gtk_notebook_prepend_page_menu (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label); gint gtk_notebook_insert_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, gint position); gint gtk_notebook_insert_page_menu (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position); void gtk_notebook_remove_page (GtkNotebook *notebook, gint page_num); void gtk_notebook_set_window_creation_hook (GtkNotebookWindowCreationFunc func, gpointer data, GDestroyNotify destroy); void gtk_notebook_set_group_id (GtkNotebook *notebook, gint group_id); gint gtk_notebook_get_group_id (GtkNotebook *notebook); void gtk_notebook_set_group (GtkNotebook *notebook, gpointer group); gpointer gtk_notebook_get_group (GtkNotebook *notebook); gint gtk_notebook_get_current_page (GtkNotebook *notebook); GtkWidget* gtk_notebook_get_nth_page (GtkNotebook *notebook, gint page_num); gint gtk_notebook_get_n_pages (GtkNotebook *notebook); gint gtk_notebook_page_num (GtkNotebook *notebook, GtkWidget *child); void gtk_notebook_set_current_page (GtkNotebook *notebook, gint page_num); void gtk_notebook_next_page (GtkNotebook *notebook); void gtk_notebook_prev_page (GtkNotebook *notebook); void gtk_notebook_set_show_border (GtkNotebook *notebook, gboolean show_border); gboolean gtk_notebook_get_show_border (GtkNotebook *notebook); void gtk_notebook_set_show_tabs (GtkNotebook *notebook, gboolean show_tabs); gboolean gtk_notebook_get_show_tabs (GtkNotebook *notebook); void gtk_notebook_set_tab_pos (GtkNotebook *notebook, GtkPositionType pos); GtkPositionType gtk_notebook_get_tab_pos (GtkNotebook *notebook); void gtk_notebook_set_homogeneous_tabs (GtkNotebook *notebook, gboolean homogeneous); void gtk_notebook_set_tab_border (GtkNotebook *notebook, guint border_width); void gtk_notebook_set_tab_hborder (GtkNotebook *notebook, guint tab_hborder); void gtk_notebook_set_tab_vborder (GtkNotebook *notebook, guint tab_vborder); void gtk_notebook_set_scrollable (GtkNotebook *notebook, gboolean scrollable); gboolean gtk_notebook_get_scrollable (GtkNotebook *notebook); void gtk_notebook_popup_enable (GtkNotebook *notebook); void gtk_notebook_popup_disable (GtkNotebook *notebook); GtkWidget * gtk_notebook_get_tab_label (GtkNotebook *notebook, GtkWidget *child); void gtk_notebook_set_tab_label (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label); void gtk_notebook_set_tab_label_text (GtkNotebook *notebook, GtkWidget *child, const gchar *tab_text); const gchar *gtk_notebook_get_tab_label_text (GtkNotebook *notebook, GtkWidget *child); GtkWidget * gtk_notebook_get_menu_label (GtkNotebook *notebook, GtkWidget *child); void gtk_notebook_set_menu_label (GtkNotebook *notebook, GtkWidget *child, GtkWidget *menu_label); void gtk_notebook_set_menu_label_text (GtkNotebook *notebook, GtkWidget *child, const gchar *menu_text); const gchar *gtk_notebook_get_menu_label_text (GtkNotebook *notebook, GtkWidget *child); void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook, GtkWidget *child, gboolean *expand, gboolean *fill, GtkPackType *pack_type); void gtk_notebook_set_tab_label_packing (GtkNotebook *notebook, GtkWidget *child, gboolean expand, gboolean fill, GtkPackType pack_type); void gtk_notebook_reorder_child (GtkNotebook *notebook, GtkWidget *child, gint position); gboolean gtk_notebook_get_tab_reorderable (GtkNotebook *notebook, GtkWidget *child); void gtk_notebook_set_tab_reorderable (GtkNotebook *notebook, GtkWidget *child, gboolean reorderable); gboolean gtk_notebook_get_tab_detachable (GtkNotebook *notebook, GtkWidget *child); void gtk_notebook_set_tab_detachable (GtkNotebook *notebook, GtkWidget *child, gboolean detachable); # 31 "gtknotebook.c" 2 # 1 "gtkmain.h" 1 # 38 "gtkmain.h" # 58 "gtkmain.h" typedef gint (*GtkKeySnoopFunc) (GtkWidget *grab_widget, GdkEventKey *event, gpointer func_data); # 74 "gtkmain.h" extern const guint gtk_major_version; extern const guint gtk_minor_version; extern const guint gtk_micro_version; extern const guint gtk_binary_age; extern const guint gtk_interface_age; const gchar* gtk_check_version (guint required_major, guint required_minor, guint required_micro); gboolean gtk_parse_args (int *argc, char ***argv); void gtk_init (int *argc, char ***argv); gboolean gtk_init_check (int *argc, char ***argv); gboolean gtk_init_with_args (int *argc, char ***argv, char *parameter_string, GOptionEntry *entries, char *translation_domain, GError **error); GOptionGroup *gtk_get_option_group (gboolean open_default_display); # 127 "gtkmain.h" void gtk_exit (gint error_code); void gtk_disable_setlocale (void); gchar * gtk_set_locale (void); PangoLanguage *gtk_get_default_language (void); gboolean gtk_events_pending (void); void gtk_main_do_event (GdkEvent *event); void gtk_main (void); guint gtk_main_level (void); void gtk_main_quit (void); gboolean gtk_main_iteration (void); gboolean gtk_main_iteration_do (gboolean blocking); gboolean gtk_true (void) __attribute__((__const__)); gboolean gtk_false (void) __attribute__((__const__)); void gtk_grab_add (GtkWidget *widget); GtkWidget* gtk_grab_get_current (void); void gtk_grab_remove (GtkWidget *widget); void gtk_init_add (GtkFunction function, gpointer data); void gtk_quit_add_destroy (guint main_level, GtkObject *object); guint gtk_quit_add (guint main_level, GtkFunction function, gpointer data); guint gtk_quit_add_full (guint main_level, GtkFunction function, GtkCallbackMarshal marshal, gpointer data, GtkDestroyNotify destroy); void gtk_quit_remove (guint quit_handler_id); void gtk_quit_remove_by_data (gpointer data); guint gtk_timeout_add (guint32 interval, GtkFunction function, gpointer data); guint gtk_timeout_add_full (guint32 interval, GtkFunction function, GtkCallbackMarshal marshal, gpointer data, GtkDestroyNotify destroy); void gtk_timeout_remove (guint timeout_handler_id); guint gtk_idle_add (GtkFunction function, gpointer data); guint gtk_idle_add_priority (gint priority, GtkFunction function, gpointer data); guint gtk_idle_add_full (gint priority, GtkFunction function, GtkCallbackMarshal marshal, gpointer data, GtkDestroyNotify destroy); void gtk_idle_remove (guint idle_handler_id); void gtk_idle_remove_by_data (gpointer data); guint gtk_input_add_full (gint source, GdkInputCondition condition, GdkInputFunction function, GtkCallbackMarshal marshal, gpointer data, GtkDestroyNotify destroy); void gtk_input_remove (guint input_handler_id); guint gtk_key_snooper_install (GtkKeySnoopFunc snooper, gpointer func_data); void gtk_key_snooper_remove (guint snooper_handler_id); GdkEvent* gtk_get_current_event (void); guint32 gtk_get_current_event_time (void); gboolean gtk_get_current_event_state (GdkModifierType *state); GtkWidget* gtk_get_event_widget (GdkEvent *event); void gtk_propagate_event (GtkWidget *widget, GdkEvent *event); gboolean _gtk_boolean_handled_accumulator (GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer dummy); gchar *_gtk_get_lc_ctype (void); # 32 "gtknotebook.c" 2 # 1 "gtkmenu.h" 1 # 33 "gtkmenu.h" # 1 "../gtk/gtkmenushell.h" 1 # 35 "../gtk/gtkmenushell.h" # 45 "../gtk/gtkmenushell.h" typedef struct _GtkMenuShell GtkMenuShell; typedef struct _GtkMenuShellClass GtkMenuShellClass; struct _GtkMenuShell { GtkContainer container; GList *children; GtkWidget *active_menu_item; GtkWidget *parent_menu_shell; guint button; guint32 activate_time; guint active : 1; guint have_grab : 1; guint have_xgrab : 1; guint ignore_leave : 1; guint menu_flag : 1; guint ignore_enter : 1; }; struct _GtkMenuShellClass { GtkContainerClass parent_class; guint submenu_placement : 1; void (*deactivate) (GtkMenuShell *menu_shell); void (*selection_done) (GtkMenuShell *menu_shell); void (*move_current) (GtkMenuShell *menu_shell, GtkMenuDirectionType direction); void (*activate_current) (GtkMenuShell *menu_shell, gboolean force_hide); void (*cancel) (GtkMenuShell *menu_shell); void (*select_item) (GtkMenuShell *menu_shell, GtkWidget *menu_item); void (*insert) (GtkMenuShell *menu_shell, GtkWidget *child, gint position); gint (*get_popup_delay) (GtkMenuShell *menu_shell); gboolean (*move_selected) (GtkMenuShell *menu_shell, gint distance); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); }; GType gtk_menu_shell_get_type (void) __attribute__((__const__)); void gtk_menu_shell_append (GtkMenuShell *menu_shell, GtkWidget *child); void gtk_menu_shell_prepend (GtkMenuShell *menu_shell, GtkWidget *child); void gtk_menu_shell_insert (GtkMenuShell *menu_shell, GtkWidget *child, gint position); void gtk_menu_shell_deactivate (GtkMenuShell *menu_shell); void gtk_menu_shell_select_item (GtkMenuShell *menu_shell, GtkWidget *menu_item); void gtk_menu_shell_deselect (GtkMenuShell *menu_shell); void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell, GtkWidget *menu_item, gboolean force_deactivate); void gtk_menu_shell_select_first (GtkMenuShell *menu_shell, gboolean search_sensitive); void _gtk_menu_shell_select_last (GtkMenuShell *menu_shell, gboolean search_sensitive); void _gtk_menu_shell_activate (GtkMenuShell *menu_shell); gint _gtk_menu_shell_get_popup_delay (GtkMenuShell *menu_shell); void gtk_menu_shell_cancel (GtkMenuShell *menu_shell); void _gtk_menu_shell_add_mnemonic (GtkMenuShell *menu_shell, guint keyval, GtkWidget *target); void _gtk_menu_shell_remove_mnemonic (GtkMenuShell *menu_shell, guint keyval, GtkWidget *target); gboolean gtk_menu_shell_get_take_focus (GtkMenuShell *menu_shell); void gtk_menu_shell_set_take_focus (GtkMenuShell *menu_shell, gboolean take_focus); # 34 "gtkmenu.h" 2 # 46 "gtkmenu.h" typedef struct _GtkMenu GtkMenu; typedef struct _GtkMenuClass GtkMenuClass; typedef void (*GtkMenuPositionFunc) (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer user_data); typedef void (*GtkMenuDetachFunc) (GtkWidget *attach_widget, GtkMenu *menu); struct _GtkMenu { GtkMenuShell menu_shell; GtkWidget *parent_menu_item; GtkWidget *old_active_menu_item; GtkAccelGroup *accel_group; gchar *accel_path; GtkMenuPositionFunc position_func; gpointer position_func_data; guint toggle_size; GtkWidget *toplevel; GtkWidget *tearoff_window; GtkWidget *tearoff_hbox; GtkWidget *tearoff_scrollbar; GtkAdjustment *tearoff_adjustment; GdkWindow *view_window; GdkWindow *bin_window; gint scroll_offset; gint saved_scroll_offset; gint scroll_step; guint timeout_id; GdkRegion *navigation_region; guint navigation_timeout; guint needs_destruction_ref_count : 1; guint torn_off : 1; guint tearoff_active : 1; guint scroll_fast : 1; guint upper_arrow_visible : 1; guint lower_arrow_visible : 1; guint upper_arrow_prelight : 1; guint lower_arrow_prelight : 1; }; struct _GtkMenuClass { GtkMenuShellClass parent_class; void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_menu_get_type (void) __attribute__((__const__)); GtkWidget* gtk_menu_new (void); void gtk_menu_popup (GtkMenu *menu, GtkWidget *parent_menu_shell, GtkWidget *parent_menu_item, GtkMenuPositionFunc func, gpointer data, guint button, guint32 activate_time); void gtk_menu_reposition (GtkMenu *menu); void gtk_menu_popdown (GtkMenu *menu); GtkWidget* gtk_menu_get_active (GtkMenu *menu); void gtk_menu_set_active (GtkMenu *menu, guint index_); void gtk_menu_set_accel_group (GtkMenu *menu, GtkAccelGroup *accel_group); GtkAccelGroup* gtk_menu_get_accel_group (GtkMenu *menu); void gtk_menu_set_accel_path (GtkMenu *menu, const gchar *accel_path); void gtk_menu_attach_to_widget (GtkMenu *menu, GtkWidget *attach_widget, GtkMenuDetachFunc detacher); void gtk_menu_detach (GtkMenu *menu); GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu); void gtk_menu_set_tearoff_state (GtkMenu *menu, gboolean torn_off); gboolean gtk_menu_get_tearoff_state (GtkMenu *menu); void gtk_menu_set_title (GtkMenu *menu, const gchar *title); const gchar *gtk_menu_get_title (GtkMenu *menu); void gtk_menu_reorder_child (GtkMenu *menu, GtkWidget *child, gint position); void gtk_menu_set_screen (GtkMenu *menu, GdkScreen *screen); void gtk_menu_attach (GtkMenu *menu, GtkWidget *child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach); void gtk_menu_set_monitor (GtkMenu *menu, gint monitor_num); GList* gtk_menu_get_for_attach_widget (GtkWidget *widget); # 33 "gtknotebook.c" 2 # 1 "gtkmenuitem.h" 1 # 32 "gtkmenuitem.h" # 1 "../gtk/gtkitem.h" 1 # 32 "../gtk/gtkitem.h" # 1 "../gtk/gtkbin.h" 1 # 35 "../gtk/gtkbin.h" # 45 "../gtk/gtkbin.h" typedef struct _GtkBin GtkBin; typedef struct _GtkBinClass GtkBinClass; struct _GtkBin { GtkContainer container; GtkWidget *child; }; struct _GtkBinClass { GtkContainerClass parent_class; }; GType gtk_bin_get_type (void) __attribute__((__const__)); GtkWidget *gtk_bin_get_child (GtkBin *bin); # 33 "../gtk/gtkitem.h" 2 # 45 "../gtk/gtkitem.h" typedef struct _GtkItem GtkItem; typedef struct _GtkItemClass GtkItemClass; struct _GtkItem { GtkBin bin; }; struct _GtkItemClass { GtkBinClass parent_class; void (* select) (GtkItem *item); void (* deselect) (GtkItem *item); void (* toggle) (GtkItem *item); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_item_get_type (void) __attribute__((__const__)); void gtk_item_select (GtkItem *item); void gtk_item_deselect (GtkItem *item); void gtk_item_toggle (GtkItem *item); # 33 "gtkmenuitem.h" 2 # 45 "gtkmenuitem.h" typedef struct _GtkMenuItem GtkMenuItem; typedef struct _GtkMenuItemClass GtkMenuItemClass; struct _GtkMenuItem { GtkItem item; GtkWidget *submenu; GdkWindow *event_window; guint16 toggle_size; guint16 accelerator_width; gchar *accel_path; guint show_submenu_indicator : 1; guint submenu_placement : 1; guint submenu_direction : 1; guint right_justify: 1; guint timer_from_keypress : 1; guint from_menubar : 1; guint timer; }; struct _GtkMenuItemClass { GtkItemClass parent_class; guint hide_on_activate : 1; void (* activate) (GtkMenuItem *menu_item); void (* activate_item) (GtkMenuItem *menu_item); void (* toggle_size_request) (GtkMenuItem *menu_item, gint *requisition); void (* toggle_size_allocate) (GtkMenuItem *menu_item, gint allocation); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_menu_item_get_type (void) __attribute__((__const__)); GtkWidget* gtk_menu_item_new (void); GtkWidget* gtk_menu_item_new_with_label (const gchar *label); GtkWidget* gtk_menu_item_new_with_mnemonic (const gchar *label); void gtk_menu_item_set_submenu (GtkMenuItem *menu_item, GtkWidget *submenu); GtkWidget* gtk_menu_item_get_submenu (GtkMenuItem *menu_item); void gtk_menu_item_select (GtkMenuItem *menu_item); void gtk_menu_item_deselect (GtkMenuItem *menu_item); void gtk_menu_item_activate (GtkMenuItem *menu_item); void gtk_menu_item_toggle_size_request (GtkMenuItem *menu_item, gint *requisition); void gtk_menu_item_toggle_size_allocate (GtkMenuItem *menu_item, gint allocation); void gtk_menu_item_set_right_justified (GtkMenuItem *menu_item, gboolean right_justified); gboolean gtk_menu_item_get_right_justified (GtkMenuItem *menu_item); void gtk_menu_item_set_accel_path (GtkMenuItem *menu_item, const gchar *accel_path); void _gtk_menu_item_refresh_accel_path (GtkMenuItem *menu_item, const gchar *prefix, GtkAccelGroup *accel_group, gboolean group_changed); gboolean _gtk_menu_item_is_selectable (GtkWidget *menu_item); void _gtk_menu_item_popup_submenu (GtkWidget *menu_item, gboolean with_delay); void _gtk_menu_item_popdown_submenu (GtkWidget *menu_item); void gtk_menu_item_remove_submenu (GtkMenuItem *menu_item); # 34 "gtknotebook.c" 2 # 1 "gtklabel.h" 1 # 31 "gtklabel.h" # 1 "../gtk/gtkmisc.h" 1 # 35 "../gtk/gtkmisc.h" # 45 "../gtk/gtkmisc.h" typedef struct _GtkMisc GtkMisc; typedef struct _GtkMiscClass GtkMiscClass; struct _GtkMisc { GtkWidget widget; gfloat xalign; gfloat yalign; guint16 xpad; guint16 ypad; }; struct _GtkMiscClass { GtkWidgetClass parent_class; }; GType gtk_misc_get_type (void) __attribute__((__const__)); void gtk_misc_set_alignment (GtkMisc *misc, gfloat xalign, gfloat yalign); void gtk_misc_get_alignment (GtkMisc *misc, gfloat *xalign, gfloat *yalign); void gtk_misc_set_padding (GtkMisc *misc, gint xpad, gint ypad); void gtk_misc_get_padding (GtkMisc *misc, gint *xpad, gint *ypad); # 32 "gtklabel.h" 2 # 1 "../gtk/gtkwindow.h" 1 # 37 "../gtk/gtkwindow.h" # 47 "../gtk/gtkwindow.h" typedef struct _GtkWindowClass GtkWindowClass; typedef struct _GtkWindowGeometryInfo GtkWindowGeometryInfo; typedef struct _GtkWindowGroup GtkWindowGroup; typedef struct _GtkWindowGroupClass GtkWindowGroupClass; struct _GtkWindow { GtkBin bin; gchar *title; gchar *wmclass_name; gchar *wmclass_class; gchar *wm_role; GtkWidget *focus_widget; GtkWidget *default_widget; GtkWindow *transient_parent; GtkWindowGeometryInfo *geometry_info; GdkWindow *frame; GtkWindowGroup *group; guint16 configure_request_count; guint allow_shrink : 1; guint allow_grow : 1; guint configure_notify_received : 1; guint need_default_position : 1; guint need_default_size : 1; guint position : 3; guint type : 4; guint has_user_ref_count : 1; guint has_focus : 1; guint modal : 1; guint destroy_with_parent : 1; guint has_frame : 1; guint iconify_initially : 1; guint stick_initially : 1; guint maximize_initially : 1; guint decorated : 1; guint type_hint : 3; guint gravity : 5; guint is_active : 1; guint has_toplevel_focus : 1; guint frame_left; guint frame_top; guint frame_right; guint frame_bottom; guint keys_changed_handler; GdkModifierType mnemonic_modifier; GdkScreen *screen; }; struct _GtkWindowClass { GtkBinClass parent_class; void (* set_focus) (GtkWindow *window, GtkWidget *focus); gboolean (* frame_event) (GtkWindow *window, GdkEvent *event); void (* activate_focus) (GtkWindow *window); void (* activate_default) (GtkWindow *window); void (* move_focus) (GtkWindow *window, GtkDirectionType direction); void (*keys_changed) (GtkWindow *window); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; # 152 "../gtk/gtkwindow.h" struct _GtkWindowGroup { GObject parent_instance; GSList *grabs; }; struct _GtkWindowGroupClass { GObjectClass parent_class; void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_window_get_type (void) __attribute__((__const__)); GtkWidget* gtk_window_new (GtkWindowType type); void gtk_window_set_title (GtkWindow *window, const gchar *title); const gchar *gtk_window_get_title (GtkWindow *window); void gtk_window_set_wmclass (GtkWindow *window, const gchar *wmclass_name, const gchar *wmclass_class); void gtk_window_set_role (GtkWindow *window, const gchar *role); void gtk_window_set_startup_id (GtkWindow *window, const gchar *startup_id); const gchar *gtk_window_get_role (GtkWindow *window); void gtk_window_add_accel_group (GtkWindow *window, GtkAccelGroup *accel_group); void gtk_window_remove_accel_group (GtkWindow *window, GtkAccelGroup *accel_group); void gtk_window_set_position (GtkWindow *window, GtkWindowPosition position); gboolean gtk_window_activate_focus (GtkWindow *window); void gtk_window_set_focus (GtkWindow *window, GtkWidget *focus); GtkWidget *gtk_window_get_focus (GtkWindow *window); void gtk_window_set_default (GtkWindow *window, GtkWidget *default_widget); gboolean gtk_window_activate_default (GtkWindow *window); void gtk_window_set_transient_for (GtkWindow *window, GtkWindow *parent); GtkWindow *gtk_window_get_transient_for (GtkWindow *window); void gtk_window_set_opacity (GtkWindow *window, gdouble opacity); gdouble gtk_window_get_opacity (GtkWindow *window); void gtk_window_set_type_hint (GtkWindow *window, GdkWindowTypeHint hint); GdkWindowTypeHint gtk_window_get_type_hint (GtkWindow *window); void gtk_window_set_skip_taskbar_hint (GtkWindow *window, gboolean setting); gboolean gtk_window_get_skip_taskbar_hint (GtkWindow *window); void gtk_window_set_skip_pager_hint (GtkWindow *window, gboolean setting); gboolean gtk_window_get_skip_pager_hint (GtkWindow *window); void gtk_window_set_urgency_hint (GtkWindow *window, gboolean setting); gboolean gtk_window_get_urgency_hint (GtkWindow *window); void gtk_window_set_accept_focus (GtkWindow *window, gboolean setting); gboolean gtk_window_get_accept_focus (GtkWindow *window); void gtk_window_set_focus_on_map (GtkWindow *window, gboolean setting); gboolean gtk_window_get_focus_on_map (GtkWindow *window); void gtk_window_set_destroy_with_parent (GtkWindow *window, gboolean setting); gboolean gtk_window_get_destroy_with_parent (GtkWindow *window); void gtk_window_set_resizable (GtkWindow *window, gboolean resizable); gboolean gtk_window_get_resizable (GtkWindow *window); void gtk_window_set_gravity (GtkWindow *window, GdkGravity gravity); GdkGravity gtk_window_get_gravity (GtkWindow *window); void gtk_window_set_geometry_hints (GtkWindow *window, GtkWidget *geometry_widget, GdkGeometry *geometry, GdkWindowHints geom_mask); void gtk_window_set_screen (GtkWindow *window, GdkScreen *screen); GdkScreen* gtk_window_get_screen (GtkWindow *window); gboolean gtk_window_is_active (GtkWindow *window); gboolean gtk_window_has_toplevel_focus (GtkWindow *window); void gtk_window_set_has_frame (GtkWindow *window, gboolean setting); gboolean gtk_window_get_has_frame (GtkWindow *window); void gtk_window_set_frame_dimensions (GtkWindow *window, gint left, gint top, gint right, gint bottom); void gtk_window_get_frame_dimensions (GtkWindow *window, gint *left, gint *top, gint *right, gint *bottom); void gtk_window_set_decorated (GtkWindow *window, gboolean setting); gboolean gtk_window_get_decorated (GtkWindow *window); void gtk_window_set_deletable (GtkWindow *window, gboolean setting); gboolean gtk_window_get_deletable (GtkWindow *window); void gtk_window_set_icon_list (GtkWindow *window, GList *list); GList* gtk_window_get_icon_list (GtkWindow *window); void gtk_window_set_icon (GtkWindow *window, GdkPixbuf *icon); void gtk_window_set_icon_name (GtkWindow *window, const gchar *name); gboolean gtk_window_set_icon_from_file (GtkWindow *window, const gchar *filename, GError **err); GdkPixbuf* gtk_window_get_icon (GtkWindow *window); const gchar *gtk_window_get_icon_name (GtkWindow *window); void gtk_window_set_default_icon_list (GList *list); GList* gtk_window_get_default_icon_list (void); void gtk_window_set_default_icon (GdkPixbuf *icon); void gtk_window_set_default_icon_name (const gchar *name); gboolean gtk_window_set_default_icon_from_file (const gchar *filename, GError **err); void gtk_window_set_auto_startup_notification (gboolean setting); void gtk_window_set_modal (GtkWindow *window, gboolean modal); gboolean gtk_window_get_modal (GtkWindow *window); GList* gtk_window_list_toplevels (void); void gtk_window_add_mnemonic (GtkWindow *window, guint keyval, GtkWidget *target); void gtk_window_remove_mnemonic (GtkWindow *window, guint keyval, GtkWidget *target); gboolean gtk_window_mnemonic_activate (GtkWindow *window, guint keyval, GdkModifierType modifier); void gtk_window_set_mnemonic_modifier (GtkWindow *window, GdkModifierType modifier); GdkModifierType gtk_window_get_mnemonic_modifier (GtkWindow *window); gboolean gtk_window_activate_key (GtkWindow *window, GdkEventKey *event); gboolean gtk_window_propagate_key_event (GtkWindow *window, GdkEventKey *event); void gtk_window_present (GtkWindow *window); void gtk_window_present_with_time (GtkWindow *window, guint32 timestamp); void gtk_window_iconify (GtkWindow *window); void gtk_window_deiconify (GtkWindow *window); void gtk_window_stick (GtkWindow *window); void gtk_window_unstick (GtkWindow *window); void gtk_window_maximize (GtkWindow *window); void gtk_window_unmaximize (GtkWindow *window); void gtk_window_fullscreen (GtkWindow *window); void gtk_window_unfullscreen (GtkWindow *window); void gtk_window_set_keep_above (GtkWindow *window, gboolean setting); void gtk_window_set_keep_below (GtkWindow *window, gboolean setting); void gtk_window_begin_resize_drag (GtkWindow *window, GdkWindowEdge edge, gint button, gint root_x, gint root_y, guint32 timestamp); void gtk_window_begin_move_drag (GtkWindow *window, gint button, gint root_x, gint root_y, guint32 timestamp); void gtk_window_set_policy (GtkWindow *window, gint allow_shrink, gint allow_grow, gint auto_shrink); void gtk_window_set_default_size (GtkWindow *window, gint width, gint height); void gtk_window_get_default_size (GtkWindow *window, gint *width, gint *height); void gtk_window_resize (GtkWindow *window, gint width, gint height); void gtk_window_get_size (GtkWindow *window, gint *width, gint *height); void gtk_window_move (GtkWindow *window, gint x, gint y); void gtk_window_get_position (GtkWindow *window, gint *root_x, gint *root_y); gboolean gtk_window_parse_geometry (GtkWindow *window, const gchar *geometry); GtkWindowGroup *gtk_window_get_group (GtkWindow *window); void gtk_window_reshow_with_initial_size (GtkWindow *window); GType gtk_window_group_get_type (void) __attribute__((__const__)); GtkWindowGroup * gtk_window_group_new (void); void gtk_window_group_add_window (GtkWindowGroup *window_group, GtkWindow *window); void gtk_window_group_remove_window (GtkWindowGroup *window_group, GtkWindow *window); void _gtk_window_internal_set_focus (GtkWindow *window, GtkWidget *focus); void gtk_window_remove_embedded_xid (GtkWindow *window, guint xid); void gtk_window_add_embedded_xid (GtkWindow *window, guint xid); void _gtk_window_reposition (GtkWindow *window, gint x, gint y); void _gtk_window_constrain_size (GtkWindow *window, gint width, gint height, gint *new_width, gint *new_height); GtkWidget *_gtk_window_group_get_current_grab (GtkWindowGroup *window_group); void _gtk_window_set_has_toplevel_focus (GtkWindow *window, gboolean has_toplevel_focus); void _gtk_window_unset_focus_and_default (GtkWindow *window, GtkWidget *widget); void _gtk_window_set_is_active (GtkWindow *window, gboolean is_active); typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window, guint keyval, GdkModifierType modifiers, gboolean is_mnemonic, gpointer data); void _gtk_window_keys_foreach (GtkWindow *window, GtkWindowKeysForeachFunc func, gpointer func_data); gboolean _gtk_window_query_nonaccels (GtkWindow *window, guint accel_key, GdkModifierType accel_mods); # 33 "gtklabel.h" 2 # 1 "../gtk/gtkmenu.h" 1 # 34 "gtklabel.h" 2 # 45 "gtklabel.h" typedef struct _GtkLabel GtkLabel; typedef struct _GtkLabelClass GtkLabelClass; typedef struct _GtkLabelSelectionInfo GtkLabelSelectionInfo; struct _GtkLabel { GtkMisc misc; gchar *label; guint jtype : 2; guint wrap : 1; guint use_underline : 1; guint use_markup : 1; guint ellipsize : 3; guint single_line_mode : 1; guint have_transform : 1; guint in_click : 1; guint wrap_mode : 3; guint pattern_set : 1; guint mnemonic_keyval; gchar *text; PangoAttrList *attrs; PangoAttrList *effective_attrs; PangoLayout *layout; GtkWidget *mnemonic_widget; GtkWindow *mnemonic_window; GtkLabelSelectionInfo *select_info; }; struct _GtkLabelClass { GtkMiscClass parent_class; void (* move_cursor) (GtkLabel *label, GtkMovementStep step, gint count, gboolean extend_selection); void (* copy_clipboard) (GtkLabel *label); void (* populate_popup) (GtkLabel *label, GtkMenu *menu); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_label_get_type (void) __attribute__((__const__)); GtkWidget* gtk_label_new (const gchar *str); GtkWidget* gtk_label_new_with_mnemonic (const gchar *str); void gtk_label_set_text (GtkLabel *label, const gchar *str); const gchar* gtk_label_get_text (GtkLabel *label); void gtk_label_set_attributes (GtkLabel *label, PangoAttrList *attrs); PangoAttrList *gtk_label_get_attributes (GtkLabel *label); void gtk_label_set_label (GtkLabel *label, const gchar *str); const gchar *gtk_label_get_label (GtkLabel *label); void gtk_label_set_markup (GtkLabel *label, const gchar *str); void gtk_label_set_use_markup (GtkLabel *label, gboolean setting); gboolean gtk_label_get_use_markup (GtkLabel *label); void gtk_label_set_use_underline (GtkLabel *label, gboolean setting); gboolean gtk_label_get_use_underline (GtkLabel *label); void gtk_label_set_markup_with_mnemonic (GtkLabel *label, const gchar *str); guint gtk_label_get_mnemonic_keyval (GtkLabel *label); void gtk_label_set_mnemonic_widget (GtkLabel *label, GtkWidget *widget); GtkWidget *gtk_label_get_mnemonic_widget (GtkLabel *label); void gtk_label_set_text_with_mnemonic (GtkLabel *label, const gchar *str); void gtk_label_set_justify (GtkLabel *label, GtkJustification jtype); GtkJustification gtk_label_get_justify (GtkLabel *label); void gtk_label_set_ellipsize (GtkLabel *label, PangoEllipsizeMode mode); PangoEllipsizeMode gtk_label_get_ellipsize (GtkLabel *label); void gtk_label_set_width_chars (GtkLabel *label, gint n_chars); gint gtk_label_get_width_chars (GtkLabel *label); void gtk_label_set_max_width_chars (GtkLabel *label, gint n_chars); gint gtk_label_get_max_width_chars (GtkLabel *label); void gtk_label_set_pattern (GtkLabel *label, const gchar *pattern); void gtk_label_set_line_wrap (GtkLabel *label, gboolean wrap); gboolean gtk_label_get_line_wrap (GtkLabel *label); void gtk_label_set_line_wrap_mode (GtkLabel *label, PangoWrapMode wrap_mode); PangoWrapMode gtk_label_get_line_wrap_mode (GtkLabel *label); void gtk_label_set_selectable (GtkLabel *label, gboolean setting); gboolean gtk_label_get_selectable (GtkLabel *label); void gtk_label_set_angle (GtkLabel *label, gdouble angle); gdouble gtk_label_get_angle (GtkLabel *label); void gtk_label_select_region (GtkLabel *label, gint start_offset, gint end_offset); gboolean gtk_label_get_selection_bounds (GtkLabel *label, gint *start, gint *end); PangoLayout *gtk_label_get_layout (GtkLabel *label); void gtk_label_get_layout_offsets (GtkLabel *label, gint *x, gint *y); void gtk_label_set_single_line_mode (GtkLabel *label, gboolean single_line_mode); gboolean gtk_label_get_single_line_mode (GtkLabel *label); void gtk_label_get (GtkLabel *label, gchar **str); guint gtk_label_parse_uline (GtkLabel *label, const gchar *string); # 35 "gtknotebook.c" 2 # 1 "../gdk/gdkkeysyms.h" 1 # 36 "gtknotebook.c" 2 # 1 "gtkintl.h" 1 # 1 "/usr/include/glib-2.0/glib/gi18n-lib.h" 1 # 24 "/usr/include/glib-2.0/glib/gi18n-lib.h" # 1 "/usr/include/libintl.h" 1 3 4 # 35 "/usr/include/libintl.h" 3 4 extern char *gettext (__const char *__msgid) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))); extern char *dgettext (__const char *__domainname, __const char *__msgid) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); extern char *__dgettext (__const char *__domainname, __const char *__msgid) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); extern char *dcgettext (__const char *__domainname, __const char *__msgid, int __category) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); extern char *__dcgettext (__const char *__domainname, __const char *__msgid, int __category) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); extern char *ngettext (__const char *__msgid1, __const char *__msgid2, unsigned long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2))); extern char *dngettext (__const char *__domainname, __const char *__msgid1, __const char *__msgid2, unsigned long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); extern char *dcngettext (__const char *__domainname, __const char *__msgid1, __const char *__msgid2, unsigned long int __n, int __category) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); extern char *textdomain (__const char *__domainname) __attribute__ ((__nothrow__)); extern char *bindtextdomain (__const char *__domainname, __const char *__dirname) __attribute__ ((__nothrow__)); extern char *bind_textdomain_codeset (__const char *__domainname, __const char *__codeset) __attribute__ ((__nothrow__)); # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 102 "/usr/include/libintl.h" 2 3 4 # 1 "/usr/include/locale.h" 1 3 4 # 29 "/usr/include/locale.h" 3 4 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4 # 30 "/usr/include/locale.h" 2 3 4 # 1 "/usr/include/bits/locale.h" 1 3 4 # 27 "/usr/include/bits/locale.h" 3 4 enum { __LC_CTYPE = 0, __LC_NUMERIC = 1, __LC_TIME = 2, __LC_COLLATE = 3, __LC_MONETARY = 4, __LC_MESSAGES = 5, __LC_ALL = 6, __LC_PAPER = 7, __LC_NAME = 8, __LC_ADDRESS = 9, __LC_TELEPHONE = 10, __LC_MEASUREMENT = 11, __LC_IDENTIFICATION = 12 }; # 31 "/usr/include/locale.h" 2 3 4 # 51 "/usr/include/locale.h" 3 4 struct lconv { char *decimal_point; char *thousands_sep; char *grouping; char *int_curr_symbol; char *currency_symbol; char *mon_decimal_point; char *mon_thousands_sep; char *mon_grouping; char *positive_sign; char *negative_sign; char int_frac_digits; char frac_digits; char p_cs_precedes; char p_sep_by_space; char n_cs_precedes; char n_sep_by_space; char p_sign_posn; char n_sign_posn; # 114 "/usr/include/locale.h" 3 4 char __int_p_cs_precedes; char __int_p_sep_by_space; char __int_n_cs_precedes; char __int_n_sep_by_space; char __int_p_sign_posn; char __int_n_sign_posn; }; extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__)); extern struct lconv *localeconv (void) __attribute__ ((__nothrow__)); # 208 "/usr/include/locale.h" 3 4 # 105 "/usr/include/libintl.h" 2 3 4 # 122 "/usr/include/libintl.h" 3 4 # 25 "/usr/include/glib-2.0/glib/gi18n-lib.h" 2 # 5 "gtkintl.h" 2 # 38 "gtknotebook.c" 2 # 1 "gtkmarshalers.h" 1 extern void _gtk_marshal_BOOLEAN__BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__ENUM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__ENUM_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__ENUM_DOUBLE (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__ENUM_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_UINT_FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_STRING_STRING_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_BOXED_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_OBJECT_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_STRING_STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__OBJECT_ENUM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__INT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__INT_INT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__INT_INT_BOOLEAN_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__VOID (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__BOOLEAN_BOOLEAN_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_BOOLEAN__STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_ENUM__ENUM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_ENUM__VOID (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_INT__POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); # 241 "gtkmarshalers.h" extern void _gtk_marshal_VOID__INT_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__INT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__STRING_INT_POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_OBJECT__VOID (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_STRING__DOUBLE (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOXED_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOXED_BOXED_POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOXED_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOXED_STRING_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOXED_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOXED_UINT_FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__BOXED_UINT_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__ENUM_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__ENUM_ENUM (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__ENUM_FLOAT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__ENUM_FLOAT_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__ENUM_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__ENUM_INT_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__INT_INT_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__INT_INT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_BOXED_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_BOXED_UINT_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_INT_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_INT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_INT_INT_BOXED_UINT_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_STRING_STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__OBJECT_UINT_FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__POINTER_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__POINTER_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__POINTER_POINTER_BOOLEAN (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__POINTER_POINTER_POINTER (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__POINTER_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__STRING_STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__STRING_UINT_FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__STRING_UINT_FLAGS_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__UINT_FLAGS_BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__UINT_UINT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__UINT_STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__UINT_BOXED_UINT_FLAGS_FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_VOID__UINT_OBJECT_UINT_FLAGS_FLAGS (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); extern void _gtk_marshal_OBJECT__OBJECT_INT_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); # 39 "gtknotebook.c" 2 # 1 "gtkbindings.h" 1 # 39 "gtkbindings.h" typedef struct _GtkBindingSet GtkBindingSet; typedef struct _GtkBindingEntry GtkBindingEntry; typedef struct _GtkBindingSignal GtkBindingSignal; typedef struct _GtkBindingArg GtkBindingArg; struct _GtkBindingSet { gchar *set_name; gint priority; GSList *widget_path_pspecs; GSList *widget_class_pspecs; GSList *class_branch_pspecs; GtkBindingEntry *entries; GtkBindingEntry *current; guint parsed : 1; }; struct _GtkBindingEntry { guint keyval; GdkModifierType modifiers; GtkBindingSet *binding_set; guint destroyed : 1; guint in_emission : 1; guint marks_unbound : 1; GtkBindingEntry *set_next; GtkBindingEntry *hash_next; GtkBindingSignal *signals; }; struct _GtkBindingArg { GType arg_type; union { glong long_data; gdouble double_data; gchar *string_data; } d; }; struct _GtkBindingSignal { GtkBindingSignal *next; gchar *signal_name; guint n_args; GtkBindingArg *args; }; GtkBindingSet* gtk_binding_set_new (const gchar *set_name); GtkBindingSet* gtk_binding_set_by_class(gpointer object_class); GtkBindingSet* gtk_binding_set_find (const gchar *set_name); gboolean gtk_bindings_activate (GtkObject *object, guint keyval, GdkModifierType modifiers); gboolean gtk_bindings_activate_event (GtkObject *object, GdkEventKey *event); gboolean gtk_binding_set_activate (GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, GtkObject *object); void gtk_binding_entry_clear (GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers); void gtk_binding_entry_add_signall (GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const gchar *signal_name, GSList *binding_args); guint gtk_binding_parse_binding (GScanner *scanner); void gtk_binding_entry_skip (GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers); void gtk_binding_entry_add_signal (GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const gchar *signal_name, guint n_args, ...); void gtk_binding_entry_remove (GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers); void gtk_binding_set_add_path (GtkBindingSet *binding_set, GtkPathType path_type, const gchar *path_pattern, GtkPathPriorityType priority); guint _gtk_binding_parse_binding (GScanner *scanner); void _gtk_binding_reset_parsed (void); void _gtk_binding_entry_add_signall (GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const gchar *signal_name, GSList *binding_args); guint _gtk_binding_signal_new (const gchar *signal_name, GType itype, GSignalFlags signal_flags, GCallback handler, GSignalAccumulator accumulator, gpointer accu_data, GSignalCMarshaller c_marshaller, GType return_type, guint n_params, ...); # 40 "gtknotebook.c" 2 # 1 "gtkprivate.h" 1 # 35 "gtkprivate.h" typedef enum { PRIVATE_GTK_USER_STYLE = 1 << 0, PRIVATE_GTK_RESIZE_PENDING = 1 << 2, PRIVATE_GTK_LEAVE_PENDING = 1 << 4, PRIVATE_GTK_HAS_SHAPE_MASK = 1 << 5, PRIVATE_GTK_IN_REPARENT = 1 << 6, PRIVATE_GTK_DIRECTION_SET = 1 << 7, PRIVATE_GTK_DIRECTION_LTR = 1 << 8, PRIVATE_GTK_ANCHORED = 1 << 9, PRIVATE_GTK_CHILD_VISIBLE = 1 << 10, PRIVATE_GTK_REDRAW_ON_ALLOC = 1 << 11, PRIVATE_GTK_ALLOC_NEEDED = 1 << 12, PRIVATE_GTK_REQUEST_NEEDED = 1 << 13 } GtkPrivateFlags; # 99 "gtkprivate.h" gboolean _gtk_fnmatch (const char *pattern, const char *string, gboolean no_leading_period); # 41 "gtknotebook.c" 2 # 1 "gtkdnd.h" 1 # 34 "gtkdnd.h" # 1 "../gtk/gtkselection.h" 1 # 34 "../gtk/gtkselection.h" # 1 "../gtk/gtktextiter.h" 1 # 30 "../gtk/gtktextiter.h" # 1 "../gtk/gtktexttag.h" 1 # 60 "../gtk/gtktexttag.h" typedef struct _GtkTextIter GtkTextIter; typedef struct _GtkTextTagTable GtkTextTagTable; typedef struct _GtkTextAttributes GtkTextAttributes; # 76 "../gtk/gtktexttag.h" typedef struct _GtkTextTag GtkTextTag; typedef struct _GtkTextTagClass GtkTextTagClass; struct _GtkTextTag { GObject parent_instance; GtkTextTagTable *table; char *name; int priority; # 101 "../gtk/gtktexttag.h" GtkTextAttributes *values; guint bg_color_set : 1; guint bg_stipple_set : 1; guint fg_color_set : 1; guint scale_set : 1; guint fg_stipple_set : 1; guint justification_set : 1; guint left_margin_set : 1; guint indent_set : 1; guint rise_set : 1; guint strikethrough_set : 1; guint right_margin_set : 1; guint pixels_above_lines_set : 1; guint pixels_below_lines_set : 1; guint pixels_inside_wrap_set : 1; guint tabs_set : 1; guint underline_set : 1; guint wrap_mode_set : 1; guint bg_full_height_set : 1; guint invisible_set : 1; guint editable_set : 1; guint language_set : 1; guint pg_bg_color_set : 1; guint accumulative_margin : 1; guint pad1 : 1; }; struct _GtkTextTagClass { GObjectClass parent_class; gboolean (* event) (GtkTextTag *tag, GObject *event_object, GdkEvent *event, const GtkTextIter *iter); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_text_tag_get_type (void) __attribute__((__const__)); GtkTextTag *gtk_text_tag_new (const gchar *name); gint gtk_text_tag_get_priority (GtkTextTag *tag); void gtk_text_tag_set_priority (GtkTextTag *tag, gint priority); gboolean gtk_text_tag_event (GtkTextTag *tag, GObject *event_object, GdkEvent *event, const GtkTextIter *iter); typedef struct _GtkTextAppearance GtkTextAppearance; struct _GtkTextAppearance { GdkColor bg_color; GdkColor fg_color; GdkBitmap *bg_stipple; GdkBitmap *fg_stipple; gint rise; gpointer padding1; guint underline : 4; guint strikethrough : 1; guint draw_bg : 1; guint inside_selection : 1; guint is_text : 1; guint pad1 : 1; guint pad2 : 1; guint pad3 : 1; guint pad4 : 1; }; struct _GtkTextAttributes { guint refcount; GtkTextAppearance appearance; GtkJustification justification; GtkTextDirection direction; PangoFontDescription *font; gdouble font_scale; gint left_margin; gint indent; gint right_margin; gint pixels_above_lines; gint pixels_below_lines; gint pixels_inside_wrap; PangoTabArray *tabs; GtkWrapMode wrap_mode; PangoLanguage *language; GdkColor *pg_bg_color; guint invisible : 1; guint bg_full_height : 1; guint editable : 1; guint realized : 1; guint pad1 : 1; guint pad2 : 1; guint pad3 : 1; guint pad4 : 1; }; GtkTextAttributes* gtk_text_attributes_new (void); GtkTextAttributes* gtk_text_attributes_copy (GtkTextAttributes *src); void gtk_text_attributes_copy_values (GtkTextAttributes *src, GtkTextAttributes *dest); void gtk_text_attributes_unref (GtkTextAttributes *values); GtkTextAttributes *gtk_text_attributes_ref (GtkTextAttributes *values); GType gtk_text_attributes_get_type (void) __attribute__((__const__)); # 31 "../gtk/gtktextiter.h" 2 # 1 "../gtk/gtktextchild.h" 1 # 32 "../gtk/gtktextchild.h" typedef struct _GtkTextChildAnchor GtkTextChildAnchor; typedef struct _GtkTextChildAnchorClass GtkTextChildAnchorClass; # 50 "../gtk/gtktextchild.h" struct _GtkTextChildAnchor { GObject parent_instance; gpointer segment; }; struct _GtkTextChildAnchorClass { GObjectClass parent_class; void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); }; GType gtk_text_child_anchor_get_type (void) __attribute__((__const__)); GtkTextChildAnchor* gtk_text_child_anchor_new (void); GList* gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor); gboolean gtk_text_child_anchor_get_deleted (GtkTextChildAnchor *anchor); # 32 "../gtk/gtktextiter.h" 2 typedef enum { GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 << 0, GTK_TEXT_SEARCH_TEXT_ONLY = 1 << 1 } GtkTextSearchFlags; typedef struct _GtkTextBuffer GtkTextBuffer; struct _GtkTextIter { gpointer dummy1; gpointer dummy2; gint dummy3; gint dummy4; gint dummy5; gint dummy6; gint dummy7; gint dummy8; gpointer dummy9; gpointer dummy10; gint dummy11; gint dummy12; gint dummy13; gpointer dummy14; }; GtkTextBuffer *gtk_text_iter_get_buffer (const GtkTextIter *iter); GtkTextIter *gtk_text_iter_copy (const GtkTextIter *iter); void gtk_text_iter_free (GtkTextIter *iter); GType gtk_text_iter_get_type (void) __attribute__((__const__)); gint gtk_text_iter_get_offset (const GtkTextIter *iter); gint gtk_text_iter_get_line (const GtkTextIter *iter); gint gtk_text_iter_get_line_offset (const GtkTextIter *iter); gint gtk_text_iter_get_line_index (const GtkTextIter *iter); gint gtk_text_iter_get_visible_line_offset (const GtkTextIter *iter); gint gtk_text_iter_get_visible_line_index (const GtkTextIter *iter); gunichar gtk_text_iter_get_char (const GtkTextIter *iter); gchar *gtk_text_iter_get_slice (const GtkTextIter *start, const GtkTextIter *end); gchar *gtk_text_iter_get_text (const GtkTextIter *start, const GtkTextIter *end); gchar *gtk_text_iter_get_visible_slice (const GtkTextIter *start, const GtkTextIter *end); gchar *gtk_text_iter_get_visible_text (const GtkTextIter *start, const GtkTextIter *end); GdkPixbuf* gtk_text_iter_get_pixbuf (const GtkTextIter *iter); GSList * gtk_text_iter_get_marks (const GtkTextIter *iter); GtkTextChildAnchor* gtk_text_iter_get_child_anchor (const GtkTextIter *iter); GSList *gtk_text_iter_get_toggled_tags (const GtkTextIter *iter, gboolean toggled_on); gboolean gtk_text_iter_begins_tag (const GtkTextIter *iter, GtkTextTag *tag); gboolean gtk_text_iter_ends_tag (const GtkTextIter *iter, GtkTextTag *tag); gboolean gtk_text_iter_toggles_tag (const GtkTextIter *iter, GtkTextTag *tag); gboolean gtk_text_iter_has_tag (const GtkTextIter *iter, GtkTextTag *tag); GSList *gtk_text_iter_get_tags (const GtkTextIter *iter); gboolean gtk_text_iter_editable (const GtkTextIter *iter, gboolean default_setting); gboolean gtk_text_iter_can_insert (const GtkTextIter *iter, gboolean default_editability); gboolean gtk_text_iter_starts_word (const GtkTextIter *iter); gboolean gtk_text_iter_ends_word (const GtkTextIter *iter); gboolean gtk_text_iter_inside_word (const GtkTextIter *iter); gboolean gtk_text_iter_starts_sentence (const GtkTextIter *iter); gboolean gtk_text_iter_ends_sentence (const GtkTextIter *iter); gboolean gtk_text_iter_inside_sentence (const GtkTextIter *iter); gboolean gtk_text_iter_starts_line (const GtkTextIter *iter); gboolean gtk_text_iter_ends_line (const GtkTextIter *iter); gboolean gtk_text_iter_is_cursor_position (const GtkTextIter *iter); gint gtk_text_iter_get_chars_in_line (const GtkTextIter *iter); gint gtk_text_iter_get_bytes_in_line (const GtkTextIter *iter); gboolean gtk_text_iter_get_attributes (const GtkTextIter *iter, GtkTextAttributes *values); PangoLanguage* gtk_text_iter_get_language (const GtkTextIter *iter); gboolean gtk_text_iter_is_end (const GtkTextIter *iter); gboolean gtk_text_iter_is_start (const GtkTextIter *iter); gboolean gtk_text_iter_forward_char (GtkTextIter *iter); gboolean gtk_text_iter_backward_char (GtkTextIter *iter); gboolean gtk_text_iter_forward_chars (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_chars (GtkTextIter *iter, gint count); gboolean gtk_text_iter_forward_line (GtkTextIter *iter); gboolean gtk_text_iter_backward_line (GtkTextIter *iter); gboolean gtk_text_iter_forward_lines (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_lines (GtkTextIter *iter, gint count); gboolean gtk_text_iter_forward_word_end (GtkTextIter *iter); gboolean gtk_text_iter_backward_word_start (GtkTextIter *iter); gboolean gtk_text_iter_forward_word_ends (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_word_starts (GtkTextIter *iter, gint count); gboolean gtk_text_iter_forward_visible_line (GtkTextIter *iter); gboolean gtk_text_iter_backward_visible_line (GtkTextIter *iter); gboolean gtk_text_iter_forward_visible_lines (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_visible_lines (GtkTextIter *iter, gint count); gboolean gtk_text_iter_forward_visible_word_end (GtkTextIter *iter); gboolean gtk_text_iter_backward_visible_word_start (GtkTextIter *iter); gboolean gtk_text_iter_forward_visible_word_ends (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_visible_word_starts (GtkTextIter *iter, gint count); gboolean gtk_text_iter_forward_sentence_end (GtkTextIter *iter); gboolean gtk_text_iter_backward_sentence_start (GtkTextIter *iter); gboolean gtk_text_iter_forward_sentence_ends (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_sentence_starts (GtkTextIter *iter, gint count); gboolean gtk_text_iter_forward_cursor_position (GtkTextIter *iter); gboolean gtk_text_iter_backward_cursor_position (GtkTextIter *iter); gboolean gtk_text_iter_forward_cursor_positions (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_cursor_positions (GtkTextIter *iter, gint count); gboolean gtk_text_iter_forward_visible_cursor_position (GtkTextIter *iter); gboolean gtk_text_iter_backward_visible_cursor_position (GtkTextIter *iter); gboolean gtk_text_iter_forward_visible_cursor_positions (GtkTextIter *iter, gint count); gboolean gtk_text_iter_backward_visible_cursor_positions (GtkTextIter *iter, gint count); void gtk_text_iter_set_offset (GtkTextIter *iter, gint char_offset); void gtk_text_iter_set_line (GtkTextIter *iter, gint line_number); void gtk_text_iter_set_line_offset (GtkTextIter *iter, gint char_on_line); void gtk_text_iter_set_line_index (GtkTextIter *iter, gint byte_on_line); void gtk_text_iter_forward_to_end (GtkTextIter *iter); gboolean gtk_text_iter_forward_to_line_end (GtkTextIter *iter); void gtk_text_iter_set_visible_line_offset (GtkTextIter *iter, gint char_on_line); void gtk_text_iter_set_visible_line_index (GtkTextIter *iter, gint byte_on_line); gboolean gtk_text_iter_forward_to_tag_toggle (GtkTextIter *iter, GtkTextTag *tag); gboolean gtk_text_iter_backward_to_tag_toggle (GtkTextIter *iter, GtkTextTag *tag); typedef gboolean (* GtkTextCharPredicate) (gunichar ch, gpointer user_data); gboolean gtk_text_iter_forward_find_char (GtkTextIter *iter, GtkTextCharPredicate pred, gpointer user_data, const GtkTextIter *limit); gboolean gtk_text_iter_backward_find_char (GtkTextIter *iter, GtkTextCharPredicate pred, gpointer user_data, const GtkTextIter *limit); gboolean gtk_text_iter_forward_search (const GtkTextIter *iter, const gchar *str, GtkTextSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit); gboolean gtk_text_iter_backward_search (const GtkTextIter *iter, const gchar *str, GtkTextSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit); gboolean gtk_text_iter_equal (const GtkTextIter *lhs, const GtkTextIter *rhs); gint gtk_text_iter_compare (const GtkTextIter *lhs, const GtkTextIter *rhs); gboolean gtk_text_iter_in_range (const GtkTextIter *iter, const GtkTextIter *start, const GtkTextIter *end); void gtk_text_iter_order (GtkTextIter *first, GtkTextIter *second); # 35 "../gtk/gtkselection.h" 2 typedef struct _GtkTargetList GtkTargetList; typedef struct _GtkTargetEntry GtkTargetEntry; # 55 "../gtk/gtkselection.h" struct _GtkSelectionData { GdkAtom selection; GdkAtom target; GdkAtom type; gint format; guchar *data; gint length; GdkDisplay *display; }; struct _GtkTargetEntry { gchar *target; guint flags; guint info; }; typedef struct _GtkTargetPair GtkTargetPair; struct _GtkTargetList { GList *list; guint ref_count; }; struct _GtkTargetPair { GdkAtom target; guint flags; guint info; }; GtkTargetList *gtk_target_list_new (const GtkTargetEntry *targets, guint ntargets); GtkTargetList *gtk_target_list_ref (GtkTargetList *list); void gtk_target_list_unref (GtkTargetList *list); void gtk_target_list_add (GtkTargetList *list, GdkAtom target, guint flags, guint info); void gtk_target_list_add_text_targets (GtkTargetList *list, guint info); void gtk_target_list_add_rich_text_targets (GtkTargetList *list, guint info, gboolean deserializable, GtkTextBuffer *buffer); void gtk_target_list_add_image_targets (GtkTargetList *list, guint info, gboolean writable); void gtk_target_list_add_uri_targets (GtkTargetList *list, guint info); void gtk_target_list_add_table (GtkTargetList *list, const GtkTargetEntry *targets, guint ntargets); void gtk_target_list_remove (GtkTargetList *list, GdkAtom target); gboolean gtk_target_list_find (GtkTargetList *list, GdkAtom target, guint *info); GtkTargetEntry * gtk_target_table_new_from_list (GtkTargetList *list, gint *n_targets); void gtk_target_table_free (GtkTargetEntry *targets, gint n_targets); gboolean gtk_selection_owner_set (GtkWidget *widget, GdkAtom selection, guint32 time_); gboolean gtk_selection_owner_set_for_display (GdkDisplay *display, GtkWidget *widget, GdkAtom selection, guint32 time_); void gtk_selection_add_target (GtkWidget *widget, GdkAtom selection, GdkAtom target, guint info); void gtk_selection_add_targets (GtkWidget *widget, GdkAtom selection, const GtkTargetEntry *targets, guint ntargets); void gtk_selection_clear_targets (GtkWidget *widget, GdkAtom selection); gboolean gtk_selection_convert (GtkWidget *widget, GdkAtom selection, GdkAtom target, guint32 time_); void gtk_selection_data_set (GtkSelectionData *selection_data, GdkAtom type, gint format, const guchar *data, gint length); gboolean gtk_selection_data_set_text (GtkSelectionData *selection_data, const gchar *str, gint len); guchar * gtk_selection_data_get_text (GtkSelectionData *selection_data); gboolean gtk_selection_data_set_pixbuf (GtkSelectionData *selection_data, GdkPixbuf *pixbuf); GdkPixbuf *gtk_selection_data_get_pixbuf (GtkSelectionData *selection_data); gboolean gtk_selection_data_set_uris (GtkSelectionData *selection_data, gchar **uris); gchar **gtk_selection_data_get_uris (GtkSelectionData *selection_data); gboolean gtk_selection_data_get_targets (GtkSelectionData *selection_data, GdkAtom **targets, gint *n_atoms); gboolean gtk_selection_data_targets_include_text (GtkSelectionData *selection_data); gboolean gtk_selection_data_targets_include_rich_text (GtkSelectionData *selection_data, GtkTextBuffer *buffer); gboolean gtk_selection_data_targets_include_image (GtkSelectionData *selection_data, gboolean writable); gboolean gtk_selection_data_targets_include_uri (GtkSelectionData *selection_data); gboolean gtk_targets_include_text (GdkAtom *targets, gint n_targets); gboolean gtk_targets_include_rich_text (GdkAtom *targets, gint n_targets, GtkTextBuffer *buffer); gboolean gtk_targets_include_image (GdkAtom *targets, gint n_targets, gboolean writable); gboolean gtk_targets_include_uri (GdkAtom *targets, gint n_targets); void gtk_selection_remove_all (GtkWidget *widget); gboolean gtk_selection_clear (GtkWidget *widget, GdkEventSelection *event); gboolean _gtk_selection_request (GtkWidget *widget, GdkEventSelection *event); gboolean _gtk_selection_incr_event (GdkWindow *window, GdkEventProperty *event); gboolean _gtk_selection_notify (GtkWidget *widget, GdkEventSelection *event); gboolean _gtk_selection_property_notify (GtkWidget *widget, GdkEventProperty *event); GType gtk_selection_data_get_type (void) __attribute__((__const__)); GtkSelectionData *gtk_selection_data_copy (GtkSelectionData *data); void gtk_selection_data_free (GtkSelectionData *data); GType gtk_target_list_get_type (void) __attribute__((__const__)); # 35 "gtkdnd.h" 2 typedef enum { GTK_DEST_DEFAULT_MOTION = 1 << 0, GTK_DEST_DEFAULT_HIGHLIGHT = 1 << 1, GTK_DEST_DEFAULT_DROP = 1 << 2, GTK_DEST_DEFAULT_ALL = 0x07 } GtkDestDefaults; typedef enum { GTK_TARGET_SAME_APP = 1 << 0, GTK_TARGET_SAME_WIDGET = 1 << 1, GTK_TARGET_OTHER_APP = 1 << 2, GTK_TARGET_OTHER_WIDGET = 1 << 3 } GtkTargetFlags; void gtk_drag_get_data (GtkWidget *widget, GdkDragContext *context, GdkAtom target, guint32 time_); void gtk_drag_finish (GdkDragContext *context, gboolean success, gboolean del, guint32 time_); GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context); void gtk_drag_highlight (GtkWidget *widget); void gtk_drag_unhighlight (GtkWidget *widget); void gtk_drag_dest_set (GtkWidget *widget, GtkDestDefaults flags, const GtkTargetEntry *targets, gint n_targets, GdkDragAction actions); void gtk_drag_dest_set_proxy (GtkWidget *widget, GdkWindow *proxy_window, GdkDragProtocol protocol, gboolean use_coordinates); void gtk_drag_dest_unset (GtkWidget *widget); GdkAtom gtk_drag_dest_find_target (GtkWidget *widget, GdkDragContext *context, GtkTargetList *target_list); GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget); void gtk_drag_dest_set_target_list (GtkWidget *widget, GtkTargetList *target_list); void gtk_drag_dest_add_text_targets (GtkWidget *widget); void gtk_drag_dest_add_image_targets (GtkWidget *widget); void gtk_drag_dest_add_uri_targets (GtkWidget *widget); void gtk_drag_dest_set_track_motion (GtkWidget *widget, gboolean track_motion); gboolean gtk_drag_dest_get_track_motion (GtkWidget *widget); void gtk_drag_source_set (GtkWidget *widget, GdkModifierType start_button_mask, const GtkTargetEntry *targets, gint n_targets, GdkDragAction actions); void gtk_drag_source_unset (GtkWidget *widget); GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget); void gtk_drag_source_set_target_list (GtkWidget *widget, GtkTargetList *target_list); void gtk_drag_source_add_text_targets (GtkWidget *widget); void gtk_drag_source_add_image_targets (GtkWidget *widget); void gtk_drag_source_add_uri_targets (GtkWidget *widget); void gtk_drag_source_set_icon (GtkWidget *widget, GdkColormap *colormap, GdkPixmap *pixmap, GdkBitmap *mask); void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget, GdkPixbuf *pixbuf); void gtk_drag_source_set_icon_stock (GtkWidget *widget, const gchar *stock_id); void gtk_drag_source_set_icon_name (GtkWidget *widget, const gchar *icon_name); GdkDragContext *gtk_drag_begin (GtkWidget *widget, GtkTargetList *targets, GdkDragAction actions, gint button, GdkEvent *event); void gtk_drag_set_icon_widget (GdkDragContext *context, GtkWidget *widget, gint hot_x, gint hot_y); void gtk_drag_set_icon_pixmap (GdkDragContext *context, GdkColormap *colormap, GdkPixmap *pixmap, GdkBitmap *mask, gint hot_x, gint hot_y); void gtk_drag_set_icon_pixbuf (GdkDragContext *context, GdkPixbuf *pixbuf, gint hot_x, gint hot_y); void gtk_drag_set_icon_stock (GdkDragContext *context, const gchar *stock_id, gint hot_x, gint hot_y); void gtk_drag_set_icon_name (GdkDragContext *context, const gchar *icon_name, gint hot_x, gint hot_y); void gtk_drag_set_icon_default (GdkDragContext *context); gboolean gtk_drag_check_threshold (GtkWidget *widget, gint start_x, gint start_y, gint current_x, gint current_y); void _gtk_drag_source_handle_event (GtkWidget *widget, GdkEvent *event); void _gtk_drag_dest_handle_event (GtkWidget *toplevel, GdkEvent *event); void gtk_drag_set_default_icon (GdkColormap *colormap, GdkPixmap *pixmap, GdkBitmap *mask, gint hot_x, gint hot_y); # 42 "gtknotebook.c" 2 # 1 "gtkbuildable.h" 1 # 25 "gtkbuildable.h" # 1 "../gtk/gtkbuilder.h" 1 # 25 "../gtk/gtkbuilder.h" # 36 "../gtk/gtkbuilder.h" typedef struct _GtkBuilder GtkBuilder; typedef struct _GtkBuilderClass GtkBuilderClass; typedef struct _GtkBuilderPrivate GtkBuilderPrivate; typedef enum { GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION, GTK_BUILDER_ERROR_UNHANDLED_TAG, GTK_BUILDER_ERROR_MISSING_ATTRIBUTE, GTK_BUILDER_ERROR_INVALID_ATTRIBUTE, GTK_BUILDER_ERROR_INVALID_TAG, GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE, GTK_BUILDER_ERROR_INVALID_VALUE } GtkBuilderError; GQuark gtk_builder_error_quark (void); struct _GtkBuilder { GObject parent_instance; GtkBuilderPrivate *priv; }; struct _GtkBuilderClass { GObjectClass parent_class; GType (* get_type_from_name) (GtkBuilder *builder, const char *type_name); void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); void (*_gtk_reserved5) (void); void (*_gtk_reserved6) (void); void (*_gtk_reserved7) (void); void (*_gtk_reserved8) (void); }; typedef void (*GtkBuilderConnectFunc) (GtkBuilder *builder, GObject *object, const gchar *signal_name, const gchar *handler_name, GObject *connect_object, GConnectFlags flags, gpointer user_data); GType gtk_builder_get_type (void) __attribute__((__const__)); GtkBuilder* gtk_builder_new (void); guint gtk_builder_add_from_file (GtkBuilder *builder, const gchar *filename, GError **error); guint gtk_builder_add_from_string (GtkBuilder *builder, const gchar *buffer, gsize length, GError **error); GObject* gtk_builder_get_object (GtkBuilder *builder, const gchar *name); GSList* gtk_builder_get_objects (GtkBuilder *builder); void gtk_builder_connect_signals (GtkBuilder *builder, gpointer user_data); void gtk_builder_connect_signals_full (GtkBuilder *builder, GtkBuilderConnectFunc func, gpointer user_data); void gtk_builder_set_translation_domain (GtkBuilder *builder, const gchar *domain); const gchar* gtk_builder_get_translation_domain (GtkBuilder *builder); GType gtk_builder_get_type_from_name (GtkBuilder *builder, const char *type_name); gboolean gtk_builder_value_from_string (GtkBuilder *builder, GParamSpec *pspec, const gchar *string, GValue *value, GError **error); gboolean gtk_builder_value_from_string_type (GtkBuilder *builder, GType type, const gchar *string, GValue *value, GError **error); # 26 "gtkbuildable.h" 2 typedef struct _GtkBuildable GtkBuildable; typedef struct _GtkBuildableIface GtkBuildableIface; struct _GtkBuildableIface { GTypeInterface g_iface; void (* set_name) (GtkBuildable *buildable, const gchar *name); const gchar * (* get_name) (GtkBuildable *buildable); void (* add_child) (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *type); void (* set_buildable_property) (GtkBuildable *buildable, GtkBuilder *builder, const gchar *name, const GValue *value); GObject * (* construct_child) (GtkBuildable *buildable, GtkBuilder *builder, const gchar *name); gboolean (* custom_tag_start) (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, GMarkupParser *parser, gpointer *data); void (* custom_tag_end) (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer *data); void (* custom_finished) (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer data); void (* parser_finished) (GtkBuildable *buildable, GtkBuilder *builder); GObject * (* get_internal_child) (GtkBuildable *buildable, GtkBuilder *builder, const gchar *childname); }; GType gtk_buildable_get_type (void) __attribute__((__const__)); void gtk_buildable_set_name (GtkBuildable *buildable, const gchar *name); const gchar * gtk_buildable_get_name (GtkBuildable *buildable); void gtk_buildable_add_child (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *type); void gtk_buildable_set_buildable_property (GtkBuildable *buildable, GtkBuilder *builder, const gchar *name, const GValue *value); GObject * gtk_buildable_construct_child (GtkBuildable *buildable, GtkBuilder *builder, const gchar *name); gboolean gtk_buildable_custom_tag_start (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, GMarkupParser *parser, gpointer *data); void gtk_buildable_custom_tag_end (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer *data); void gtk_buildable_custom_finished (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer data); void gtk_buildable_parser_finished (GtkBuildable *buildable, GtkBuilder *builder); GObject * gtk_buildable_get_internal_child (GtkBuildable *buildable, GtkBuilder *builder, const gchar *childname); # 43 "gtknotebook.c" 2 # 1 "gtkalias.h" 1 # 125 "gtkalias.h" extern __typeof (gtk_accelerator_get_default_mod_mask) IA__gtk_accelerator_get_default_mod_mask __attribute((visibility("hidden"))); extern __typeof (gtk_accelerator_get_label) IA__gtk_accelerator_get_label __attribute((visibility("hidden"))); extern __typeof (gtk_accelerator_name) IA__gtk_accelerator_name __attribute((visibility("hidden"))); extern __typeof (gtk_accelerator_parse) IA__gtk_accelerator_parse __attribute((visibility("hidden"))); extern __typeof (gtk_accelerator_set_default_mod_mask) IA__gtk_accelerator_set_default_mod_mask __attribute((visibility("hidden"))); extern __typeof (gtk_accelerator_valid) IA__gtk_accelerator_valid __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_accel_group_activate) IA__gtk_accel_group_activate __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_connect) IA__gtk_accel_group_connect __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_connect_by_path) IA__gtk_accel_group_connect_by_path __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_disconnect) IA__gtk_accel_group_disconnect __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_disconnect_key) IA__gtk_accel_group_disconnect_key __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_find) IA__gtk_accel_group_find __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_from_accel_closure) IA__gtk_accel_group_from_accel_closure __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_get_type) IA__gtk_accel_group_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_accel_group_lock) IA__gtk_accel_group_lock __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_new) IA__gtk_accel_group_new __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_query) IA__gtk_accel_group_query __attribute((visibility("hidden"))); extern __typeof (gtk_accel_groups_activate) IA__gtk_accel_groups_activate __attribute((visibility("hidden"))); extern __typeof (gtk_accel_groups_from_object) IA__gtk_accel_groups_from_object __attribute((visibility("hidden"))); extern __typeof (gtk_accel_group_unlock) IA__gtk_accel_group_unlock __attribute((visibility("hidden"))); # 432 "gtkalias.h" extern __typeof (gtk_adjustment_changed) IA__gtk_adjustment_changed __attribute((visibility("hidden"))); extern __typeof (gtk_adjustment_clamp_page) IA__gtk_adjustment_clamp_page __attribute((visibility("hidden"))); extern __typeof (gtk_adjustment_get_type) IA__gtk_adjustment_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_adjustment_get_value) IA__gtk_adjustment_get_value __attribute((visibility("hidden"))); extern __typeof (gtk_adjustment_new) IA__gtk_adjustment_new __attribute((visibility("hidden"))); extern __typeof (gtk_adjustment_set_value) IA__gtk_adjustment_set_value __attribute((visibility("hidden"))); extern __typeof (gtk_adjustment_value_changed) IA__gtk_adjustment_value_changed __attribute((visibility("hidden"))); # 549 "gtkalias.h" extern __typeof (gtk_pack_direction_get_type) IA__gtk_pack_direction_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_ui_manager_item_type_get_type) IA__gtk_ui_manager_item_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_spin_button_update_policy_get_type) IA__gtk_spin_button_update_policy_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_notebook_tab_get_type) IA__gtk_notebook_tab_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_anchor_type_get_type) IA__gtk_anchor_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_arg_flags_get_type) IA__gtk_arg_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_arrow_type_get_type) IA__gtk_arrow_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_assistant_page_type_get_type) IA__gtk_assistant_page_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_attach_options_get_type) IA__gtk_attach_options_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_builder_error_get_type) IA__gtk_builder_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_button_action_get_type) IA__gtk_button_action_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_buttons_type_get_type) IA__gtk_buttons_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_calendar_display_options_get_type) IA__gtk_calendar_display_options_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_cell_renderer_mode_get_type) IA__gtk_cell_renderer_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_cell_renderer_state_get_type) IA__gtk_cell_renderer_state_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_cell_renderer_accel_mode_get_type) IA__gtk_cell_renderer_accel_mode_get_type __attribute((visibility("hidden"))); extern __typeof (gtk_corner_type_get_type) IA__gtk_corner_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_debug_flag_get_type) IA__gtk_debug_flag_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_delete_type_get_type) IA__gtk_delete_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_dest_defaults_get_type) IA__gtk_dest_defaults_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_drag_result_get_type) IA__gtk_drag_result_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_clist_drag_pos_get_type) IA__gtk_clist_drag_pos_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_dialog_flags_get_type) IA__gtk_dialog_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_direction_type_get_type) IA__gtk_direction_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_expander_style_get_type) IA__gtk_expander_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_file_chooser_action_get_type) IA__gtk_file_chooser_action_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_file_chooser_confirmation_get_type) IA__gtk_file_chooser_confirmation_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_file_filter_flags_get_type) IA__gtk_file_filter_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_icon_view_drop_position_get_type) IA__gtk_icon_view_drop_position_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_sensitivity_type_get_type) IA__gtk_sensitivity_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_window_type_get_type) IA__gtk_window_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_wrap_mode_get_type) IA__gtk_wrap_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_widget_flags_get_type) IA__gtk_widget_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_widget_help_type_get_type) IA__gtk_widget_help_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_window_position_get_type) IA__gtk_window_position_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_tree_view_column_sizing_get_type) IA__gtk_tree_view_column_sizing_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_tree_view_drop_position_get_type) IA__gtk_tree_view_drop_position_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_button_box_style_get_type) IA__gtk_button_box_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_cell_type_get_type) IA__gtk_cell_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_ctree_expander_style_get_type) IA__gtk_ctree_expander_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_ctree_expansion_type_get_type) IA__gtk_ctree_expansion_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_ctree_line_style_get_type) IA__gtk_ctree_line_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_ctree_pos_get_type) IA__gtk_ctree_pos_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_curve_type_get_type) IA__gtk_curve_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_icon_lookup_flags_get_type) IA__gtk_icon_lookup_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_image_type_get_type) IA__gtk_image_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_im_preedit_style_get_type) IA__gtk_im_preedit_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_im_status_style_get_type) IA__gtk_im_status_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_justification_get_type) IA__gtk_justification_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_match_type_get_type) IA__gtk_match_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_menu_direction_type_get_type) IA__gtk_menu_direction_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_message_type_get_type) IA__gtk_message_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_metric_type_get_type) IA__gtk_metric_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_movement_step_get_type) IA__gtk_movement_step_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_orientation_get_type) IA__gtk_orientation_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_pack_type_get_type) IA__gtk_pack_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_page_orientation_get_type) IA__gtk_page_orientation_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_print_operation_result_get_type) IA__gtk_print_operation_result_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_print_pages_get_type) IA__gtk_print_pages_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_print_quality_get_type) IA__gtk_print_quality_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_print_status_get_type) IA__gtk_print_status_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_page_set_get_type) IA__gtk_page_set_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_path_priority_type_get_type) IA__gtk_path_priority_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_path_type_get_type) IA__gtk_path_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_policy_type_get_type) IA__gtk_policy_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_position_type_get_type) IA__gtk_position_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_preview_type_get_type) IA__gtk_preview_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_print_duplex_get_type) IA__gtk_print_duplex_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_print_error_get_type) IA__gtk_print_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_recent_filter_flags_get_type) IA__gtk_recent_filter_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_print_operation_action_get_type) IA__gtk_print_operation_action_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_private_flags_get_type) IA__gtk_private_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_progress_bar_orientation_get_type) IA__gtk_progress_bar_orientation_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_progress_bar_style_get_type) IA__gtk_progress_bar_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_rc_flags_get_type) IA__gtk_rc_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_rc_token_type_get_type) IA__gtk_rc_token_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_recent_chooser_error_get_type) IA__gtk_recent_chooser_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_recent_manager_error_get_type) IA__gtk_recent_manager_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_recent_sort_type_get_type) IA__gtk_recent_sort_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_unit_get_type) IA__gtk_unit_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_relief_style_get_type) IA__gtk_relief_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_resize_mode_get_type) IA__gtk_resize_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_response_type_get_type) IA__gtk_response_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_scroll_step_get_type) IA__gtk_scroll_step_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_scroll_type_get_type) IA__gtk_scroll_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_selection_mode_get_type) IA__gtk_selection_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_shadow_type_get_type) IA__gtk_shadow_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_side_type_get_type) IA__gtk_side_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_signal_run_type_get_type) IA__gtk_signal_run_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_size_group_mode_get_type) IA__gtk_size_group_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_sort_type_get_type) IA__gtk_sort_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_spin_type_get_type) IA__gtk_spin_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_state_type_get_type) IA__gtk_state_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_submenu_direction_get_type) IA__gtk_submenu_direction_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_submenu_placement_get_type) IA__gtk_submenu_placement_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_target_flags_get_type) IA__gtk_target_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_direction_get_type) IA__gtk_text_direction_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_buffer_target_info_get_type) IA__gtk_text_buffer_target_info_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_search_flags_get_type) IA__gtk_text_search_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_window_type_get_type) IA__gtk_text_window_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_tree_model_flags_get_type) IA__gtk_tree_model_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_tree_view_mode_get_type) IA__gtk_tree_view_mode_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_tree_view_grid_lines_get_type) IA__gtk_tree_view_grid_lines_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_update_type_get_type) IA__gtk_update_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_visibility_get_type) IA__gtk_visibility_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_object_flags_get_type) IA__gtk_object_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_accel_flags_get_type) IA__gtk_accel_flags_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_icon_size_get_type) IA__gtk_icon_size_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_file_chooser_error_get_type) IA__gtk_file_chooser_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_icon_theme_error_get_type) IA__gtk_icon_theme_error_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_toolbar_child_type_get_type) IA__gtk_toolbar_child_type_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_toolbar_space_style_get_type) IA__gtk_toolbar_space_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_toolbar_style_get_type) IA__gtk_toolbar_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); # 919 "gtkalias.h" extern __typeof (gtk_binding_entry_clear) IA__gtk_binding_entry_clear __attribute((visibility("hidden"))); extern __typeof (gtk_binding_entry_add_signall) IA__gtk_binding_entry_add_signall __attribute((visibility("hidden"))); extern __typeof (gtk_binding_parse_binding) IA__gtk_binding_parse_binding __attribute((visibility("hidden"))); extern __typeof (gtk_binding_entry_skip) IA__gtk_binding_entry_skip __attribute((visibility("hidden"))); extern __typeof (gtk_binding_entry_add_signal) IA__gtk_binding_entry_add_signal __attribute((visibility("hidden"))); extern __typeof (gtk_binding_entry_remove) IA__gtk_binding_entry_remove __attribute((visibility("hidden"))); extern __typeof (gtk_bindings_activate) IA__gtk_bindings_activate __attribute((visibility("hidden"))); extern __typeof (gtk_bindings_activate_event) IA__gtk_bindings_activate_event __attribute((visibility("hidden"))); extern __typeof (gtk_binding_set_activate) IA__gtk_binding_set_activate __attribute((visibility("hidden"))); extern __typeof (gtk_binding_set_add_path) IA__gtk_binding_set_add_path __attribute((visibility("hidden"))); extern __typeof (gtk_binding_set_by_class) IA__gtk_binding_set_by_class __attribute((visibility("hidden"))); extern __typeof (gtk_binding_set_find) IA__gtk_binding_set_find __attribute((visibility("hidden"))); extern __typeof (gtk_binding_set_new) IA__gtk_binding_set_new __attribute((visibility("hidden"))); extern __typeof (gtk_bin_get_child) IA__gtk_bin_get_child __attribute((visibility("hidden"))); extern __typeof (gtk_bin_get_type) IA__gtk_bin_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); # 1013 "gtkalias.h" extern __typeof (gtk_buildable_add_child) IA__gtk_buildable_add_child __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_construct_child) IA__gtk_buildable_construct_child __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_custom_tag_start) IA__gtk_buildable_custom_tag_start __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_custom_tag_end) IA__gtk_buildable_custom_tag_end __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_custom_finished) IA__gtk_buildable_custom_finished __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_get_internal_child) IA__gtk_buildable_get_internal_child __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_get_name) IA__gtk_buildable_get_name __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_get_type) IA__gtk_buildable_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_buildable_parser_finished) IA__gtk_buildable_parser_finished __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_set_name) IA__gtk_buildable_set_name __attribute((visibility("hidden"))); extern __typeof (gtk_buildable_set_buildable_property) IA__gtk_buildable_set_buildable_property __attribute((visibility("hidden"))); extern __typeof (gtk_builder_add_from_file) IA__gtk_builder_add_from_file __attribute((visibility("hidden"))); extern __typeof (gtk_builder_add_from_string) IA__gtk_builder_add_from_string __attribute((visibility("hidden"))); extern __typeof (gtk_builder_error_quark) IA__gtk_builder_error_quark __attribute((visibility("hidden"))); extern __typeof (gtk_builder_get_object) IA__gtk_builder_get_object __attribute((visibility("hidden"))); extern __typeof (gtk_builder_get_objects) IA__gtk_builder_get_objects __attribute((visibility("hidden"))); extern __typeof (gtk_builder_get_translation_domain) IA__gtk_builder_get_translation_domain __attribute((visibility("hidden"))); extern __typeof (gtk_builder_get_type) IA__gtk_builder_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_builder_get_type_from_name) IA__gtk_builder_get_type_from_name __attribute((visibility("hidden"))); extern __typeof (gtk_builder_new) IA__gtk_builder_new __attribute((visibility("hidden"))); extern __typeof (gtk_builder_set_translation_domain) IA__gtk_builder_set_translation_domain __attribute((visibility("hidden"))); extern __typeof (gtk_builder_connect_signals) IA__gtk_builder_connect_signals __attribute((visibility("hidden"))); extern __typeof (gtk_builder_connect_signals_full) IA__gtk_builder_connect_signals_full __attribute((visibility("hidden"))); extern __typeof (gtk_builder_value_from_string) IA__gtk_builder_value_from_string __attribute((visibility("hidden"))); extern __typeof (gtk_builder_value_from_string_type) IA__gtk_builder_value_from_string_type __attribute((visibility("hidden"))); # 2103 "gtkalias.h" extern __typeof (gtk_container_add) IA__gtk_container_add __attribute((visibility("hidden"))); extern __typeof (gtk_container_add_with_properties) IA__gtk_container_add_with_properties __attribute((visibility("hidden"))) __attribute__((__sentinel__)); extern __typeof (gtk_container_check_resize) IA__gtk_container_check_resize __attribute((visibility("hidden"))); extern __typeof (gtk_container_child_get) IA__gtk_container_child_get __attribute((visibility("hidden"))) __attribute__((__sentinel__)); extern __typeof (gtk_container_child_get_property) IA__gtk_container_child_get_property __attribute((visibility("hidden"))); extern __typeof (gtk_container_child_get_valist) IA__gtk_container_child_get_valist __attribute((visibility("hidden"))); extern __typeof (gtk_container_child_set) IA__gtk_container_child_set __attribute((visibility("hidden"))) __attribute__((__sentinel__)); extern __typeof (gtk_container_child_set_property) IA__gtk_container_child_set_property __attribute((visibility("hidden"))); extern __typeof (gtk_container_child_set_valist) IA__gtk_container_child_set_valist __attribute((visibility("hidden"))); extern __typeof (gtk_container_child_type) IA__gtk_container_child_type __attribute((visibility("hidden"))); extern __typeof (gtk_container_class_find_child_property) IA__gtk_container_class_find_child_property __attribute((visibility("hidden"))); extern __typeof (gtk_container_class_install_child_property) IA__gtk_container_class_install_child_property __attribute((visibility("hidden"))); extern __typeof (gtk_container_class_list_child_properties) IA__gtk_container_class_list_child_properties __attribute((visibility("hidden"))); extern __typeof (gtk_container_forall) IA__gtk_container_forall __attribute((visibility("hidden"))); extern __typeof (gtk_container_foreach) IA__gtk_container_foreach __attribute((visibility("hidden"))); extern __typeof (gtk_container_foreach_full) IA__gtk_container_foreach_full __attribute((visibility("hidden"))); extern __typeof (gtk_container_get_border_width) IA__gtk_container_get_border_width __attribute((visibility("hidden"))); extern __typeof (gtk_container_get_children) IA__gtk_container_get_children __attribute((visibility("hidden"))); extern __typeof (gtk_container_get_focus_chain) IA__gtk_container_get_focus_chain __attribute((visibility("hidden"))); extern __typeof (gtk_container_get_focus_hadjustment) IA__gtk_container_get_focus_hadjustment __attribute((visibility("hidden"))); extern __typeof (gtk_container_get_focus_vadjustment) IA__gtk_container_get_focus_vadjustment __attribute((visibility("hidden"))); extern __typeof (gtk_container_get_resize_mode) IA__gtk_container_get_resize_mode __attribute((visibility("hidden"))); extern __typeof (gtk_container_get_type) IA__gtk_container_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_container_propagate_expose) IA__gtk_container_propagate_expose __attribute((visibility("hidden"))); extern __typeof (gtk_container_remove) IA__gtk_container_remove __attribute((visibility("hidden"))); extern __typeof (gtk_container_resize_children) IA__gtk_container_resize_children __attribute((visibility("hidden"))); extern __typeof (gtk_container_set_border_width) IA__gtk_container_set_border_width __attribute((visibility("hidden"))); extern __typeof (gtk_container_set_focus_chain) IA__gtk_container_set_focus_chain __attribute((visibility("hidden"))); extern __typeof (gtk_container_set_focus_child) IA__gtk_container_set_focus_child __attribute((visibility("hidden"))); extern __typeof (gtk_container_set_focus_hadjustment) IA__gtk_container_set_focus_hadjustment __attribute((visibility("hidden"))); extern __typeof (gtk_container_set_focus_vadjustment) IA__gtk_container_set_focus_vadjustment __attribute((visibility("hidden"))); extern __typeof (gtk_container_set_reallocate_redraws) IA__gtk_container_set_reallocate_redraws __attribute((visibility("hidden"))); extern __typeof (gtk_container_set_resize_mode) IA__gtk_container_set_resize_mode __attribute((visibility("hidden"))); extern __typeof (gtk_container_unset_focus_chain) IA__gtk_container_unset_focus_chain __attribute((visibility("hidden"))); # 2517 "gtkalias.h" extern __typeof (gtk_drag_begin) IA__gtk_drag_begin __attribute((visibility("hidden"))); extern __typeof (gtk_drag_check_threshold) IA__gtk_drag_check_threshold __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_add_image_targets) IA__gtk_drag_dest_add_image_targets __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_add_text_targets) IA__gtk_drag_dest_add_text_targets __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_add_uri_targets) IA__gtk_drag_dest_add_uri_targets __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_find_target) IA__gtk_drag_dest_find_target __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_get_target_list) IA__gtk_drag_dest_get_target_list __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_set) IA__gtk_drag_dest_set __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_set_proxy) IA__gtk_drag_dest_set_proxy __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_set_target_list) IA__gtk_drag_dest_set_target_list __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_set_track_motion) IA__gtk_drag_dest_set_track_motion __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_get_track_motion) IA__gtk_drag_dest_get_track_motion __attribute((visibility("hidden"))); extern __typeof (gtk_drag_dest_unset) IA__gtk_drag_dest_unset __attribute((visibility("hidden"))); extern __typeof (gtk_drag_finish) IA__gtk_drag_finish __attribute((visibility("hidden"))); extern __typeof (gtk_drag_get_data) IA__gtk_drag_get_data __attribute((visibility("hidden"))); extern __typeof (gtk_drag_get_source_widget) IA__gtk_drag_get_source_widget __attribute((visibility("hidden"))); extern __typeof (gtk_drag_highlight) IA__gtk_drag_highlight __attribute((visibility("hidden"))); extern __typeof (gtk_drag_set_default_icon) IA__gtk_drag_set_default_icon __attribute((visibility("hidden"))); extern __typeof (gtk_drag_set_icon_default) IA__gtk_drag_set_icon_default __attribute((visibility("hidden"))); extern __typeof (gtk_drag_set_icon_name) IA__gtk_drag_set_icon_name __attribute((visibility("hidden"))); extern __typeof (gtk_drag_set_icon_pixbuf) IA__gtk_drag_set_icon_pixbuf __attribute((visibility("hidden"))); extern __typeof (gtk_drag_set_icon_pixmap) IA__gtk_drag_set_icon_pixmap __attribute((visibility("hidden"))); extern __typeof (gtk_drag_set_icon_stock) IA__gtk_drag_set_icon_stock __attribute((visibility("hidden"))); extern __typeof (gtk_drag_set_icon_widget) IA__gtk_drag_set_icon_widget __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_add_image_targets) IA__gtk_drag_source_add_image_targets __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_add_text_targets) IA__gtk_drag_source_add_text_targets __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_add_uri_targets) IA__gtk_drag_source_add_uri_targets __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_get_target_list) IA__gtk_drag_source_get_target_list __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_set) IA__gtk_drag_source_set __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_set_icon) IA__gtk_drag_source_set_icon __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_set_icon_name) IA__gtk_drag_source_set_icon_name __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_set_icon_pixbuf) IA__gtk_drag_source_set_icon_pixbuf __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_set_icon_stock) IA__gtk_drag_source_set_icon_stock __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_set_target_list) IA__gtk_drag_source_set_target_list __attribute((visibility("hidden"))); extern __typeof (gtk_drag_source_unset) IA__gtk_drag_source_unset __attribute((visibility("hidden"))); extern __typeof (gtk_drag_unhighlight) IA__gtk_drag_unhighlight __attribute((visibility("hidden"))); # 2711 "gtkalias.h" extern __typeof (gtk_draw_arrow) IA__gtk_draw_arrow __attribute((visibility("hidden"))); extern __typeof (gtk_draw_box) IA__gtk_draw_box __attribute((visibility("hidden"))); extern __typeof (gtk_draw_box_gap) IA__gtk_draw_box_gap __attribute((visibility("hidden"))); extern __typeof (gtk_draw_check) IA__gtk_draw_check __attribute((visibility("hidden"))); extern __typeof (gtk_draw_diamond) IA__gtk_draw_diamond __attribute((visibility("hidden"))); extern __typeof (gtk_draw_expander) IA__gtk_draw_expander __attribute((visibility("hidden"))); extern __typeof (gtk_draw_extension) IA__gtk_draw_extension __attribute((visibility("hidden"))); extern __typeof (gtk_draw_flat_box) IA__gtk_draw_flat_box __attribute((visibility("hidden"))); extern __typeof (gtk_draw_focus) IA__gtk_draw_focus __attribute((visibility("hidden"))); extern __typeof (gtk_draw_handle) IA__gtk_draw_handle __attribute((visibility("hidden"))); extern __typeof (gtk_draw_hline) IA__gtk_draw_hline __attribute((visibility("hidden"))); extern __typeof (gtk_draw_insertion_cursor) IA__gtk_draw_insertion_cursor __attribute((visibility("hidden"))); extern __typeof (gtk_draw_layout) IA__gtk_draw_layout __attribute((visibility("hidden"))); extern __typeof (gtk_draw_option) IA__gtk_draw_option __attribute((visibility("hidden"))); extern __typeof (gtk_draw_polygon) IA__gtk_draw_polygon __attribute((visibility("hidden"))); extern __typeof (gtk_draw_resize_grip) IA__gtk_draw_resize_grip __attribute((visibility("hidden"))); extern __typeof (gtk_draw_shadow) IA__gtk_draw_shadow __attribute((visibility("hidden"))); extern __typeof (gtk_draw_shadow_gap) IA__gtk_draw_shadow_gap __attribute((visibility("hidden"))); extern __typeof (gtk_draw_slider) IA__gtk_draw_slider __attribute((visibility("hidden"))); extern __typeof (gtk_draw_string) IA__gtk_draw_string __attribute((visibility("hidden"))); extern __typeof (gtk_draw_tab) IA__gtk_draw_tab __attribute((visibility("hidden"))); extern __typeof (gtk_draw_vline) IA__gtk_draw_vline __attribute((visibility("hidden"))); extern __typeof (gtk_style_set_font) IA__gtk_style_set_font __attribute((visibility("hidden"))); extern __typeof (gtk_style_get_font) IA__gtk_style_get_font __attribute((visibility("hidden"))); extern __typeof (gtk_style_ref) IA__gtk_style_ref __attribute((visibility("hidden"))); extern __typeof (gtk_style_unref) IA__gtk_style_unref __attribute((visibility("hidden"))); extern __typeof (gtk_paint_string) IA__gtk_paint_string __attribute((visibility("hidden"))); extern __typeof (gtk_paint_arrow) IA__gtk_paint_arrow __attribute((visibility("hidden"))); extern __typeof (gtk_paint_box) IA__gtk_paint_box __attribute((visibility("hidden"))); extern __typeof (gtk_paint_box_gap) IA__gtk_paint_box_gap __attribute((visibility("hidden"))); extern __typeof (gtk_paint_check) IA__gtk_paint_check __attribute((visibility("hidden"))); extern __typeof (gtk_paint_diamond) IA__gtk_paint_diamond __attribute((visibility("hidden"))); extern __typeof (gtk_paint_expander) IA__gtk_paint_expander __attribute((visibility("hidden"))); extern __typeof (gtk_paint_extension) IA__gtk_paint_extension __attribute((visibility("hidden"))); extern __typeof (gtk_paint_flat_box) IA__gtk_paint_flat_box __attribute((visibility("hidden"))); extern __typeof (gtk_paint_focus) IA__gtk_paint_focus __attribute((visibility("hidden"))); extern __typeof (gtk_paint_handle) IA__gtk_paint_handle __attribute((visibility("hidden"))); extern __typeof (gtk_paint_hline) IA__gtk_paint_hline __attribute((visibility("hidden"))); extern __typeof (gtk_paint_layout) IA__gtk_paint_layout __attribute((visibility("hidden"))); extern __typeof (gtk_paint_option) IA__gtk_paint_option __attribute((visibility("hidden"))); extern __typeof (gtk_paint_polygon) IA__gtk_paint_polygon __attribute((visibility("hidden"))); extern __typeof (gtk_paint_resize_grip) IA__gtk_paint_resize_grip __attribute((visibility("hidden"))); extern __typeof (gtk_paint_shadow) IA__gtk_paint_shadow __attribute((visibility("hidden"))); extern __typeof (gtk_paint_shadow_gap) IA__gtk_paint_shadow_gap __attribute((visibility("hidden"))); extern __typeof (gtk_paint_slider) IA__gtk_paint_slider __attribute((visibility("hidden"))); extern __typeof (gtk_paint_tab) IA__gtk_paint_tab __attribute((visibility("hidden"))); extern __typeof (gtk_paint_vline) IA__gtk_paint_vline __attribute((visibility("hidden"))); extern __typeof (gtk_border_copy) IA__gtk_border_copy __attribute((visibility("hidden"))); extern __typeof (gtk_border_free) IA__gtk_border_free __attribute((visibility("hidden"))); extern __typeof (gtk_border_get_type) IA__gtk_border_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_style_apply_default_background) IA__gtk_style_apply_default_background __attribute((visibility("hidden"))); extern __typeof (gtk_style_attach) IA__gtk_style_attach __attribute((visibility("hidden"))); extern __typeof (gtk_style_copy) IA__gtk_style_copy __attribute((visibility("hidden"))); extern __typeof (gtk_style_detach) IA__gtk_style_detach __attribute((visibility("hidden"))); extern __typeof (gtk_style_get_type) IA__gtk_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_style_lookup_icon_set) IA__gtk_style_lookup_icon_set __attribute((visibility("hidden"))); extern __typeof (gtk_style_lookup_color) IA__gtk_style_lookup_color __attribute((visibility("hidden"))); extern __typeof (gtk_style_new) IA__gtk_style_new __attribute((visibility("hidden"))); extern __typeof (gtk_style_render_icon) IA__gtk_style_render_icon __attribute((visibility("hidden"))); extern __typeof (gtk_style_set_background) IA__gtk_style_set_background __attribute((visibility("hidden"))); # 4758 "gtkalias.h" extern __typeof (gtk_item_deselect) IA__gtk_item_deselect __attribute((visibility("hidden"))); extern __typeof (gtk_item_get_type) IA__gtk_item_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_item_select) IA__gtk_item_select __attribute((visibility("hidden"))); extern __typeof (gtk_item_toggle) IA__gtk_item_toggle __attribute((visibility("hidden"))); # 4853 "gtkalias.h" extern __typeof (gtk_label_get) IA__gtk_label_get __attribute((visibility("hidden"))); extern __typeof (gtk_label_parse_uline) IA__gtk_label_parse_uline __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_angle) IA__gtk_label_get_angle __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_attributes) IA__gtk_label_get_attributes __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_ellipsize) IA__gtk_label_get_ellipsize __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_justify) IA__gtk_label_get_justify __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_label) IA__gtk_label_get_label __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_layout) IA__gtk_label_get_layout __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_layout_offsets) IA__gtk_label_get_layout_offsets __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_line_wrap) IA__gtk_label_get_line_wrap __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_line_wrap_mode) IA__gtk_label_get_line_wrap_mode __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_max_width_chars) IA__gtk_label_get_max_width_chars __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_mnemonic_keyval) IA__gtk_label_get_mnemonic_keyval __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_mnemonic_widget) IA__gtk_label_get_mnemonic_widget __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_selectable) IA__gtk_label_get_selectable __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_selection_bounds) IA__gtk_label_get_selection_bounds __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_single_line_mode) IA__gtk_label_get_single_line_mode __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_text) IA__gtk_label_get_text __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_type) IA__gtk_label_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_label_get_use_markup) IA__gtk_label_get_use_markup __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_use_underline) IA__gtk_label_get_use_underline __attribute((visibility("hidden"))); extern __typeof (gtk_label_get_width_chars) IA__gtk_label_get_width_chars __attribute((visibility("hidden"))); extern __typeof (gtk_label_new) IA__gtk_label_new __attribute((visibility("hidden"))); extern __typeof (gtk_label_new_with_mnemonic) IA__gtk_label_new_with_mnemonic __attribute((visibility("hidden"))); extern __typeof (gtk_label_select_region) IA__gtk_label_select_region __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_angle) IA__gtk_label_set_angle __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_attributes) IA__gtk_label_set_attributes __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_ellipsize) IA__gtk_label_set_ellipsize __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_justify) IA__gtk_label_set_justify __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_label) IA__gtk_label_set_label __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_line_wrap) IA__gtk_label_set_line_wrap __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_line_wrap_mode) IA__gtk_label_set_line_wrap_mode __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_markup) IA__gtk_label_set_markup __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_markup_with_mnemonic) IA__gtk_label_set_markup_with_mnemonic __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_max_width_chars) IA__gtk_label_set_max_width_chars __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_mnemonic_widget) IA__gtk_label_set_mnemonic_widget __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_pattern) IA__gtk_label_set_pattern __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_selectable) IA__gtk_label_set_selectable __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_single_line_mode) IA__gtk_label_set_single_line_mode __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_text) IA__gtk_label_set_text __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_text_with_mnemonic) IA__gtk_label_set_text_with_mnemonic __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_use_markup) IA__gtk_label_set_use_markup __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_use_underline) IA__gtk_label_set_use_underline __attribute((visibility("hidden"))); extern __typeof (gtk_label_set_width_chars) IA__gtk_label_set_width_chars __attribute((visibility("hidden"))); # 5229 "gtkalias.h" extern __typeof (gtk_get_option_group) IA__gtk_get_option_group __attribute((visibility("hidden"))); extern __typeof (gtk_get_current_event) IA__gtk_get_current_event __attribute((visibility("hidden"))); extern __typeof (gtk_get_current_event_state) IA__gtk_get_current_event_state __attribute((visibility("hidden"))); extern __typeof (gtk_get_current_event_time) IA__gtk_get_current_event_time __attribute((visibility("hidden"))); extern __typeof (gtk_exit) IA__gtk_exit __attribute((visibility("hidden"))); extern __typeof (gtk_idle_add) IA__gtk_idle_add __attribute((visibility("hidden"))); extern __typeof (gtk_idle_add_full) IA__gtk_idle_add_full __attribute((visibility("hidden"))); extern __typeof (gtk_idle_add_priority) IA__gtk_idle_add_priority __attribute((visibility("hidden"))); extern __typeof (gtk_idle_remove) IA__gtk_idle_remove __attribute((visibility("hidden"))); extern __typeof (gtk_idle_remove_by_data) IA__gtk_idle_remove_by_data __attribute((visibility("hidden"))); extern __typeof (gtk_timeout_add) IA__gtk_timeout_add __attribute((visibility("hidden"))); extern __typeof (gtk_timeout_add_full) IA__gtk_timeout_add_full __attribute((visibility("hidden"))); extern __typeof (gtk_timeout_remove) IA__gtk_timeout_remove __attribute((visibility("hidden"))); extern __typeof (gtk_input_add_full) IA__gtk_input_add_full __attribute((visibility("hidden"))); extern __typeof (gtk_input_remove) IA__gtk_input_remove __attribute((visibility("hidden"))); extern __typeof (gtk_false) IA__gtk_false __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_true) IA__gtk_true __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_events_pending) IA__gtk_events_pending __attribute((visibility("hidden"))); extern __typeof (gtk_disable_setlocale) IA__gtk_disable_setlocale __attribute((visibility("hidden"))); extern __typeof (gtk_set_locale) IA__gtk_set_locale __attribute((visibility("hidden"))); extern __typeof (gtk_check_version) IA__gtk_check_version __attribute((visibility("hidden"))); extern __typeof (gtk_get_default_language) IA__gtk_get_default_language __attribute((visibility("hidden"))); extern __typeof (gtk_get_event_widget) IA__gtk_get_event_widget __attribute((visibility("hidden"))); extern __typeof (gtk_grab_add) IA__gtk_grab_add __attribute((visibility("hidden"))); extern __typeof (gtk_grab_get_current) IA__gtk_grab_get_current __attribute((visibility("hidden"))); extern __typeof (gtk_grab_remove) IA__gtk_grab_remove __attribute((visibility("hidden"))); extern __typeof (gtk_propagate_event) IA__gtk_propagate_event __attribute((visibility("hidden"))); extern __typeof (gtk_quit_add) IA__gtk_quit_add __attribute((visibility("hidden"))); extern __typeof (gtk_quit_add_destroy) IA__gtk_quit_add_destroy __attribute((visibility("hidden"))); extern __typeof (gtk_quit_add_full) IA__gtk_quit_add_full __attribute((visibility("hidden"))); extern __typeof (gtk_quit_remove) IA__gtk_quit_remove __attribute((visibility("hidden"))); extern __typeof (gtk_quit_remove_by_data) IA__gtk_quit_remove_by_data __attribute((visibility("hidden"))); extern __typeof (gtk_key_snooper_install) IA__gtk_key_snooper_install __attribute((visibility("hidden"))); extern __typeof (gtk_key_snooper_remove) IA__gtk_key_snooper_remove __attribute((visibility("hidden"))); extern __typeof (gtk_init) IA__gtk_init __attribute((visibility("hidden"))); extern __typeof (gtk_init_add) IA__gtk_init_add __attribute((visibility("hidden"))); extern __typeof (gtk_init_check) IA__gtk_init_check __attribute((visibility("hidden"))); extern __typeof (gtk_init_with_args) IA__gtk_init_with_args __attribute((visibility("hidden"))); extern __typeof (gtk_parse_args) IA__gtk_parse_args __attribute((visibility("hidden"))); extern __typeof (gtk_main) IA__gtk_main __attribute((visibility("hidden"))); extern __typeof (gtk_main_do_event) IA__gtk_main_do_event __attribute((visibility("hidden"))); extern __typeof (gtk_main_iteration) IA__gtk_main_iteration __attribute((visibility("hidden"))); extern __typeof (gtk_main_iteration_do) IA__gtk_main_iteration_do __attribute((visibility("hidden"))); extern __typeof (gtk_main_level) IA__gtk_main_level __attribute((visibility("hidden"))); extern __typeof (gtk_main_quit) IA__gtk_main_quit __attribute((visibility("hidden"))); # 5496 "gtkalias.h" extern __typeof (gtk_menu_attach) IA__gtk_menu_attach __attribute((visibility("hidden"))); extern __typeof (gtk_menu_attach_to_widget) IA__gtk_menu_attach_to_widget __attribute((visibility("hidden"))); extern __typeof (gtk_menu_detach) IA__gtk_menu_detach __attribute((visibility("hidden"))); extern __typeof (gtk_menu_get_accel_group) IA__gtk_menu_get_accel_group __attribute((visibility("hidden"))); extern __typeof (gtk_menu_get_active) IA__gtk_menu_get_active __attribute((visibility("hidden"))); extern __typeof (gtk_menu_get_attach_widget) IA__gtk_menu_get_attach_widget __attribute((visibility("hidden"))); extern __typeof (gtk_menu_get_for_attach_widget) IA__gtk_menu_get_for_attach_widget __attribute((visibility("hidden"))); extern __typeof (gtk_menu_get_tearoff_state) IA__gtk_menu_get_tearoff_state __attribute((visibility("hidden"))); extern __typeof (gtk_menu_get_title) IA__gtk_menu_get_title __attribute((visibility("hidden"))); extern __typeof (gtk_menu_get_type) IA__gtk_menu_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_menu_new) IA__gtk_menu_new __attribute((visibility("hidden"))); extern __typeof (gtk_menu_popdown) IA__gtk_menu_popdown __attribute((visibility("hidden"))); extern __typeof (gtk_menu_popup) IA__gtk_menu_popup __attribute((visibility("hidden"))); extern __typeof (gtk_menu_reorder_child) IA__gtk_menu_reorder_child __attribute((visibility("hidden"))); extern __typeof (gtk_menu_reposition) IA__gtk_menu_reposition __attribute((visibility("hidden"))); extern __typeof (gtk_menu_set_accel_group) IA__gtk_menu_set_accel_group __attribute((visibility("hidden"))); extern __typeof (gtk_menu_set_accel_path) IA__gtk_menu_set_accel_path __attribute((visibility("hidden"))); extern __typeof (gtk_menu_set_active) IA__gtk_menu_set_active __attribute((visibility("hidden"))); extern __typeof (gtk_menu_set_monitor) IA__gtk_menu_set_monitor __attribute((visibility("hidden"))); extern __typeof (gtk_menu_set_screen) IA__gtk_menu_set_screen __attribute((visibility("hidden"))); extern __typeof (gtk_menu_set_tearoff_state) IA__gtk_menu_set_tearoff_state __attribute((visibility("hidden"))); extern __typeof (gtk_menu_set_title) IA__gtk_menu_set_title __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_activate) IA__gtk_menu_item_activate __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_deselect) IA__gtk_menu_item_deselect __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_get_right_justified) IA__gtk_menu_item_get_right_justified __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_get_submenu) IA__gtk_menu_item_get_submenu __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_get_type) IA__gtk_menu_item_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_menu_item_new) IA__gtk_menu_item_new __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_new_with_label) IA__gtk_menu_item_new_with_label __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_new_with_mnemonic) IA__gtk_menu_item_new_with_mnemonic __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_select) IA__gtk_menu_item_select __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_set_accel_path) IA__gtk_menu_item_set_accel_path __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_set_right_justified) IA__gtk_menu_item_set_right_justified __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_set_submenu) IA__gtk_menu_item_set_submenu __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_toggle_size_allocate) IA__gtk_menu_item_toggle_size_allocate __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_toggle_size_request) IA__gtk_menu_item_toggle_size_request __attribute((visibility("hidden"))); extern __typeof (gtk_menu_item_remove_submenu) IA__gtk_menu_item_remove_submenu __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_activate_item) IA__gtk_menu_shell_activate_item __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_append) IA__gtk_menu_shell_append __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_cancel) IA__gtk_menu_shell_cancel __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_deactivate) IA__gtk_menu_shell_deactivate __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_deselect) IA__gtk_menu_shell_deselect __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_get_type) IA__gtk_menu_shell_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_menu_shell_insert) IA__gtk_menu_shell_insert __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_prepend) IA__gtk_menu_shell_prepend __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_select_first) IA__gtk_menu_shell_select_first __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_select_item) IA__gtk_menu_shell_select_item __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_set_take_focus) IA__gtk_menu_shell_set_take_focus __attribute((visibility("hidden"))); extern __typeof (gtk_menu_shell_get_take_focus) IA__gtk_menu_shell_get_take_focus __attribute((visibility("hidden"))); # 5712 "gtkalias.h" extern __typeof (gtk_misc_get_alignment) IA__gtk_misc_get_alignment __attribute((visibility("hidden"))); extern __typeof (gtk_misc_get_padding) IA__gtk_misc_get_padding __attribute((visibility("hidden"))); extern __typeof (gtk_misc_get_type) IA__gtk_misc_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_misc_set_alignment) IA__gtk_misc_set_alignment __attribute((visibility("hidden"))); extern __typeof (gtk_misc_set_padding) IA__gtk_misc_set_padding __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_append_page) IA__gtk_notebook_append_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_append_page_menu) IA__gtk_notebook_append_page_menu __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_current_page) IA__gtk_notebook_get_current_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_menu_label) IA__gtk_notebook_get_menu_label __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_menu_label_text) IA__gtk_notebook_get_menu_label_text __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_n_pages) IA__gtk_notebook_get_n_pages __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_nth_page) IA__gtk_notebook_get_nth_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_scrollable) IA__gtk_notebook_get_scrollable __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_show_border) IA__gtk_notebook_get_show_border __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_show_tabs) IA__gtk_notebook_get_show_tabs __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_tab_label) IA__gtk_notebook_get_tab_label __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_tab_label_text) IA__gtk_notebook_get_tab_label_text __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_tab_pos) IA__gtk_notebook_get_tab_pos __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_type) IA__gtk_notebook_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_notebook_insert_page) IA__gtk_notebook_insert_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_insert_page_menu) IA__gtk_notebook_insert_page_menu __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_new) IA__gtk_notebook_new __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_next_page) IA__gtk_notebook_next_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_page_num) IA__gtk_notebook_page_num __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_popup_disable) IA__gtk_notebook_popup_disable __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_popup_enable) IA__gtk_notebook_popup_enable __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_prepend_page) IA__gtk_notebook_prepend_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_prepend_page_menu) IA__gtk_notebook_prepend_page_menu __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_prev_page) IA__gtk_notebook_prev_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_query_tab_label_packing) IA__gtk_notebook_query_tab_label_packing __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_remove_page) IA__gtk_notebook_remove_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_reorder_child) IA__gtk_notebook_reorder_child __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_current_page) IA__gtk_notebook_set_current_page __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_homogeneous_tabs) IA__gtk_notebook_set_homogeneous_tabs __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_border) IA__gtk_notebook_set_tab_border __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_hborder) IA__gtk_notebook_set_tab_hborder __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_vborder) IA__gtk_notebook_set_tab_vborder __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_menu_label) IA__gtk_notebook_set_menu_label __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_menu_label_text) IA__gtk_notebook_set_menu_label_text __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_scrollable) IA__gtk_notebook_set_scrollable __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_show_border) IA__gtk_notebook_set_show_border __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_show_tabs) IA__gtk_notebook_set_show_tabs __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_label) IA__gtk_notebook_set_tab_label __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_label_packing) IA__gtk_notebook_set_tab_label_packing __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_label_text) IA__gtk_notebook_set_tab_label_text __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_pos) IA__gtk_notebook_set_tab_pos __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_window_creation_hook) IA__gtk_notebook_set_window_creation_hook __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_group_id) IA__gtk_notebook_get_group_id __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_group_id) IA__gtk_notebook_set_group_id __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_group) IA__gtk_notebook_get_group __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_group) IA__gtk_notebook_set_group __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_tab_reorderable) IA__gtk_notebook_get_tab_reorderable __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_reorderable) IA__gtk_notebook_set_tab_reorderable __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_get_tab_detachable) IA__gtk_notebook_get_tab_detachable __attribute((visibility("hidden"))); extern __typeof (gtk_notebook_set_tab_detachable) IA__gtk_notebook_set_tab_detachable __attribute((visibility("hidden"))); extern __typeof (gtk_object_add_arg_type) IA__gtk_object_add_arg_type __attribute((visibility("hidden"))); extern __typeof (gtk_object_get) IA__gtk_object_get __attribute((visibility("hidden"))) __attribute__((__sentinel__)); extern __typeof (gtk_object_set) IA__gtk_object_set __attribute((visibility("hidden"))) __attribute__((__sentinel__)); extern __typeof (gtk_object_get_data) IA__gtk_object_get_data __attribute((visibility("hidden"))); extern __typeof (gtk_object_get_data_by_id) IA__gtk_object_get_data_by_id __attribute((visibility("hidden"))); extern __typeof (gtk_object_get_user_data) IA__gtk_object_get_user_data __attribute((visibility("hidden"))); extern __typeof (gtk_object_new) IA__gtk_object_new __attribute((visibility("hidden"))); extern __typeof (gtk_object_remove_data) IA__gtk_object_remove_data __attribute((visibility("hidden"))); extern __typeof (gtk_object_remove_data_by_id) IA__gtk_object_remove_data_by_id __attribute((visibility("hidden"))); extern __typeof (gtk_object_remove_no_notify) IA__gtk_object_remove_no_notify __attribute((visibility("hidden"))); extern __typeof (gtk_object_remove_no_notify_by_id) IA__gtk_object_remove_no_notify_by_id __attribute((visibility("hidden"))); extern __typeof (gtk_object_ref) IA__gtk_object_ref __attribute((visibility("hidden"))); extern __typeof (gtk_object_unref) IA__gtk_object_unref __attribute((visibility("hidden"))); extern __typeof (gtk_object_weakref) IA__gtk_object_weakref __attribute((visibility("hidden"))); extern __typeof (gtk_object_weakunref) IA__gtk_object_weakunref __attribute((visibility("hidden"))); extern __typeof (gtk_object_set_data) IA__gtk_object_set_data __attribute((visibility("hidden"))); extern __typeof (gtk_object_set_data_by_id) IA__gtk_object_set_data_by_id __attribute((visibility("hidden"))); extern __typeof (gtk_object_set_data_by_id_full) IA__gtk_object_set_data_by_id_full __attribute((visibility("hidden"))); extern __typeof (gtk_object_set_data_full) IA__gtk_object_set_data_full __attribute((visibility("hidden"))); extern __typeof (gtk_object_set_user_data) IA__gtk_object_set_user_data __attribute((visibility("hidden"))); extern __typeof (gtk_object_sink) IA__gtk_object_sink __attribute((visibility("hidden"))); extern __typeof (gtk_object_destroy) IA__gtk_object_destroy __attribute((visibility("hidden"))); extern __typeof (gtk_object_get_type) IA__gtk_object_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); # 7283 "gtkalias.h" extern __typeof (gtk_rc_add_class_style) IA__gtk_rc_add_class_style __attribute((visibility("hidden"))); extern __typeof (gtk_rc_add_widget_class_style) IA__gtk_rc_add_widget_class_style __attribute((visibility("hidden"))); extern __typeof (gtk_rc_add_widget_name_style) IA__gtk_rc_add_widget_name_style __attribute((visibility("hidden"))); extern __typeof (gtk_rc_add_default_file) IA__gtk_rc_add_default_file __attribute((visibility("hidden"))); extern __typeof (gtk_rc_find_module_in_path) IA__gtk_rc_find_module_in_path __attribute((visibility("hidden"))); extern __typeof (gtk_rc_find_pixmap_in_path) IA__gtk_rc_find_pixmap_in_path __attribute((visibility("hidden"))); extern __typeof (gtk_rc_get_default_files) IA__gtk_rc_get_default_files __attribute((visibility("hidden"))); extern __typeof (gtk_rc_get_im_module_file) IA__gtk_rc_get_im_module_file __attribute((visibility("hidden"))); extern __typeof (gtk_rc_get_im_module_path) IA__gtk_rc_get_im_module_path __attribute((visibility("hidden"))); extern __typeof (gtk_rc_get_module_dir) IA__gtk_rc_get_module_dir __attribute((visibility("hidden"))); extern __typeof (gtk_rc_get_style) IA__gtk_rc_get_style __attribute((visibility("hidden"))); extern __typeof (gtk_rc_get_style_by_paths) IA__gtk_rc_get_style_by_paths __attribute((visibility("hidden"))); extern __typeof (gtk_rc_get_theme_dir) IA__gtk_rc_get_theme_dir __attribute((visibility("hidden"))); extern __typeof (gtk_rc_parse) IA__gtk_rc_parse __attribute((visibility("hidden"))); extern __typeof (gtk_rc_parse_color) IA__gtk_rc_parse_color __attribute((visibility("hidden"))); extern __typeof (gtk_rc_parse_color_full) IA__gtk_rc_parse_color_full __attribute((visibility("hidden"))); extern __typeof (gtk_rc_parse_priority) IA__gtk_rc_parse_priority __attribute((visibility("hidden"))); extern __typeof (gtk_rc_parse_state) IA__gtk_rc_parse_state __attribute((visibility("hidden"))); extern __typeof (gtk_rc_parse_string) IA__gtk_rc_parse_string __attribute((visibility("hidden"))); extern __typeof (gtk_rc_reparse_all) IA__gtk_rc_reparse_all __attribute((visibility("hidden"))); extern __typeof (gtk_rc_reparse_all_for_settings) IA__gtk_rc_reparse_all_for_settings __attribute((visibility("hidden"))); extern __typeof (gtk_rc_reset_styles) IA__gtk_rc_reset_styles __attribute((visibility("hidden"))); extern __typeof (gtk_rc_scanner_new) IA__gtk_rc_scanner_new __attribute((visibility("hidden"))); extern __typeof (gtk_rc_set_default_files) IA__gtk_rc_set_default_files __attribute((visibility("hidden"))); extern __typeof (gtk_rc_style_copy) IA__gtk_rc_style_copy __attribute((visibility("hidden"))); extern __typeof (gtk_rc_style_get_type) IA__gtk_rc_style_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_rc_style_new) IA__gtk_rc_style_new __attribute((visibility("hidden"))); extern __typeof (gtk_rc_style_ref) IA__gtk_rc_style_ref __attribute((visibility("hidden"))); extern __typeof (gtk_rc_style_unref) IA__gtk_rc_style_unref __attribute((visibility("hidden"))); # 7914 "gtkalias.h" extern __typeof (gtk_selection_add_target) IA__gtk_selection_add_target __attribute((visibility("hidden"))); extern __typeof (gtk_selection_add_targets) IA__gtk_selection_add_targets __attribute((visibility("hidden"))); extern __typeof (gtk_selection_clear) IA__gtk_selection_clear __attribute((visibility("hidden"))); extern __typeof (gtk_selection_clear_targets) IA__gtk_selection_clear_targets __attribute((visibility("hidden"))); extern __typeof (gtk_selection_convert) IA__gtk_selection_convert __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_copy) IA__gtk_selection_data_copy __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_free) IA__gtk_selection_data_free __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_get_pixbuf) IA__gtk_selection_data_get_pixbuf __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_get_targets) IA__gtk_selection_data_get_targets __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_get_text) IA__gtk_selection_data_get_text __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_get_type) IA__gtk_selection_data_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_selection_data_get_uris) IA__gtk_selection_data_get_uris __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_set) IA__gtk_selection_data_set __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_set_pixbuf) IA__gtk_selection_data_set_pixbuf __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_set_text) IA__gtk_selection_data_set_text __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_set_uris) IA__gtk_selection_data_set_uris __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_targets_include_image) IA__gtk_selection_data_targets_include_image __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_targets_include_rich_text) IA__gtk_selection_data_targets_include_rich_text __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_targets_include_text) IA__gtk_selection_data_targets_include_text __attribute((visibility("hidden"))); extern __typeof (gtk_selection_data_targets_include_uri) IA__gtk_selection_data_targets_include_uri __attribute((visibility("hidden"))); extern __typeof (gtk_targets_include_image) IA__gtk_targets_include_image __attribute((visibility("hidden"))); extern __typeof (gtk_targets_include_rich_text) IA__gtk_targets_include_rich_text __attribute((visibility("hidden"))); extern __typeof (gtk_targets_include_text) IA__gtk_targets_include_text __attribute((visibility("hidden"))); extern __typeof (gtk_targets_include_uri) IA__gtk_targets_include_uri __attribute((visibility("hidden"))); extern __typeof (gtk_selection_owner_set) IA__gtk_selection_owner_set __attribute((visibility("hidden"))); extern __typeof (gtk_selection_owner_set_for_display) IA__gtk_selection_owner_set_for_display __attribute((visibility("hidden"))); extern __typeof (gtk_selection_remove_all) IA__gtk_selection_remove_all __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_add) IA__gtk_target_list_add __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_add_image_targets) IA__gtk_target_list_add_image_targets __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_add_rich_text_targets) IA__gtk_target_list_add_rich_text_targets __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_add_table) IA__gtk_target_list_add_table __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_add_text_targets) IA__gtk_target_list_add_text_targets __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_add_uri_targets) IA__gtk_target_list_add_uri_targets __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_find) IA__gtk_target_list_find __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_get_type) IA__gtk_target_list_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_target_list_new) IA__gtk_target_list_new __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_ref) IA__gtk_target_list_ref __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_remove) IA__gtk_target_list_remove __attribute((visibility("hidden"))); extern __typeof (gtk_target_list_unref) IA__gtk_target_list_unref __attribute((visibility("hidden"))); extern __typeof (gtk_target_table_new_from_list) IA__gtk_target_table_new_from_list __attribute((visibility("hidden"))); extern __typeof (gtk_target_table_free) IA__gtk_target_table_free __attribute((visibility("hidden"))); # 8074 "gtkalias.h" extern __typeof (gtk_settings_get_default) IA__gtk_settings_get_default __attribute((visibility("hidden"))); extern __typeof (gtk_settings_get_for_screen) IA__gtk_settings_get_for_screen __attribute((visibility("hidden"))); extern __typeof (gtk_settings_get_type) IA__gtk_settings_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_settings_install_property) IA__gtk_settings_install_property __attribute((visibility("hidden"))); extern __typeof (gtk_settings_install_property_parser) IA__gtk_settings_install_property_parser __attribute((visibility("hidden"))); extern __typeof (gtk_settings_set_double_property) IA__gtk_settings_set_double_property __attribute((visibility("hidden"))); extern __typeof (gtk_settings_set_long_property) IA__gtk_settings_set_long_property __attribute((visibility("hidden"))); extern __typeof (gtk_settings_set_property_value) IA__gtk_settings_set_property_value __attribute((visibility("hidden"))); extern __typeof (gtk_settings_set_string_property) IA__gtk_settings_set_string_property __attribute((visibility("hidden"))); extern __typeof (gtk_rc_property_parse_border) IA__gtk_rc_property_parse_border __attribute((visibility("hidden"))); extern __typeof (gtk_rc_property_parse_color) IA__gtk_rc_property_parse_color __attribute((visibility("hidden"))); extern __typeof (gtk_rc_property_parse_enum) IA__gtk_rc_property_parse_enum __attribute((visibility("hidden"))); extern __typeof (gtk_rc_property_parse_flags) IA__gtk_rc_property_parse_flags __attribute((visibility("hidden"))); extern __typeof (gtk_rc_property_parse_requisition) IA__gtk_rc_property_parse_requisition __attribute((visibility("hidden"))); # 8402 "gtkalias.h" extern __typeof (gtk_text_attributes_copy) IA__gtk_text_attributes_copy __attribute((visibility("hidden"))); extern __typeof (gtk_text_attributes_copy_values) IA__gtk_text_attributes_copy_values __attribute((visibility("hidden"))); extern __typeof (gtk_text_attributes_get_type) IA__gtk_text_attributes_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_attributes_new) IA__gtk_text_attributes_new __attribute((visibility("hidden"))); extern __typeof (gtk_text_attributes_ref) IA__gtk_text_attributes_ref __attribute((visibility("hidden"))); extern __typeof (gtk_text_attributes_unref) IA__gtk_text_attributes_unref __attribute((visibility("hidden"))); extern __typeof (gtk_text_tag_event) IA__gtk_text_tag_event __attribute((visibility("hidden"))); extern __typeof (gtk_text_tag_get_priority) IA__gtk_text_tag_get_priority __attribute((visibility("hidden"))); extern __typeof (gtk_text_tag_get_type) IA__gtk_text_tag_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_tag_new) IA__gtk_text_tag_new __attribute((visibility("hidden"))); extern __typeof (gtk_text_tag_set_priority) IA__gtk_text_tag_set_priority __attribute((visibility("hidden"))); # 8707 "gtkalias.h" extern __typeof (gtk_text_iter_backward_char) IA__gtk_text_iter_backward_char __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_chars) IA__gtk_text_iter_backward_chars __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_cursor_position) IA__gtk_text_iter_backward_cursor_position __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_cursor_positions) IA__gtk_text_iter_backward_cursor_positions __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_find_char) IA__gtk_text_iter_backward_find_char __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_line) IA__gtk_text_iter_backward_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_lines) IA__gtk_text_iter_backward_lines __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_search) IA__gtk_text_iter_backward_search __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_sentence_start) IA__gtk_text_iter_backward_sentence_start __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_sentence_starts) IA__gtk_text_iter_backward_sentence_starts __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_to_tag_toggle) IA__gtk_text_iter_backward_to_tag_toggle __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_visible_cursor_position) IA__gtk_text_iter_backward_visible_cursor_position __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_visible_cursor_positions) IA__gtk_text_iter_backward_visible_cursor_positions __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_visible_line) IA__gtk_text_iter_backward_visible_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_visible_lines) IA__gtk_text_iter_backward_visible_lines __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_visible_word_start) IA__gtk_text_iter_backward_visible_word_start __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_visible_word_starts) IA__gtk_text_iter_backward_visible_word_starts __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_word_start) IA__gtk_text_iter_backward_word_start __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_backward_word_starts) IA__gtk_text_iter_backward_word_starts __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_begins_tag) IA__gtk_text_iter_begins_tag __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_can_insert) IA__gtk_text_iter_can_insert __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_compare) IA__gtk_text_iter_compare __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_copy) IA__gtk_text_iter_copy __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_editable) IA__gtk_text_iter_editable __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_ends_line) IA__gtk_text_iter_ends_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_ends_sentence) IA__gtk_text_iter_ends_sentence __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_ends_tag) IA__gtk_text_iter_ends_tag __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_ends_word) IA__gtk_text_iter_ends_word __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_equal) IA__gtk_text_iter_equal __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_char) IA__gtk_text_iter_forward_char __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_chars) IA__gtk_text_iter_forward_chars __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_cursor_position) IA__gtk_text_iter_forward_cursor_position __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_cursor_positions) IA__gtk_text_iter_forward_cursor_positions __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_find_char) IA__gtk_text_iter_forward_find_char __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_line) IA__gtk_text_iter_forward_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_lines) IA__gtk_text_iter_forward_lines __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_search) IA__gtk_text_iter_forward_search __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_sentence_end) IA__gtk_text_iter_forward_sentence_end __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_sentence_ends) IA__gtk_text_iter_forward_sentence_ends __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_to_end) IA__gtk_text_iter_forward_to_end __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_to_line_end) IA__gtk_text_iter_forward_to_line_end __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_to_tag_toggle) IA__gtk_text_iter_forward_to_tag_toggle __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_visible_cursor_position) IA__gtk_text_iter_forward_visible_cursor_position __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_visible_cursor_positions) IA__gtk_text_iter_forward_visible_cursor_positions __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_visible_line) IA__gtk_text_iter_forward_visible_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_visible_lines) IA__gtk_text_iter_forward_visible_lines __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_visible_word_end) IA__gtk_text_iter_forward_visible_word_end __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_visible_word_ends) IA__gtk_text_iter_forward_visible_word_ends __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_word_end) IA__gtk_text_iter_forward_word_end __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_forward_word_ends) IA__gtk_text_iter_forward_word_ends __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_free) IA__gtk_text_iter_free __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_attributes) IA__gtk_text_iter_get_attributes __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_buffer) IA__gtk_text_iter_get_buffer __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_bytes_in_line) IA__gtk_text_iter_get_bytes_in_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_char) IA__gtk_text_iter_get_char __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_chars_in_line) IA__gtk_text_iter_get_chars_in_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_child_anchor) IA__gtk_text_iter_get_child_anchor __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_language) IA__gtk_text_iter_get_language __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_line) IA__gtk_text_iter_get_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_line_index) IA__gtk_text_iter_get_line_index __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_line_offset) IA__gtk_text_iter_get_line_offset __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_marks) IA__gtk_text_iter_get_marks __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_offset) IA__gtk_text_iter_get_offset __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_pixbuf) IA__gtk_text_iter_get_pixbuf __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_slice) IA__gtk_text_iter_get_slice __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_tags) IA__gtk_text_iter_get_tags __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_text) IA__gtk_text_iter_get_text __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_toggled_tags) IA__gtk_text_iter_get_toggled_tags __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_type) IA__gtk_text_iter_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_iter_get_visible_line_index) IA__gtk_text_iter_get_visible_line_index __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_visible_line_offset) IA__gtk_text_iter_get_visible_line_offset __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_visible_slice) IA__gtk_text_iter_get_visible_slice __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_get_visible_text) IA__gtk_text_iter_get_visible_text __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_has_tag) IA__gtk_text_iter_has_tag __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_in_range) IA__gtk_text_iter_in_range __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_inside_sentence) IA__gtk_text_iter_inside_sentence __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_inside_word) IA__gtk_text_iter_inside_word __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_is_cursor_position) IA__gtk_text_iter_is_cursor_position __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_is_end) IA__gtk_text_iter_is_end __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_is_start) IA__gtk_text_iter_is_start __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_order) IA__gtk_text_iter_order __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_set_line) IA__gtk_text_iter_set_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_set_line_index) IA__gtk_text_iter_set_line_index __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_set_line_offset) IA__gtk_text_iter_set_line_offset __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_set_offset) IA__gtk_text_iter_set_offset __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_set_visible_line_index) IA__gtk_text_iter_set_visible_line_index __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_set_visible_line_offset) IA__gtk_text_iter_set_visible_line_offset __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_starts_line) IA__gtk_text_iter_starts_line __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_starts_sentence) IA__gtk_text_iter_starts_sentence __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_starts_word) IA__gtk_text_iter_starts_word __attribute((visibility("hidden"))); extern __typeof (gtk_text_iter_toggles_tag) IA__gtk_text_iter_toggles_tag __attribute((visibility("hidden"))); # 9120 "gtkalias.h" extern __typeof (gtk_text_child_anchor_get_deleted) IA__gtk_text_child_anchor_get_deleted __attribute((visibility("hidden"))); extern __typeof (gtk_text_child_anchor_get_type) IA__gtk_text_child_anchor_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_text_child_anchor_get_widgets) IA__gtk_text_child_anchor_get_widgets __attribute((visibility("hidden"))); extern __typeof (gtk_text_child_anchor_new) IA__gtk_text_child_anchor_new __attribute((visibility("hidden"))); # 10805 "gtkalias.h" extern __typeof (gtk_type_class) IA__gtk_type_class __attribute((visibility("hidden"))); extern __typeof (gtk_identifier_get_type) IA__gtk_identifier_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_type_enum_find_value) IA__gtk_type_enum_find_value __attribute((visibility("hidden"))); extern __typeof (gtk_type_enum_get_values) IA__gtk_type_enum_get_values __attribute((visibility("hidden"))); extern __typeof (gtk_type_flags_find_value) IA__gtk_type_flags_find_value __attribute((visibility("hidden"))); extern __typeof (gtk_type_flags_get_values) IA__gtk_type_flags_get_values __attribute((visibility("hidden"))); extern __typeof (gtk_type_init) IA__gtk_type_init __attribute((visibility("hidden"))); extern __typeof (gtk_type_new) IA__gtk_type_new __attribute((visibility("hidden"))); extern __typeof (gtk_type_unique) IA__gtk_type_unique __attribute((visibility("hidden"))); # 11026 "gtkalias.h" extern __typeof (gtk_requisition_copy) IA__gtk_requisition_copy __attribute((visibility("hidden"))); extern __typeof (gtk_requisition_free) IA__gtk_requisition_free __attribute((visibility("hidden"))); extern __typeof (gtk_requisition_get_type) IA__gtk_requisition_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_widget_activate) IA__gtk_widget_activate __attribute((visibility("hidden"))); extern __typeof (gtk_widget_is_composited) IA__gtk_widget_is_composited __attribute((visibility("hidden"))); extern __typeof (gtk_widget_add_accelerator) IA__gtk_widget_add_accelerator __attribute((visibility("hidden"))); extern __typeof (gtk_widget_add_events) IA__gtk_widget_add_events __attribute((visibility("hidden"))); extern __typeof (gtk_widget_add_mnemonic_label) IA__gtk_widget_add_mnemonic_label __attribute((visibility("hidden"))); extern __typeof (gtk_widget_can_activate_accel) IA__gtk_widget_can_activate_accel __attribute((visibility("hidden"))); extern __typeof (gtk_widget_child_focus) IA__gtk_widget_child_focus __attribute((visibility("hidden"))); extern __typeof (gtk_widget_child_notify) IA__gtk_widget_child_notify __attribute((visibility("hidden"))); extern __typeof (gtk_widget_class_find_style_property) IA__gtk_widget_class_find_style_property __attribute((visibility("hidden"))); extern __typeof (gtk_widget_class_install_style_property) IA__gtk_widget_class_install_style_property __attribute((visibility("hidden"))); extern __typeof (gtk_widget_class_install_style_property_parser) IA__gtk_widget_class_install_style_property_parser __attribute((visibility("hidden"))); extern __typeof (gtk_widget_class_list_style_properties) IA__gtk_widget_class_list_style_properties __attribute((visibility("hidden"))); extern __typeof (gtk_widget_class_path) IA__gtk_widget_class_path __attribute((visibility("hidden"))); extern __typeof (gtk_widget_create_pango_context) IA__gtk_widget_create_pango_context __attribute((visibility("hidden"))); extern __typeof (gtk_widget_create_pango_layout) IA__gtk_widget_create_pango_layout __attribute((visibility("hidden"))); extern __typeof (gtk_widget_destroy) IA__gtk_widget_destroy __attribute((visibility("hidden"))); extern __typeof (gtk_widget_destroyed) IA__gtk_widget_destroyed __attribute((visibility("hidden"))); extern __typeof (gtk_widget_ensure_style) IA__gtk_widget_ensure_style __attribute((visibility("hidden"))); extern __typeof (gtk_widget_error_bell) IA__gtk_widget_error_bell __attribute((visibility("hidden"))); extern __typeof (gtk_widget_event) IA__gtk_widget_event __attribute((visibility("hidden"))); extern __typeof (gtk_widget_freeze_child_notify) IA__gtk_widget_freeze_child_notify __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_accessible) IA__gtk_widget_get_accessible __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_ancestor) IA__gtk_widget_get_ancestor __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_child_requisition) IA__gtk_widget_get_child_requisition __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_child_visible) IA__gtk_widget_get_child_visible __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_clipboard) IA__gtk_widget_get_clipboard __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_colormap) IA__gtk_widget_get_colormap __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_composite_name) IA__gtk_widget_get_composite_name __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_default_colormap) IA__gtk_widget_get_default_colormap __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_default_direction) IA__gtk_widget_get_default_direction __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_default_style) IA__gtk_widget_get_default_style __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_default_visual) IA__gtk_widget_get_default_visual __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_direction) IA__gtk_widget_get_direction __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_display) IA__gtk_widget_get_display __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_events) IA__gtk_widget_get_events __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_extension_events) IA__gtk_widget_get_extension_events __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_has_tooltip) IA__gtk_widget_get_has_tooltip __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_modifier_style) IA__gtk_widget_get_modifier_style __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_name) IA__gtk_widget_get_name __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_no_show_all) IA__gtk_widget_get_no_show_all __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_pango_context) IA__gtk_widget_get_pango_context __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_parent) IA__gtk_widget_get_parent __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_parent_window) IA__gtk_widget_get_parent_window __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_pointer) IA__gtk_widget_get_pointer __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_root_window) IA__gtk_widget_get_root_window __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_screen) IA__gtk_widget_get_screen __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_settings) IA__gtk_widget_get_settings __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_size_request) IA__gtk_widget_get_size_request __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_style) IA__gtk_widget_get_style __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_tooltip_markup) IA__gtk_widget_get_tooltip_markup __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_tooltip_text) IA__gtk_widget_get_tooltip_text __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_tooltip_window) IA__gtk_widget_get_tooltip_window __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_toplevel) IA__gtk_widget_get_toplevel __attribute((visibility("hidden"))); extern __typeof (gtk_widget_get_type) IA__gtk_widget_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_widget_get_visual) IA__gtk_widget_get_visual __attribute((visibility("hidden"))); extern __typeof (gtk_widget_grab_default) IA__gtk_widget_grab_default __attribute((visibility("hidden"))); extern __typeof (gtk_widget_grab_focus) IA__gtk_widget_grab_focus __attribute((visibility("hidden"))); extern __typeof (gtk_widget_has_screen) IA__gtk_widget_has_screen __attribute((visibility("hidden"))); extern __typeof (gtk_widget_hide) IA__gtk_widget_hide __attribute((visibility("hidden"))); extern __typeof (gtk_widget_hide_all) IA__gtk_widget_hide_all __attribute((visibility("hidden"))); extern __typeof (gtk_widget_hide_on_delete) IA__gtk_widget_hide_on_delete __attribute((visibility("hidden"))); extern __typeof (gtk_widget_intersect) IA__gtk_widget_intersect __attribute((visibility("hidden"))); extern __typeof (gtk_widget_is_ancestor) IA__gtk_widget_is_ancestor __attribute((visibility("hidden"))); extern __typeof (gtk_widget_is_focus) IA__gtk_widget_is_focus __attribute((visibility("hidden"))); extern __typeof (gtk_widget_keynav_failed) IA__gtk_widget_keynav_failed __attribute((visibility("hidden"))); extern __typeof (gtk_widget_list_accel_closures) IA__gtk_widget_list_accel_closures __attribute((visibility("hidden"))); extern __typeof (gtk_widget_list_mnemonic_labels) IA__gtk_widget_list_mnemonic_labels __attribute((visibility("hidden"))); extern __typeof (gtk_widget_map) IA__gtk_widget_map __attribute((visibility("hidden"))); extern __typeof (gtk_widget_mnemonic_activate) IA__gtk_widget_mnemonic_activate __attribute((visibility("hidden"))); extern __typeof (gtk_widget_modify_base) IA__gtk_widget_modify_base __attribute((visibility("hidden"))); extern __typeof (gtk_widget_modify_bg) IA__gtk_widget_modify_bg __attribute((visibility("hidden"))); extern __typeof (gtk_widget_modify_fg) IA__gtk_widget_modify_fg __attribute((visibility("hidden"))); extern __typeof (gtk_widget_modify_cursor) IA__gtk_widget_modify_cursor __attribute((visibility("hidden"))); extern __typeof (gtk_widget_modify_font) IA__gtk_widget_modify_font __attribute((visibility("hidden"))); extern __typeof (gtk_widget_modify_style) IA__gtk_widget_modify_style __attribute((visibility("hidden"))); extern __typeof (gtk_widget_modify_text) IA__gtk_widget_modify_text __attribute((visibility("hidden"))); extern __typeof (gtk_widget_new) IA__gtk_widget_new __attribute((visibility("hidden"))); extern __typeof (gtk_widget_path) IA__gtk_widget_path __attribute((visibility("hidden"))); extern __typeof (gtk_widget_pop_colormap) IA__gtk_widget_pop_colormap __attribute((visibility("hidden"))); extern __typeof (gtk_widget_pop_composite_child) IA__gtk_widget_pop_composite_child __attribute((visibility("hidden"))); extern __typeof (gtk_widget_push_colormap) IA__gtk_widget_push_colormap __attribute((visibility("hidden"))); extern __typeof (gtk_widget_push_composite_child) IA__gtk_widget_push_composite_child __attribute((visibility("hidden"))); extern __typeof (gtk_widget_draw) IA__gtk_widget_draw __attribute((visibility("hidden"))); extern __typeof (gtk_widget_queue_clear) IA__gtk_widget_queue_clear __attribute((visibility("hidden"))); extern __typeof (gtk_widget_queue_clear_area) IA__gtk_widget_queue_clear_area __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set) IA__gtk_widget_set __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_uposition) IA__gtk_widget_set_uposition __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_usize) IA__gtk_widget_set_usize __attribute((visibility("hidden"))); extern __typeof (gtk_widget_queue_draw) IA__gtk_widget_queue_draw __attribute((visibility("hidden"))); extern __typeof (gtk_widget_queue_draw_area) IA__gtk_widget_queue_draw_area __attribute((visibility("hidden"))); extern __typeof (gtk_widget_queue_resize) IA__gtk_widget_queue_resize __attribute((visibility("hidden"))); extern __typeof (gtk_widget_queue_resize_no_redraw) IA__gtk_widget_queue_resize_no_redraw __attribute((visibility("hidden"))); extern __typeof (gtk_widget_realize) IA__gtk_widget_realize __attribute((visibility("hidden"))); extern __typeof (gtk_widget_ref) IA__gtk_widget_ref __attribute((visibility("hidden"))); extern __typeof (gtk_widget_region_intersect) IA__gtk_widget_region_intersect __attribute((visibility("hidden"))); extern __typeof (gtk_widget_remove_accelerator) IA__gtk_widget_remove_accelerator __attribute((visibility("hidden"))); extern __typeof (gtk_widget_remove_mnemonic_label) IA__gtk_widget_remove_mnemonic_label __attribute((visibility("hidden"))); extern __typeof (gtk_widget_render_icon) IA__gtk_widget_render_icon __attribute((visibility("hidden"))); extern __typeof (gtk_widget_reparent) IA__gtk_widget_reparent __attribute((visibility("hidden"))); extern __typeof (gtk_widget_reset_rc_styles) IA__gtk_widget_reset_rc_styles __attribute((visibility("hidden"))); extern __typeof (gtk_widget_reset_shapes) IA__gtk_widget_reset_shapes __attribute((visibility("hidden"))); extern __typeof (gtk_widget_send_expose) IA__gtk_widget_send_expose __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_accel_path) IA__gtk_widget_set_accel_path __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_app_paintable) IA__gtk_widget_set_app_paintable __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_child_visible) IA__gtk_widget_set_child_visible __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_colormap) IA__gtk_widget_set_colormap __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_composite_name) IA__gtk_widget_set_composite_name __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_default_colormap) IA__gtk_widget_set_default_colormap __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_default_direction) IA__gtk_widget_set_default_direction __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_direction) IA__gtk_widget_set_direction __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_double_buffered) IA__gtk_widget_set_double_buffered __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_events) IA__gtk_widget_set_events __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_extension_events) IA__gtk_widget_set_extension_events __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_has_tooltip) IA__gtk_widget_set_has_tooltip __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_name) IA__gtk_widget_set_name __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_no_show_all) IA__gtk_widget_set_no_show_all __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_parent) IA__gtk_widget_set_parent __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_parent_window) IA__gtk_widget_set_parent_window __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_redraw_on_allocate) IA__gtk_widget_set_redraw_on_allocate __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_scroll_adjustments) IA__gtk_widget_set_scroll_adjustments __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_sensitive) IA__gtk_widget_set_sensitive __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_size_request) IA__gtk_widget_set_size_request __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_state) IA__gtk_widget_set_state __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_style) IA__gtk_widget_set_style __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_tooltip_markup) IA__gtk_widget_set_tooltip_markup __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_tooltip_text) IA__gtk_widget_set_tooltip_text __attribute((visibility("hidden"))); extern __typeof (gtk_widget_set_tooltip_window) IA__gtk_widget_set_tooltip_window __attribute((visibility("hidden"))); extern __typeof (gtk_widget_shape_combine_mask) IA__gtk_widget_shape_combine_mask __attribute((visibility("hidden"))); extern __typeof (gtk_widget_input_shape_combine_mask) IA__gtk_widget_input_shape_combine_mask __attribute((visibility("hidden"))); extern __typeof (gtk_widget_show) IA__gtk_widget_show __attribute((visibility("hidden"))); extern __typeof (gtk_widget_show_all) IA__gtk_widget_show_all __attribute((visibility("hidden"))); extern __typeof (gtk_widget_show_now) IA__gtk_widget_show_now __attribute((visibility("hidden"))); extern __typeof (gtk_widget_size_allocate) IA__gtk_widget_size_allocate __attribute((visibility("hidden"))); extern __typeof (gtk_widget_size_request) IA__gtk_widget_size_request __attribute((visibility("hidden"))); extern __typeof (gtk_widget_style_get) IA__gtk_widget_style_get __attribute((visibility("hidden"))) __attribute__((__sentinel__)); extern __typeof (gtk_widget_style_get_property) IA__gtk_widget_style_get_property __attribute((visibility("hidden"))); extern __typeof (gtk_widget_style_get_valist) IA__gtk_widget_style_get_valist __attribute((visibility("hidden"))); extern __typeof (gtk_widget_thaw_child_notify) IA__gtk_widget_thaw_child_notify __attribute((visibility("hidden"))); extern __typeof (gtk_widget_translate_coordinates) IA__gtk_widget_translate_coordinates __attribute((visibility("hidden"))); extern __typeof (gtk_widget_trigger_tooltip_query) IA__gtk_widget_trigger_tooltip_query __attribute((visibility("hidden"))); extern __typeof (gtk_widget_unmap) IA__gtk_widget_unmap __attribute((visibility("hidden"))); extern __typeof (gtk_widget_unparent) IA__gtk_widget_unparent __attribute((visibility("hidden"))); extern __typeof (gtk_widget_unrealize) IA__gtk_widget_unrealize __attribute((visibility("hidden"))); extern __typeof (gtk_widget_unref) IA__gtk_widget_unref __attribute((visibility("hidden"))); extern __typeof (gtk_window_activate_default) IA__gtk_window_activate_default __attribute((visibility("hidden"))); extern __typeof (gtk_window_activate_focus) IA__gtk_window_activate_focus __attribute((visibility("hidden"))); extern __typeof (gtk_window_activate_key) IA__gtk_window_activate_key __attribute((visibility("hidden"))); extern __typeof (gtk_window_add_accel_group) IA__gtk_window_add_accel_group __attribute((visibility("hidden"))); extern __typeof (gtk_window_add_embedded_xid) IA__gtk_window_add_embedded_xid __attribute((visibility("hidden"))); extern __typeof (gtk_window_add_mnemonic) IA__gtk_window_add_mnemonic __attribute((visibility("hidden"))); extern __typeof (gtk_window_begin_move_drag) IA__gtk_window_begin_move_drag __attribute((visibility("hidden"))); extern __typeof (gtk_window_begin_resize_drag) IA__gtk_window_begin_resize_drag __attribute((visibility("hidden"))); extern __typeof (gtk_window_deiconify) IA__gtk_window_deiconify __attribute((visibility("hidden"))); extern __typeof (gtk_window_fullscreen) IA__gtk_window_fullscreen __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_accept_focus) IA__gtk_window_get_accept_focus __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_decorated) IA__gtk_window_get_decorated __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_deletable) IA__gtk_window_get_deletable __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_default_icon_list) IA__gtk_window_get_default_icon_list __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_default_size) IA__gtk_window_get_default_size __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_destroy_with_parent) IA__gtk_window_get_destroy_with_parent __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_focus) IA__gtk_window_get_focus __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_focus_on_map) IA__gtk_window_get_focus_on_map __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_frame_dimensions) IA__gtk_window_get_frame_dimensions __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_gravity) IA__gtk_window_get_gravity __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_group) IA__gtk_window_get_group __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_has_frame) IA__gtk_window_get_has_frame __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_icon) IA__gtk_window_get_icon __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_icon_list) IA__gtk_window_get_icon_list __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_icon_name) IA__gtk_window_get_icon_name __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_mnemonic_modifier) IA__gtk_window_get_mnemonic_modifier __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_modal) IA__gtk_window_get_modal __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_position) IA__gtk_window_get_position __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_resizable) IA__gtk_window_get_resizable __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_role) IA__gtk_window_get_role __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_screen) IA__gtk_window_get_screen __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_size) IA__gtk_window_get_size __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_skip_pager_hint) IA__gtk_window_get_skip_pager_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_skip_taskbar_hint) IA__gtk_window_get_skip_taskbar_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_urgency_hint) IA__gtk_window_get_urgency_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_title) IA__gtk_window_get_title __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_transient_for) IA__gtk_window_get_transient_for __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_type) IA__gtk_window_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_window_get_type_hint) IA__gtk_window_get_type_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_group_add_window) IA__gtk_window_group_add_window __attribute((visibility("hidden"))); extern __typeof (gtk_window_group_get_type) IA__gtk_window_group_get_type __attribute((visibility("hidden"))) __attribute__((__const__)); extern __typeof (gtk_window_group_new) IA__gtk_window_group_new __attribute((visibility("hidden"))); extern __typeof (gtk_window_group_remove_window) IA__gtk_window_group_remove_window __attribute((visibility("hidden"))); extern __typeof (gtk_window_has_toplevel_focus) IA__gtk_window_has_toplevel_focus __attribute((visibility("hidden"))); extern __typeof (gtk_window_iconify) IA__gtk_window_iconify __attribute((visibility("hidden"))); extern __typeof (gtk_window_is_active) IA__gtk_window_is_active __attribute((visibility("hidden"))); extern __typeof (gtk_window_list_toplevels) IA__gtk_window_list_toplevels __attribute((visibility("hidden"))); extern __typeof (gtk_window_maximize) IA__gtk_window_maximize __attribute((visibility("hidden"))); extern __typeof (gtk_window_mnemonic_activate) IA__gtk_window_mnemonic_activate __attribute((visibility("hidden"))); extern __typeof (gtk_window_move) IA__gtk_window_move __attribute((visibility("hidden"))); extern __typeof (gtk_window_new) IA__gtk_window_new __attribute((visibility("hidden"))); extern __typeof (gtk_window_parse_geometry) IA__gtk_window_parse_geometry __attribute((visibility("hidden"))); extern __typeof (gtk_window_present) IA__gtk_window_present __attribute((visibility("hidden"))); extern __typeof (gtk_window_present_with_time) IA__gtk_window_present_with_time __attribute((visibility("hidden"))); extern __typeof (gtk_window_propagate_key_event) IA__gtk_window_propagate_key_event __attribute((visibility("hidden"))); extern __typeof (gtk_window_remove_accel_group) IA__gtk_window_remove_accel_group __attribute((visibility("hidden"))); extern __typeof (gtk_window_remove_embedded_xid) IA__gtk_window_remove_embedded_xid __attribute((visibility("hidden"))); extern __typeof (gtk_window_remove_mnemonic) IA__gtk_window_remove_mnemonic __attribute((visibility("hidden"))); extern __typeof (gtk_window_reshow_with_initial_size) IA__gtk_window_reshow_with_initial_size __attribute((visibility("hidden"))); extern __typeof (gtk_window_resize) IA__gtk_window_resize __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_accept_focus) IA__gtk_window_set_accept_focus __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_auto_startup_notification) IA__gtk_window_set_auto_startup_notification __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_decorated) IA__gtk_window_set_decorated __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_deletable) IA__gtk_window_set_deletable __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_default) IA__gtk_window_set_default __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_default_icon) IA__gtk_window_set_default_icon __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_default_icon_from_file) IA__gtk_window_set_default_icon_from_file __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_default_icon_list) IA__gtk_window_set_default_icon_list __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_default_icon_name) IA__gtk_window_set_default_icon_name __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_default_size) IA__gtk_window_set_default_size __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_destroy_with_parent) IA__gtk_window_set_destroy_with_parent __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_focus) IA__gtk_window_set_focus __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_focus_on_map) IA__gtk_window_set_focus_on_map __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_startup_id) IA__gtk_window_set_startup_id __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_frame_dimensions) IA__gtk_window_set_frame_dimensions __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_geometry_hints) IA__gtk_window_set_geometry_hints __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_gravity) IA__gtk_window_set_gravity __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_has_frame) IA__gtk_window_set_has_frame __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_icon) IA__gtk_window_set_icon __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_icon_from_file) IA__gtk_window_set_icon_from_file __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_icon_list) IA__gtk_window_set_icon_list __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_icon_name) IA__gtk_window_set_icon_name __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_keep_above) IA__gtk_window_set_keep_above __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_keep_below) IA__gtk_window_set_keep_below __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_mnemonic_modifier) IA__gtk_window_set_mnemonic_modifier __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_modal) IA__gtk_window_set_modal __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_opacity) IA__gtk_window_set_opacity __attribute((visibility("hidden"))); extern __typeof (gtk_window_get_opacity) IA__gtk_window_get_opacity __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_policy) IA__gtk_window_set_policy __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_position) IA__gtk_window_set_position __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_resizable) IA__gtk_window_set_resizable __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_role) IA__gtk_window_set_role __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_screen) IA__gtk_window_set_screen __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_skip_pager_hint) IA__gtk_window_set_skip_pager_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_skip_taskbar_hint) IA__gtk_window_set_skip_taskbar_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_urgency_hint) IA__gtk_window_set_urgency_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_title) IA__gtk_window_set_title __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_transient_for) IA__gtk_window_set_transient_for __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_type_hint) IA__gtk_window_set_type_hint __attribute((visibility("hidden"))); extern __typeof (gtk_window_set_wmclass) IA__gtk_window_set_wmclass __attribute((visibility("hidden"))); extern __typeof (gtk_window_stick) IA__gtk_window_stick __attribute((visibility("hidden"))); extern __typeof (gtk_window_unfullscreen) IA__gtk_window_unfullscreen __attribute((visibility("hidden"))); extern __typeof (gtk_window_unmaximize) IA__gtk_window_unmaximize __attribute((visibility("hidden"))); extern __typeof (gtk_window_unstick) IA__gtk_window_unstick __attribute((visibility("hidden"))); # 44 "gtknotebook.c" 2 enum { SWITCH_PAGE, FOCUS_TAB, SELECT_PAGE, CHANGE_CURRENT_PAGE, MOVE_FOCUS_OUT, REORDER_TAB, PAGE_REORDERED, PAGE_REMOVED, PAGE_ADDED, CREATE_WINDOW, LAST_SIGNAL }; enum { STEP_PREV, STEP_NEXT }; typedef enum { ARROW_NONE, ARROW_LEFT_BEFORE, ARROW_RIGHT_BEFORE, ARROW_LEFT_AFTER, ARROW_RIGHT_AFTER } GtkNotebookArrow; typedef enum { POINTER_BEFORE, POINTER_AFTER, POINTER_BETWEEN } GtkNotebookPointerPosition; typedef enum { DRAG_OPERATION_NONE, DRAG_OPERATION_REORDER, DRAG_OPERATION_DETACH } GtkNotebookDragOperation; enum { PROP_0, PROP_TAB_POS, PROP_SHOW_TABS, PROP_SHOW_BORDER, PROP_SCROLLABLE, PROP_TAB_BORDER, PROP_TAB_HBORDER, PROP_TAB_VBORDER, PROP_PAGE, PROP_ENABLE_POPUP, PROP_GROUP_ID, PROP_GROUP, PROP_HOMOGENEOUS }; enum { CHILD_PROP_0, CHILD_PROP_TAB_LABEL, CHILD_PROP_MENU_LABEL, CHILD_PROP_POSITION, CHILD_PROP_TAB_EXPAND, CHILD_PROP_TAB_FILL, CHILD_PROP_TAB_PACK, CHILD_PROP_REORDERABLE, CHILD_PROP_DETACHABLE }; # 135 "gtknotebook.c" struct _GtkNotebookPage { GtkWidget *child; GtkWidget *tab_label; GtkWidget *menu_label; GtkWidget *last_focus_child; guint default_menu : 1; guint default_tab : 1; guint expand : 1; guint fill : 1; guint pack : 1; guint reorderable : 1; guint detachable : 1; GtkRequisition requisition; GtkAllocation allocation; gulong mnemonic_activate_signal; gulong notify_visible_handler; }; typedef struct _GtkNotebookPrivate GtkNotebookPrivate; struct _GtkNotebookPrivate { gpointer group; gint mouse_x; gint mouse_y; gint pressed_button; guint dnd_timer; guint switch_tab_timer; gint drag_begin_x; gint drag_begin_y; gint drag_offset_x; gint drag_offset_y; GtkWidget *dnd_window; GtkTargetList *source_targets; GtkNotebookDragOperation operation; GdkWindow *drag_window; gint drag_window_x; gint drag_window_y; GtkNotebookPage *detached_tab; guint32 timestamp; guint during_reorder : 1; guint during_detach : 1; guint has_scrolled : 1; }; static const GtkTargetEntry notebook_targets [] = { { "GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, 0 }, }; # 204 "gtknotebook.c" static gboolean gtk_notebook_select_page (GtkNotebook *notebook, gboolean move_focus); static gboolean gtk_notebook_focus_tab (GtkNotebook *notebook, GtkNotebookTab type); static gboolean gtk_notebook_change_current_page (GtkNotebook *notebook, gint offset); static void gtk_notebook_move_focus_out (GtkNotebook *notebook, GtkDirectionType direction_type); static gboolean gtk_notebook_reorder_tab (GtkNotebook *notebook, GtkDirectionType direction_type, gboolean move_to_last); static void gtk_notebook_remove_tab_label (GtkNotebook *notebook, GtkNotebookPage *page); static void gtk_notebook_destroy (GtkObject *object); static void gtk_notebook_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gtk_notebook_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gtk_notebook_map (GtkWidget *widget); static void gtk_notebook_unmap (GtkWidget *widget); static void gtk_notebook_realize (GtkWidget *widget); static void gtk_notebook_unrealize (GtkWidget *widget); static void gtk_notebook_size_request (GtkWidget *widget, GtkRequisition *requisition); static void gtk_notebook_size_allocate (GtkWidget *widget, GtkAllocation *allocation); static gint gtk_notebook_expose (GtkWidget *widget, GdkEventExpose *event); static gboolean gtk_notebook_scroll (GtkWidget *widget, GdkEventScroll *event); static gint gtk_notebook_button_press (GtkWidget *widget, GdkEventButton *event); static gint gtk_notebook_button_release (GtkWidget *widget, GdkEventButton *event); static gboolean gtk_notebook_popup_menu (GtkWidget *widget); static gint gtk_notebook_leave_notify (GtkWidget *widget, GdkEventCrossing *event); static gint gtk_notebook_motion_notify (GtkWidget *widget, GdkEventMotion *event); static gint gtk_notebook_focus_in (GtkWidget *widget, GdkEventFocus *event); static gint gtk_notebook_focus_out (GtkWidget *widget, GdkEventFocus *event); static void gtk_notebook_grab_notify (GtkWidget *widget, gboolean was_grabbed); static void gtk_notebook_state_changed (GtkWidget *widget, GtkStateType previous_state); static void gtk_notebook_draw_focus (GtkWidget *widget, GdkEventExpose *event); static gint gtk_notebook_focus (GtkWidget *widget, GtkDirectionType direction); static void gtk_notebook_style_set (GtkWidget *widget, GtkStyle *previous); static void gtk_notebook_drag_begin (GtkWidget *widget, GdkDragContext *context); static void gtk_notebook_drag_end (GtkWidget *widget, GdkDragContext *context); static gboolean gtk_notebook_drag_failed (GtkWidget *widget, GdkDragContext *context, GtkDragResult result, gpointer data); static gboolean gtk_notebook_drag_motion (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time); static void gtk_notebook_drag_leave (GtkWidget *widget, GdkDragContext *context, guint time); static gboolean gtk_notebook_drag_drop (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time); static void gtk_notebook_drag_data_get (GtkWidget *widget, GdkDragContext *context, GtkSelectionData *data, guint info, guint time); static void gtk_notebook_drag_data_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *data, guint info, guint time); static void gtk_notebook_set_child_property (GtkContainer *container, GtkWidget *child, guint property_id, const GValue *value, GParamSpec *pspec); static void gtk_notebook_get_child_property (GtkContainer *container, GtkWidget *child, guint property_id, GValue *value, GParamSpec *pspec); static void gtk_notebook_add (GtkContainer *container, GtkWidget *widget); static void gtk_notebook_remove (GtkContainer *container, GtkWidget *widget); static void gtk_notebook_set_focus_child (GtkContainer *container, GtkWidget *child); static GType gtk_notebook_child_type (GtkContainer *container); static void gtk_notebook_forall (GtkContainer *container, gboolean include_internals, GtkCallback callback, gpointer callback_data); static gint gtk_notebook_real_insert_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position); static GtkNotebook *gtk_notebook_create_window (GtkNotebook *notebook, GtkWidget *page, gint x, gint y); static void gtk_notebook_redraw_tabs (GtkNotebook *notebook); static void gtk_notebook_redraw_arrows (GtkNotebook *notebook); static void gtk_notebook_real_remove (GtkNotebook *notebook, GList *list); static void gtk_notebook_update_labels (GtkNotebook *notebook); static gint gtk_notebook_timer (GtkNotebook *notebook); static void gtk_notebook_set_scroll_timer (GtkNotebook *notebook); static gint gtk_notebook_page_compare (gconstpointer a, gconstpointer b); static GList* gtk_notebook_find_child (GtkNotebook *notebook, GtkWidget *child, const gchar *function); static gint gtk_notebook_real_page_position (GtkNotebook *notebook, GList *list); static GList * gtk_notebook_search_page (GtkNotebook *notebook, GList *list, gint direction, gboolean find_visible); static void gtk_notebook_child_reordered (GtkNotebook *notebook, GtkNotebookPage *page); static void gtk_notebook_paint (GtkWidget *widget, GdkRectangle *area); static void gtk_notebook_draw_tab (GtkNotebook *notebook, GtkNotebookPage *page, GdkRectangle *area); static void gtk_notebook_draw_arrow (GtkNotebook *notebook, GtkNotebookArrow arrow); static void gtk_notebook_pages_allocate (GtkNotebook *notebook); static void gtk_notebook_page_allocate (GtkNotebook *notebook, GtkNotebookPage *page); static void gtk_notebook_calc_tabs (GtkNotebook *notebook, GList *start, GList **end, gint *tab_space, guint direction); static void gtk_notebook_real_switch_page (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num); static void gtk_notebook_switch_page (GtkNotebook *notebook, GtkNotebookPage *page); static gint gtk_notebook_page_select (GtkNotebook *notebook, gboolean move_focus); static void gtk_notebook_switch_focus_tab (GtkNotebook *notebook, GList *new_child); static void gtk_notebook_menu_switch_page (GtkWidget *widget, GtkNotebookPage *page); static void gtk_notebook_menu_item_create (GtkNotebook *notebook, GList *list); static void gtk_notebook_menu_label_unparent (GtkWidget *widget, gpointer data); static void gtk_notebook_menu_detacher (GtkWidget *widget, GtkMenu *menu); static void gtk_notebook_set_homogeneous_tabs_internal (GtkNotebook *notebook, gboolean homogeneous); static void gtk_notebook_set_tab_border_internal (GtkNotebook *notebook, guint border_width); static void gtk_notebook_set_tab_hborder_internal (GtkNotebook *notebook, guint tab_hborder); static void gtk_notebook_set_tab_vborder_internal (GtkNotebook *notebook, guint tab_vborder); static void gtk_notebook_update_tab_states (GtkNotebook *notebook); static gboolean gtk_notebook_mnemonic_activate_switch_page (GtkWidget *child, gboolean overload, gpointer data); static gboolean focus_tabs_in (GtkNotebook *notebook); static gboolean focus_child_in (GtkNotebook *notebook, GtkDirectionType direction); static void stop_scrolling (GtkNotebook *notebook); static void do_detach_tab (GtkNotebook *from, GtkNotebook *to, GtkWidget *child, gint x, gint y); static void gtk_notebook_buildable_init (GtkBuildableIface *iface); static void gtk_notebook_buildable_add_child (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *type); static GtkNotebookWindowCreationFunc window_creation_hook = ((void *)0); static gpointer window_creation_hook_data; static GDestroyNotify window_creation_hook_destroy = ((void *)0); static guint notebook_signals[LAST_SIGNAL] = { 0 }; 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; } static void add_tab_bindings (GtkBindingSet *binding_set, GdkModifierType modifiers, GtkDirectionType direction) { IA__gtk_binding_entry_add_signal (binding_set, 0xff09, modifiers, "move_focus_out", 1, (IA__gtk_direction_type_get_type()), direction); IA__gtk_binding_entry_add_signal (binding_set, 0xff89, modifiers, "move_focus_out", 1, (IA__gtk_direction_type_get_type()), direction); } static void add_arrow_bindings (GtkBindingSet *binding_set, guint keysym, GtkDirectionType direction) { guint keypad_keysym = keysym - 0xff51 + 0xff96; IA__gtk_binding_entry_add_signal (binding_set, keysym, GDK_CONTROL_MASK, "move_focus_out", 1, (IA__gtk_direction_type_get_type()), direction); IA__gtk_binding_entry_add_signal (binding_set, keypad_keysym, GDK_CONTROL_MASK, "move_focus_out", 1, (IA__gtk_direction_type_get_type()), direction); } static void add_reorder_bindings (GtkBindingSet *binding_set, guint keysym, GtkDirectionType direction, gboolean move_to_last) { guint keypad_keysym = keysym - 0xff51 + 0xff96; IA__gtk_binding_entry_add_signal (binding_set, keysym, GDK_MOD1_MASK, "reorder_tab", 2, (IA__gtk_direction_type_get_type()), direction, ((GType) ((5) << (2))), move_to_last); IA__gtk_binding_entry_add_signal (binding_set, keypad_keysym, GDK_MOD1_MASK, "reorder_tab", 2, (IA__gtk_direction_type_get_type()), direction, ((GType) ((5) << (2))), move_to_last); } static gboolean gtk_object_handled_accumulator (GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer dummy) { gboolean continue_emission; GObject *object; object = g_value_get_object (handler_return); g_value_set_object (return_accu, object); continue_emission = !object; return continue_emission; } static void gtk_notebook_class_init (GtkNotebookClass *class) { GObjectClass *gobject_class = ((((GObjectClass*) ((class))))); GtkObjectClass *object_class = ((((GtkObjectClass*) ((class))))); GtkWidgetClass *widget_class = ((((GtkWidgetClass*) ((class))))); GtkContainerClass *container_class = ((((GtkContainerClass*) ((class))))); GtkBindingSet *binding_set; gobject_class->set_property = gtk_notebook_set_property; gobject_class->get_property = gtk_notebook_get_property; object_class->destroy = gtk_notebook_destroy; widget_class->map = gtk_notebook_map; widget_class->unmap = gtk_notebook_unmap; widget_class->realize = gtk_notebook_realize; widget_class->unrealize = gtk_notebook_unrealize; widget_class->size_request = gtk_notebook_size_request; widget_class->size_allocate = gtk_notebook_size_allocate; widget_class->expose_event = gtk_notebook_expose; widget_class->scroll_event = gtk_notebook_scroll; widget_class->button_press_event = gtk_notebook_button_press; widget_class->button_release_event = gtk_notebook_button_release; widget_class->popup_menu = gtk_notebook_popup_menu; widget_class->leave_notify_event = gtk_notebook_leave_notify; widget_class->motion_notify_event = gtk_notebook_motion_notify; widget_class->grab_notify = gtk_notebook_grab_notify; widget_class->state_changed = gtk_notebook_state_changed; widget_class->focus_in_event = gtk_notebook_focus_in; widget_class->focus_out_event = gtk_notebook_focus_out; widget_class->focus = gtk_notebook_focus; widget_class->style_set = gtk_notebook_style_set; widget_class->drag_begin = gtk_notebook_drag_begin; widget_class->drag_end = gtk_notebook_drag_end; widget_class->drag_motion = gtk_notebook_drag_motion; widget_class->drag_leave = gtk_notebook_drag_leave; widget_class->drag_drop = gtk_notebook_drag_drop; widget_class->drag_data_get = gtk_notebook_drag_data_get; widget_class->drag_data_received = gtk_notebook_drag_data_received; container_class->add = gtk_notebook_add; container_class->remove = gtk_notebook_remove; container_class->forall = gtk_notebook_forall; container_class->set_focus_child = gtk_notebook_set_focus_child; container_class->get_child_property = gtk_notebook_get_child_property; container_class->set_child_property = gtk_notebook_set_child_property; container_class->child_type = gtk_notebook_child_type; class->switch_page = gtk_notebook_real_switch_page; class->insert_page = gtk_notebook_real_insert_page; class->focus_tab = gtk_notebook_focus_tab; class->select_page = gtk_notebook_select_page; class->change_current_page = gtk_notebook_change_current_page; class->move_focus_out = gtk_notebook_move_focus_out; class->reorder_tab = gtk_notebook_reorder_tab; class->create_window = gtk_notebook_create_window; g_object_class_install_property (gobject_class, PROP_PAGE, g_param_spec_int ("page", dcgettext ("gtk20" "-properties", "Page", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "The index of the current page", __LC_MESSAGES), 0, 2147483647, 0, (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_TAB_POS, g_param_spec_enum ("tab-pos", dcgettext ("gtk20" "-properties", "Tab Position", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Which side of the notebook holds the tabs", __LC_MESSAGES), (IA__gtk_position_type_get_type()), GTK_POS_TOP, (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_TAB_BORDER, g_param_spec_uint ("tab-border", dcgettext ("gtk20" "-properties", "Tab Border", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Width of the border around the tab labels", __LC_MESSAGES), 0, (2147483647 * 2U + 1U), 2, G_PARAM_WRITABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_TAB_HBORDER, g_param_spec_uint ("tab-hborder", dcgettext ("gtk20" "-properties", "Horizontal Tab Border", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Width of the horizontal border of tab labels", __LC_MESSAGES), 0, (2147483647 * 2U + 1U), 2, (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_TAB_VBORDER, g_param_spec_uint ("tab-vborder", dcgettext ("gtk20" "-properties", "Vertical Tab Border", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Width of the vertical border of tab labels", __LC_MESSAGES), 0, (2147483647 * 2U + 1U), 2, (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_SHOW_TABS, g_param_spec_boolean ("show-tabs", dcgettext ("gtk20" "-properties", "Show Tabs", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Whether tabs should be shown or not", __LC_MESSAGES), (!(0)), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_SHOW_BORDER, g_param_spec_boolean ("show-border", dcgettext ("gtk20" "-properties", "Show Border", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Whether the border should be shown or not", __LC_MESSAGES), (!(0)), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_SCROLLABLE, g_param_spec_boolean ("scrollable", dcgettext ("gtk20" "-properties", "Scrollable", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "If TRUE, scroll arrows are added if there are too many tabs to fit", __LC_MESSAGES), (0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_ENABLE_POPUP, g_param_spec_boolean ("enable-popup", dcgettext ("gtk20" "-properties", "Enable Popup", __LC_MESSAGES), 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), (0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, g_param_spec_boolean ("homogeneous", dcgettext ("gtk20" "-properties", "Homogeneous", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Whether tabs should have homogeneous sizes", __LC_MESSAGES), (0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); g_object_class_install_property (gobject_class, PROP_GROUP_ID, g_param_spec_int ("group-id", dcgettext ("gtk20" "-properties", "Group ID", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Group ID for tabs drag and drop", __LC_MESSAGES), -1, 2147483647, -1, (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 659 "gtknotebook.c" g_object_class_install_property (gobject_class, PROP_GROUP, g_param_spec_pointer ("group", dcgettext ("gtk20" "-properties", "Group", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Group for tabs drag and drop", __LC_MESSAGES), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_LABEL, g_param_spec_string ("tab-label", dcgettext ("gtk20" "-properties", "Tab label", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "The string displayed on the child's tab label", __LC_MESSAGES), ((void *)0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_MENU_LABEL, g_param_spec_string ("menu-label", dcgettext ("gtk20" "-properties", "Menu label", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "The string displayed in the child's menu entry", __LC_MESSAGES), ((void *)0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_POSITION, g_param_spec_int ("position", dcgettext ("gtk20" "-properties", "Position", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "The index of the child in the parent", __LC_MESSAGES), -1, 2147483647, 0, (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_EXPAND, g_param_spec_boolean ("tab-expand", dcgettext ("gtk20" "-properties", "Tab expand", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Whether to expand the child's tab or not", __LC_MESSAGES), (0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_FILL, g_param_spec_boolean ("tab-fill", dcgettext ("gtk20" "-properties", "Tab fill", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Whether the child's tab should fill the allocated area or not", __LC_MESSAGES), (!(0)), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_PACK, g_param_spec_enum ("tab-pack", dcgettext ("gtk20" "-properties", "Tab pack type", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "A GtkPackType indicating whether the child is packed with reference to the start or end of the parent", __LC_MESSAGES), (IA__gtk_pack_type_get_type()), GTK_PACK_START, (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_REORDERABLE, g_param_spec_boolean ("reorderable", dcgettext ("gtk20" "-properties", "Tab reorderable", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Whether the tab is reorderable by user action or not", __LC_MESSAGES), (0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); IA__gtk_container_class_install_child_property (container_class, CHILD_PROP_DETACHABLE, g_param_spec_boolean ("detachable", dcgettext ("gtk20" "-properties", "Tab detachable", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Whether the tab is detachable", __LC_MESSAGES), (0), (G_PARAM_READABLE | G_PARAM_WRITABLE)|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 732 "gtknotebook.c" IA__gtk_widget_class_install_style_property (widget_class, g_param_spec_boolean ("has-secondary-backward-stepper", dcgettext ("gtk20" "-properties", "Secondary backward stepper", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Display a second backward arrow button on the opposite end of the tab area", __LC_MESSAGES), (0), G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 748 "gtknotebook.c" IA__gtk_widget_class_install_style_property (widget_class, g_param_spec_boolean ("has-secondary-forward-stepper", dcgettext ("gtk20" "-properties", "Secondary forward stepper", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Display a second forward arrow button on the opposite end of the tab area", __LC_MESSAGES), (0), G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 763 "gtknotebook.c" IA__gtk_widget_class_install_style_property (widget_class, g_param_spec_boolean ("has-backward-stepper", dcgettext ("gtk20" "-properties", "Backward stepper", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Display the standard backward arrow button", __LC_MESSAGES), (!(0)), G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 778 "gtknotebook.c" IA__gtk_widget_class_install_style_property (widget_class, g_param_spec_boolean ("has-forward-stepper", dcgettext ("gtk20" "-properties", "Forward stepper", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Display the standard forward arrow button", __LC_MESSAGES), (!(0)), G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 793 "gtknotebook.c" IA__gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("tab-overlap", dcgettext ("gtk20" "-properties", "Tab overlap", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Size of tab overlap area", __LC_MESSAGES), (-2147483647 - 1), 2147483647, 2, G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 809 "gtknotebook.c" IA__gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("tab-curvature", dcgettext ("gtk20" "-properties", "Tab curvature", __LC_MESSAGES), dcgettext ("gtk20" "-properties", "Size of tab curvature", __LC_MESSAGES), 0, 2147483647, 1, G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); # 826 "gtknotebook.c" IA__gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("arrow-spacing", dcgettext ("gtk20", "Arrow spacing", __LC_MESSAGES), dcgettext ("gtk20", "Scroll arrow spacing", __LC_MESSAGES), 0, 2147483647, 0, G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); notebook_signals[SWITCH_PAGE] = g_signal_new (g_intern_static_string ("switch_page"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST, ((glong) ((guint8*) &((GtkNotebookClass*) 0)->switch_page)), ((void *)0), ((void *)0), _gtk_marshal_VOID__POINTER_UINT, ((GType) ((1) << (2))), 2, ((GType) ((17) << (2))), ((GType) ((7) << (2)))); notebook_signals[FOCUS_TAB] = g_signal_new (g_intern_static_string ("focus_tab"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, ((glong) ((guint8*) &((GtkNotebookClass*) 0)->focus_tab)), ((void *)0), ((void *)0), _gtk_marshal_BOOLEAN__ENUM, ((GType) ((5) << (2))), 1, (IA__gtk_notebook_tab_get_type())); notebook_signals[SELECT_PAGE] = g_signal_new (g_intern_static_string ("select_page"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, ((glong) ((guint8*) &((GtkNotebookClass*) 0)->select_page)), ((void *)0), ((void *)0), _gtk_marshal_BOOLEAN__BOOLEAN, ((GType) ((5) << (2))), 1, ((GType) ((5) << (2)))); notebook_signals[CHANGE_CURRENT_PAGE] = g_signal_new (g_intern_static_string ("change_current_page"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, ((glong) ((guint8*) &((GtkNotebookClass*) 0)->change_current_page)), ((void *)0), ((void *)0), _gtk_marshal_BOOLEAN__INT, ((GType) ((5) << (2))), 1, ((GType) ((6) << (2)))); notebook_signals[MOVE_FOCUS_OUT] = g_signal_new (g_intern_static_string ("move_focus_out"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, ((glong) ((guint8*) &((GtkNotebookClass*) 0)->move_focus_out)), ((void *)0), ((void *)0), g_cclosure_marshal_VOID__ENUM, ((GType) ((1) << (2))), 1, (IA__gtk_direction_type_get_type())); notebook_signals[REORDER_TAB] = g_signal_new (g_intern_static_string ("reorder_tab"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, ((glong) ((guint8*) &((GtkNotebookClass*) 0)->reorder_tab)), ((void *)0), ((void *)0), _gtk_marshal_BOOLEAN__ENUM_BOOLEAN, ((GType) ((5) << (2))), 2, (IA__gtk_direction_type_get_type()), ((GType) ((5) << (2)))); # 902 "gtknotebook.c" notebook_signals[PAGE_REORDERED] = g_signal_new (g_intern_static_string ("page_reordered"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST, 0, ((void *)0), ((void *)0), _gtk_marshal_VOID__OBJECT_UINT, ((GType) ((1) << (2))), 2, (IA__gtk_widget_get_type ()), ((GType) ((7) << (2)))); # 922 "gtknotebook.c" notebook_signals[PAGE_REMOVED] = g_signal_new (g_intern_static_string ("page_removed"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST, 0, ((void *)0), ((void *)0), _gtk_marshal_VOID__OBJECT_UINT, ((GType) ((1) << (2))), 2, (IA__gtk_widget_get_type ()), ((GType) ((7) << (2)))); # 942 "gtknotebook.c" notebook_signals[PAGE_ADDED] = g_signal_new (g_intern_static_string ("page_added"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST, 0, ((void *)0), ((void *)0), _gtk_marshal_VOID__OBJECT_UINT, ((GType) ((1) << (2))), 2, (IA__gtk_widget_get_type ()), ((GType) ((7) << (2)))); # 975 "gtknotebook.c" notebook_signals[CREATE_WINDOW] = g_signal_new (g_intern_static_string ("create_window"), (((GTypeClass*) (gobject_class))->g_type), G_SIGNAL_RUN_LAST, ((glong) ((guint8*) &((GtkNotebookClass*) 0)->create_window)), gtk_object_handled_accumulator, ((void *)0), _gtk_marshal_OBJECT__OBJECT_INT_INT, (IA__gtk_notebook_get_type ()), 3, (IA__gtk_widget_get_type ()), ((GType) ((6) << (2))), ((GType) ((6) << (2)))); binding_set = IA__gtk_binding_set_by_class (class); IA__gtk_binding_entry_add_signal (binding_set, 0x020, 0, "select_page", 1, ((GType) ((5) << (2))), (0)); IA__gtk_binding_entry_add_signal (binding_set, 0xff80, 0, "select_page", 1, ((GType) ((5) << (2))), (0)); IA__gtk_binding_entry_add_signal (binding_set, 0xff50, 0, "focus_tab", 1, (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_FIRST); IA__gtk_binding_entry_add_signal (binding_set, 0xff95, 0, "focus_tab", 1, (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_FIRST); IA__gtk_binding_entry_add_signal (binding_set, 0xff57, 0, "focus_tab", 1, (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_LAST); IA__gtk_binding_entry_add_signal (binding_set, 0xff9c, 0, "focus_tab", 1, (IA__gtk_notebook_tab_get_type()), GTK_NOTEBOOK_TAB_LAST); IA__gtk_binding_entry_add_signal (binding_set, 0xff55, GDK_CONTROL_MASK, "change_current_page", 1, ((GType) ((6) << (2))), -1); IA__gtk_binding_entry_add_signal (binding_set, 0xff56, GDK_CONTROL_MASK, "change_current_page", 1, ((GType) ((6) << (2))), 1); IA__gtk_binding_entry_add_signal (binding_set, 0xff55, GDK_CONTROL_MASK | GDK_MOD1_MASK, "change_current_page", 1, ((GType) ((6) << (2))), -1); IA__gtk_binding_entry_add_signal (binding_set, 0xff56, GDK_CONTROL_MASK | GDK_MOD1_MASK, "change_current_page", 1, ((GType) ((6) << (2))), 1); add_arrow_bindings (binding_set, 0xff52, GTK_DIR_UP); add_arrow_bindings (binding_set, 0xff54, GTK_DIR_DOWN); add_arrow_bindings (binding_set, 0xff51, GTK_DIR_LEFT); add_arrow_bindings (binding_set, 0xff53, GTK_DIR_RIGHT); add_reorder_bindings (binding_set, 0xff52, GTK_DIR_UP, (0)); add_reorder_bindings (binding_set, 0xff54, GTK_DIR_DOWN, (0)); add_reorder_bindings (binding_set, 0xff51, GTK_DIR_LEFT, (0)); add_reorder_bindings (binding_set, 0xff53, GTK_DIR_RIGHT, (0)); add_reorder_bindings (binding_set, 0xff50, GTK_DIR_LEFT, (!(0))); add_reorder_bindings (binding_set, 0xff50, GTK_DIR_UP, (!(0))); add_reorder_bindings (binding_set, 0xff57, GTK_DIR_RIGHT, (!(0))); add_reorder_bindings (binding_set, 0xff57, GTK_DIR_DOWN, (!(0))); add_tab_bindings (binding_set, GDK_CONTROL_MASK, GTK_DIR_TAB_FORWARD); add_tab_bindings (binding_set, GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_DIR_TAB_BACKWARD); g_type_class_add_private (class, sizeof (GtkNotebookPrivate)); } static void gtk_notebook_init (GtkNotebook *notebook) { GtkNotebookPrivate *priv; (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_CAN_FOCUS)); }); (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_NO_WINDOW)); }); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); notebook->cur_page = ((void *)0); notebook->children = ((void *)0); notebook->first_tab = ((void *)0); notebook->focus_tab = ((void *)0); notebook->event_window = ((void *)0); notebook->menu = ((void *)0); notebook->tab_hborder = 2; notebook->tab_vborder = 2; notebook->show_tabs = (!(0)); notebook->show_border = (!(0)); notebook->tab_pos = GTK_POS_TOP; notebook->scrollable = (0); notebook->in_child = 0; notebook->click_child = 0; notebook->button = 0; notebook->need_timer = 0; notebook->child_has_focus = (0); notebook->have_visible_child = (0); notebook->focus_out = (0); notebook->has_before_previous = 1; notebook->has_before_next = 0; notebook->has_after_previous = 0; notebook->has_after_next = 1; priv->group = ((void *)0); priv->pressed_button = -1; priv->dnd_timer = 0; priv->switch_tab_timer = 0; priv->source_targets = IA__gtk_target_list_new (notebook_targets, (sizeof (notebook_targets) / sizeof ((notebook_targets)[0]))); priv->operation = DRAG_OPERATION_NONE; priv->detached_tab = ((void *)0); priv->during_detach = (0); priv->has_scrolled = (0); IA__gtk_drag_dest_set (((((GtkWidget*) ((notebook))))), 0, notebook_targets, (sizeof (notebook_targets) / sizeof ((notebook_targets)[0])), GDK_ACTION_MOVE); g_signal_connect_data ((((((GObject*) ((notebook)))))), ("drag-failed"), (((GCallback) (gtk_notebook_drag_failed))), (((void *)0)), ((void *)0), (GConnectFlags) 0); IA__gtk_drag_dest_set_track_motion (((((GtkWidget*) ((notebook))))), (!(0))); } static void gtk_notebook_buildable_init (GtkBuildableIface *iface) { iface->add_child = gtk_notebook_buildable_add_child; } static void gtk_notebook_buildable_add_child (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *type) { GtkNotebook *notebook = ((((GtkNotebook*) ((buildable))))); 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) { GtkWidget * page; page = IA__gtk_notebook_get_nth_page (notebook, -1); (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"); }); IA__gtk_notebook_set_tab_label (notebook, page, ((((GtkWidget*) ((child)))))); } else if (!type) IA__gtk_notebook_append_page (notebook, ((((GtkWidget*) ((child))))), ((void *)0)); else 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))))); } static gboolean gtk_notebook_select_page (GtkNotebook *notebook, gboolean move_focus) { if (IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) && notebook->show_tabs) { gtk_notebook_page_select (notebook, move_focus); return (!(0)); } else return (0); } static gboolean gtk_notebook_focus_tab (GtkNotebook *notebook, GtkNotebookTab type) { GList *list; if (IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) && notebook->show_tabs) { switch (type) { case GTK_NOTEBOOK_TAB_FIRST: list = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (!(0))); if (list) gtk_notebook_switch_focus_tab (notebook, list); break; case GTK_NOTEBOOK_TAB_LAST: list = gtk_notebook_search_page (notebook, ((void *)0), STEP_PREV, (!(0))); if (list) gtk_notebook_switch_focus_tab (notebook, list); break; } return (!(0)); } else return (0); } static gboolean gtk_notebook_change_current_page (GtkNotebook *notebook, gint offset) { GList *current = ((void *)0); if (!notebook->show_tabs) return (0); if (notebook->cur_page) current = g_list_find (notebook->children, notebook->cur_page); while (offset != 0) { current = gtk_notebook_search_page (notebook, current, offset < 0 ? STEP_PREV : STEP_NEXT, (!(0))); if (!current) { gboolean wrap_around; g_object_get (IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook)))))), "gtk-keynav-wrap-around", &wrap_around, ((void *)0)); if (wrap_around) current = gtk_notebook_search_page (notebook, ((void *)0), offset < 0 ? STEP_PREV : STEP_NEXT, (!(0))); else break; } offset += offset < 0 ? 1 : -1; } if (current) gtk_notebook_switch_page (notebook, current->data); else IA__gtk_widget_error_bell (((((GtkWidget*) ((notebook)))))); return (!(0)); } static GtkDirectionType get_effective_direction (GtkNotebook *notebook, GtkDirectionType direction) { static const GtkDirectionType translate_direction[2][4][6] = { {{ GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_UP, GTK_DIR_DOWN }, { GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_DOWN, GTK_DIR_UP }, { GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_UP, GTK_DIR_DOWN, GTK_DIR_LEFT, GTK_DIR_RIGHT }, { GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_DOWN, GTK_DIR_UP, GTK_DIR_LEFT, GTK_DIR_RIGHT }}, {{ GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_DOWN, GTK_DIR_UP }, { GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_LEFT, GTK_DIR_RIGHT, GTK_DIR_UP, GTK_DIR_DOWN }, { GTK_DIR_TAB_FORWARD, GTK_DIR_TAB_BACKWARD, GTK_DIR_UP, GTK_DIR_DOWN, GTK_DIR_RIGHT, GTK_DIR_LEFT }, { GTK_DIR_TAB_BACKWARD, GTK_DIR_TAB_FORWARD, GTK_DIR_DOWN, GTK_DIR_UP, GTK_DIR_RIGHT, GTK_DIR_LEFT }}, }; int text_dir = IA__gtk_widget_get_direction (((((GtkWidget*) ((notebook)))))) == GTK_TEXT_DIR_RTL ? 1 : 0; return translate_direction[text_dir][notebook->tab_pos][direction]; } static gint get_effective_tab_pos (GtkNotebook *notebook) { if (IA__gtk_widget_get_direction (((((GtkWidget*) ((notebook)))))) == GTK_TEXT_DIR_RTL) { switch (notebook->tab_pos) { case GTK_POS_LEFT: return GTK_POS_RIGHT; case GTK_POS_RIGHT: return GTK_POS_LEFT; default: ; } } return notebook->tab_pos; } static gint get_tab_gap_pos (GtkNotebook *notebook) { gint tab_pos = get_effective_tab_pos (notebook); gint gap_side = GTK_POS_BOTTOM; switch (tab_pos) { case GTK_POS_TOP: gap_side = GTK_POS_BOTTOM; break; case GTK_POS_BOTTOM: gap_side = GTK_POS_TOP; break; case GTK_POS_LEFT: gap_side = GTK_POS_RIGHT; break; case GTK_POS_RIGHT: gap_side = GTK_POS_LEFT; break; } return gap_side; } static void gtk_notebook_move_focus_out (GtkNotebook *notebook, GtkDirectionType direction_type) { GtkDirectionType effective_direction = get_effective_direction (notebook, direction_type); GtkWidget *toplevel; if (((((GtkContainer*) ((notebook)))))->focus_child && effective_direction == GTK_DIR_UP) if (focus_tabs_in (notebook)) return; if (IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) && effective_direction == GTK_DIR_DOWN) if (focus_child_in (notebook, GTK_DIR_TAB_FORWARD)) return; toplevel = IA__gtk_widget_get_toplevel (((((GtkWidget*) ((notebook)))))); if (!((((((((GtkObject*) ((toplevel)))))->flags)) & GTK_TOPLEVEL) != 0)) return; g_object_ref (notebook); notebook->focus_out = (!(0)); g_signal_emit_by_name (toplevel, "move_focus", direction_type); notebook->focus_out = (0); g_object_unref (notebook); } static gint reorder_tab (GtkNotebook *notebook, GList *position, GList *tab) { GList *elem; if (position == tab) return g_list_position (notebook->children, tab); elem = (position) ? position->prev : g_list_last (notebook->children); while (elem && elem != tab && ((GtkNotebookPage *)((GList *)(elem))->data)->pack != ((GtkNotebookPage *)((GList *)(tab))->data)->pack) elem = elem->prev; if (elem == tab) return g_list_position (notebook->children, tab); if (notebook->first_tab == tab) notebook->first_tab = gtk_notebook_search_page (notebook, notebook->first_tab, STEP_NEXT, (!(0))); notebook->children = g_list_remove_link (notebook->children, tab); if (!position) elem = g_list_last (notebook->children); else { elem = position->prev; position->prev = tab; } if (elem) elem->next = tab; else notebook->children = tab; tab->prev = elem; tab->next = position; return g_list_position (notebook->children, tab); } static gboolean gtk_notebook_reorder_tab (GtkNotebook *notebook, GtkDirectionType direction_type, gboolean move_to_last) { GtkDirectionType effective_direction = get_effective_direction (notebook, direction_type); GtkNotebookPage *page; GList *last, *child; gint page_num; if (!IA__gtk_widget_is_focus (((((GtkWidget*) ((notebook)))))) || !notebook->show_tabs) return (0); if (!notebook->cur_page || !notebook->cur_page->reorderable) return (0); if (effective_direction != GTK_DIR_LEFT && effective_direction != GTK_DIR_RIGHT) return (0); if (move_to_last) { child = notebook->focus_tab; do { last = child; child = gtk_notebook_search_page (notebook, last, (effective_direction == GTK_DIR_RIGHT) ? STEP_NEXT : STEP_PREV, (!(0))); } while (child && ((GtkNotebookPage *)((GList *)(last))->data)->pack == ((GtkNotebookPage *)((GList *)(child))->data)->pack); child = last; } else child = gtk_notebook_search_page (notebook, notebook->focus_tab, (effective_direction == GTK_DIR_RIGHT) ? STEP_NEXT : STEP_PREV, (!(0))); if (!child || child->data == notebook->cur_page) return (0); page = child->data; if (page->pack == notebook->cur_page->pack) { if (effective_direction == GTK_DIR_RIGHT) page_num = reorder_tab (notebook, (page->pack == GTK_PACK_START) ? child->next : child, notebook->focus_tab); else page_num = reorder_tab (notebook, (page->pack == GTK_PACK_START) ? child : child->next, notebook->focus_tab); gtk_notebook_pages_allocate (notebook); g_signal_emit (notebook, notebook_signals[PAGE_REORDERED], 0, ((GtkNotebookPage *) notebook->focus_tab->data)->child, page_num); return (!(0)); } return (0); } # 1443 "gtknotebook.c" GtkWidget* IA__gtk_notebook_new (void) { return g_object_new ((IA__gtk_notebook_get_type ()), ((void *)0)); } static void gtk_notebook_destroy (GtkObject *object) { GtkNotebook *notebook = ((((GtkNotebook*) ((object))))); GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); if (notebook->menu) IA__gtk_notebook_popup_disable (notebook); if (priv->source_targets) { IA__gtk_target_list_unref (priv->source_targets); priv->source_targets = ((void *)0); } if (priv->switch_tab_timer) { g_source_remove (priv->switch_tab_timer); priv->switch_tab_timer = 0; } ((((GtkObjectClass*) ((gtk_notebook_parent_class)))))->destroy (object); } static void gtk_notebook_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GtkNotebook *notebook; notebook = ((((GtkNotebook*) ((object))))); switch (prop_id) { case PROP_SHOW_TABS: IA__gtk_notebook_set_show_tabs (notebook, g_value_get_boolean (value)); break; case PROP_SHOW_BORDER: IA__gtk_notebook_set_show_border (notebook, g_value_get_boolean (value)); break; case PROP_SCROLLABLE: IA__gtk_notebook_set_scrollable (notebook, g_value_get_boolean (value)); break; case PROP_ENABLE_POPUP: if (g_value_get_boolean (value)) IA__gtk_notebook_popup_enable (notebook); else IA__gtk_notebook_popup_disable (notebook); break; case PROP_HOMOGENEOUS: gtk_notebook_set_homogeneous_tabs_internal (notebook, g_value_get_boolean (value)); break; case PROP_PAGE: IA__gtk_notebook_set_current_page (notebook, g_value_get_int (value)); break; case PROP_TAB_POS: IA__gtk_notebook_set_tab_pos (notebook, g_value_get_enum (value)); break; case PROP_TAB_BORDER: gtk_notebook_set_tab_border_internal (notebook, g_value_get_uint (value)); break; case PROP_TAB_HBORDER: gtk_notebook_set_tab_hborder_internal (notebook, g_value_get_uint (value)); break; case PROP_TAB_VBORDER: gtk_notebook_set_tab_vborder_internal (notebook, g_value_get_uint (value)); break; case PROP_GROUP_ID: IA__gtk_notebook_set_group_id (notebook, g_value_get_int (value)); break; case PROP_GROUP: IA__gtk_notebook_set_group (notebook, g_value_get_pointer (value)); break; default: break; } } static void gtk_notebook_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GtkNotebook *notebook; GtkNotebookPrivate *priv; notebook = ((((GtkNotebook*) ((object))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); switch (prop_id) { case PROP_SHOW_TABS: g_value_set_boolean (value, notebook->show_tabs); break; case PROP_SHOW_BORDER: g_value_set_boolean (value, notebook->show_border); break; case PROP_SCROLLABLE: g_value_set_boolean (value, notebook->scrollable); break; case PROP_ENABLE_POPUP: g_value_set_boolean (value, notebook->menu != ((void *)0)); break; case PROP_HOMOGENEOUS: g_value_set_boolean (value, notebook->homogeneous); break; case PROP_PAGE: g_value_set_int (value, IA__gtk_notebook_get_current_page (notebook)); break; case PROP_TAB_POS: g_value_set_enum (value, notebook->tab_pos); break; case PROP_TAB_HBORDER: g_value_set_uint (value, notebook->tab_hborder); break; case PROP_TAB_VBORDER: g_value_set_uint (value, notebook->tab_vborder); break; case PROP_GROUP_ID: g_value_set_int (value, IA__gtk_notebook_get_group_id (notebook)); break; case PROP_GROUP: g_value_set_pointer (value, priv->group); break; default: (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)))))); } ); break; } } # 1614 "gtknotebook.c" static gboolean gtk_notebook_get_event_window_position (GtkNotebook *notebook, GdkRectangle *rectangle) { GtkWidget *widget = ((((GtkWidget*) ((notebook))))); gint border_width = ((((GtkContainer*) ((notebook)))))->border_width; GtkNotebookPage *visible_page = ((void *)0); GList *tmp_list; gint tab_pos = get_effective_tab_pos (notebook); for (tmp_list = notebook->children; tmp_list; tmp_list = tmp_list->next) { GtkNotebookPage *page = tmp_list->data; if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) { visible_page = page; break; } } if (notebook->show_tabs && visible_page) { if (rectangle) { rectangle->x = widget->allocation.x + border_width; rectangle->y = widget->allocation.y + border_width; switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: rectangle->width = widget->allocation.width - 2 * border_width; rectangle->height = visible_page->requisition.height; if (tab_pos == GTK_POS_BOTTOM) rectangle->y += widget->allocation.height - 2 * border_width - rectangle->height; break; case GTK_POS_LEFT: case GTK_POS_RIGHT: rectangle->width = visible_page->requisition.width; rectangle->height = widget->allocation.height - 2 * border_width; if (tab_pos == GTK_POS_RIGHT) rectangle->x += widget->allocation.width - 2 * border_width - rectangle->width; break; } } return (!(0)); } else { if (rectangle) { rectangle->x = rectangle->y = 0; rectangle->width = rectangle->height = 10; } } return (0); } static void gtk_notebook_map (GtkWidget *widget) { GtkNotebook *notebook; GtkNotebookPage *page; GList *children; (void) __extension__ ({ (((((((GtkObject*) ((widget)))))->flags)) |= (GTK_MAPPED)); }); notebook = ((((GtkNotebook*) ((widget))))); if (notebook->cur_page && ((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_VISIBLE) != 0) && !((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_MAPPED) != 0)) IA__gtk_widget_map (notebook->cur_page->child); if (notebook->scrollable) gtk_notebook_pages_allocate (notebook); else { children = notebook->children; while (children) { page = children->data; children = children->next; if (page->tab_label && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0) && !((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0)) IA__gtk_widget_map (page->tab_label); } } if (gtk_notebook_get_event_window_position (notebook, ((void *)0))) gdk_window_show_unraised (notebook->event_window); } static void gtk_notebook_unmap (GtkWidget *widget) { stop_scrolling (((((GtkNotebook*) ((widget)))))); (void) __extension__ ({ (((((((GtkObject*) ((widget)))))->flags)) &= ~(GTK_MAPPED)); }); gdk_window_hide (((((GtkNotebook*) ((widget)))))->event_window); ((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->unmap (widget); } static void gtk_notebook_realize (GtkWidget *widget) { GtkNotebook *notebook; GdkWindowAttr attributes; gint attributes_mask; GdkRectangle event_window_pos; notebook = ((((GtkNotebook*) ((widget))))); (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_REALIZED)); }); gtk_notebook_get_event_window_position (notebook, &event_window_pos); widget->window = IA__gtk_widget_get_parent_window (widget); g_object_ref (widget->window); attributes.window_type = GDK_WINDOW_CHILD; attributes.x = event_window_pos.x; attributes.y = event_window_pos.y; attributes.width = event_window_pos.width; attributes.height = event_window_pos.height; attributes.wclass = GDK_INPUT_ONLY; attributes.event_mask = IA__gtk_widget_get_events (widget); attributes.event_mask |= (GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_SCROLL_MASK); attributes_mask = GDK_WA_X | GDK_WA_Y; notebook->event_window = gdk_window_new (IA__gtk_widget_get_parent_window (widget), &attributes, attributes_mask); gdk_window_set_user_data (notebook->event_window, notebook); widget->style = IA__gtk_style_attach (widget->style, widget->window); } static void gtk_notebook_unrealize (GtkWidget *widget) { GtkNotebook *notebook; GtkNotebookPrivate *priv; notebook = ((((GtkNotebook*) ((widget))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ()))))); gdk_window_set_user_data (notebook->event_window, ((void *)0)); gdk_window_destroy (notebook->event_window); notebook->event_window = ((void *)0); if (priv->drag_window) { gdk_window_set_user_data (priv->drag_window, ((void *)0)); gdk_window_destroy (priv->drag_window); priv->drag_window = ((void *)0); } if (((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->unrealize) (* ((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->unrealize) (widget); } static void gtk_notebook_size_request (GtkWidget *widget, GtkRequisition *requisition) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); GtkNotebookPage *page; GList *children; GtkRequisition child_requisition; gboolean switch_page = (0); gint vis_pages; gint focus_width; gint tab_overlap; gint tab_curvature; gint arrow_spacing; gint scroll_arrow_hlength; gint scroll_arrow_vlength; IA__gtk_widget_style_get (widget, "focus-line-width", &focus_width, "tab-overlap", &tab_overlap, "tab-curvature", &tab_curvature, "arrow-spacing", &arrow_spacing, "scroll-arrow-hlength", &scroll_arrow_hlength, "scroll-arrow-vlength", &scroll_arrow_vlength, ((void *)0)); widget->requisition.width = 0; widget->requisition.height = 0; for (children = notebook->children, vis_pages = 0; children; children = children->next) { page = children->data; if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) { vis_pages++; IA__gtk_widget_size_request (page->child, &child_requisition); widget->requisition.width = (((widget->requisition.width) > (child_requisition.width)) ? (widget->requisition.width) : (child_requisition.width)); widget->requisition.height = (((widget->requisition.height) > (child_requisition.height)) ? (widget->requisition.height) : (child_requisition.height)); if (notebook->menu && page->menu_label->parent && !((((((((GtkObject*) ((page->menu_label->parent)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_show (page->menu_label->parent); } else { if (page == notebook->cur_page) switch_page = (!(0)); if (notebook->menu && page->menu_label->parent && ((((((((GtkObject*) ((page->menu_label->parent)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_hide (page->menu_label->parent); } } if (notebook->show_border || notebook->show_tabs) { widget->requisition.width += widget->style->xthickness * 2; widget->requisition.height += widget->style->ythickness * 2; if (notebook->show_tabs) { gint tab_width = 0; gint tab_height = 0; gint tab_max = 0; gint padding; for (children = notebook->children; children; children = children->next) { page = children->data; if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) { if (!((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_show (page->tab_label); IA__gtk_widget_size_request (page->tab_label, &child_requisition); page->requisition.width = child_requisition.width + 2 * widget->style->xthickness; page->requisition.height = child_requisition.height + 2 * widget->style->ythickness; switch (notebook->tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: page->requisition.height += 2 * (notebook->tab_vborder + focus_width); tab_height = (((tab_height) > (page->requisition.height)) ? (tab_height) : (page->requisition.height)); tab_max = (((tab_max) > (page->requisition.width)) ? (tab_max) : (page->requisition.width)); break; case GTK_POS_LEFT: case GTK_POS_RIGHT: page->requisition.width += 2 * (notebook->tab_hborder + focus_width); tab_width = (((tab_width) > (page->requisition.width)) ? (tab_width) : (page->requisition.width)); tab_max = (((tab_max) > (page->requisition.height)) ? (tab_max) : (page->requisition.height)); break; } } else if (((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_hide (page->tab_label); } children = notebook->children; if (vis_pages) { switch (notebook->tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: if (tab_height == 0) break; if (notebook->scrollable && vis_pages > 1 && widget->requisition.width < tab_width) tab_height = (((tab_height) > (scroll_arrow_hlength)) ? (tab_height) : (scroll_arrow_hlength)); padding = 2 * (tab_curvature + focus_width + notebook->tab_hborder) - tab_overlap; tab_max += padding; while (children) { page = children->data; children = children->next; if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) continue; if (notebook->homogeneous) page->requisition.width = tab_max; else page->requisition.width += padding; tab_width += page->requisition.width; page->requisition.height = tab_height; } if (notebook->scrollable && vis_pages > 1 && widget->requisition.width < tab_width) tab_width = tab_max + 2 * (scroll_arrow_hlength + arrow_spacing); if (notebook->homogeneous && !notebook->scrollable) widget->requisition.width = (((widget->requisition.width) > (vis_pages * tab_max + tab_overlap)) ? (widget->requisition.width) : (vis_pages * tab_max + tab_overlap)); else widget->requisition.width = (((widget->requisition.width) > (tab_width + tab_overlap)) ? (widget->requisition.width) : (tab_width + tab_overlap)); widget->requisition.height += tab_height; break; case GTK_POS_LEFT: case GTK_POS_RIGHT: if (tab_width == 0) break; if (notebook->scrollable && vis_pages > 1 && widget->requisition.height < tab_height) tab_width = (((tab_width) > (arrow_spacing + 2 * scroll_arrow_vlength)) ? (tab_width) : (arrow_spacing + 2 * scroll_arrow_vlength)); padding = 2 * (tab_curvature + focus_width + notebook->tab_vborder) - tab_overlap; tab_max += padding; while (children) { page = children->data; children = children->next; if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) continue; page->requisition.width = tab_width; if (notebook->homogeneous) page->requisition.height = tab_max; else page->requisition.height += padding; tab_height += page->requisition.height; } if (notebook->scrollable && vis_pages > 1 && widget->requisition.height < tab_height) tab_height = tab_max + (2 * scroll_arrow_vlength + arrow_spacing); widget->requisition.width += tab_width; if (notebook->homogeneous && !notebook->scrollable) widget->requisition.height = (((widget->requisition.height) > (vis_pages * tab_max + tab_overlap)) ? (widget->requisition.height) : (vis_pages * tab_max + tab_overlap)); else widget->requisition.height = (((widget->requisition.height) > (tab_height + tab_overlap)) ? (widget->requisition.height) : (tab_height + tab_overlap)); if (!notebook->homogeneous || notebook->scrollable) vis_pages = 1; widget->requisition.height = (((widget->requisition.height) > (vis_pages * tab_max + tab_overlap)) ? (widget->requisition.height) : (vis_pages * tab_max + tab_overlap)); break; } } } else { for (children = notebook->children; children; children = children->next) { page = children->data; if (page->tab_label && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_hide (page->tab_label); } } } widget->requisition.width += ((((GtkContainer*) ((widget)))))->border_width * 2; widget->requisition.height += ((((GtkContainer*) ((widget)))))->border_width * 2; if (switch_page) { if (vis_pages) { for (children = notebook->children; children; children = children->next) { page = children->data; if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) { gtk_notebook_switch_page (notebook, page); break; } } } else if (((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0)) { widget->requisition.width = ((((GtkContainer*) ((widget)))))->border_width * 2; widget->requisition.height= ((((GtkContainer*) ((widget)))))->border_width * 2; } } if (vis_pages && !notebook->cur_page) { children = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (!(0))); if (children) { notebook->first_tab = children; gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(children))->data)); } } } static void gtk_notebook_size_allocate (GtkWidget *widget, GtkAllocation *allocation) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); gint tab_pos = get_effective_tab_pos (notebook); widget->allocation = *allocation; if (((((((((GtkObject*) ((widget)))))->flags)) & GTK_REALIZED) != 0)) { GdkRectangle position; if (gtk_notebook_get_event_window_position (notebook, &position)) { gdk_window_move_resize (notebook->event_window, position.x, position.y, position.width, position.height); if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0)) gdk_window_show_unraised (notebook->event_window); } else gdk_window_hide (notebook->event_window); } if (notebook->children) { gint border_width = ((((GtkContainer*) ((widget)))))->border_width; GtkNotebookPage *page; GtkAllocation child_allocation; GList *children; child_allocation.x = widget->allocation.x + border_width; child_allocation.y = widget->allocation.y + border_width; child_allocation.width = (((1) > (allocation->width - border_width * 2)) ? (1) : (allocation->width - border_width * 2)); child_allocation.height = (((1) > (allocation->height - border_width * 2)) ? (1) : (allocation->height - border_width * 2)); if (notebook->show_tabs || notebook->show_border) { child_allocation.x += widget->style->xthickness; child_allocation.y += widget->style->ythickness; child_allocation.width = (((1) > (child_allocation.width - widget->style->xthickness * 2)) ? (1) : (child_allocation.width - widget->style->xthickness * 2)); child_allocation.height = (((1) > (child_allocation.height - widget->style->ythickness * 2)) ? (1) : (child_allocation.height - widget->style->ythickness * 2)); if (notebook->show_tabs && notebook->children && notebook->cur_page) { switch (tab_pos) { case GTK_POS_TOP: child_allocation.y += notebook->cur_page->requisition.height; case GTK_POS_BOTTOM: child_allocation.height = (((1) > (child_allocation.height - notebook->cur_page->requisition.height)) ? (1) : (child_allocation.height - notebook->cur_page->requisition.height)); break; case GTK_POS_LEFT: child_allocation.x += notebook->cur_page->requisition.width; case GTK_POS_RIGHT: child_allocation.width = (((1) > (child_allocation.width - notebook->cur_page->requisition.width)) ? (1) : (child_allocation.width - notebook->cur_page->requisition.width)); break; } } } children = notebook->children; while (children) { page = children->data; children = children->next; if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_size_allocate (page->child, &child_allocation); } gtk_notebook_pages_allocate (notebook); } } static gint gtk_notebook_expose (GtkWidget *widget, GdkEventExpose *event) { GtkNotebook *notebook; GtkNotebookPrivate *priv; notebook = ((((GtkNotebook*) ((widget))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ()))))); if (event->window == priv->drag_window) { GdkRectangle area = { 0, }; gdk_drawable_get_size (priv->drag_window, &area.width, &area.height); gtk_notebook_draw_tab (notebook, notebook->cur_page, &area); gtk_notebook_draw_focus (widget, event); IA__gtk_container_propagate_expose (((((GtkContainer*) ((notebook))))), notebook->cur_page->tab_label, event); } else if ((((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_MAPPED) != 0))) { gtk_notebook_paint (widget, &event->area); if (notebook->show_tabs) { GtkNotebookPage *page; GList *pages; gtk_notebook_draw_focus (widget, event); pages = notebook->children; while (pages) { page = ((GtkNotebookPage *)((GList *)(pages))->data); pages = pages->next; if (page->tab_label->window == event->window && (((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0))) IA__gtk_container_propagate_expose (((((GtkContainer*) ((notebook))))), page->tab_label, event); } } if (notebook->cur_page) IA__gtk_container_propagate_expose (((((GtkContainer*) ((notebook))))), notebook->cur_page->child, event); } return (0); } static gboolean gtk_notebook_show_arrows (GtkNotebook *notebook) { gboolean show_arrow = (0); GList *children; if (!notebook->scrollable) return (0); children = notebook->children; while (children) { GtkNotebookPage *page = children->data; if (page->tab_label && !IA__gtk_widget_get_child_visible (page->tab_label)) show_arrow = (!(0)); children = children->next; } return show_arrow; } static void gtk_notebook_get_arrow_rect (GtkNotebook *notebook, GdkRectangle *rectangle, GtkNotebookArrow arrow) { GdkRectangle event_window_pos; gboolean before = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_RIGHT_BEFORE); gboolean left = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER); if (gtk_notebook_get_event_window_position (notebook, &event_window_pos)) { gint scroll_arrow_hlength; gint scroll_arrow_vlength; IA__gtk_widget_style_get (((((GtkWidget*) ((notebook))))), "scroll-arrow-hlength", &scroll_arrow_hlength, "scroll-arrow-vlength", &scroll_arrow_vlength, ((void *)0)); switch (notebook->tab_pos) { case GTK_POS_LEFT: case GTK_POS_RIGHT: rectangle->width = scroll_arrow_vlength; rectangle->height = scroll_arrow_vlength; if ((before && (notebook->has_before_previous != notebook->has_before_next)) || (!before && (notebook->has_after_previous != notebook->has_after_next))) rectangle->x = event_window_pos.x + (event_window_pos.width - rectangle->width) / 2; else if (left) rectangle->x = event_window_pos.x + event_window_pos.width / 2 - rectangle->width; else rectangle->x = event_window_pos.x + event_window_pos.width / 2; rectangle->y = event_window_pos.y; if (!before) rectangle->y += event_window_pos.height - rectangle->height; break; case GTK_POS_TOP: case GTK_POS_BOTTOM: rectangle->width = scroll_arrow_hlength; rectangle->height = scroll_arrow_hlength; if (before) { if (left || !notebook->has_before_previous) rectangle->x = event_window_pos.x; else rectangle->x = event_window_pos.x + rectangle->width; } else { if (!left || !notebook->has_after_next) rectangle->x = event_window_pos.x + event_window_pos.width - rectangle->width; else rectangle->x = event_window_pos.x + event_window_pos.width - 2 * rectangle->width; } rectangle->y = event_window_pos.y + (event_window_pos.height - rectangle->height) / 2; break; } } } static GtkNotebookArrow gtk_notebook_get_arrow (GtkNotebook *notebook, gint x, gint y) { GdkRectangle arrow_rect; GdkRectangle event_window_pos; gint i; gint x0, y0; GtkNotebookArrow arrow[4]; arrow[0] = notebook->has_before_previous ? ARROW_LEFT_BEFORE : ARROW_NONE; arrow[1] = notebook->has_before_next ? ARROW_RIGHT_BEFORE : ARROW_NONE; arrow[2] = notebook->has_after_previous ? ARROW_LEFT_AFTER : ARROW_NONE; arrow[3] = notebook->has_after_next ? ARROW_RIGHT_AFTER : ARROW_NONE; if (gtk_notebook_show_arrows (notebook)) { gtk_notebook_get_event_window_position (notebook, &event_window_pos); for (i = 0; i < 4; i++) { if (arrow[i] == ARROW_NONE) continue; gtk_notebook_get_arrow_rect (notebook, &arrow_rect, arrow[i]); x0 = x - arrow_rect.x; y0 = y - arrow_rect.y; if (y0 >= 0 && y0 < arrow_rect.height && x0 >= 0 && x0 < arrow_rect.width) return arrow[i]; } } return ARROW_NONE; } static void gtk_notebook_do_arrow (GtkNotebook *notebook, GtkNotebookArrow arrow) { GtkWidget *widget = ((((GtkWidget*) ((notebook))))); GtkDirectionType dir; gboolean is_rtl, left; is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL; left = (((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && !is_rtl) || (!((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && is_rtl); if (!notebook->focus_tab || gtk_notebook_search_page (notebook, notebook->focus_tab, left ? STEP_PREV : STEP_NEXT, (!(0)))) { if (notebook->tab_pos == GTK_POS_LEFT || notebook->tab_pos == GTK_POS_RIGHT) dir = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) ? GTK_DIR_UP : GTK_DIR_DOWN; else dir = ((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) ? GTK_DIR_LEFT : GTK_DIR_RIGHT; IA__gtk_widget_grab_focus (widget); IA__gtk_widget_child_focus (widget, dir); } } static gboolean gtk_notebook_arrow_button_press (GtkNotebook *notebook, GtkNotebookArrow arrow, gint button) { GtkWidget *widget = ((((GtkWidget*) ((notebook))))); gboolean is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL; gboolean left = (((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && !is_rtl) || (!((arrow) == ARROW_LEFT_BEFORE || (arrow) == ARROW_LEFT_AFTER) && is_rtl); if (!((((((((GtkObject*) ((widget)))))->flags)) & GTK_HAS_FOCUS) != 0)) IA__gtk_widget_grab_focus (widget); notebook->button = button; notebook->click_child = arrow; if (button == 1) { gtk_notebook_do_arrow (notebook, arrow); gtk_notebook_set_scroll_timer (notebook); } else if (button == 2) gtk_notebook_page_select (notebook, (!(0))); else if (button == 3) gtk_notebook_switch_focus_tab (notebook, gtk_notebook_search_page (notebook, ((void *)0), left ? STEP_NEXT : STEP_PREV, (!(0)))); gtk_notebook_redraw_arrows (notebook); return (!(0)); } static gboolean get_widget_coordinates (GtkWidget *widget, GdkEvent *event, gint *x, gint *y) { GdkWindow *window = ((GdkEventAny *)event)->window; gdouble tx, ty; if (!gdk_event_get_coords (event, &tx, &ty)) return (0); while (window && window != widget->window) { gint window_x, window_y; gdk_window_get_position (window, &window_x, &window_y); tx += window_x; ty += window_y; window = gdk_window_get_parent (window); } if (window) { *x = tx; *y = ty; return (!(0)); } else return (0); } static gboolean gtk_notebook_scroll (GtkWidget *widget, GdkEventScroll *event) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); GtkWidget* child; GtkWidget* originator; if (!notebook->cur_page) return (0); child = notebook->cur_page->child; originator = IA__gtk_get_event_widget ((GdkEvent *)event); if (!originator || IA__gtk_widget_is_ancestor (originator, child) || originator == child) return (0); switch (event->direction) { case GDK_SCROLL_RIGHT: case GDK_SCROLL_DOWN: IA__gtk_notebook_next_page (notebook); break; case GDK_SCROLL_LEFT: case GDK_SCROLL_UP: IA__gtk_notebook_prev_page (notebook); break; } return (!(0)); } static GList* get_tab_at_pos (GtkNotebook *notebook, gint x, gint y) { GtkNotebookPage *page; GList *children = notebook->children; while (children) { page = children->data; if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && page->tab_label && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0) && (x >= page->allocation.x) && (y >= page->allocation.y) && (x <= (page->allocation.x + page->allocation.width)) && (y <= (page->allocation.y + page->allocation.height))) return children; children = children->next; } return ((void *)0); } static gboolean gtk_notebook_button_press (GtkWidget *widget, GdkEventButton *event) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); GtkNotebookPage *page; GList *tab; GtkNotebookArrow arrow; gint x, y; if (event->type != GDK_BUTTON_PRESS || !notebook->children || notebook->button) return (0); if (!get_widget_coordinates (widget, (GdkEvent *)event, &x, &y)) return (0); arrow = gtk_notebook_get_arrow (notebook, x, y); if (arrow) return gtk_notebook_arrow_button_press (notebook, arrow, event->button); if (event->button == 3 && notebook->menu) { IA__gtk_menu_popup (((((GtkMenu*) ((notebook->menu))))), ((void *)0), ((void *)0), ((void *)0), ((void *)0), 3, event->time); return (!(0)); } if (event->button != 1) return (0); notebook->button = event->button; if ((tab = get_tab_at_pos (notebook, x, y)) != ((void *)0)) { gboolean page_changed, was_focus; page = tab->data; page_changed = page != notebook->cur_page; was_focus = IA__gtk_widget_is_focus (widget); gtk_notebook_switch_focus_tab (notebook, tab); IA__gtk_widget_grab_focus (widget); if (page_changed && !was_focus) IA__gtk_widget_child_focus (page->child, GTK_DIR_TAB_FORWARD); if (page->reorderable || page->detachable) { priv->during_detach = (0); priv->during_reorder = (0); priv->pressed_button = event->button; gdk_window_get_pointer (widget->window, &priv->mouse_x, &priv->mouse_y, ((void *)0)); priv->drag_begin_x = priv->mouse_x; priv->drag_begin_y = priv->mouse_y; priv->drag_offset_x = priv->drag_begin_x - page->allocation.x; priv->drag_offset_y = priv->drag_begin_y - page->allocation.y; } } return (!(0)); } static void popup_position_func (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer data) { GtkNotebook *notebook = data; GtkWidget *w; GtkRequisition requisition; if (notebook->focus_tab) { GtkNotebookPage *page; page = notebook->focus_tab->data; w = page->tab_label; } else { w = ((((GtkWidget*) ((notebook))))); } gdk_window_get_origin (w->window, x, y); IA__gtk_widget_size_request (((((GtkWidget*) ((menu))))), &requisition); if (IA__gtk_widget_get_direction (w) == GTK_TEXT_DIR_RTL) *x += w->allocation.x + w->allocation.width - requisition.width; else *x += w->allocation.x; *y += w->allocation.y + w->allocation.height; *push_in = (0); } static gboolean gtk_notebook_popup_menu (GtkWidget *widget) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); if (notebook->menu) { IA__gtk_menu_popup (((((GtkMenu*) ((notebook->menu))))), ((void *)0), ((void *)0), popup_position_func, notebook, 0, IA__gtk_get_current_event_time ()); IA__gtk_menu_shell_select_first (((((GtkMenuShell*) ((notebook->menu))))), (0)); return (!(0)); } return (0); } static void stop_scrolling (GtkNotebook *notebook) { if (notebook->timer) { g_source_remove (notebook->timer); notebook->timer = 0; notebook->need_timer = (0); } notebook->click_child = 0; notebook->button = 0; gtk_notebook_redraw_arrows (notebook); } static GList* get_drop_position (GtkNotebook *notebook, guint pack) { GtkNotebookPrivate *priv; GList *children, *last_child; GtkNotebookPage *page; gboolean is_rtl; gint x, y; priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); x = priv->mouse_x; y = priv->mouse_y; is_rtl = IA__gtk_widget_get_direction ((GtkWidget *) notebook) == GTK_TEXT_DIR_RTL; children = notebook->children; last_child = ((void *)0); while (children) { page = children->data; if ((priv->operation != DRAG_OPERATION_REORDER || page != notebook->cur_page) && ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && page->tab_label && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0) && page->pack == pack) { switch (notebook->tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: if (!is_rtl) { if ((page->pack == GTK_PACK_START && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) > x) || (page->pack == GTK_PACK_END && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) < x)) return children; } else { if ((page->pack == GTK_PACK_START && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) < x) || (page->pack == GTK_PACK_END && (((GtkNotebookPage *) (page))->allocation.x + ((GtkNotebookPage *) (page))->allocation.width / 2) > x)) return children; } break; case GTK_POS_LEFT: case GTK_POS_RIGHT: if ((page->pack == GTK_PACK_START && (((GtkNotebookPage *) (page))->allocation.y + ((GtkNotebookPage *) (page))->allocation.height / 2) > y) || (page->pack == GTK_PACK_END && (((GtkNotebookPage *) (page))->allocation.y + ((GtkNotebookPage *) (page))->allocation.height / 2) < y)) return children; break; } last_child = children->next; } children = children->next; } return last_child; } static void show_drag_window (GtkNotebook *notebook, GtkNotebookPrivate *priv, GtkNotebookPage *page) { GtkWidget *widget = ((((GtkWidget*) ((notebook))))); if (!priv->drag_window) { GdkWindowAttr attributes; guint attributes_mask; attributes.x = page->allocation.x; attributes.y = page->allocation.y; attributes.width = page->allocation.width; attributes.height = page->allocation.height; attributes.window_type = GDK_WINDOW_CHILD; attributes.wclass = GDK_INPUT_OUTPUT; attributes.visual = IA__gtk_widget_get_visual (widget); attributes.colormap = IA__gtk_widget_get_colormap (widget); attributes.event_mask = GDK_VISIBILITY_NOTIFY_MASK | GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK; attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP; priv->drag_window = gdk_window_new (IA__gtk_widget_get_parent_window (widget), &attributes, attributes_mask); gdk_window_set_user_data (priv->drag_window, widget); } g_object_ref (page->tab_label); IA__gtk_widget_unparent (page->tab_label); IA__gtk_widget_set_parent_window (page->tab_label, priv->drag_window); IA__gtk_widget_set_parent (page->tab_label, widget); g_object_unref (page->tab_label); gdk_window_show (priv->drag_window); gdk_pointer_grab (priv->drag_window, (0), GDK_POINTER_MOTION_MASK | GDK_BUTTON_RELEASE_MASK, ((void *)0), ((void *)0), 0L); } static void hide_drag_window (GtkNotebook *notebook, GtkNotebookPrivate *priv, GtkNotebookPage *page) { GtkWidget *widget = ((((GtkWidget*) ((notebook))))); GtkWidget *parent = page->tab_label->parent; if (page->tab_label->window != widget->window || !(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook)))) { g_object_ref (page->tab_label); 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; }))))) { IA__gtk_container_remove (((((GtkContainer*) ((parent))))), page->tab_label); } else IA__gtk_widget_unparent (page->tab_label); IA__gtk_widget_set_parent_window (page->tab_label, widget->window); IA__gtk_widget_set_parent (page->tab_label, widget); g_object_unref (page->tab_label); } if (priv->drag_window && gdk_window_is_visible (priv->drag_window)) gdk_window_hide (priv->drag_window); } static void gtk_notebook_stop_reorder (GtkNotebook *notebook) { GtkNotebookPrivate *priv; GtkNotebookPage *page; priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); if (priv->operation == DRAG_OPERATION_DETACH) page = priv->detached_tab; else page = notebook->cur_page; if (!page) return; priv->pressed_button = -1; if (page->reorderable || page->detachable) { if (priv->during_reorder) { gint old_page_num, page_num; GList *element; element = get_drop_position (notebook, page->pack); old_page_num = g_list_position (notebook->children, notebook->focus_tab); page_num = reorder_tab (notebook, element, notebook->focus_tab); gtk_notebook_child_reordered (notebook, page); if (priv->has_scrolled || old_page_num != page_num) g_signal_emit (notebook, notebook_signals[PAGE_REORDERED], 0, page->child, page_num); priv->has_scrolled = (0); priv->during_reorder = (0); } hide_drag_window (notebook, priv, page); priv->operation = DRAG_OPERATION_NONE; gtk_notebook_pages_allocate (notebook); if (priv->dnd_timer) { g_source_remove (priv->dnd_timer); priv->dnd_timer = 0; } } } static gint gtk_notebook_button_release (GtkWidget *widget, GdkEventButton *event) { GtkNotebook *notebook; GtkNotebookPrivate *priv; GtkNotebookPage *page; if (event->type != GDK_BUTTON_RELEASE) return (0); notebook = ((((GtkNotebook*) ((widget))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); page = notebook->cur_page; if (!priv->during_detach && page->reorderable && event->button == priv->pressed_button) gtk_notebook_stop_reorder (notebook); if (event->button == notebook->button) { stop_scrolling (notebook); return (!(0)); } else return (0); } static gint gtk_notebook_leave_notify (GtkWidget *widget, GdkEventCrossing *event) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); gint x, y; if (!get_widget_coordinates (widget, (GdkEvent *)event, &x, &y)) return (0); if (notebook->in_child) { notebook->in_child = 0; gtk_notebook_redraw_arrows (notebook); } return (!(0)); } static GtkNotebookPointerPosition get_pointer_position (GtkNotebook *notebook) { GtkWidget *widget = (GtkWidget *) notebook; GtkContainer *container = (GtkContainer *) notebook; GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); gboolean is_rtl; if (!notebook->scrollable) return POINTER_BETWEEN; if (notebook->tab_pos == GTK_POS_TOP || notebook->tab_pos == GTK_POS_BOTTOM) { gint x; is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL; x = priv->mouse_x - widget->allocation.x; if (x > widget->allocation.width - 2 * container->border_width - 12) return (is_rtl) ? POINTER_BEFORE : POINTER_AFTER; else if (x < 12 + container->border_width) return (is_rtl) ? POINTER_AFTER : POINTER_BEFORE; else return POINTER_BETWEEN; } else { gint y; y = priv->mouse_y - widget->allocation.y; if (y > widget->allocation.height - 2 * container->border_width - 12) return POINTER_AFTER; else if (y < 12 + container->border_width) return POINTER_BEFORE; else return POINTER_BETWEEN; } } static gboolean scroll_notebook_timer (gpointer data) { GtkNotebook *notebook = (GtkNotebook *) data; GtkNotebookPrivate *priv; GtkNotebookPointerPosition pointer_position; GList *element, *first_tab; priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); pointer_position = get_pointer_position (notebook); element = get_drop_position (notebook, notebook->cur_page->pack); reorder_tab (notebook, element, notebook->focus_tab); first_tab = gtk_notebook_search_page (notebook, notebook->first_tab, (pointer_position == POINTER_BEFORE) ? STEP_PREV : STEP_NEXT, (!(0))); if (first_tab) { notebook->first_tab = first_tab; gtk_notebook_pages_allocate (notebook); gdk_window_move_resize (priv->drag_window, priv->drag_window_x, priv->drag_window_y, notebook->cur_page->allocation.width, notebook->cur_page->allocation.height); gdk_window_raise (priv->drag_window); } return (!(0)); } static gboolean check_threshold (GtkNotebook *notebook, gint current_x, gint current_y) { GtkWidget *widget; gint dnd_threshold; GdkRectangle rectangle = { 0, }; GtkSettings *settings; widget = ((((GtkWidget*) ((notebook))))); settings = IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook)))))); g_object_get (((((GObject*) ((settings))))), "gtk-dnd-drag-threshold", &dnd_threshold, ((void *)0)); dnd_threshold *= 4; gdk_window_get_position (notebook->event_window, &rectangle.x, &rectangle.y); gdk_drawable_get_size (((((GdkDrawable*) ((notebook->event_window))))), &rectangle.width, &rectangle.height); rectangle.x -= dnd_threshold; rectangle.width += 2 * dnd_threshold; rectangle.y -= dnd_threshold; rectangle.height += 2 * dnd_threshold; return (current_x < rectangle.x || current_x > rectangle.x + rectangle.width || current_y < rectangle.y || current_y > rectangle.y + rectangle.height); } static gint gtk_notebook_motion_notify (GtkWidget *widget, GdkEventMotion *event) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); GtkNotebookPage *page; GtkNotebookArrow arrow; GtkNotebookPointerPosition pointer_position; GtkSettings *settings; guint timeout; page = notebook->cur_page; if (!page) return (0); if (!(event->state & GDK_BUTTON1_MASK) && priv->pressed_button != -1) { gtk_notebook_stop_reorder (notebook); stop_scrolling (notebook); } if (event->time < priv->timestamp + (1000 / 45)) return (0); priv->timestamp = event->time; gdk_window_get_pointer (widget->window, &priv->mouse_x, &priv->mouse_y, ((void *)0)); arrow = gtk_notebook_get_arrow (notebook, priv->mouse_x, priv->mouse_y); if (arrow != notebook->in_child) { notebook->in_child = arrow; gtk_notebook_redraw_arrows (notebook); } if (priv->pressed_button == -1) return (0); if (page->detachable && check_threshold (notebook, priv->mouse_x, priv->mouse_y)) { priv->detached_tab = notebook->cur_page; priv->during_detach = (!(0)); IA__gtk_drag_begin (widget, priv->source_targets, GDK_ACTION_MOVE, priv->pressed_button, (GdkEvent*) event); return (!(0)); } if (page->reorderable && (priv->during_reorder || IA__gtk_drag_check_threshold (widget, priv->drag_begin_x, priv->drag_begin_y, priv->mouse_x, priv->mouse_y))) { priv->during_reorder = (!(0)); pointer_position = get_pointer_position (notebook); if (event->window == priv->drag_window && pointer_position != POINTER_BETWEEN && gtk_notebook_show_arrows (notebook)) { if (!priv->dnd_timer) { priv->has_scrolled = (!(0)); settings = IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook)))))); g_object_get (settings, "gtk-timeout-repeat", &timeout, ((void *)0)); priv->dnd_timer = gdk_threads_add_timeout (timeout * 5, scroll_notebook_timer, (gpointer) notebook); } } else { if (priv->dnd_timer) { g_source_remove (priv->dnd_timer); priv->dnd_timer = 0; } } if (event->window == priv->drag_window || priv->operation != DRAG_OPERATION_REORDER) { if (priv->operation != DRAG_OPERATION_REORDER) { priv->operation = DRAG_OPERATION_REORDER; show_drag_window (notebook, priv, page); } gtk_notebook_pages_allocate (notebook); gdk_window_move_resize (priv->drag_window, priv->drag_window_x, priv->drag_window_y, page->allocation.width, page->allocation.height); } } return (!(0)); } static void gtk_notebook_grab_notify (GtkWidget *widget, gboolean was_grabbed) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); if (!was_grabbed) { gtk_notebook_stop_reorder (notebook); stop_scrolling (notebook); } } static void gtk_notebook_state_changed (GtkWidget *widget, GtkStateType previous_state) { if (!(((((((((GtkObject*) ((widget)))))->flags)) & GTK_SENSITIVE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_PARENT_SENSITIVE) != 0))) stop_scrolling (((((GtkNotebook*) ((widget)))))); } static gint gtk_notebook_focus_in (GtkWidget *widget, GdkEventFocus *event) { ((((GtkNotebook*) ((widget)))))->child_has_focus = (0); gtk_notebook_redraw_tabs (((((GtkNotebook*) ((widget)))))); return (0); } static gint gtk_notebook_focus_out (GtkWidget *widget, GdkEventFocus *event) { gtk_notebook_redraw_tabs (((((GtkNotebook*) ((widget)))))); return (0); } static void gtk_notebook_draw_focus (GtkWidget *widget, GdkEventExpose *event) { GtkNotebook *notebook = ((((GtkNotebook*) ((widget))))); if (((((((((GtkObject*) ((widget)))))->flags)) & GTK_HAS_FOCUS) != 0) && (((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_MAPPED) != 0)) && notebook->show_tabs && notebook->cur_page && notebook->cur_page->tab_label->window == event->window) { GtkNotebookPage *page; page = notebook->cur_page; if (IA__gtk_widget_intersect (page->tab_label, &event->area, ((void *)0))) { GdkRectangle area; gint focus_width; IA__gtk_widget_style_get (widget, "focus-line-width", &focus_width, ((void *)0)); area.x = page->tab_label->allocation.x - focus_width; area.y = page->tab_label->allocation.y - focus_width; area.width = page->tab_label->allocation.width + 2 * focus_width; area.height = page->tab_label->allocation.height + 2 * focus_width; IA__gtk_paint_focus (widget->style, event->window, (((((GtkWidget*) ((widget)))))->state), ((void *)0), widget, "tab", area.x, area.y, area.width, area.height); } } } static void gtk_notebook_style_set (GtkWidget *widget, GtkStyle *previous) { GtkNotebook *notebook; gboolean has_before_previous; gboolean has_before_next; gboolean has_after_previous; gboolean has_after_next; notebook = ((((GtkNotebook*) ((widget))))); IA__gtk_widget_style_get (widget, "has-backward-stepper", &has_before_previous, "has-secondary-forward-stepper", &has_before_next, "has-secondary-backward-stepper", &has_after_previous, "has-forward-stepper", &has_after_next, ((void *)0)); notebook->has_before_previous = has_before_previous; notebook->has_before_next = has_before_next; notebook->has_after_previous = has_after_previous; notebook->has_after_next = has_after_next; (* ((((GtkWidgetClass*) ((gtk_notebook_parent_class)))))->style_set) (widget, previous); } static gboolean on_drag_icon_expose (GtkWidget *widget, GdkEventExpose *event, gpointer data) { GtkWidget *notebook, *child = ((((GtkWidget*) ((data))))); GtkRequisition requisition; gint gap_pos; notebook = ((((GtkWidget*) ((data))))); child = ((((GtkBin*) ((widget)))))->child; IA__gtk_widget_size_request (widget, &requisition); gap_pos = get_tab_gap_pos (((((GtkNotebook*) ((notebook)))))); IA__gtk_paint_extension (notebook->style, widget->window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, ((void *)0), widget, "tab", 0, 0, requisition.width, requisition.height, gap_pos); if (child) IA__gtk_container_propagate_expose (((((GtkContainer*) ((widget))))), child, event); return (!(0)); } static void gtk_notebook_drag_begin (GtkWidget *widget, GdkDragContext *context) { GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ()))))); GtkNotebook *notebook = (GtkNotebook*) widget; GtkWidget *tab_label; if (priv->dnd_timer) { g_source_remove (priv->dnd_timer); priv->dnd_timer = 0; } priv->operation = DRAG_OPERATION_DETACH; gtk_notebook_pages_allocate (notebook); tab_label = priv->detached_tab->tab_label; hide_drag_window (notebook, priv, notebook->cur_page); g_object_ref (tab_label); IA__gtk_widget_unparent (tab_label); priv->dnd_window = IA__gtk_window_new (GTK_WINDOW_POPUP); IA__gtk_container_add (((((GtkContainer*) ((priv->dnd_window))))), tab_label); IA__gtk_widget_set_size_request (priv->dnd_window, priv->detached_tab->allocation.width, priv->detached_tab->allocation.height); g_object_unref (tab_label); g_signal_connect_data ((((((GObject*) ((priv->dnd_window)))))), ("expose-event"), (((GCallback) (on_drag_icon_expose))), (notebook), ((void *)0), (GConnectFlags) 0); IA__gtk_drag_set_icon_widget (context, priv->dnd_window, -2, -2); } static void gtk_notebook_drag_end (GtkWidget *widget, GdkDragContext *context) { GtkNotebookPrivate *priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ()))))); gtk_notebook_stop_reorder (((((GtkNotebook*) ((widget)))))); if (priv->detached_tab) gtk_notebook_switch_page (((((GtkNotebook*) ((widget))))), priv->detached_tab); ((((GtkBin*) ((priv->dnd_window)))))->child = ((void *)0); IA__gtk_widget_destroy (priv->dnd_window); priv->dnd_window = ((void *)0); priv->operation = DRAG_OPERATION_NONE; } static GtkNotebook * gtk_notebook_create_window (GtkNotebook *notebook, GtkWidget *page, gint x, gint y) { if (window_creation_hook) return (* window_creation_hook) (notebook, page, x, y, window_creation_hook_data); return ((void *)0); } static gboolean gtk_notebook_drag_failed (GtkWidget *widget, GdkDragContext *context, GtkDragResult result, gpointer data) { if (result == GTK_DRAG_RESULT_NO_TARGET) { GtkNotebookPrivate *priv; GtkNotebook *notebook, *dest_notebook = ((void *)0); GdkDisplay *display; gint x, y; notebook = ((((GtkNotebook*) ((widget))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); display = IA__gtk_widget_get_display (widget); gdk_display_get_pointer (display, ((void *)0), &x, &y, ((void *)0)); g_signal_emit (notebook, notebook_signals[CREATE_WINDOW], 0, priv->detached_tab->child, x, y, &dest_notebook); if (dest_notebook) do_detach_tab (notebook, dest_notebook, priv->detached_tab->child, 0, 0); return (!(0)); } return (0); } static gboolean gtk_notebook_switch_tab_timeout (gpointer data) { GtkNotebook *notebook; GtkNotebookPrivate *priv; GList *tab; gint x, y; notebook = ((((GtkNotebook*) ((data))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); priv->switch_tab_timer = 0; x = priv->mouse_x; y = priv->mouse_y; if ((tab = get_tab_at_pos (notebook, x, y)) != ((void *)0)) { notebook->child_has_focus = (0); gtk_notebook_switch_focus_tab (notebook, tab); } return (0); } static gboolean gtk_notebook_drag_motion (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time) { GtkNotebook *notebook; GtkNotebookPrivate *priv; GdkRectangle position; GtkSettings *settings; GtkNotebookArrow arrow; guint timeout; GdkAtom target, tab_target; notebook = ((((GtkNotebook*) ((widget))))); arrow = gtk_notebook_get_arrow (notebook, x + widget->allocation.x, y + widget->allocation.y); if (arrow) { notebook->click_child = arrow; gtk_notebook_set_scroll_timer (notebook); gdk_drag_status (context, 0, time); return (!(0)); } stop_scrolling (notebook); target = IA__gtk_drag_dest_find_target (widget, context, ((void *)0)); tab_target = gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB"); if (target == tab_target) { gpointer widget_group, source_widget_group; GtkWidget *source_widget; source_widget = IA__gtk_drag_get_source_widget (context); (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"); }); widget_group = IA__gtk_notebook_get_group (notebook); source_widget_group = IA__gtk_notebook_get_group (((((GtkNotebook*) ((source_widget)))))); if (widget_group && source_widget_group && widget_group == source_widget_group && !(widget == ((((GtkNotebook*) ((source_widget)))))->cur_page->child || IA__gtk_widget_is_ancestor (widget, ((((GtkNotebook*) ((source_widget)))))->cur_page->child))) { gdk_drag_status (context, GDK_ACTION_MOVE, time); return (!(0)); } else { gdk_drag_status (context, 0, time); } } priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ()))))); x += widget->allocation.x; y += widget->allocation.y; if (gtk_notebook_get_event_window_position (notebook, &position) && x >= position.x && x <= position.x + position.width && y >= position.y && y <= position.y + position.height) { priv->mouse_x = x; priv->mouse_y = y; if (!priv->switch_tab_timer) { settings = IA__gtk_widget_get_settings (widget); g_object_get (settings, "gtk-timeout-expand", &timeout, ((void *)0)); priv->switch_tab_timer = gdk_threads_add_timeout (timeout, gtk_notebook_switch_tab_timeout, widget); } } else { if (priv->switch_tab_timer) { g_source_remove (priv->switch_tab_timer); priv->switch_tab_timer = 0; } } return (target == tab_target) ? (!(0)) : (0); } static void gtk_notebook_drag_leave (GtkWidget *widget, GdkDragContext *context, guint time) { GtkNotebookPrivate *priv; priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ()))))); if (priv->switch_tab_timer) { g_source_remove (priv->switch_tab_timer); priv->switch_tab_timer = 0; } stop_scrolling (((((GtkNotebook*) ((widget)))))); } static gboolean gtk_notebook_drag_drop (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time) { GdkAtom target, tab_target; target = IA__gtk_drag_dest_find_target (widget, context, ((void *)0)); tab_target = gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB"); if (target == tab_target) { IA__gtk_drag_get_data (widget, context, target, time); return (!(0)); } return (0); } static void do_detach_tab (GtkNotebook *from, GtkNotebook *to, GtkWidget *child, gint x, gint y) { GtkNotebookPrivate *priv; GtkWidget *tab_label, *menu_label; gboolean tab_expand, tab_fill, reorderable, detachable; GList *element; guint tab_pack; gint page_num; menu_label = IA__gtk_notebook_get_menu_label (from, child); if (menu_label) g_object_ref (menu_label); tab_label = IA__gtk_notebook_get_tab_label (from, child); if (tab_label) g_object_ref (tab_label); g_object_ref (child); IA__gtk_container_child_get (((((GtkContainer*) ((from))))), child, "tab-expand", &tab_expand, "tab-fill", &tab_fill, "tab-pack", &tab_pack, "reorderable", &reorderable, "detachable", &detachable, ((void *)0)); IA__gtk_container_remove (((((GtkContainer*) ((from))))), child); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((to)), ((IA__gtk_notebook_get_type ()))))); priv->mouse_x = x + ((((GtkWidget*) ((to)))))->allocation.x; priv->mouse_y = y + ((((GtkWidget*) ((to)))))->allocation.y; element = get_drop_position (to, tab_pack); page_num = g_list_position (to->children, element); IA__gtk_notebook_insert_page_menu (to, child, tab_label, menu_label, page_num); IA__gtk_container_child_set (((((GtkContainer*) ((to))))), child, "tab-pack", tab_pack, "tab-expand", tab_expand, "tab-fill", tab_fill, "reorderable", reorderable, "detachable", detachable, ((void *)0)); if (child) g_object_unref (child); if (tab_label) g_object_unref (tab_label); if (menu_label) g_object_unref (menu_label); IA__gtk_notebook_set_current_page (to, page_num); } static void gtk_notebook_drag_data_get (GtkWidget *widget, GdkDragContext *context, GtkSelectionData *data, guint info, guint time) { GtkNotebookPrivate *priv; if (data->target == gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB")) { priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((widget)), ((IA__gtk_notebook_get_type ()))))); IA__gtk_selection_data_set (data, data->target, 8, (void*) &priv->detached_tab->child, sizeof (gpointer)); } } static void gtk_notebook_drag_data_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *data, guint info, guint time) { GtkNotebook *notebook; GtkWidget *source_widget; GtkWidget **child; notebook = ((((GtkNotebook*) ((widget))))); source_widget = IA__gtk_drag_get_source_widget (context); if (source_widget && data->target == gdk_atom_intern_static_string ("GTK_NOTEBOOK_TAB")) { child = (void*) data->data; do_detach_tab (((((GtkNotebook*) ((source_widget))))), notebook, *child, x, y); IA__gtk_drag_finish (context, (!(0)), (0), time); } else IA__gtk_drag_finish (context, (0), (0), time); } # 3559 "gtknotebook.c" static void gtk_notebook_set_child_property (GtkContainer *container, GtkWidget *child, guint property_id, const GValue *value, GParamSpec *pspec) { gboolean expand; gboolean fill; GtkPackType pack_type; if (!gtk_notebook_find_child (((((GtkNotebook*) ((container))))), child, ((void *)0))) return; switch (property_id) { case CHILD_PROP_TAB_LABEL: IA__gtk_notebook_set_tab_label_text (((((GtkNotebook*) ((container))))), child, g_value_get_string (value)); break; case CHILD_PROP_MENU_LABEL: IA__gtk_notebook_set_menu_label_text (((((GtkNotebook*) ((container))))), child, g_value_get_string (value)); break; case CHILD_PROP_POSITION: IA__gtk_notebook_reorder_child (((((GtkNotebook*) ((container))))), child, g_value_get_int (value)); break; case CHILD_PROP_TAB_EXPAND: IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child, &expand, &fill, &pack_type); IA__gtk_notebook_set_tab_label_packing (((((GtkNotebook*) ((container))))), child, g_value_get_boolean (value), fill, pack_type); break; case CHILD_PROP_TAB_FILL: IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child, &expand, &fill, &pack_type); IA__gtk_notebook_set_tab_label_packing (((((GtkNotebook*) ((container))))), child, expand, g_value_get_boolean (value), pack_type); break; case CHILD_PROP_TAB_PACK: IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child, &expand, &fill, &pack_type); IA__gtk_notebook_set_tab_label_packing (((((GtkNotebook*) ((container))))), child, expand, fill, g_value_get_enum (value)); break; case CHILD_PROP_REORDERABLE: IA__gtk_notebook_set_tab_reorderable (((((GtkNotebook*) ((container))))), child, g_value_get_boolean (value)); break; case CHILD_PROP_DETACHABLE: IA__gtk_notebook_set_tab_detachable (((((GtkNotebook*) ((container))))), child, g_value_get_boolean (value)); break; default: (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)))))); } ); break; } } static void gtk_notebook_get_child_property (GtkContainer *container, GtkWidget *child, guint property_id, GValue *value, GParamSpec *pspec) { GList *list; GtkNotebook *notebook; GtkWidget *label; gboolean expand; gboolean fill; GtkPackType pack_type; notebook = ((((GtkNotebook*) ((container))))); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) { g_param_value_set_default (pspec, value); return; } switch (property_id) { case CHILD_PROP_TAB_LABEL: label = IA__gtk_notebook_get_tab_label (notebook, child); 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; }))))) g_value_set_string (value, ((((GtkLabel*) ((label)))))->label); else g_value_set_string (value, ((void *)0)); break; case CHILD_PROP_MENU_LABEL: label = IA__gtk_notebook_get_menu_label (notebook, child); 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; }))))) g_value_set_string (value, ((((GtkLabel*) ((label)))))->label); else g_value_set_string (value, ((void *)0)); break; case CHILD_PROP_POSITION: g_value_set_int (value, g_list_position (notebook->children, list)); break; case CHILD_PROP_TAB_EXPAND: IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child, &expand, ((void *)0), ((void *)0)); g_value_set_boolean (value, expand); break; case CHILD_PROP_TAB_FILL: IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child, ((void *)0), &fill, ((void *)0)); g_value_set_boolean (value, fill); break; case CHILD_PROP_TAB_PACK: IA__gtk_notebook_query_tab_label_packing (((((GtkNotebook*) ((container))))), child, ((void *)0), ((void *)0), &pack_type); g_value_set_enum (value, pack_type); break; case CHILD_PROP_REORDERABLE: g_value_set_boolean (value, IA__gtk_notebook_get_tab_reorderable (((((GtkNotebook*) ((container))))), child)); break; case CHILD_PROP_DETACHABLE: g_value_set_boolean (value, IA__gtk_notebook_get_tab_detachable (((((GtkNotebook*) ((container))))), child)); break; default: (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)))))); } ); break; } } static void gtk_notebook_add (GtkContainer *container, GtkWidget *widget) { IA__gtk_notebook_insert_page_menu (((((GtkNotebook*) ((container))))), widget, ((void *)0), ((void *)0), -1); } static void gtk_notebook_remove (GtkContainer *container, GtkWidget *widget) { GtkNotebook *notebook; GtkNotebookPage *page; GList *children; gint page_num = 0; notebook = ((((GtkNotebook*) ((container))))); children = notebook->children; while (children) { page = children->data; if (page->child == widget) break; page_num++; children = children->next; } if (children == ((void *)0)) return; g_object_ref (widget); gtk_notebook_real_remove (notebook, children); g_signal_emit (notebook, notebook_signals[PAGE_REMOVED], 0, widget, page_num); g_object_unref (widget); } static gboolean focus_tabs_in (GtkNotebook *notebook) { if (notebook->show_tabs && notebook->cur_page) { IA__gtk_widget_grab_focus (((((GtkWidget*) ((notebook)))))); gtk_notebook_switch_focus_tab (notebook, g_list_find (notebook->children, notebook->cur_page)); return (!(0)); } else return (0); } static gboolean focus_tabs_move (GtkNotebook *notebook, GtkDirectionType direction, gint search_direction) { GList *new_page; new_page = gtk_notebook_search_page (notebook, notebook->focus_tab, search_direction, (!(0))); if (!new_page) { gboolean wrap_around; g_object_get (IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook)))))), "gtk-keynav-wrap-around", &wrap_around, ((void *)0)); if (wrap_around) new_page = gtk_notebook_search_page (notebook, ((void *)0), search_direction, (!(0))); } if (new_page) gtk_notebook_switch_focus_tab (notebook, new_page); else IA__gtk_widget_error_bell (((((GtkWidget*) ((notebook)))))); return (!(0)); } static gboolean focus_child_in (GtkNotebook *notebook, GtkDirectionType direction) { if (notebook->cur_page) return IA__gtk_widget_child_focus (notebook->cur_page->child, direction); else return (0); } static gint gtk_notebook_focus (GtkWidget *widget, GtkDirectionType direction) { GtkWidget *old_focus_child; GtkNotebook *notebook; GtkDirectionType effective_direction; gboolean widget_is_focus; GtkContainer *container; container = ((((GtkContainer*) ((widget))))); notebook = ((((GtkNotebook*) ((container))))); if (notebook->focus_out) { notebook->focus_out = (0); return (0); } widget_is_focus = IA__gtk_widget_is_focus (widget); old_focus_child = container->focus_child; effective_direction = get_effective_direction (notebook, direction); if (old_focus_child) { if (IA__gtk_widget_child_focus (old_focus_child, direction)) return (!(0)); switch (effective_direction) { case GTK_DIR_TAB_BACKWARD: case GTK_DIR_UP: return focus_tabs_in (notebook); case GTK_DIR_DOWN: case GTK_DIR_TAB_FORWARD: case GTK_DIR_LEFT: case GTK_DIR_RIGHT: return (0); } } else if (widget_is_focus) { switch (effective_direction) { case GTK_DIR_TAB_BACKWARD: case GTK_DIR_UP: return (0); case GTK_DIR_TAB_FORWARD: case GTK_DIR_DOWN: return focus_child_in (notebook, GTK_DIR_TAB_FORWARD); case GTK_DIR_LEFT: return focus_tabs_move (notebook, direction, STEP_PREV); case GTK_DIR_RIGHT: return focus_tabs_move (notebook, direction, STEP_NEXT); } } else { switch (effective_direction) { case GTK_DIR_TAB_FORWARD: case GTK_DIR_DOWN: if (focus_tabs_in (notebook)) return (!(0)); if (focus_child_in (notebook, direction)) return (!(0)); return (0); case GTK_DIR_TAB_BACKWARD: case GTK_DIR_UP: if (focus_child_in (notebook, direction)) return (!(0)); if (focus_tabs_in (notebook)) return (!(0)); return (0); case GTK_DIR_LEFT: case GTK_DIR_RIGHT: return focus_child_in (notebook, direction); } } (void) __extension__ ({ g_assert_warning ("Gtk", "gtknotebook.c", 3896, __PRETTY_FUNCTION__, ((void *)0)); }); return (0); } static void gtk_notebook_set_focus_child (GtkContainer *container, GtkWidget *child) { GtkNotebook *notebook = ((((GtkNotebook*) ((container))))); GtkWidget *page_child; GtkWidget *toplevel; toplevel = IA__gtk_widget_get_toplevel (((((GtkWidget*) ((container)))))); if (toplevel && ((((((((GtkObject*) ((toplevel)))))->flags)) & GTK_TOPLEVEL) != 0)) { page_child = ((((GtkWindow*) ((toplevel)))))->focus_widget; while (page_child) { if (page_child->parent == ((((GtkWidget*) ((container)))))) { GList *list = gtk_notebook_find_child (notebook, page_child, ((void *)0)); if (list != ((void *)0)) { GtkNotebookPage *page = list->data; if (page->last_focus_child) g_object_remove_weak_pointer (((((GObject*) ((page->last_focus_child))))), (gpointer *)&page->last_focus_child); page->last_focus_child = ((((GtkWindow*) ((toplevel)))))->focus_widget; g_object_add_weak_pointer (((((GObject*) ((page->last_focus_child))))), (gpointer *)&page->last_focus_child); break; } } page_child = page_child->parent; } } if (child) { (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; }; }); notebook->child_has_focus = (!(0)); if (!notebook->focus_tab) { GList *children; GtkNotebookPage *page; children = notebook->children; while (children) { page = children->data; if (page->child == child || page->tab_label == child) gtk_notebook_switch_focus_tab (notebook, children); children = children->next; } } } ((((GtkContainerClass*) ((gtk_notebook_parent_class)))))->set_focus_child (container, child); } static void gtk_notebook_forall (GtkContainer *container, gboolean include_internals, GtkCallback callback, gpointer callback_data) { GtkNotebook *notebook; GList *children; notebook = ((((GtkNotebook*) ((container))))); children = notebook->children; while (children) { GtkNotebookPage *page; page = children->data; children = children->next; (* callback) (page->child, callback_data); if (include_internals) { if (page->tab_label) (* callback) (page->tab_label, callback_data); } } } static GType gtk_notebook_child_type (GtkContainer *container) { return (IA__gtk_widget_get_type ()); } static void page_visible_cb (GtkWidget *page, GParamSpec *arg, gpointer data) { GtkNotebook *notebook = (GtkNotebook *) data; GList *list; GList *next = ((void *)0); if (notebook->cur_page && notebook->cur_page->child == page && !((((((((GtkObject*) ((page)))))->flags)) & GTK_VISIBLE) != 0)) { list = g_list_find (notebook->children, notebook->cur_page); if (list) { next = gtk_notebook_search_page (notebook, list, STEP_NEXT, (!(0))); if (!next) next = gtk_notebook_search_page (notebook, list, STEP_PREV, (!(0))); } if (next) gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(next))->data)); } } static gint gtk_notebook_real_insert_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position) { GtkNotebookPage *page; gint nchildren; IA__gtk_widget_freeze_child_notify (child); page = ((GtkNotebookPage *) g_malloc0 (((gsize) sizeof (GtkNotebookPage)) * ((gsize) (1)))); page->child = child; nchildren = g_list_length (notebook->children); if ((position < 0) || (position > nchildren)) position = nchildren; notebook->children = g_list_insert (notebook->children, page, position); if (!tab_label) { page->default_tab = (!(0)); if (notebook->show_tabs) tab_label = IA__gtk_label_new (((void *)0)); } page->tab_label = tab_label; page->menu_label = menu_label; page->expand = (0); page->fill = (!(0)); page->pack = GTK_PACK_START; if (!menu_label) page->default_menu = (!(0)); else g_object_ref_sink (page->menu_label); if (notebook->menu) gtk_notebook_menu_item_create (notebook, g_list_find (notebook->children, page)); IA__gtk_widget_set_parent (child, ((((GtkWidget*) ((notebook)))))); if (tab_label) IA__gtk_widget_set_parent (tab_label, ((((GtkWidget*) ((notebook)))))); gtk_notebook_update_labels (notebook); if (!notebook->first_tab) notebook->first_tab = notebook->children; if (notebook->cur_page != page) IA__gtk_widget_set_child_visible (child, (0)); if (tab_label) { if (notebook->show_tabs && ((((((((GtkObject*) ((child)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_show (tab_label); else IA__gtk_widget_hide (tab_label); page->mnemonic_activate_signal = g_signal_connect_data ((tab_label), ("mnemonic_activate"), (((GCallback) (gtk_notebook_mnemonic_activate_switch_page))), (notebook), ((void *)0), (GConnectFlags) 0); } page->notify_visible_handler = g_signal_connect_data ((child), ("notify::visible"), (((GCallback) (page_visible_cb))), (notebook), ((void *)0), (GConnectFlags) 0); g_signal_emit (notebook, notebook_signals[PAGE_ADDED], 0, child, position); if (!notebook->cur_page) { gtk_notebook_switch_page (notebook, page); gtk_notebook_switch_focus_tab (notebook, notebook->focus_tab); } gtk_notebook_update_tab_states (notebook); IA__gtk_widget_child_notify (child, "tab-expand"); IA__gtk_widget_child_notify (child, "tab-fill"); IA__gtk_widget_child_notify (child, "tab-pack"); IA__gtk_widget_child_notify (child, "tab-label"); IA__gtk_widget_child_notify (child, "menu-label"); IA__gtk_widget_child_notify (child, "position"); IA__gtk_widget_thaw_child_notify (child); return IA__gtk_notebook_page_num (notebook, child); } # 4138 "gtknotebook.c" static void gtk_notebook_redraw_tabs (GtkNotebook *notebook) { GtkWidget *widget; GtkNotebookPage *page; GdkRectangle redraw_rect; gint border; gint tab_pos = get_effective_tab_pos (notebook); widget = ((((GtkWidget*) ((notebook))))); border = ((((GtkContainer*) ((notebook)))))->border_width; if (!((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0) || !notebook->first_tab) return; page = notebook->first_tab->data; redraw_rect.x = border; redraw_rect.y = border; switch (tab_pos) { case GTK_POS_BOTTOM: redraw_rect.y = widget->allocation.height - border - page->allocation.height - widget->style->ythickness; if (page != notebook->cur_page) redraw_rect.y -= widget->style->ythickness; case GTK_POS_TOP: redraw_rect.width = widget->allocation.width - 2 * border; redraw_rect.height = page->allocation.height + widget->style->ythickness; if (page != notebook->cur_page) redraw_rect.height += widget->style->ythickness; break; case GTK_POS_RIGHT: redraw_rect.x = widget->allocation.width - border - page->allocation.width - widget->style->xthickness; if (page != notebook->cur_page) redraw_rect.x -= widget->style->xthickness; case GTK_POS_LEFT: redraw_rect.width = page->allocation.width + widget->style->xthickness; redraw_rect.height = widget->allocation.height - 2 * border; if (page != notebook->cur_page) redraw_rect.width += widget->style->xthickness; break; } redraw_rect.x += widget->allocation.x; redraw_rect.y += widget->allocation.y; gdk_window_invalidate_rect (widget->window, &redraw_rect, (!(0))); } static void gtk_notebook_redraw_arrows (GtkNotebook *notebook) { if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0) && gtk_notebook_show_arrows (notebook)) { GdkRectangle rect; gint i; GtkNotebookArrow arrow[4]; arrow[0] = notebook->has_before_previous ? ARROW_LEFT_BEFORE : ARROW_NONE; arrow[1] = notebook->has_before_next ? ARROW_RIGHT_BEFORE : ARROW_NONE; arrow[2] = notebook->has_after_previous ? ARROW_LEFT_AFTER : ARROW_NONE; arrow[3] = notebook->has_after_next ? ARROW_RIGHT_AFTER : ARROW_NONE; for (i = 0; i < 4; i++) { if (arrow[i] == ARROW_NONE) continue; gtk_notebook_get_arrow_rect (notebook, &rect, arrow[i]); gdk_window_invalidate_rect (((((GtkWidget*) ((notebook)))))->window, &rect, (0)); } } } static gboolean gtk_notebook_timer (GtkNotebook *notebook) { gboolean retval = (0); if (notebook->timer) { gtk_notebook_do_arrow (notebook, notebook->click_child); if (notebook->need_timer) { GtkSettings *settings; guint timeout; settings = IA__gtk_widget_get_settings (((((GtkWidget*) ((notebook)))))); g_object_get (settings, "gtk-timeout-repeat", &timeout, ((void *)0)); notebook->need_timer = (0); notebook->timer = gdk_threads_add_timeout (timeout * 5, (GSourceFunc) gtk_notebook_timer, (gpointer) notebook); } else retval = (!(0)); } return retval; } static void gtk_notebook_set_scroll_timer (GtkNotebook *notebook) { GtkWidget *widget = ((((GtkWidget*) ((notebook))))); if (!notebook->timer) { GtkSettings *settings = IA__gtk_widget_get_settings (widget); guint timeout; g_object_get (settings, "gtk-timeout-initial", &timeout, ((void *)0)); notebook->timer = gdk_threads_add_timeout (timeout, (GSourceFunc) gtk_notebook_timer, (gpointer) notebook); notebook->need_timer = (!(0)); } } static gint gtk_notebook_page_compare (gconstpointer a, gconstpointer b) { return (((GtkNotebookPage *) a)->child != b); } static GList* gtk_notebook_find_child (GtkNotebook *notebook, GtkWidget *child, const gchar *function) { GList *list = g_list_find_custom (notebook->children, child, gtk_notebook_page_compare); if (!list && function) g_log ("Gtk", G_LOG_LEVEL_WARNING, "%s: unable to find child %p in notebook %p", function, child, notebook); return list; } static void gtk_notebook_remove_tab_label (GtkNotebook *notebook, GtkNotebookPage *page) { if (page->tab_label) { if (page->mnemonic_activate_signal) g_signal_handler_disconnect (page->tab_label, page->mnemonic_activate_signal); page->mnemonic_activate_signal = 0; IA__gtk_widget_set_state (page->tab_label, GTK_STATE_NORMAL); IA__gtk_widget_unparent (page->tab_label); page->tab_label = ((void *)0); } } static void gtk_notebook_real_remove (GtkNotebook *notebook, GList *list) { GtkNotebookPrivate *priv; GtkNotebookPage *page; GList * next_list; gint need_resize = (0); GtkWidget *tab_label; gboolean destroying; priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); destroying = (((((GtkObject*) ((notebook)))))->flags) & GTK_IN_DESTRUCTION; next_list = gtk_notebook_search_page (notebook, list, STEP_PREV, (!(0))); if (!next_list) next_list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (!(0))); if (notebook->cur_page == list->data) { notebook->cur_page = ((void *)0); if (next_list && !destroying) gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(next_list))->data)); } if (priv->detached_tab == list->data) priv->detached_tab = ((void *)0); if (list == notebook->first_tab) notebook->first_tab = next_list; if (list == notebook->focus_tab && !destroying) gtk_notebook_switch_focus_tab (notebook, next_list); page = list->data; g_signal_handler_disconnect (page->child, page->notify_visible_handler); if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0)) need_resize = (!(0)); IA__gtk_widget_unparent (page->child); tab_label = page->tab_label; if (tab_label) { g_object_ref (tab_label); gtk_notebook_remove_tab_label (notebook, page); if (destroying) IA__gtk_widget_destroy (tab_label); g_object_unref (tab_label); } if (notebook->menu) { IA__gtk_container_remove (((((GtkContainer*) ((notebook->menu))))), page->menu_label->parent); IA__gtk_widget_queue_resize (notebook->menu); } if (!page->default_menu) g_object_unref (page->menu_label); notebook->children = g_list_remove_link (notebook->children, list); g_list_free (list); if (page->last_focus_child) { g_object_remove_weak_pointer (((((GObject*) ((page->last_focus_child))))), (gpointer *)&page->last_focus_child); page->last_focus_child = ((void *)0); } g_free (page); gtk_notebook_update_labels (notebook); if (need_resize) IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); } static void gtk_notebook_update_labels (GtkNotebook *notebook) { GtkNotebookPage *page; GList *list; gchar string[32]; gint page_num = 1; if (!notebook->show_tabs && !notebook->menu) return; for (list = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (0)); list; list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (0))) { page = list->data; g_snprintf (string, sizeof(string), dcgettext ("gtk20", "Page %u", __LC_MESSAGES), page_num++); if (notebook->show_tabs) { if (page->default_tab) { if (!page->tab_label) { page->tab_label = IA__gtk_label_new (string); IA__gtk_widget_set_parent (page->tab_label, ((((GtkWidget*) ((notebook)))))); } else IA__gtk_label_set_text (((((GtkLabel*) ((page->tab_label))))), string); } if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && !((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_show (page->tab_label); else if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_hide (page->tab_label); } if (notebook->menu && page->default_menu) { 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; }))))) IA__gtk_label_set_text (((((GtkLabel*) ((page->menu_label))))), ((((GtkLabel*) ((page->tab_label)))))->label); else IA__gtk_label_set_text (((((GtkLabel*) ((page->menu_label))))), string); } } } static gint gtk_notebook_real_page_position (GtkNotebook *notebook, GList *list) { GList *work; gint count_start; for (work = notebook->children, count_start = 0; work && work != list; work = work->next) if (((GtkNotebookPage *)((GList *)(work))->data)->pack == GTK_PACK_START) count_start++; if (!work) return -1; if (((GtkNotebookPage *)((GList *)(list))->data)->pack == GTK_PACK_START) return count_start; return (count_start + g_list_length (list) - 1); } static GList * gtk_notebook_search_page (GtkNotebook *notebook, GList *list, gint direction, gboolean find_visible) { GtkNotebookPage *page = ((void *)0); GList *old_list = ((void *)0); gint flag = 0; switch (direction) { case STEP_PREV: flag = GTK_PACK_END; break; case STEP_NEXT: flag = GTK_PACK_START; break; } if (list) page = list->data; if (!page || page->pack == flag) { if (list) { old_list = list; list = list->next; } else list = notebook->children; while (list) { page = list->data; if (page->pack == flag && (!find_visible || (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && (!page->tab_label || (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))))))) return list; old_list = list; list = list->next; } list = old_list; } else { old_list = list; list = list->prev; } while (list) { page = list->data; if (page->pack != flag && (!find_visible || (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0) && (!page->tab_label || (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))))))) return list; old_list = list; list = list->prev; } return ((void *)0); } static void gtk_notebook_paint (GtkWidget *widget, GdkRectangle *area) { GtkNotebook *notebook; GtkNotebookPrivate *priv; GtkNotebookPage *page; GList *children; gboolean showarrow; gint width, height; gint x, y; gint border_width = ((((GtkContainer*) ((widget)))))->border_width; gint gap_x = 0, gap_width = 0, step = STEP_PREV; gboolean is_rtl; gint tab_pos; if (!(((((((((GtkObject*) ((widget)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((widget)))))->flags)) & GTK_MAPPED) != 0))) return; notebook = ((((GtkNotebook*) ((widget))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL; tab_pos = get_effective_tab_pos (notebook); if ((!notebook->show_tabs && !notebook->show_border) || !notebook->cur_page || !((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_VISIBLE) != 0)) return; x = widget->allocation.x + border_width; y = widget->allocation.y + border_width; width = widget->allocation.width - border_width * 2; height = widget->allocation.height - border_width * 2; if (notebook->show_border && (!notebook->show_tabs || !notebook->children)) { IA__gtk_paint_box (widget->style, widget->window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, area, widget, "notebook", x, y, width, height); return; } if (!notebook->first_tab) notebook->first_tab = notebook->children; if (!((((((((GtkObject*) ((notebook->cur_page->tab_label)))))->flags)) & GTK_MAPPED) != 0)) page = ((GtkNotebookPage *)((GList *)(notebook->first_tab))->data); else page = notebook->cur_page; switch (tab_pos) { case GTK_POS_TOP: y += page->allocation.height; case GTK_POS_BOTTOM: height -= page->allocation.height; break; case GTK_POS_LEFT: x += page->allocation.width; case GTK_POS_RIGHT: width -= page->allocation.width; break; } if (!(((GtkNotebookPage *) (notebook->cur_page))->tab_label->parent == ((GtkWidget *) (notebook))) || !((((((((GtkObject*) ((notebook->cur_page->tab_label)))))->flags)) & GTK_MAPPED) != 0)) { gap_x = 0; gap_width = 0; } else { switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: if (priv->operation == DRAG_OPERATION_REORDER) gap_x = priv->drag_window_x - widget->allocation.x - border_width; else gap_x = notebook->cur_page->allocation.x - widget->allocation.x - border_width; gap_width = notebook->cur_page->allocation.width; step = is_rtl ? STEP_NEXT : STEP_PREV; break; case GTK_POS_LEFT: case GTK_POS_RIGHT: if (priv->operation == DRAG_OPERATION_REORDER) gap_x = priv->drag_window_y - border_width - widget->allocation.y; else gap_x = notebook->cur_page->allocation.y - widget->allocation.y - border_width; gap_width = notebook->cur_page->allocation.height; step = STEP_PREV; break; } } IA__gtk_paint_box_gap (widget->style, widget->window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, area, widget, "notebook", x, y, width, height, tab_pos, gap_x, gap_width); showarrow = (0); children = gtk_notebook_search_page (notebook, ((void *)0), step, (!(0))); while (children) { page = children->data; children = gtk_notebook_search_page (notebook, children, step, (!(0))); if (!((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) continue; if (!((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0)) showarrow = (!(0)); else if (page != notebook->cur_page) gtk_notebook_draw_tab (notebook, page, area); } if (showarrow && notebook->scrollable) { if (notebook->has_before_previous) gtk_notebook_draw_arrow (notebook, ARROW_LEFT_BEFORE); if (notebook->has_before_next) gtk_notebook_draw_arrow (notebook, ARROW_RIGHT_BEFORE); if (notebook->has_after_previous) gtk_notebook_draw_arrow (notebook, ARROW_LEFT_AFTER); if (notebook->has_after_next) gtk_notebook_draw_arrow (notebook, ARROW_RIGHT_AFTER); } gtk_notebook_draw_tab (notebook, notebook->cur_page, area); } static void gtk_notebook_draw_tab (GtkNotebook *notebook, GtkNotebookPage *page, GdkRectangle *area) { GtkNotebookPrivate *priv; GdkRectangle child_area; GdkRectangle page_area; GtkStateType state_type; GtkPositionType gap_side; GdkWindow *window; GtkWidget *widget; if (!(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) || !((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0) || (page->allocation.width == 0) || (page->allocation.height == 0)) return; widget = ((((GtkWidget*) ((notebook))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); if (priv->operation == DRAG_OPERATION_REORDER && page == notebook->cur_page) window = priv->drag_window; else window = widget->window; page_area.x = page->allocation.x; page_area.y = page->allocation.y; page_area.width = page->allocation.width; page_area.height = page->allocation.height; if (gdk_rectangle_intersect (&page_area, area, &child_area)) { gap_side = get_tab_gap_pos (notebook); if (notebook->cur_page == page) state_type = GTK_STATE_NORMAL; else state_type = GTK_STATE_ACTIVE; IA__gtk_paint_extension (widget->style, window, state_type, GTK_SHADOW_OUT, area, widget, "tab", page_area.x, page_area.y, page_area.width, page_area.height, gap_side); } } static void gtk_notebook_draw_arrow (GtkNotebook *notebook, GtkNotebookArrow nbarrow) { GtkStateType state_type; GtkShadowType shadow_type; GtkWidget *widget; GdkRectangle arrow_rect; GtkArrowType arrow; gboolean is_rtl, left; if ((((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && ((((((((GtkObject*) ((notebook)))))->flags)) & GTK_MAPPED) != 0))) { gint scroll_arrow_hlength; gint scroll_arrow_vlength; gint arrow_size; gtk_notebook_get_arrow_rect (notebook, &arrow_rect, nbarrow); widget = ((((GtkWidget*) ((notebook))))); is_rtl = IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL; left = (((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) && !is_rtl) || (!((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) && is_rtl); IA__gtk_widget_style_get (widget, "scroll-arrow-hlength", &scroll_arrow_hlength, "scroll-arrow-vlength", &scroll_arrow_vlength, ((void *)0)); if (notebook->in_child == nbarrow) { if (notebook->click_child == nbarrow) state_type = GTK_STATE_ACTIVE; else state_type = GTK_STATE_PRELIGHT; } else state_type = (((((GtkWidget*) ((widget)))))->state); if (notebook->click_child == nbarrow) shadow_type = GTK_SHADOW_IN; else shadow_type = GTK_SHADOW_OUT; if (notebook->focus_tab && !gtk_notebook_search_page (notebook, notebook->focus_tab, left ? STEP_PREV : STEP_NEXT, (!(0)))) { shadow_type = GTK_SHADOW_ETCHED_IN; state_type = GTK_STATE_INSENSITIVE; } if (notebook->tab_pos == GTK_POS_LEFT || notebook->tab_pos == GTK_POS_RIGHT) { arrow = (((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) ? GTK_ARROW_UP : GTK_ARROW_DOWN); arrow_size = scroll_arrow_vlength; } else { arrow = (((nbarrow) == ARROW_LEFT_BEFORE || (nbarrow) == ARROW_LEFT_AFTER) ? GTK_ARROW_LEFT : GTK_ARROW_RIGHT); arrow_size = scroll_arrow_hlength; } IA__gtk_paint_arrow (widget->style, widget->window, state_type, shadow_type, ((void *)0), widget, "notebook", arrow, (!(0)), arrow_rect.x, arrow_rect.y, arrow_size, arrow_size); } } # 4794 "gtknotebook.c" static void gtk_notebook_tab_space (GtkNotebook *notebook, gboolean *show_arrows, gint *min, gint *max, gint *tab_space) { GtkNotebookPrivate *priv; GtkWidget *widget; GList *children; gint tab_pos = get_effective_tab_pos (notebook); gint tab_overlap; gint arrow_spacing; gint scroll_arrow_hlength; gint scroll_arrow_vlength; widget = ((((GtkWidget*) ((notebook))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); children = notebook->children; IA__gtk_widget_style_get (((((GtkWidget*) ((notebook))))), "arrow-spacing", &arrow_spacing, "scroll-arrow-hlength", &scroll_arrow_hlength, "scroll-arrow-vlength", &scroll_arrow_vlength, ((void *)0)); switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: *min = widget->allocation.x + ((((GtkContainer*) ((notebook)))))->border_width; *max = widget->allocation.x + widget->allocation.width - ((((GtkContainer*) ((notebook)))))->border_width; while (children) { GtkNotebookPage *page; page = children->data; children = children->next; if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) && ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) *tab_space += page->requisition.width; } break; case GTK_POS_RIGHT: case GTK_POS_LEFT: *min = widget->allocation.y + ((((GtkContainer*) ((notebook)))))->border_width; *max = widget->allocation.y + widget->allocation.height - ((((GtkContainer*) ((notebook)))))->border_width; while (children) { GtkNotebookPage *page; page = children->data; children = children->next; if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) && ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) *tab_space += page->requisition.height; } break; } if (!notebook->scrollable) *show_arrows = (0); else { IA__gtk_widget_style_get (widget, "tab-overlap", &tab_overlap, ((void *)0)); switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: if (*tab_space > *max - *min - tab_overlap) { *show_arrows = (!(0)); *tab_space = widget->allocation.width - tab_overlap - 2 * ((((GtkContainer*) ((notebook)))))->border_width; if (notebook->has_after_previous) { *tab_space -= arrow_spacing + scroll_arrow_hlength; *max -= arrow_spacing + scroll_arrow_hlength; } if (notebook->has_after_next) { *tab_space -= arrow_spacing + scroll_arrow_hlength; *max -= arrow_spacing + scroll_arrow_hlength; } if (notebook->has_before_previous) { *tab_space -= arrow_spacing + scroll_arrow_hlength; *min += arrow_spacing + scroll_arrow_hlength; } if (notebook->has_before_next) { *tab_space -= arrow_spacing + scroll_arrow_hlength; *min += arrow_spacing + scroll_arrow_hlength; } } break; case GTK_POS_LEFT: case GTK_POS_RIGHT: if (*tab_space > *max - *min - tab_overlap) { *show_arrows = (!(0)); *tab_space = widget->allocation.height - tab_overlap - 2 * ((((GtkContainer*) ((notebook)))))->border_width; if (notebook->has_after_previous || notebook->has_after_next) { *tab_space -= arrow_spacing + scroll_arrow_vlength; *max -= arrow_spacing + scroll_arrow_vlength; } if (notebook->has_before_previous || notebook->has_before_next) { *tab_space -= arrow_spacing + scroll_arrow_vlength; *min += arrow_spacing + scroll_arrow_vlength; } } break; } } } static void gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook, gboolean show_arrows, gint min, gint max, gint tab_space, GList **last_child, gint *n, gint *remaining_space) { GtkWidget *widget; GtkContainer *container; GList *children; GtkNotebookPage *page; gint tab_pos, tab_overlap; widget = ((((GtkWidget*) ((notebook))))); container = ((((GtkContainer*) ((notebook))))); IA__gtk_widget_style_get (widget, "tab-overlap", &tab_overlap, ((void *)0)); tab_pos = get_effective_tab_pos (notebook); if (show_arrows) { *remaining_space = tab_space; if ((((GtkNotebookPage *) (notebook->cur_page))->tab_label->parent == ((GtkWidget *) (notebook))) && ((((((((GtkObject*) ((notebook->cur_page->child)))))->flags)) & GTK_VISIBLE) != 0)) { gtk_notebook_calc_tabs (notebook, notebook->focus_tab, &(notebook->focus_tab), remaining_space, STEP_NEXT); } if (*remaining_space <= 0) { notebook->first_tab = notebook->focus_tab; *last_child = gtk_notebook_search_page (notebook, notebook->focus_tab, STEP_NEXT, (!(0))); } else { children = ((void *)0); if (notebook->first_tab && notebook->first_tab != notebook->focus_tab) { page = notebook->first_tab->data; if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) && ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) for (children = notebook->focus_tab; children && children != notebook->first_tab; children = gtk_notebook_search_page (notebook, children, STEP_PREV, (!(0)))); } if (!children) { if ((((GtkNotebookPage *) (notebook->cur_page))->tab_label->parent == ((GtkWidget *) (notebook)))) notebook->first_tab = notebook->focus_tab; else notebook->first_tab = gtk_notebook_search_page (notebook, notebook->focus_tab, STEP_NEXT, (!(0))); } else gtk_notebook_calc_tabs (notebook, gtk_notebook_search_page (notebook, notebook->focus_tab, STEP_PREV, (!(0))), &(notebook->first_tab), remaining_space, STEP_PREV); if (*remaining_space < 0) { notebook->first_tab = gtk_notebook_search_page (notebook, notebook->first_tab, STEP_NEXT, (!(0))); if (!notebook->first_tab) notebook->first_tab = notebook->focus_tab; *last_child = gtk_notebook_search_page (notebook, notebook->focus_tab, STEP_NEXT, (!(0))); } else { if (!notebook->first_tab) notebook->first_tab = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (!(0))); children = ((void *)0); gtk_notebook_calc_tabs (notebook, gtk_notebook_search_page (notebook, notebook->focus_tab, STEP_NEXT, (!(0))), &children, remaining_space, STEP_NEXT); if (*remaining_space <= 0) *last_child = children; else { *last_child = ((void *)0); children = ((void *)0); gtk_notebook_calc_tabs (notebook, gtk_notebook_search_page (notebook, notebook->first_tab, STEP_PREV, (!(0))), &children, remaining_space, STEP_PREV); if (*remaining_space == 0) notebook->first_tab = children; else notebook->first_tab = gtk_notebook_search_page(notebook, children, STEP_NEXT, (!(0))); } } } if (*remaining_space < 0) { *remaining_space = - (*remaining_space); *n = 0; for (children = notebook->first_tab; children && children != *last_child; children = gtk_notebook_search_page (notebook, children, STEP_NEXT, (!(0)))) (*n)++; } else *remaining_space = 0; for (children = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (!(0))); children && children != notebook->first_tab; children = gtk_notebook_search_page (notebook, children, STEP_NEXT, (!(0)))) { page = children->data; if (page->tab_label && (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook)))) IA__gtk_widget_set_child_visible (page->tab_label, (0)); } for (children = *last_child; children; children = gtk_notebook_search_page (notebook, children, STEP_NEXT, (!(0)))) { page = children->data; if (page->tab_label && (((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook)))) IA__gtk_widget_set_child_visible (page->tab_label, (0)); } } else { gint c = 0; *n = 0; *remaining_space = max - min - tab_overlap - tab_space; children = notebook->children; notebook->first_tab = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (!(0))); while (children) { page = children->data; children = children->next; if (!(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) || !((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) continue; c++; if (page->expand) (*n)++; } if (notebook->homogeneous && *n) *n = c; } } static gboolean get_allocate_at_bottom (GtkWidget *widget, gint search_direction) { gboolean is_rtl = (IA__gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL); gboolean tab_pos = get_effective_tab_pos (((((GtkNotebook*) ((widget)))))); switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: if (!is_rtl) return (search_direction == STEP_PREV); else return (search_direction == STEP_NEXT); break; case GTK_POS_RIGHT: case GTK_POS_LEFT: return (search_direction == STEP_PREV); break; } return (0); } static gboolean gtk_notebook_calculate_tabs_allocation (GtkNotebook *notebook, GList **children, GList *last_child, gboolean showarrow, gint direction, gint *remaining_space, gint *expanded_tabs, gint min, gint max) { GtkWidget *widget; GtkContainer *container; GtkNotebookPrivate *priv; GtkNotebookPage *page; gboolean allocate_at_bottom; gint tab_overlap, tab_pos, tab_extra_space; gint left_x, right_x, top_y, bottom_y, anchor; gint xthickness, ythickness; gboolean gap_left, packing_changed; GtkAllocation child_allocation = { 0, }; gboolean allocation_changed = (0); widget = ((((GtkWidget*) ((notebook))))); container = ((((GtkContainer*) ((notebook))))); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); IA__gtk_widget_style_get (widget, "tab-overlap", &tab_overlap, ((void *)0)); tab_pos = get_effective_tab_pos (notebook); allocate_at_bottom = get_allocate_at_bottom (widget, direction); anchor = 0; child_allocation.x = widget->allocation.x + container->border_width; child_allocation.y = widget->allocation.y + container->border_width; xthickness = widget->style->xthickness; ythickness = widget->style->ythickness; switch (tab_pos) { case GTK_POS_BOTTOM: child_allocation.y = widget->allocation.y + widget->allocation.height - notebook->cur_page->requisition.height - container->border_width; case GTK_POS_TOP: child_allocation.x = (allocate_at_bottom) ? max : min; child_allocation.height = notebook->cur_page->requisition.height; anchor = child_allocation.x; break; case GTK_POS_RIGHT: child_allocation.x = widget->allocation.x + widget->allocation.width - notebook->cur_page->requisition.width - container->border_width; case GTK_POS_LEFT: child_allocation.y = (allocate_at_bottom) ? max : min; child_allocation.width = notebook->cur_page->requisition.width; anchor = child_allocation.y; break; } 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))); 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))); right_x = left_x + notebook->cur_page->allocation.width; bottom_y = top_y + notebook->cur_page->allocation.height; gap_left = packing_changed = (0); while (*children && *children != last_child) { page = (*children)->data; if (direction == STEP_NEXT && page->pack != GTK_PACK_START) { if (!showarrow) break; else if (priv->operation == DRAG_OPERATION_REORDER) packing_changed = (!(0)); } if (direction == STEP_NEXT) *children = gtk_notebook_search_page (notebook, *children, direction, (!(0))); else { *children = (*children)->next; if (page->pack != GTK_PACK_END || !((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) continue; } if (!(((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook)))) continue; tab_extra_space = 0; if (*expanded_tabs && (showarrow || page->expand || notebook->homogeneous)) { tab_extra_space = *remaining_space / *expanded_tabs; *remaining_space -= tab_extra_space; (*expanded_tabs)--; } switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: child_allocation.width = page->requisition.width + tab_overlap + tab_extra_space; if (priv->operation == DRAG_OPERATION_REORDER && !gap_left && packing_changed) { if (!allocate_at_bottom) { if ((notebook->cur_page->pack == GTK_PACK_START && left_x >= anchor) || (notebook->cur_page->pack == GTK_PACK_END && left_x < anchor)) { left_x = priv->drag_window_x = anchor; anchor += notebook->cur_page->allocation.width - tab_overlap; } } else { if ((notebook->cur_page->pack == GTK_PACK_START && right_x <= anchor) || (notebook->cur_page->pack == GTK_PACK_END && right_x > anchor)) { anchor -= notebook->cur_page->allocation.width; left_x = priv->drag_window_x = anchor; anchor += tab_overlap; } } gap_left = (!(0)); } if (priv->operation == DRAG_OPERATION_REORDER && page == notebook->cur_page) { priv->drag_window_x = left_x; priv->drag_window_y = child_allocation.y; } else { if (allocate_at_bottom) anchor -= child_allocation.width; if (priv->operation == DRAG_OPERATION_REORDER && page->pack == notebook->cur_page->pack) { if (!allocate_at_bottom && left_x >= anchor && left_x <= anchor + child_allocation.width / 2) anchor += notebook->cur_page->allocation.width - tab_overlap; else if (allocate_at_bottom && right_x >= anchor + child_allocation.width / 2 && right_x <= anchor + child_allocation.width) anchor -= notebook->cur_page->allocation.width - tab_overlap; } child_allocation.x = anchor; } break; case GTK_POS_LEFT: case GTK_POS_RIGHT: child_allocation.height = page->requisition.height + tab_overlap + tab_extra_space; if (priv->operation == DRAG_OPERATION_REORDER && !gap_left && packing_changed) { if (!allocate_at_bottom && ((notebook->cur_page->pack == GTK_PACK_START && top_y >= anchor) || (notebook->cur_page->pack == GTK_PACK_END && top_y < anchor))) { top_y = priv->drag_window_y = anchor; anchor += notebook->cur_page->allocation.height - tab_overlap; } gap_left = (!(0)); } if (priv->operation == DRAG_OPERATION_REORDER && page == notebook->cur_page) { priv->drag_window_x = child_allocation.x; priv->drag_window_y = top_y; } else { if (allocate_at_bottom) anchor -= child_allocation.height; if (priv->operation == DRAG_OPERATION_REORDER && page->pack == notebook->cur_page->pack) { if (!allocate_at_bottom && top_y >= anchor && top_y <= anchor + child_allocation.height / 2) anchor += notebook->cur_page->allocation.height - tab_overlap; else if (allocate_at_bottom && bottom_y >= anchor + child_allocation.height / 2 && bottom_y <= anchor + child_allocation.height) anchor -= notebook->cur_page->allocation.height - tab_overlap; } child_allocation.y = anchor; } break; } if ((priv->operation != DRAG_OPERATION_REORDER || page != notebook->cur_page) && (page->allocation.x != child_allocation.x || page->allocation.y != child_allocation.y || page->allocation.width != child_allocation.width || page->allocation.height != child_allocation.height)) allocation_changed = (!(0)); page->allocation = child_allocation; if ((page == priv->detached_tab && priv->operation == DRAG_OPERATION_DETACH) || (page == notebook->cur_page && priv->operation == DRAG_OPERATION_REORDER)) { page->allocation.x = 0; page->allocation.y = 0; } if (page != notebook->cur_page) { switch (tab_pos) { case GTK_POS_TOP: page->allocation.y += ythickness; case GTK_POS_BOTTOM: page->allocation.height = (((1) > (page->allocation.height - ythickness)) ? (1) : (page->allocation.height - ythickness)); break; case GTK_POS_LEFT: page->allocation.x += xthickness; case GTK_POS_RIGHT: page->allocation.width = (((1) > (page->allocation.width - xthickness)) ? (1) : (page->allocation.width - xthickness)); break; } } switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: if (priv->operation != DRAG_OPERATION_REORDER || (priv->operation == DRAG_OPERATION_REORDER && page != notebook->cur_page)) { if (priv->operation == DRAG_OPERATION_REORDER) { if (page->pack == notebook->cur_page->pack && !allocate_at_bottom && left_x > anchor + child_allocation.width / 2 && left_x <= anchor + child_allocation.width) anchor += notebook->cur_page->allocation.width - tab_overlap; else if (page->pack == notebook->cur_page->pack && allocate_at_bottom && right_x >= anchor && right_x <= anchor + child_allocation.width / 2) anchor -= notebook->cur_page->allocation.width - tab_overlap; } if (!allocate_at_bottom) anchor += child_allocation.width - tab_overlap; else anchor += tab_overlap; } break; case GTK_POS_LEFT: case GTK_POS_RIGHT: if (priv->operation != DRAG_OPERATION_REORDER || (priv->operation == DRAG_OPERATION_REORDER && page != notebook->cur_page)) { if (priv->operation == DRAG_OPERATION_REORDER) { if (page->pack == notebook->cur_page->pack && !allocate_at_bottom && top_y >= anchor + child_allocation.height / 2 && top_y <= anchor + child_allocation.height) anchor += notebook->cur_page->allocation.height - tab_overlap; else if (page->pack == notebook->cur_page->pack && allocate_at_bottom && bottom_y >= anchor && bottom_y <= anchor + child_allocation.height / 2) anchor -= notebook->cur_page->allocation.height - tab_overlap; } if (!allocate_at_bottom) anchor += child_allocation.height - tab_overlap; else anchor += tab_overlap; } break; } if (page->tab_label) IA__gtk_widget_set_child_visible (page->tab_label, (!(0))); } if (children && priv->operation == DRAG_OPERATION_REORDER && ((direction == STEP_NEXT && notebook->cur_page->pack == GTK_PACK_START) || ((direction == STEP_PREV || packing_changed) && notebook->cur_page->pack == GTK_PACK_END))) { switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: if (allocate_at_bottom) anchor -= notebook->cur_page->allocation.width; if ((!allocate_at_bottom && priv->drag_window_x > anchor) || (allocate_at_bottom && priv->drag_window_x < anchor)) priv->drag_window_x = anchor; break; case GTK_POS_LEFT: case GTK_POS_RIGHT: if (allocate_at_bottom) anchor -= notebook->cur_page->allocation.height; if ((!allocate_at_bottom && priv->drag_window_y > anchor) || (allocate_at_bottom && priv->drag_window_y < anchor)) priv->drag_window_y = anchor; break; } } return allocation_changed; } static void gtk_notebook_pages_allocate (GtkNotebook *notebook) { GList *children = ((void *)0); GList *last_child = ((void *)0); gboolean showarrow = (0); gint tab_space, min, max, remaining_space; gint expanded_tabs, operation; if (!notebook->show_tabs || !notebook->children || !notebook->cur_page) return; min = max = tab_space = remaining_space = 0; expanded_tabs = 1; gtk_notebook_tab_space (notebook, &showarrow, &min, &max, &tab_space); gtk_notebook_calculate_shown_tabs (notebook, showarrow, min, max, tab_space, &last_child, &expanded_tabs, &remaining_space); children = notebook->first_tab; gtk_notebook_calculate_tabs_allocation (notebook, &children, last_child, showarrow, STEP_NEXT, &remaining_space, &expanded_tabs, min, max); if (children && children != last_child) { children = notebook->children; gtk_notebook_calculate_tabs_allocation (notebook, &children, last_child, showarrow, STEP_PREV, &remaining_space, &expanded_tabs, min, max); } children = notebook->children; while (children) { gtk_notebook_page_allocate (notebook, ((GtkNotebookPage *)((GList *)(children))->data)); children = children->next; } operation = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ())))))->operation; if (!notebook->first_tab) notebook->first_tab = notebook->children; gtk_notebook_redraw_tabs (notebook); } static void gtk_notebook_page_allocate (GtkNotebook *notebook, GtkNotebookPage *page) { GtkWidget *widget = ((((GtkWidget*) ((notebook))))); GtkAllocation child_allocation; GtkRequisition tab_requisition; gint xthickness; gint ythickness; gint padding; gint focus_width; gint tab_curvature; gint tab_pos = get_effective_tab_pos (notebook); if (!page->tab_label) return; xthickness = widget->style->xthickness; ythickness = widget->style->ythickness; IA__gtk_widget_get_child_requisition (page->tab_label, &tab_requisition); IA__gtk_widget_style_get (widget, "focus-line-width", &focus_width, "tab-curvature", &tab_curvature, ((void *)0)); switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: padding = tab_curvature + focus_width + notebook->tab_hborder; if (page->fill) { child_allocation.x = xthickness + focus_width + notebook->tab_hborder; child_allocation.width = (((1) > (page->allocation.width - 2 * child_allocation.x)) ? (1) : (page->allocation.width - 2 * child_allocation.x)); child_allocation.x += page->allocation.x; } else { child_allocation.x = page->allocation.x + (page->allocation.width - tab_requisition.width) / 2; child_allocation.width = tab_requisition.width; } child_allocation.y = notebook->tab_vborder + focus_width + page->allocation.y; if (tab_pos == GTK_POS_TOP) child_allocation.y += ythickness; 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)))); break; case GTK_POS_LEFT: case GTK_POS_RIGHT: padding = tab_curvature + focus_width + notebook->tab_vborder; if (page->fill) { child_allocation.y = ythickness + padding; child_allocation.height = (((1) > ((page->allocation.height - 2 * child_allocation.y))) ? (1) : ((page->allocation.height - 2 * child_allocation.y))); child_allocation.y += page->allocation.y; } else { child_allocation.y = page->allocation.y + (page->allocation.height - tab_requisition.height) / 2; child_allocation.height = tab_requisition.height; } child_allocation.x = notebook->tab_hborder + focus_width + page->allocation.x; if (tab_pos == GTK_POS_LEFT) child_allocation.x += xthickness; 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)))); break; } IA__gtk_widget_size_allocate (page->tab_label, &child_allocation); } static void gtk_notebook_calc_tabs (GtkNotebook *notebook, GList *start, GList **end, gint *tab_space, guint direction) { GtkNotebookPage *page = ((void *)0); GList *children; GList *last_list = ((void *)0); GList *last_calculated_child = ((void *)0); gboolean pack; gint tab_pos = get_effective_tab_pos (notebook); guint real_direction; if (!start) return; children = start; pack = ((GtkNotebookPage *)((GList *)(start))->data)->pack; if (pack == GTK_PACK_END) real_direction = (direction == STEP_PREV) ? STEP_NEXT : STEP_PREV; else real_direction = direction; while (1) { switch (tab_pos) { case GTK_POS_TOP: case GTK_POS_BOTTOM: while (children) { page = children->data; if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) && ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) { if (page->pack == pack) { *tab_space -= page->requisition.width; if (*tab_space < 0 || children == *end) { if (*tab_space < 0) { *tab_space = - (*tab_space + page->requisition.width); if (*tab_space == 0 && direction == STEP_PREV) children = last_calculated_child; *end = children; } return; } last_calculated_child = children; } last_list = children; } if (real_direction == STEP_NEXT) children = children->next; else children = children->prev; } break; case GTK_POS_LEFT: case GTK_POS_RIGHT: while (children) { page = children->data; if ((((GtkNotebookPage *) (page))->tab_label->parent == ((GtkWidget *) (notebook))) && ((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) { if (page->pack == pack) { *tab_space -= page->requisition.height; if (*tab_space < 0 || children == *end) { if (*tab_space < 0) { *tab_space = - (*tab_space + page->requisition.height); if (*tab_space == 0 && direction == STEP_PREV) children = last_calculated_child; *end = children; } return; } last_calculated_child = children; } last_list = children; } if (real_direction == STEP_NEXT) children = children->next; else children = children->prev; } break; } if (real_direction == STEP_PREV) return; pack = (pack == GTK_PACK_END) ? GTK_PACK_START : GTK_PACK_END; real_direction = STEP_PREV; children = last_list; } } static void gtk_notebook_update_tab_states (GtkNotebook *notebook) { GList *list; for (list = notebook->children; list != ((void *)0); list = list->next) { GtkNotebookPage *page = list->data; if (page->tab_label) { if (page == notebook->cur_page) IA__gtk_widget_set_state (page->tab_label, GTK_STATE_NORMAL); else IA__gtk_widget_set_state (page->tab_label, GTK_STATE_ACTIVE); } } } static void gtk_notebook_real_switch_page (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num) { if (notebook->cur_page == page || !((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) return; if (notebook->cur_page) IA__gtk_widget_set_child_visible (notebook->cur_page->child, (0)); notebook->cur_page = page; if (!notebook->focus_tab || notebook->focus_tab->data != (gpointer) notebook->cur_page) notebook->focus_tab = g_list_find (notebook->children, notebook->cur_page); IA__gtk_widget_set_child_visible (notebook->cur_page->child, (!(0))); if (notebook->child_has_focus) { if (notebook->cur_page->last_focus_child && IA__gtk_widget_is_ancestor (notebook->cur_page->last_focus_child, notebook->cur_page->child)) IA__gtk_widget_grab_focus (notebook->cur_page->last_focus_child); else if (!IA__gtk_widget_child_focus (notebook->cur_page->child, GTK_DIR_TAB_FORWARD)) IA__gtk_widget_grab_focus (((((GtkWidget*) ((notebook)))))); } gtk_notebook_update_tab_states (notebook); IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "page"); } # 5802 "gtknotebook.c" static void gtk_notebook_switch_page (GtkNotebook *notebook, GtkNotebookPage *page) { guint page_num; if (notebook->cur_page == page) return; page_num = g_list_index (notebook->children, page); g_signal_emit (notebook, notebook_signals[SWITCH_PAGE], 0, page, page_num); } static gint gtk_notebook_page_select (GtkNotebook *notebook, gboolean move_focus) { GtkNotebookPage *page; GtkDirectionType dir = GTK_DIR_DOWN; gint tab_pos = get_effective_tab_pos (notebook); if (!notebook->focus_tab) return (0); page = notebook->focus_tab->data; gtk_notebook_switch_page (notebook, page); if (move_focus) { switch (tab_pos) { case GTK_POS_TOP: dir = GTK_DIR_DOWN; break; case GTK_POS_BOTTOM: dir = GTK_DIR_UP; break; case GTK_POS_LEFT: dir = GTK_DIR_RIGHT; break; case GTK_POS_RIGHT: dir = GTK_DIR_LEFT; break; } if (IA__gtk_widget_child_focus (page->child, dir)) return (!(0)); } return (0); } static void gtk_notebook_switch_focus_tab (GtkNotebook *notebook, GList *new_child) { GList *old_child; GtkNotebookPage *page; if (notebook->focus_tab == new_child) return; old_child = notebook->focus_tab; notebook->focus_tab = new_child; if (notebook->scrollable) gtk_notebook_redraw_arrows (notebook); if (!notebook->show_tabs || !notebook->focus_tab) return; page = notebook->focus_tab->data; if (((((((((GtkObject*) ((page->tab_label)))))->flags)) & GTK_MAPPED) != 0)) gtk_notebook_redraw_tabs (notebook); else gtk_notebook_pages_allocate (notebook); gtk_notebook_switch_page (notebook, page); } static void gtk_notebook_menu_switch_page (GtkWidget *widget, GtkNotebookPage *page) { GtkNotebook *notebook; GList *children; guint page_num; notebook = ((((GtkNotebook*) ((IA__gtk_menu_get_attach_widget (((((GtkMenu*) ((widget->parent))))))))))); if (notebook->cur_page == page) return; page_num = 0; children = notebook->children; while (children && children->data != page) { children = children->next; page_num++; } g_signal_emit (notebook, notebook_signals[SWITCH_PAGE], 0, page, page_num); } static void gtk_notebook_menu_item_create (GtkNotebook *notebook, GList *list) { GtkNotebookPage *page; GtkWidget *menu_item; page = list->data; if (page->default_menu) { 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; }))))) page->menu_label = IA__gtk_label_new (((((GtkLabel*) ((page->tab_label)))))->label); else page->menu_label = IA__gtk_label_new (""); IA__gtk_misc_set_alignment (((((GtkMisc*) ((page->menu_label))))), 0.0, 0.5); } IA__gtk_widget_show (page->menu_label); menu_item = IA__gtk_menu_item_new (); IA__gtk_container_add (((((GtkContainer*) ((menu_item))))), page->menu_label); IA__gtk_menu_shell_insert (((((GtkMenuShell*) ((notebook->menu))))), menu_item, gtk_notebook_real_page_position (notebook, list)); g_signal_connect_data ((menu_item), ("activate"), (((GCallback) (gtk_notebook_menu_switch_page))), (page), ((void *)0), (GConnectFlags) 0); if (((((((((GtkObject*) ((page->child)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_show (menu_item); } static void gtk_notebook_menu_label_unparent (GtkWidget *widget, gpointer data) { IA__gtk_widget_unparent (((((GtkBin*) ((widget)))))->child); ((((GtkBin*) ((widget)))))->child = ((void *)0); } static void gtk_notebook_menu_detacher (GtkWidget *widget, GtkMenu *menu) { GtkNotebook *notebook; notebook = ((((GtkNotebook*) ((widget))))); (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; }; }); notebook->menu = ((void *)0); } # 5976 "gtknotebook.c" static void gtk_notebook_set_homogeneous_tabs_internal (GtkNotebook *notebook, gboolean homogeneous) { if (homogeneous == notebook->homogeneous) return; notebook->homogeneous = homogeneous; IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "homogeneous"); } static void gtk_notebook_set_tab_border_internal (GtkNotebook *notebook, guint border_width) { notebook->tab_hborder = border_width; notebook->tab_vborder = border_width; if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && notebook->show_tabs) IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_freeze_notify (((((GObject*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "tab-hborder"); g_object_notify (((((GObject*) ((notebook))))), "tab-vborder"); g_object_thaw_notify (((((GObject*) ((notebook)))))); } static void gtk_notebook_set_tab_hborder_internal (GtkNotebook *notebook, guint tab_hborder) { if (notebook->tab_hborder == tab_hborder) return; notebook->tab_hborder = tab_hborder; if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && notebook->show_tabs) IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "tab-hborder"); } static void gtk_notebook_set_tab_vborder_internal (GtkNotebook *notebook, guint tab_vborder) { if (notebook->tab_vborder == tab_vborder) return; notebook->tab_vborder = tab_vborder; if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0) && notebook->show_tabs) IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "tab-vborder"); } # 6057 "gtknotebook.c" gint IA__gtk_notebook_append_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label) { (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); }; }); (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); }; }); (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); }; }); return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, ((void *)0), -1); } # 6088 "gtknotebook.c" gint IA__gtk_notebook_append_page_menu (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label) { (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); }; }); (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); }; }); (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); }; }); (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); }; }); return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, menu_label, -1); } # 6114 "gtknotebook.c" gint IA__gtk_notebook_prepend_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label) { (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); }; }); (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); }; }); (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); }; }); return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, ((void *)0), 0); } # 6145 "gtknotebook.c" gint IA__gtk_notebook_prepend_page_menu (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label) { (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); }; }); (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); }; }); (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); }; }); (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); }; }); return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, menu_label, 0); } # 6173 "gtknotebook.c" gint IA__gtk_notebook_insert_page (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, gint position) { (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); }; }); (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); }; }); (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); }; }); return IA__gtk_notebook_insert_page_menu (notebook, child, tab_label, ((void *)0), position); } static gint gtk_notebook_page_compare_tab (gconstpointer a, gconstpointer b) { return (((GtkNotebookPage *) a)->tab_label != b); } static gboolean gtk_notebook_mnemonic_activate_switch_page (GtkWidget *child, gboolean overload, gpointer data) { GtkNotebook *notebook = ((((GtkNotebook*) ((data))))); GList *list; list = g_list_find_custom (notebook->children, child, gtk_notebook_page_compare_tab); if (list) { GtkNotebookPage *page = list->data; IA__gtk_widget_grab_focus (((((GtkWidget*) ((notebook)))))); gtk_notebook_switch_page (notebook, page); focus_tabs_in (notebook); } return (!(0)); } # 6237 "gtknotebook.c" gint IA__gtk_notebook_insert_page_menu (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position) { GtkNotebookClass *class; (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); }; }); (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); }; }); (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); }; }); (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); }; }); class = ((((GtkNotebookClass*) (((GTypeInstance*) ((notebook)))->g_class)))); return (class->insert_page) (notebook, child, tab_label, menu_label, position); } # 6266 "gtknotebook.c" void IA__gtk_notebook_remove_page (GtkNotebook *notebook, gint page_num) { GList *list = ((void *)0); (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; }; }); if (page_num >= 0) list = g_list_nth (notebook->children, page_num); else list = g_list_last (notebook->children); if (list) IA__gtk_container_remove (((((GtkContainer*) ((notebook))))), ((GtkNotebookPage *) list->data)->child); } # 6301 "gtknotebook.c" gint IA__gtk_notebook_get_current_page (GtkNotebook *notebook) { (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); }; }); if (!notebook->cur_page) return -1; return g_list_index (notebook->children, notebook->cur_page); } # 6323 "gtknotebook.c" GtkWidget* IA__gtk_notebook_get_nth_page (GtkNotebook *notebook, gint page_num) { GtkNotebookPage *page; GList *list; (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)); }; }); if (page_num >= 0) list = g_list_nth (notebook->children, page_num); else list = g_list_last (notebook->children); if (list) { page = list->data; return page->child; } return ((void *)0); } # 6356 "gtknotebook.c" gint IA__gtk_notebook_get_n_pages (GtkNotebook *notebook) { (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); }; }); return g_list_length (notebook->children); } # 6375 "gtknotebook.c" gint IA__gtk_notebook_page_num (GtkNotebook *notebook, GtkWidget *child) { GList *children; gint num; (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); }; }); num = 0; children = notebook->children; while (children) { GtkNotebookPage *page = children->data; if (page->child == child) return num; children = children->next; num++; } return -1; } # 6415 "gtknotebook.c" void IA__gtk_notebook_set_current_page (GtkNotebook *notebook, gint page_num) { GList *list; (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; }; }); if (page_num < 0) page_num = g_list_length (notebook->children) - 1; list = g_list_nth (notebook->children, page_num); if (list) gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(list))->data)); } # 6438 "gtknotebook.c" void IA__gtk_notebook_next_page (GtkNotebook *notebook) { GList *list; (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; }; }); list = g_list_find (notebook->children, notebook->cur_page); if (!list) return; list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (!(0))); if (!list) return; gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(list))->data)); } # 6463 "gtknotebook.c" void IA__gtk_notebook_prev_page (GtkNotebook *notebook) { GList *list; (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; }; }); list = g_list_find (notebook->children, notebook->cur_page); if (!list) return; list = gtk_notebook_search_page (notebook, list, STEP_PREV, (!(0))); if (!list) return; gtk_notebook_switch_page (notebook, ((GtkNotebookPage *)((GList *)(list))->data)); } # 6501 "gtknotebook.c" void IA__gtk_notebook_set_show_border (GtkNotebook *notebook, gboolean show_border) { (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; }; }); if (notebook->show_border != show_border) { notebook->show_border = show_border; if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "show-border"); } } # 6527 "gtknotebook.c" gboolean IA__gtk_notebook_get_show_border (GtkNotebook *notebook) { (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)); }; }); return notebook->show_border; } # 6542 "gtknotebook.c" void IA__gtk_notebook_set_show_tabs (GtkNotebook *notebook, gboolean show_tabs) { GtkNotebookPage *page; GList *children; (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; }; }); show_tabs = show_tabs != (0); if (notebook->show_tabs == show_tabs) return; notebook->show_tabs = show_tabs; children = notebook->children; if (!show_tabs) { (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) &= ~(GTK_CAN_FOCUS)); }); while (children) { page = children->data; children = children->next; if (page->default_tab) { IA__gtk_widget_destroy (page->tab_label); page->tab_label = ((void *)0); } else IA__gtk_widget_hide (page->tab_label); } } else { (void) __extension__ ({ (((((((GtkObject*) ((notebook)))))->flags)) |= (GTK_CAN_FOCUS)); }); gtk_notebook_update_labels (notebook); } IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "show-tabs"); } # 6595 "gtknotebook.c" gboolean IA__gtk_notebook_get_show_tabs (GtkNotebook *notebook) { (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)); }; }); return notebook->show_tabs; } # 6611 "gtknotebook.c" void IA__gtk_notebook_set_tab_pos (GtkNotebook *notebook, GtkPositionType pos) { (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; }; }); if (notebook->tab_pos != pos) { notebook->tab_pos = pos; if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); } g_object_notify (((((GObject*) ((notebook))))), "tab-pos"); } # 6636 "gtknotebook.c" GtkPositionType IA__gtk_notebook_get_tab_pos (GtkNotebook *notebook) { (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); }; }); return notebook->tab_pos; } # 6651 "gtknotebook.c" void IA__gtk_notebook_set_homogeneous_tabs (GtkNotebook *notebook, gboolean homogeneous) { (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_notebook_set_homogeneous_tabs_internal (notebook, homogeneous); } # 6670 "gtknotebook.c" void IA__gtk_notebook_set_tab_border (GtkNotebook *notebook, guint border_width) { (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_notebook_set_tab_border_internal (notebook, border_width); } # 6686 "gtknotebook.c" void IA__gtk_notebook_set_tab_hborder (GtkNotebook *notebook, guint tab_hborder) { (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_notebook_set_tab_hborder_internal (notebook, tab_hborder); } # 6702 "gtknotebook.c" void IA__gtk_notebook_set_tab_vborder (GtkNotebook *notebook, guint tab_vborder) { (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_notebook_set_tab_vborder_internal (notebook, tab_vborder); } # 6719 "gtknotebook.c" void IA__gtk_notebook_set_scrollable (GtkNotebook *notebook, gboolean scrollable) { (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; }; }); scrollable = (scrollable != (0)); if (scrollable != notebook->scrollable) { notebook->scrollable = scrollable; if (((((((((GtkObject*) ((notebook)))))->flags)) & GTK_VISIBLE) != 0)) IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); g_object_notify (((((GObject*) ((notebook))))), "scrollable"); } } # 6747 "gtknotebook.c" gboolean IA__gtk_notebook_get_scrollable (GtkNotebook *notebook) { (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)); }; }); return notebook->scrollable; } # 6769 "gtknotebook.c" void IA__gtk_notebook_popup_enable (GtkNotebook *notebook) { GList *list; (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; }; }); if (notebook->menu) return; notebook->menu = IA__gtk_menu_new (); for (list = gtk_notebook_search_page (notebook, ((void *)0), STEP_NEXT, (0)); list; list = gtk_notebook_search_page (notebook, list, STEP_NEXT, (0))) gtk_notebook_menu_item_create (notebook, list); gtk_notebook_update_labels (notebook); IA__gtk_menu_attach_to_widget (((((GtkMenu*) ((notebook->menu))))), ((((GtkWidget*) ((notebook))))), gtk_notebook_menu_detacher); g_object_notify (((((GObject*) ((notebook))))), "enable-popup"); } void IA__gtk_notebook_popup_disable (GtkNotebook *notebook) { (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; }; }); if (!notebook->menu) return; IA__gtk_container_foreach (((((GtkContainer*) ((notebook->menu))))), (GtkCallback) gtk_notebook_menu_label_unparent, ((void *)0)); IA__gtk_widget_destroy (notebook->menu); g_object_notify (((((GObject*) ((notebook))))), "enable-popup"); } # 6841 "gtknotebook.c" GtkWidget * IA__gtk_notebook_get_tab_label (GtkNotebook *notebook, GtkWidget *child) { GList *list; (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)); }; }); (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)); }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return ((void *)0); if (((GtkNotebookPage *)((GList *)(list))->data)->default_tab) return ((void *)0); return ((GtkNotebookPage *)((GList *)(list))->data)->tab_label; } # 6870 "gtknotebook.c" void IA__gtk_notebook_set_tab_label (GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label) { GtkNotebookPage *page; GList *list; (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) __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; }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return; page = list->data; if (page->tab_label == tab_label) return; gtk_notebook_remove_tab_label (notebook, page); if (tab_label) { page->default_tab = (0); page->tab_label = tab_label; IA__gtk_widget_set_parent (page->tab_label, ((((GtkWidget*) ((notebook)))))); } else { page->default_tab = (!(0)); page->tab_label = ((void *)0); if (notebook->show_tabs) { gchar string[32]; g_snprintf (string, sizeof(string), dcgettext ("gtk20", "Page %u", __LC_MESSAGES), gtk_notebook_real_page_position (notebook, list)); page->tab_label = IA__gtk_label_new (string); IA__gtk_widget_set_parent (page->tab_label, ((((GtkWidget*) ((notebook)))))); } } if (page->tab_label) page->mnemonic_activate_signal = g_signal_connect_data ((page->tab_label), ("mnemonic_activate"), (((GCallback) (gtk_notebook_mnemonic_activate_switch_page))), (notebook), ((void *)0), (GConnectFlags) 0); if (notebook->show_tabs && ((((((((GtkObject*) ((child)))))->flags)) & GTK_VISIBLE) != 0)) { IA__gtk_widget_show (page->tab_label); IA__gtk_widget_queue_resize (((((GtkWidget*) ((notebook)))))); } gtk_notebook_update_tab_states (notebook); IA__gtk_widget_child_notify (child, "tab-label"); } # 6944 "gtknotebook.c" void IA__gtk_notebook_set_tab_label_text (GtkNotebook *notebook, GtkWidget *child, const gchar *tab_text) { GtkWidget *tab_label = ((void *)0); (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; }; }); if (tab_text) tab_label = IA__gtk_label_new (tab_text); IA__gtk_notebook_set_tab_label (notebook, child, tab_label); IA__gtk_widget_child_notify (child, "tab-label"); } # 6972 "gtknotebook.c" const gchar * IA__gtk_notebook_get_tab_label_text (GtkNotebook *notebook, GtkWidget *child) { GtkWidget *tab_label; (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)); }; }); (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)); }; }); tab_label = IA__gtk_notebook_get_tab_label (notebook, child); 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; }))))) return IA__gtk_label_get_text (((((GtkLabel*) ((tab_label)))))); else return ((void *)0); } # 7000 "gtknotebook.c" GtkWidget* IA__gtk_notebook_get_menu_label (GtkNotebook *notebook, GtkWidget *child) { GList *list; (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)); }; }); (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)); }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return ((void *)0); if (((GtkNotebookPage *)((GList *)(list))->data)->default_menu) return ((void *)0); return ((GtkNotebookPage *)((GList *)(list))->data)->menu_label; } # 7027 "gtknotebook.c" void IA__gtk_notebook_set_menu_label (GtkNotebook *notebook, GtkWidget *child, GtkWidget *menu_label) { GtkNotebookPage *page; GList *list; (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) __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; }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return; page = list->data; if (page->menu_label) { if (notebook->menu) IA__gtk_container_remove (((((GtkContainer*) ((notebook->menu))))), page->menu_label->parent); if (!page->default_menu) g_object_unref (page->menu_label); } if (menu_label) { page->menu_label = menu_label; g_object_ref_sink (page->menu_label); page->default_menu = (0); } else page->default_menu = (!(0)); if (notebook->menu) gtk_notebook_menu_item_create (notebook, list); IA__gtk_widget_child_notify (child, "menu-label"); } # 7075 "gtknotebook.c" void IA__gtk_notebook_set_menu_label_text (GtkNotebook *notebook, GtkWidget *child, const gchar *menu_text) { GtkWidget *menu_label = ((void *)0); (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; }; }); if (menu_text) { menu_label = IA__gtk_label_new (menu_text); IA__gtk_misc_set_alignment (((((GtkMisc*) ((menu_label))))), 0.0, 0.5); } IA__gtk_notebook_set_menu_label (notebook, child, menu_label); IA__gtk_widget_child_notify (child, "menu-label"); } # 7107 "gtknotebook.c" const gchar * IA__gtk_notebook_get_menu_label_text (GtkNotebook *notebook, GtkWidget *child) { GtkWidget *menu_label; (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)); }; }); (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)); }; }); menu_label = IA__gtk_notebook_get_menu_label (notebook, child); 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; }))))) return IA__gtk_label_get_text (((((GtkLabel*) ((menu_label)))))); else return ((void *)0); } static void gtk_notebook_child_reordered (GtkNotebook *notebook, GtkNotebookPage *page) { if (notebook->menu) { GtkWidget *menu_item; menu_item = page->menu_label->parent; IA__gtk_container_remove (((((GtkContainer*) ((menu_item))))), page->menu_label); IA__gtk_container_remove (((((GtkContainer*) ((notebook->menu))))), menu_item); gtk_notebook_menu_item_create (notebook, g_list_find (notebook->children, page)); } gtk_notebook_update_tab_states (notebook); gtk_notebook_update_labels (notebook); } # 7156 "gtknotebook.c" void IA__gtk_notebook_set_tab_label_packing (GtkNotebook *notebook, GtkWidget *child, gboolean expand, gboolean fill, GtkPackType pack_type) { GtkNotebookPage *page; GList *list; (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) __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; }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return; page = list->data; expand = expand != (0); fill = fill != (0); if (page->pack == pack_type && page->expand == expand && page->fill == fill) return; IA__gtk_widget_freeze_child_notify (child); page->expand = expand; IA__gtk_widget_child_notify (child, "tab-expand"); page->fill = fill; IA__gtk_widget_child_notify (child, "tab-fill"); if (page->pack != pack_type) { page->pack = pack_type; gtk_notebook_child_reordered (notebook, page); } IA__gtk_widget_child_notify (child, "tab-pack"); IA__gtk_widget_child_notify (child, "position"); if (notebook->show_tabs) gtk_notebook_pages_allocate (notebook); IA__gtk_widget_thaw_child_notify (child); } # 7207 "gtknotebook.c" void IA__gtk_notebook_query_tab_label_packing (GtkNotebook *notebook, GtkWidget *child, gboolean *expand, gboolean *fill, GtkPackType *pack_type) { GList *list; (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) __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; }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return; if (expand) *expand = ((GtkNotebookPage *)((GList *)(list))->data)->expand; if (fill) *fill = ((GtkNotebookPage *)((GList *)(list))->data)->fill; if (pack_type) *pack_type = ((GtkNotebookPage *)((GList *)(list))->data)->pack; } # 7242 "gtknotebook.c" void IA__gtk_notebook_reorder_child (GtkNotebook *notebook, GtkWidget *child, gint position) { GList *list, *new_list; GtkNotebookPage *page; gint old_pos; gint max_pos; (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) __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; }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return; max_pos = g_list_length (notebook->children) - 1; if (position < 0 || position > max_pos) position = max_pos; old_pos = g_list_position (notebook->children, list); if (old_pos == position) return; page = list->data; notebook->children = g_list_delete_link (notebook->children, list); notebook->children = g_list_insert (notebook->children, page, position); new_list = g_list_nth (notebook->children, position); if (notebook->first_tab == list) notebook->first_tab = new_list; if (notebook->focus_tab == list) notebook->focus_tab = new_list; IA__gtk_widget_freeze_child_notify (child); gtk_notebook_child_reordered (notebook, page); IA__gtk_widget_child_notify (child, "tab-pack"); IA__gtk_widget_child_notify (child, "position"); if (notebook->show_tabs) gtk_notebook_pages_allocate (notebook); IA__gtk_widget_thaw_child_notify (child); g_signal_emit (notebook, notebook_signals[PAGE_REORDERED], 0, child, position); } # 7310 "gtknotebook.c" void IA__gtk_notebook_set_window_creation_hook (GtkNotebookWindowCreationFunc func, gpointer data, GDestroyNotify destroy) { if (window_creation_hook_destroy) window_creation_hook_destroy (window_creation_hook_data); window_creation_hook = func; window_creation_hook_data = data; window_creation_hook_destroy = destroy; } # 7336 "gtknotebook.c" void IA__gtk_notebook_set_group_id (GtkNotebook *notebook, gint group_id) { gpointer group; (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; }; }); group = ((gpointer) (group_id + 1)); IA__gtk_notebook_set_group (notebook, group); } # 7361 "gtknotebook.c" void IA__gtk_notebook_set_group (GtkNotebook *notebook, gpointer group) { GtkNotebookPrivate *priv; (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; }; }); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); if (priv->group != group) { priv->group = group; g_object_notify (((((GObject*) ((notebook))))), "group-id"); g_object_notify (((((GObject*) ((notebook))))), "group"); } } # 7390 "gtknotebook.c" gint IA__gtk_notebook_get_group_id (GtkNotebook *notebook) { GtkNotebookPrivate *priv; (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); }; }); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); return ((gint) (priv->group)) - 1; } # 7413 "gtknotebook.c" gpointer IA__gtk_notebook_get_group (GtkNotebook *notebook) { GtkNotebookPrivate *priv; (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)); }; }); priv = (((GtkNotebookPrivate*) g_type_instance_get_private ((GTypeInstance*) ((notebook)), ((IA__gtk_notebook_get_type ()))))); return priv->group; } # 7435 "gtknotebook.c" gboolean IA__gtk_notebook_get_tab_reorderable (GtkNotebook *notebook, GtkWidget *child) { GList *list; (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)); }; }); (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)); }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return (0); return ((GtkNotebookPage *)((GList *)(list))->data)->reorderable; } # 7462 "gtknotebook.c" void IA__gtk_notebook_set_tab_reorderable (GtkNotebook *notebook, GtkWidget *child, gboolean reorderable) { GList *list; (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) __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; }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return; if (((GtkNotebookPage *)((GList *)(list))->data)->reorderable != reorderable) { ((GtkNotebookPage *)((GList *)(list))->data)->reorderable = (reorderable == (!(0))); IA__gtk_widget_child_notify (child, "reorderable"); } } # 7494 "gtknotebook.c" gboolean IA__gtk_notebook_get_tab_detachable (GtkNotebook *notebook, GtkWidget *child) { GList *list; (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)); }; }); (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)); }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return (0); return ((GtkNotebookPage *)((GList *)(list))->data)->detachable; } # 7556 "gtknotebook.c" void IA__gtk_notebook_set_tab_detachable (GtkNotebook *notebook, GtkWidget *child, gboolean detachable) { GList *list; (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) __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; }; }); list = gtk_notebook_find_child (notebook, child, ((void *)0)); if (!list) return; if (((GtkNotebookPage *)((GList *)(list))->data)->detachable != detachable) { ((GtkNotebookPage *)((GList *)(list))->data)->detachable = (detachable == (!(0))); IA__gtk_widget_child_notify (child, "detachable"); } } # 1 "gtkaliasdef.c" 1 # 5735 "gtkaliasdef.c" extern __typeof (gtk_notebook_append_page) gtk_notebook_append_page __attribute((alias("IA__gtk_notebook_append_page"), visibility("default"))); extern __typeof (gtk_notebook_append_page_menu) gtk_notebook_append_page_menu __attribute((alias("IA__gtk_notebook_append_page_menu"), visibility("default"))); extern __typeof (gtk_notebook_get_current_page) gtk_notebook_get_current_page __attribute((alias("IA__gtk_notebook_get_current_page"), visibility("default"))); extern __typeof (gtk_notebook_get_menu_label) gtk_notebook_get_menu_label __attribute((alias("IA__gtk_notebook_get_menu_label"), visibility("default"))); 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"))); extern __typeof (gtk_notebook_get_n_pages) gtk_notebook_get_n_pages __attribute((alias("IA__gtk_notebook_get_n_pages"), visibility("default"))); extern __typeof (gtk_notebook_get_nth_page) gtk_notebook_get_nth_page __attribute((alias("IA__gtk_notebook_get_nth_page"), visibility("default"))); extern __typeof (gtk_notebook_get_scrollable) gtk_notebook_get_scrollable __attribute((alias("IA__gtk_notebook_get_scrollable"), visibility("default"))); extern __typeof (gtk_notebook_get_show_border) gtk_notebook_get_show_border __attribute((alias("IA__gtk_notebook_get_show_border"), visibility("default"))); extern __typeof (gtk_notebook_get_show_tabs) gtk_notebook_get_show_tabs __attribute((alias("IA__gtk_notebook_get_show_tabs"), visibility("default"))); extern __typeof (gtk_notebook_get_tab_label) gtk_notebook_get_tab_label __attribute((alias("IA__gtk_notebook_get_tab_label"), visibility("default"))); 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"))); extern __typeof (gtk_notebook_get_tab_pos) gtk_notebook_get_tab_pos __attribute((alias("IA__gtk_notebook_get_tab_pos"), visibility("default"))); extern __typeof (gtk_notebook_get_type) gtk_notebook_get_type __attribute((alias("IA__gtk_notebook_get_type"), visibility("default"))); extern __typeof (gtk_notebook_insert_page) gtk_notebook_insert_page __attribute((alias("IA__gtk_notebook_insert_page"), visibility("default"))); extern __typeof (gtk_notebook_insert_page_menu) gtk_notebook_insert_page_menu __attribute((alias("IA__gtk_notebook_insert_page_menu"), visibility("default"))); extern __typeof (gtk_notebook_new) gtk_notebook_new __attribute((alias("IA__gtk_notebook_new"), visibility("default"))); extern __typeof (gtk_notebook_next_page) gtk_notebook_next_page __attribute((alias("IA__gtk_notebook_next_page"), visibility("default"))); extern __typeof (gtk_notebook_page_num) gtk_notebook_page_num __attribute((alias("IA__gtk_notebook_page_num"), visibility("default"))); extern __typeof (gtk_notebook_popup_disable) gtk_notebook_popup_disable __attribute((alias("IA__gtk_notebook_popup_disable"), visibility("default"))); extern __typeof (gtk_notebook_popup_enable) gtk_notebook_popup_enable __attribute((alias("IA__gtk_notebook_popup_enable"), visibility("default"))); extern __typeof (gtk_notebook_prepend_page) gtk_notebook_prepend_page __attribute((alias("IA__gtk_notebook_prepend_page"), visibility("default"))); extern __typeof (gtk_notebook_prepend_page_menu) gtk_notebook_prepend_page_menu __attribute((alias("IA__gtk_notebook_prepend_page_menu"), visibility("default"))); extern __typeof (gtk_notebook_prev_page) gtk_notebook_prev_page __attribute((alias("IA__gtk_notebook_prev_page"), visibility("default"))); 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"))); extern __typeof (gtk_notebook_remove_page) gtk_notebook_remove_page __attribute((alias("IA__gtk_notebook_remove_page"), visibility("default"))); extern __typeof (gtk_notebook_reorder_child) gtk_notebook_reorder_child __attribute((alias("IA__gtk_notebook_reorder_child"), visibility("default"))); extern __typeof (gtk_notebook_set_current_page) gtk_notebook_set_current_page __attribute((alias("IA__gtk_notebook_set_current_page"), visibility("default"))); extern __typeof (gtk_notebook_set_homogeneous_tabs) gtk_notebook_set_homogeneous_tabs __attribute((alias("IA__gtk_notebook_set_homogeneous_tabs"), visibility("default"))); extern __typeof (gtk_notebook_set_tab_border) gtk_notebook_set_tab_border __attribute((alias("IA__gtk_notebook_set_tab_border"), visibility("default"))); extern __typeof (gtk_notebook_set_tab_hborder) gtk_notebook_set_tab_hborder __attribute((alias("IA__gtk_notebook_set_tab_hborder"), visibility("default"))); extern __typeof (gtk_notebook_set_tab_vborder) gtk_notebook_set_tab_vborder __attribute((alias("IA__gtk_notebook_set_tab_vborder"), visibility("default"))); extern __typeof (gtk_notebook_set_menu_label) gtk_notebook_set_menu_label __attribute((alias("IA__gtk_notebook_set_menu_label"), visibility("default"))); 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"))); extern __typeof (gtk_notebook_set_scrollable) gtk_notebook_set_scrollable __attribute((alias("IA__gtk_notebook_set_scrollable"), visibility("default"))); extern __typeof (gtk_notebook_set_show_border) gtk_notebook_set_show_border __attribute((alias("IA__gtk_notebook_set_show_border"), visibility("default"))); extern __typeof (gtk_notebook_set_show_tabs) gtk_notebook_set_show_tabs __attribute((alias("IA__gtk_notebook_set_show_tabs"), visibility("default"))); extern __typeof (gtk_notebook_set_tab_label) gtk_notebook_set_tab_label __attribute((alias("IA__gtk_notebook_set_tab_label"), visibility("default"))); 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"))); 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"))); extern __typeof (gtk_notebook_set_tab_pos) gtk_notebook_set_tab_pos __attribute((alias("IA__gtk_notebook_set_tab_pos"), visibility("default"))); 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"))); extern __typeof (gtk_notebook_get_group_id) gtk_notebook_get_group_id __attribute((alias("IA__gtk_notebook_get_group_id"), visibility("default"))); extern __typeof (gtk_notebook_set_group_id) gtk_notebook_set_group_id __attribute((alias("IA__gtk_notebook_set_group_id"), visibility("default"))); extern __typeof (gtk_notebook_get_group) gtk_notebook_get_group __attribute((alias("IA__gtk_notebook_get_group"), visibility("default"))); extern __typeof (gtk_notebook_set_group) gtk_notebook_set_group __attribute((alias("IA__gtk_notebook_set_group"), visibility("default"))); extern __typeof (gtk_notebook_get_tab_reorderable) gtk_notebook_get_tab_reorderable __attribute((alias("IA__gtk_notebook_get_tab_reorderable"), visibility("default"))); extern __typeof (gtk_notebook_set_tab_reorderable) gtk_notebook_set_tab_reorderable __attribute((alias("IA__gtk_notebook_set_tab_reorderable"), visibility("default"))); extern __typeof (gtk_notebook_get_tab_detachable) gtk_notebook_get_tab_detachable __attribute((alias("IA__gtk_notebook_get_tab_detachable"), visibility("default"))); extern __typeof (gtk_notebook_set_tab_detachable) gtk_notebook_set_tab_detachable __attribute((alias("IA__gtk_notebook_set_tab_detachable"), visibility("default"))); # 7578 "gtknotebook.c" 2