GDK_PRIORITY_EVENTS
#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT)
gdk_init
void
gint *argc,gchar ***argv
gdk_init_check
gboolean
gint *argc,gchar ***argv
gdk_exit
void
gint error_code
gdk_set_locale
gchar *
void
gdk_error_trap_push
void
void
gdk_error_trap_pop
gint
void
gdk_events_pending
gboolean
void
gdk_event_get
GdkEvent *
void
gdk_event_peek
GdkEvent *
void
gdk_event_get_graphics_expose
GdkEvent *
GdkWindow *window
gdk_event_put
void
GdkEvent *event
gdk_event_copy
GdkEvent *
GdkEvent *event
gdk_event_free
void
GdkEvent *event
gdk_event_get_time
guint32
GdkEvent *event
gdk_event_handler_set
void
GdkEventFunc func,gpointer data,GDestroyNotify notify
gdk_set_show_events
void
gint show_events
gdk_set_use_xshm
void
gint use_xshm
gdk_get_show_events
gint
void
gdk_get_use_xshm
gint
void
gdk_get_display
gchar *
void
gdk_time_get
guint32
void
gdk_timer_get
guint32
void
gdk_timer_set
void
guint32 milliseconds
gdk_timer_enable
void
void
gdk_timer_disable
void
void
gdk_input_add_full
gint
gint source,GdkInputCondition condition,GdkInputFunction function,gpointer data,GdkDestroyNotify destroy
gdk_input_add
gint
gint source,GdkInputCondition condition,GdkInputFunction function,gpointer data
gdk_input_remove
void
gint tag
gdk_pointer_grab
gint
GdkWindow * window,gint owner_events,GdkEventMask event_mask,GdkWindow * confine_to,GdkCursor * cursor,guint32 time
gdk_pointer_ungrab
void
guint32 time
gdk_keyboard_grab
gint
GdkWindow * window,gint owner_events,guint32 time
gdk_keyboard_ungrab
void
guint32 time
gdk_pointer_is_grabbed
gint
void
gdk_screen_width
gint
void
gdk_screen_height
gint
void
gdk_screen_width_mm
gint
void
gdk_screen_height_mm
gint
void
gdk_flush
void
void
gdk_beep
void
void
gdk_key_repeat_disable
void
void
gdk_key_repeat_restore
void
void
gdk_visual_get_best_depth
gint
void
gdk_visual_get_best_type
GdkVisualType
void
gdk_visual_get_system
GdkVisual *
void
gdk_visual_get_best
GdkVisual *
void
gdk_visual_get_best_with_depth
GdkVisual *
gint depth
gdk_visual_get_best_with_type
GdkVisual *
GdkVisualType visual_type
gdk_visual_get_best_with_both
GdkVisual *
gint depth,GdkVisualType visual_type
gdk_visual_ref
GdkVisual *
GdkVisual *visual
gdk_visual_unref
void
GdkVisual *visual
gdk_query_depths
void
gint **depths,gint *count
gdk_query_visual_types
void
GdkVisualType **visual_types,gint *count
gdk_list_visuals
GList *
void
gdk_window_new
GdkWindow *
GdkWindow *parent,GdkWindowAttr *attributes,gint attributes_mask
gdk_window_destroy
void
GdkWindow *window
gdk_window_ref
GdkWindow *
GdkWindow *window
gdk_window_unref
void
GdkWindow *window
gdk_window_at_pointer
GdkWindow *
gint *win_x,gint *win_y
gdk_window_show
void
GdkWindow *window
gdk_window_hide
void
GdkWindow *window
gdk_window_withdraw
void
GdkWindow *window
gdk_window_move
void
GdkWindow *window,gint x,gint y
gdk_window_resize
void
GdkWindow *window,gint width,gint height
gdk_window_move_resize
void
GdkWindow *window,gint x,gint y,gint width,gint height
gdk_window_reparent
void
GdkWindow *window,GdkWindow *new_parent,gint x,gint y
gdk_window_clear
void
GdkWindow *window
gdk_window_clear_area
void
GdkWindow *window,gint x,gint y,gint width,gint height
gdk_window_clear_area_e
void
GdkWindow *window,gint x,gint y,gint width,gint height
gdk_window_copy_area
void
GdkWindow *window,GdkGC *gc,gint x,gint y,GdkWindow *source_window,gint source_x,gint source_y,gint width,gint height
gdk_window_raise
void
GdkWindow *window
gdk_window_lower
void
GdkWindow *window
gdk_window_set_user_data
void
GdkWindow *window,gpointer user_data
gdk_window_set_override_redirect
void
GdkWindow *window,gboolean override_redirect
gdk_window_add_filter
void
GdkWindow *window,GdkFilterFunc function,gpointer data
gdk_window_remove_filter
void
GdkWindow *window,GdkFilterFunc function,gpointer data
gdk_window_shape_combine_mask
void
GdkWindow *window,GdkBitmap *shape_mask,gint offset_x,gint offset_y
gdk_window_set_child_shapes
void
GdkWindow *window
gdk_window_merge_child_shapes
void
GdkWindow *window
gdk_window_is_visible
gboolean
GdkWindow *window
gdk_window_is_viewable
gboolean
GdkWindow *window
gdk_window_set_static_gravities
gboolean
GdkWindow *window,gboolean use_static
gdk_add_client_message_filter
void
GdkAtom message_type,GdkFilterFunc func,gpointer data
gdk_drag_context_new
GdkDragContext *
void
gdk_drag_context_ref
void
GdkDragContext *context
gdk_drag_context_unref
void
GdkDragContext *context
gdk_drag_status
void
GdkDragContext *context,GdkDragAction action,guint32 time
gdk_drop_reply
void
GdkDragContext *context,gboolean ok,guint32 time
gdk_drop_finish
void
GdkDragContext *context,gboolean success,guint32 time
gdk_drag_get_selection
GdkAtom
GdkDragContext *context
gdk_drag_begin
GdkDragContext *
GdkWindow *window,GList *targets
gdk_drag_get_protocol
guint32
guint32 xid,GdkDragProtocol *protocol
gdk_drag_find_window
void
GdkDragContext *context,GdkWindow *drag_window,gint x_root,gint y_root,GdkWindow **dest_window,GdkDragProtocol *protocol
gdk_drag_motion
gboolean
GdkDragContext *context,GdkWindow *dest_window,GdkDragProtocol protocol,gint x_root,gint y_root,GdkDragAction suggested_action,GdkDragAction possible_actions,guint32 time
gdk_drag_drop
void
GdkDragContext *context,guint32 time
gdk_drag_abort
void
GdkDragContext *context,guint32 time
gdk_drag_get_selection
GdkAtom
GdkDragContext *context
gdk_window_set_hints
void
GdkWindow *window,gint x,gint y,gint min_width,gint min_height,gint max_width,gint max_height,gint flags
gdk_window_set_geometry_hints
void
GdkWindow *window,GdkGeometry *geometry,GdkWindowHints flags
gdk_set_sm_client_id
void
const gchar *sm_client_id
gdk_window_set_title
void
GdkWindow *window,const gchar *title
gdk_window_set_role
void
GdkWindow *window,const gchar *role
gdk_window_set_transient_for
void
GdkWindow *window,GdkWindow *leader
gdk_window_set_background
void
GdkWindow *window,GdkColor *color
gdk_window_set_back_pixmap
void
GdkWindow *window,GdkPixmap *pixmap,gint parent_relative
gdk_window_set_cursor
void
GdkWindow *window,GdkCursor *cursor
gdk_window_set_colormap
void
GdkWindow *window,GdkColormap *colormap
gdk_window_get_user_data
void
GdkWindow *window,gpointer *data
gdk_window_get_geometry
void
GdkWindow *window,gint *x,gint *y,gint *width,gint *height,gint *depth
gdk_window_get_position
void
GdkWindow *window,gint *x,gint *y
gdk_window_get_size
void
GdkWindow *window,gint *width,gint *height
gdk_window_get_visual
GdkVisual *
GdkWindow *window
gdk_window_get_colormap
GdkColormap *
GdkWindow *window
gdk_window_get_type
GdkWindowType
GdkWindow *window
gdk_window_get_origin
gint
GdkWindow *window,gint *x,gint *y
gdk_window_get_deskrelative_origin
gboolean
GdkWindow *window,gint *x,gint *y
gdk_window_get_root_origin
void
GdkWindow *window,gint *x,gint *y
gdk_window_get_pointer
GdkWindow *
GdkWindow *window,gint *x,gint *y,GdkModifierType *mask
gdk_window_get_parent
GdkWindow *
GdkWindow *window
gdk_window_get_toplevel
GdkWindow *
GdkWindow *window
gdk_window_get_children
GList *
GdkWindow *window
gdk_window_get_events
GdkEventMask
GdkWindow *window
gdk_window_set_events
void
GdkWindow *window,GdkEventMask event_mask
gdk_window_set_icon
void
GdkWindow *window,GdkWindow *icon_window,GdkPixmap *pixmap,GdkBitmap *mask
gdk_window_set_icon_name
void
GdkWindow *window,gchar *name
gdk_window_set_group
void
GdkWindow *window,GdkWindow *leader
gdk_window_set_decorations
void
GdkWindow *window,GdkWMDecoration decorations
gdk_window_set_functions
void
GdkWindow *window,GdkWMFunction functions
gdk_window_get_toplevels
GList *
void
gdk_window_register_dnd
void
GdkWindow *window
gdk_drawable_set_data
void
GdkDrawable *drawable,const gchar *key,gpointer data,GDestroyNotify destroy_func
gdk_cursor_new
GdkCursor *
GdkCursorType cursor_type
gdk_cursor_new_from_pixmap
GdkCursor *
GdkPixmap *source,GdkPixmap *mask,GdkColor *fg,GdkColor *bg,gint x,gint y
gdk_cursor_destroy
void
GdkCursor *cursor
gdk_gc_new
GdkGC *
GdkWindow *window
gdk_gc_new_with_values
GdkGC *
GdkWindow *window,GdkGCValues *values,GdkGCValuesMask values_mask
gdk_gc_ref
GdkGC *
GdkGC *gc
gdk_gc_unref
void
GdkGC *gc
gdk_gc_destroy
void
GdkGC *gc
gdk_gc_get_values
void
GdkGC *gc,GdkGCValues *values
gdk_gc_set_foreground
void
GdkGC *gc,GdkColor *color
gdk_gc_set_background
void
GdkGC *gc,GdkColor *color
gdk_gc_set_font
void
GdkGC *gc,GdkFont *font
gdk_gc_set_function
void
GdkGC *gc,GdkFunction function
gdk_gc_set_fill
void
GdkGC *gc,GdkFill fill
gdk_gc_set_tile
void
GdkGC *gc,GdkPixmap *tile
gdk_gc_set_stipple
void
GdkGC *gc,GdkPixmap *stipple
gdk_gc_set_ts_origin
void
GdkGC *gc,gint x,gint y
gdk_gc_set_clip_origin
void
GdkGC *gc,gint x,gint y
gdk_gc_set_clip_mask
void
GdkGC *gc,GdkBitmap *mask
gdk_gc_set_clip_rectangle
void
GdkGC *gc,GdkRectangle *rectangle
gdk_gc_set_clip_region
void
GdkGC *gc,GdkRegion *region
gdk_gc_set_subwindow
void
GdkGC *gc,GdkSubwindowMode mode
gdk_gc_set_exposures
void
GdkGC *gc,gint exposures
gdk_gc_set_line_attributes
void
GdkGC *gc,gint line_width,GdkLineStyle line_style,GdkCapStyle cap_style,GdkJoinStyle join_style
gdk_gc_set_dashes
void
GdkGC *gc,gint dash_offset,gchar dash_list[],gint n
gdk_gc_copy
void
GdkGC *dst_gc,GdkGC *src_gc
gdk_pixmap_new
GdkPixmap *
GdkWindow *window,gint width,gint height,gint depth
gdk_bitmap_create_from_data
GdkBitmap *
GdkWindow *window,const gchar *data,gint width,gint height
gdk_pixmap_create_from_data
GdkPixmap *
GdkWindow *window,const gchar *data,gint width,gint height,gint depth,GdkColor *fg,GdkColor *bg
gdk_pixmap_create_from_xpm
GdkPixmap *
GdkWindow *window,GdkBitmap **mask,GdkColor *transparent_color,const gchar *filename
gdk_pixmap_colormap_create_from_xpm
GdkPixmap *
GdkWindow *window,GdkColormap *colormap,GdkBitmap **mask,GdkColor *transparent_color,const gchar *filename
gdk_pixmap_create_from_xpm_d
GdkPixmap *
GdkWindow *window,GdkBitmap **mask,GdkColor *transparent_color,gchar **data
gdk_pixmap_colormap_create_from_xpm_d
GdkPixmap *
GdkWindow *window,GdkColormap *colormap,GdkBitmap **mask,GdkColor *transparent_color,gchar **data
gdk_pixmap_ref
GdkPixmap *
GdkPixmap *pixmap
gdk_pixmap_unref
void
GdkPixmap *pixmap
gdk_bitmap_ref
GdkBitmap *
GdkBitmap *pixmap
gdk_bitmap_unref
void
GdkBitmap *pixmap
gdk_image_new_bitmap
GdkImage *
GdkVisual *visual,gpointer data,gint width,gint height
gdk_image_new
GdkImage *
GdkImageType type,GdkVisual *visual,gint width,gint height
gdk_image_get
GdkImage *
GdkWindow *window,gint x,gint y,gint width,gint height
gdk_image_put_pixel
void
GdkImage *image,gint x,gint y,guint32 pixel
gdk_image_get_pixel
guint32
GdkImage *image,gint x,gint y
gdk_image_destroy
void
GdkImage *image
gdk_colormap_new
GdkColormap *
GdkVisual *visual,gint allocate
gdk_colormap_ref
GdkColormap *
GdkColormap *cmap
gdk_colormap_unref
void
GdkColormap *cmap
gdk_colormap_get_system
GdkColormap *
void
gdk_colormap_get_system_size
gint
void
gdk_colormap_change
void
GdkColormap *colormap,gint ncolors
gdk_colormap_alloc_colors
gint
GdkColormap *colormap,GdkColor *colors,gint ncolors,gboolean writeable,gboolean best_match,gboolean *success
gdk_colormap_alloc_color
gboolean
GdkColormap *colormap,GdkColor *color,gboolean writeable,gboolean best_match
gdk_colormap_free_colors
void
GdkColormap *colormap,GdkColor *colors,gint ncolors
gdk_colormap_get_visual
GdkVisual *
GdkColormap *colormap
gdk_color_copy
GdkColor *
GdkColor *color
gdk_color_free
void
GdkColor *color
gdk_color_parse
gboolean
const gchar *spec,GdkColor *color
gdk_color_hash
guint
const GdkColor *colora,const GdkColor *colorb
gdk_color_equal
gint
const GdkColor *colora,const GdkColor *colorb
gdk_colors_store
void
GdkColormap *colormap,GdkColor *colors,gint ncolors
gdk_colors_alloc
gboolean
GdkColormap *colormap,gint contiguous,gulong *planes,gint nplanes,gulong *pixels,gint npixels
gdk_colors_free
void
GdkColormap *colormap,gulong *pixels,gint npixels,gulong planes
gdk_color_white
gboolean
GdkColormap *colormap,GdkColor *color
gdk_color_black
gboolean
GdkColormap *colormap,GdkColor *color
gdk_color_alloc
gboolean
GdkColormap *colormap,GdkColor *color
gdk_color_change
gboolean
GdkColormap *colormap,GdkColor *color
gdk_font_load
GdkFont *
const gchar *font_name
gdk_fontset_load
GdkFont *
gchar *fontset_name
gdk_font_ref
GdkFont *
GdkFont *font
gdk_font_unref
void
GdkFont *font
gdk_font_id
gint
const GdkFont *font
gdk_font_equal
gint
const GdkFont *fonta,const GdkFont *fontb
gdk_string_width
gint
GdkFont *font,const gchar *string
gdk_text_width
gint
GdkFont *font,const gchar *text,gint text_length
gdk_text_width_wc
gint
GdkFont *font,const GdkWChar *text,gint text_length
gdk_char_width
gint
GdkFont *font,gchar character
gdk_char_width_wc
gint
GdkFont *font,GdkWChar character
gdk_string_measure
gint
GdkFont *font,const gchar *string
gdk_text_measure
gint
GdkFont *font,const gchar *text,gint text_length
gdk_char_measure
gint
GdkFont *font,gchar character
gdk_string_height
gint
GdkFont *font,const gchar *string
gdk_text_height
gint
GdkFont *font,const gchar *text,gint text_length
gdk_char_height
gint
GdkFont *font,gchar character
gdk_text_extents
void
GdkFont *font,const gchar *text,gint text_length,gint *lbearing,gint *rbearing,gint *width,gint *ascent,gint *descent
gdk_text_extents_wc
void
GdkFont *font,const GdkWChar *text,gint text_length,gint *lbearing,gint *rbearing,gint *width,gint *ascent,gint *descent
gdk_string_extents
void
GdkFont *font,const gchar *string,gint *lbearing,gint *rbearing,gint *width,gint *ascent,gint *descent
gdk_draw_point
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y
gdk_draw_line
void
GdkDrawable *drawable,GdkGC *gc,gint x1,gint y1,gint x2,gint y2
gdk_draw_rectangle
void
GdkDrawable *drawable,GdkGC *gc,gint filled,gint x,gint y,gint width,gint height
gdk_draw_arc
void
GdkDrawable *drawable,GdkGC *gc,gint filled,gint x,gint y,gint width,gint height,gint angle1,gint angle2
gdk_draw_polygon
void
GdkDrawable *drawable,GdkGC *gc,gint filled,GdkPoint *points,gint npoints
gdk_draw_string
void
GdkDrawable *drawable,GdkFont *font,GdkGC *gc,gint x,gint y,const gchar *string
gdk_draw_text
void
GdkDrawable *drawable,GdkFont *font,GdkGC *gc,gint x,gint y,const gchar *text,gint text_length
gdk_draw_text_wc
void
GdkDrawable *drawable,GdkFont *font,GdkGC *gc,gint x,gint y,const GdkWChar *text,gint text_length
gdk_draw_pixmap
void
GdkDrawable *drawable,GdkGC *gc,GdkDrawable *src,gint xsrc,gint ysrc,gint xdest,gint ydest,gint width,gint height
gdk_draw_bitmap
void
GdkDrawable *drawable,GdkGC *gc,GdkDrawable *src,gint xsrc,gint ysrc,gint xdest,gint ydest,gint width,gint height
gdk_draw_image
void
GdkDrawable *drawable,GdkGC *gc,GdkImage *image,gint xsrc,gint ysrc,gint xdest,gint ydest,gint width,gint height
gdk_draw_points
void
GdkDrawable *drawable,GdkGC *gc,GdkPoint *points,gint npoints
gdk_draw_segments
void
GdkDrawable *drawable,GdkGC *gc,GdkSegment *segs,gint nsegs
gdk_draw_lines
void
GdkDrawable *drawable,GdkGC *gc,GdkPoint *points,gint npoints
gdk_selection_owner_set
gint
GdkWindow *owner,GdkAtom selection,guint32 time,gint send_event
gdk_selection_owner_get
GdkWindow *
GdkAtom selection
gdk_selection_convert
void
GdkWindow *requestor,GdkAtom selection,GdkAtom target,guint32 time
gdk_selection_property_get
gint
GdkWindow *requestor,guchar **data,GdkAtom *prop_type,gint *prop_format
gdk_selection_send_notify
void
guint32 requestor,GdkAtom selection,GdkAtom target,GdkAtom property,guint32 time
gdk_text_property_to_text_list
gint
GdkAtom encoding, gint format,guchar *text, gint length,gchar ***list
gdk_free_text_list
void
gchar **list
gdk_string_to_compound_text
gint
gchar *str,GdkAtom *encoding, gint *format,guchar **ctext, gint *length
gdk_free_compound_text
void
guchar *ctext
gdk_atom_intern
GdkAtom
const gchar *atom_name,gint only_if_exists
gdk_atom_name
gchar *
GdkAtom atom
gdk_property_get
gint
GdkWindow *window,GdkAtom property,GdkAtom type,gulong offset,gulong length,gint pdelete,GdkAtom *actual_property_type,gint *actual_format,gint *actual_length,guchar **data
gdk_property_change
void
GdkWindow *window,GdkAtom property,GdkAtom type,gint format,GdkPropMode mode,guchar *data,gint nelements
gdk_property_delete
void
GdkWindow *window,GdkAtom property
gdk_rectangle_intersect
gint
GdkRectangle *src1,GdkRectangle *src2,GdkRectangle *dest
gdk_rectangle_union
void
GdkRectangle *src1,GdkRectangle *src2,GdkRectangle *dest
gdk_input_init
void
void
gdk_input_exit
void
void
gdk_input_list_devices
GList *
void
gdk_input_set_extension_events
void
GdkWindow *window,gint mask,GdkExtensionMode mode
gdk_input_set_source
void
guint32 deviceid,GdkInputSource source
gdk_input_set_mode
gint
guint32 deviceid,GdkInputMode mode
gdk_input_set_axes
void
guint32 deviceid,GdkAxisUse *axes
gdk_input_set_key
void
guint32 deviceid,guint index,guint keyval,GdkModifierType modifiers
gdk_input_window_get_pointer
void
GdkWindow *window,guint32 deviceid,gdouble *x,gdouble *y,gdouble *pressure,gdouble *xtilt,gdouble *ytilt,GdkModifierType *mask
gdk_input_motion_events
GdkTimeCoord *
GdkWindow *window,guint32 deviceid,guint32 start,guint32 stop,gint *nevents_return
gdk_im_ready
gint
void
gdk_im_begin
void
GdkIC *ic,GdkWindow *window
gdk_im_end
void
void
gdk_im_decide_style
GdkIMStyle
GdkIMStyle supported_style
gdk_im_set_best_style
GdkIMStyle
GdkIMStyle best_allowed_style
gdk_ic_new
GdkIC *
GdkICAttr *attr,GdkICAttributesType mask
gdk_ic_destroy
void
GdkIC *ic
gdk_ic_get_style
GdkIMStyle
GdkIC *ic
gdk_ic_get_events
GdkEventMask
GdkIC *ic
gdk_ic_attr_new
GdkICAttr *
void
gdk_ic_attr_destroy
void
GdkICAttr *attr
gdk_ic_set_attr
GdkICAttributesType
GdkIC *ic,GdkICAttr *attr,GdkICAttributesType mask
gdk_ic_get_attr
GdkICAttributesType
GdkIC *ic,GdkICAttr *attr,GdkICAttributesType mask
gdk_wcstombs
gchar *
const GdkWChar *src
gdk_mbstowcs
gint
GdkWChar *dest,const gchar *src,gint dest_max
gdk_color_context_new
GdkColorContext *
GdkVisual *visual,GdkColormap *colormap
gdk_color_context_new_mono
GdkColorContext *
GdkVisual *visual,GdkColormap *colormap
gdk_color_context_free
void
GdkColorContext *cc
gdk_color_context_get_pixel
gulong
GdkColorContext *cc,gushort red,gushort green,gushort blue,gint *failed
gdk_color_context_get_pixels
void
GdkColorContext *cc,gushort *reds,gushort *greens,gushort *blues,gint ncolors,gulong *colors,gint *nallocated
gdk_color_context_get_pixels_incremental
void
GdkColorContext *cc,gushort *reds,gushort *greens,gushort *blues,gint ncolors,gint *used,gulong *colors,gint *nallocated
gdk_color_context_query_color
gint
GdkColorContext *cc,GdkColor *color
gdk_color_context_query_colors
gint
GdkColorContext *cc,GdkColor *colors,gint num_colors
gdk_color_context_add_palette
gint
GdkColorContext *cc,GdkColor *palette,gint num_palette
gdk_color_context_init_dither
void
GdkColorContext *cc
gdk_color_context_free_dither
void
GdkColorContext *cc
gdk_color_context_get_pixel_from_palette
gulong
GdkColorContext *cc,gushort *red,gushort *green,gushort *blue,gint *failed
gdk_color_context_get_index_from_palette
guchar
GdkColorContext *cc,gint *red,gint *green,gint *blue,gint *failed
gdk_region_new
GdkRegion *
void
gdk_region_destroy
void
GdkRegion *region
gdk_region_get_clipbox
void
GdkRegion *region,GdkRectangle *rectangle
gdk_region_empty
gboolean
GdkRegion *region
gdk_region_equal
gboolean
GdkRegion *region1,GdkRegion *region2
gdk_region_point_in
gboolean
GdkRegion *region,int x,int y
gdk_region_rect_in
GdkOverlapType
GdkRegion *region,GdkRectangle *rect
gdk_region_polygon
GdkRegion *
GdkPoint *points,gint npoints,GdkFillRule fill_rule
gdk_region_offset
void
GdkRegion *region,gint dx,gint dy
gdk_region_shrink
void
GdkRegion *region,gint dx,gint dy
gdk_region_union_with_rect
GdkRegion *
GdkRegion *region,GdkRectangle *rect
gdk_regions_intersect
GdkRegion *
GdkRegion *source1,GdkRegion *source2
gdk_regions_union
GdkRegion *
GdkRegion *source1,GdkRegion *source2
gdk_regions_subtract
GdkRegion *
GdkRegion *source1,GdkRegion *source2
gdk_regions_xor
GdkRegion *
GdkRegion *source1,GdkRegion *source2
gdk_event_send_clientmessage_toall
void
GdkEvent *event
gdk_event_send_client_message
gboolean
GdkEvent *event,guint32 xid
gdk_keyval_name
gchar *
guint keyval
gdk_keyval_from_name
guint
const gchar *keyval_name
gdk_keyval_to_upper
guint
guint keyval
gdk_keyval_to_lower
guint
guint keyval
gdk_keyval_is_upper
gboolean
guint keyval
gdk_keyval_is_lower
gboolean
guint keyval
gdk_threads_mutex
extern GMutex *gdk_threads_mutex;
gdk_threads_enter
void
void
gdk_threads_leave
void
void
GDK_THREADS_ENTER
# define GDK_THREADS_ENTER() G_STMT_START { \
if (gdk_threads_mutex) \
g_mutex_lock (gdk_threads_mutex); \
} G_STMT_END
GDK_THREADS_LEAVE
# define GDK_THREADS_LEAVE() G_STMT_START { \
if (gdk_threads_mutex) \
g_mutex_unlock (gdk_threads_mutex); \
} G_STMT_END
GDK_THREADS_ENTER
# define GDK_THREADS_ENTER()
GDK_THREADS_LEAVE
# define GDK_THREADS_LEAVE()
GDK_NONE
#define GDK_NONE 0L
GDK_CURRENT_TIME
#define GDK_CURRENT_TIME 0L
GDK_PARENT_RELATIVE
#define GDK_PARENT_RELATIVE 1L
GDK_CORE_POINTER
#define GDK_CORE_POINTER 0xfedc
GdkAtom
typedef gulong GdkAtom;
GdkColor
GdkColormap
GdkVisual
GdkWindowAttr
GdkWindow
GdkGeometry
GdkImage
GdkGCValues
GdkGC
GdkPoint
GdkRectangle
GdkSegment
GdkFont
GdkCursor
GdkColorContextDither
GdkColorContext
GdkDragContext
GdkEventAny
GdkEventExpose
GdkEventNoExpose
GdkEventVisibility
GdkEventMotion
GdkEventButton
GdkEventKey
GdkEventFocus
GdkEventCrossing
GdkEventConfigure
GdkEventProperty
GdkEventSelection
GdkEventProximity
GdkEventClient
GdkEventDND
GdkDeviceKey
GdkDeviceInfo
GdkTimeCoord
GdkRegion
GdkEventFunc
void
GdkEvent *event,
gpointer data
GdkIC
GdkICAttr
GdkWChar
typedef guint32 GdkWChar;
GdkWindowType
typedef enum
{
GDK_WINDOW_ROOT,
GDK_WINDOW_TOPLEVEL,
GDK_WINDOW_CHILD,
GDK_WINDOW_DIALOG,
GDK_WINDOW_TEMP,
GDK_WINDOW_PIXMAP,
GDK_WINDOW_FOREIGN
} GdkWindowType;
GdkWindowClass
typedef enum
{
GDK_INPUT_OUTPUT,
GDK_INPUT_ONLY
} GdkWindowClass;
GdkImageType
typedef enum
{
GDK_IMAGE_NORMAL,
GDK_IMAGE_SHARED,
GDK_IMAGE_FASTEST
} GdkImageType;
GdkVisualType
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;
GdkFontType
typedef enum
{
GDK_FONT_FONT,
GDK_FONT_FONTSET
} GdkFontType;
GdkWindowAttributesType
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
} GdkWindowAttributesType;
GdkWindowHints
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
} GdkWindowHints;
GdkFunction
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_SET
} GdkFunction;
GdkFill
typedef enum
{
GDK_SOLID,
GDK_TILED,
GDK_STIPPLED,
GDK_OPAQUE_STIPPLED
} GdkFill;
GdkFillRule
typedef enum
{
GDK_EVEN_ODD_RULE,
GDK_WINDING_RULE
} GdkFillRule;
GdkLineStyle
typedef enum
{
GDK_LINE_SOLID,
GDK_LINE_ON_OFF_DASH,
GDK_LINE_DOUBLE_DASH
} GdkLineStyle;
GdkCapStyle
typedef enum
{
GDK_CAP_NOT_LAST,
GDK_CAP_BUTT,
GDK_CAP_ROUND,
GDK_CAP_PROJECTING
} GdkCapStyle;
GdkJoinStyle
typedef enum
{
GDK_JOIN_MITER,
GDK_JOIN_ROUND,
GDK_JOIN_BEVEL
} GdkJoinStyle;
GdkCursorType
typedef enum
{
#include
GDK_LAST_CURSOR,
GDK_CURSOR_IS_PIXMAP = -1
} GdkCursorType;
GdkFilterReturn
typedef enum {
GDK_FILTER_CONTINUE, /* Event not handled, continue processesing */
GDK_FILTER_TRANSLATE, /* Translated event stored */
GDK_FILTER_REMOVE /* Terminate processing, removing event */
} GdkFilterReturn;
GdkVisibilityState
typedef enum {
GDK_VISIBILITY_UNOBSCURED,
GDK_VISIBILITY_PARTIAL,
GDK_VISIBILITY_FULLY_OBSCURED
} GdkVisibilityState;
GdkEventType
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
} GdkEventType;
GdkEventMask
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_ALL_EVENTS_MASK = 0x0FFFFF
} GdkEventMask;
GdkNotifyType
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;
GdkCrossingMode
typedef enum
{
GDK_CROSSING_NORMAL,
GDK_CROSSING_GRAB,
GDK_CROSSING_UNGRAB
} GdkCrossingMode;
GdkModifierType
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_RELEASE_MASK = 1 << 13,
GDK_MODIFIER_MASK = 0x3fff
} GdkModifierType;
GdkSubwindowMode
typedef enum
{
GDK_CLIP_BY_CHILDREN = 0,
GDK_INCLUDE_INFERIORS = 1
} GdkSubwindowMode;
GdkInputCondition
typedef enum
{
GDK_INPUT_READ = 1 << 0,
GDK_INPUT_WRITE = 1 << 1,
GDK_INPUT_EXCEPTION = 1 << 2
} GdkInputCondition;
GdkStatus
typedef enum
{
GDK_OK = 0,
GDK_ERROR = -1,
GDK_ERROR_PARAM = -2,
GDK_ERROR_FILE = -3,
GDK_ERROR_MEM = -4
} GdkStatus;
GdkByteOrder
typedef enum
{
GDK_LSB_FIRST,
GDK_MSB_FIRST
} GdkByteOrder;
GdkGCValuesMask
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;
GdkSelection
typedef enum
{
GDK_SELECTION_PRIMARY = 1,
GDK_SELECTION_SECONDARY = 2
} GdkSelection;
GdkPropertyState
typedef enum
{
GDK_PROPERTY_NEW_VALUE,
GDK_PROPERTY_DELETE
} GdkPropertyState;
GdkPropMode
typedef enum
{
GDK_PROP_MODE_REPLACE,
GDK_PROP_MODE_PREPEND,
GDK_PROP_MODE_APPEND
} GdkPropMode;
GdkInputSource
typedef enum
{
GDK_SOURCE_MOUSE,
GDK_SOURCE_PEN,
GDK_SOURCE_ERASER,
GDK_SOURCE_CURSOR
} GdkInputSource;
GdkInputMode
typedef enum
{
GDK_MODE_DISABLED,
GDK_MODE_SCREEN,
GDK_MODE_WINDOW
} GdkInputMode;
GdkAxisUse
typedef enum
{
GDK_AXIS_IGNORE,
GDK_AXIS_X,
GDK_AXIS_Y,
GDK_AXIS_PRESSURE,
GDK_AXIS_XTILT,
GDK_AXIS_YTILT,
GDK_AXIS_LAST
} GdkAxisUse;
GdkTarget
typedef enum
{
GDK_TARGET_BITMAP = 5,
GDK_TARGET_COLORMAP = 7,
GDK_TARGET_DRAWABLE = 17,
GDK_TARGET_PIXMAP = 20,
GDK_TARGET_STRING = 31
} GdkTarget;
GdkSelectionType
typedef enum
{
GDK_SELECTION_TYPE_ATOM = 4,
GDK_SELECTION_TYPE_BITMAP = 5,
GDK_SELECTION_TYPE_COLORMAP = 7,
GDK_SELECTION_TYPE_DRAWABLE = 17,
GDK_SELECTION_TYPE_INTEGER = 19,
GDK_SELECTION_TYPE_PIXMAP = 20,
GDK_SELECTION_TYPE_WINDOW = 33,
GDK_SELECTION_TYPE_STRING = 31
} GdkSelectionType;
GdkExtensionMode
typedef enum
{
GDK_EXTENSION_EVENTS_NONE,
GDK_EXTENSION_EVENTS_ALL,
GDK_EXTENSION_EVENTS_CURSOR
} GdkExtensionMode;
GdkIMStyle
typedef enum /*< flags >*/
{
GDK_IM_PREEDIT_AREA = 0x0001,
GDK_IM_PREEDIT_CALLBACKS = 0x0002,
GDK_IM_PREEDIT_POSITION = 0x0004,
GDK_IM_PREEDIT_NOTHING = 0x0008,
GDK_IM_PREEDIT_NONE = 0x0010,
GDK_IM_PREEDIT_MASK = 0x001f,
GDK_IM_STATUS_AREA = 0x0100,
GDK_IM_STATUS_CALLBACKS = 0x0200,
GDK_IM_STATUS_NOTHING = 0x0400,
GDK_IM_STATUS_NONE = 0x0800,
GDK_IM_STATUS_MASK = 0x0f00
} GdkIMStyle;
GdkICAttributesType
typedef enum
{
GDK_IC_STYLE = 1 << 0,
GDK_IC_CLIENT_WINDOW = 1 << 1,
GDK_IC_FOCUS_WINDOW = 1 << 2,
GDK_IC_FILTER_EVENTS = 1 << 3,
GDK_IC_SPOT_LOCATION = 1 << 4,
GDK_IC_LINE_SPACING = 1 << 5,
GDK_IC_CURSOR = 1 << 6,
GDK_IC_PREEDIT_FONTSET = 1 << 10,
GDK_IC_PREEDIT_AREA = 1 << 11,
GDK_IC_PREEDIT_AREA_NEEDED = 1 << 12,
GDK_IC_PREEDIT_FOREGROUND = 1 << 13,
GDK_IC_PREEDIT_BACKGROUND = 1 << 14,
GDK_IC_PREEDIT_PIXMAP = 1 << 15,
GDK_IC_PREEDIT_COLORMAP = 1 << 16,
GDK_IC_STATUS_FONTSET = 1 << 21,
GDK_IC_STATUS_AREA = 1 << 22,
GDK_IC_STATUS_AREA_NEEDED = 1 << 23,
GDK_IC_STATUS_FOREGROUND = 1 << 24,
GDK_IC_STATUS_BACKGROUND = 1 << 25,
GDK_IC_STATUS_PIXMAP = 1 << 26,
GDK_IC_STATUS_COLORMAP = 1 << 27,
GDK_IC_ALL_REQ = GDK_IC_STYLE |
GDK_IC_CLIENT_WINDOW,
GDK_IC_PREEDIT_AREA_REQ = GDK_IC_PREEDIT_AREA |
GDK_IC_PREEDIT_FONTSET,
GDK_IC_PREEDIT_POSITION_REQ = GDK_IC_PREEDIT_AREA | GDK_IC_SPOT_LOCATION |
GDK_IC_PREEDIT_FONTSET,
GDK_IC_STATUS_AREA_REQ = GDK_IC_STATUS_AREA |
GDK_IC_STATUS_FONTSET
} GdkICAttributesType;
GdkWMDecoration
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;
GdkWMFunction
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;
GdkInputFunction
void
gpointer data,
gint source,
GdkInputCondition condition
GdkDestroyNotify
void
gpointer data
GdkColorContextMode
typedef enum
{
GDK_CC_MODE_UNDEFINED,
GDK_CC_MODE_BW,
GDK_CC_MODE_STD_CMAP,
GDK_CC_MODE_TRUE,
GDK_CC_MODE_MY_GRAY,
GDK_CC_MODE_PALETTE
} GdkColorContextMode;
GdkOverlapType
typedef enum
{
GDK_OVERLAP_RECTANGLE_IN,
GDK_OVERLAP_RECTANGLE_OUT,
GDK_OVERLAP_RECTANGLE_PART
} GdkOverlapType;
GdkDragAction
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;
GdkDragProtocol
typedef enum {
GDK_DRAG_PROTO_MOTIF,
GDK_DRAG_PROTO_XDND,
GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming
* drags */
GDK_DRAG_PROTO_NONE /* Not a valid drag window */
} GdkDragProtocol;
GdkColor
struct GdkColor
{
gulong pixel;
gushort red;
gushort green;
gushort blue;
};
GdkColormap
struct GdkColormap
{
gint size;
GdkColor *colors;
};
GdkVisual
struct GdkVisual
{
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;
};
GdkWindowAttr
struct GdkWindowAttr
{
gchar *title;
gint event_mask;
gint16 x, y;
gint16 width;
gint16 height;
GdkWindowClass wclass;
GdkVisual *visual;
GdkColormap *colormap;
GdkWindowType window_type;
GdkCursor *cursor;
gchar *wmclass_name;
gchar *wmclass_class;
gboolean override_redirect;
};
GdkWindow
struct GdkWindow
{
gpointer user_data;
};
GdkGeometry
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 gravity; */
};
GdkImage
struct GdkImage
{
GdkImageType type;
GdkVisual *visual; /* visual used to create the image */
GdkByteOrder byte_order;
guint16 width;
guint16 height;
guint16 depth;
guint16 bpp; /* bytes per pixel */
guint16 bpl; /* bytes per line */
gpointer mem;
};
GdkGCValues
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;
};
GdkGC
struct GdkGC
{
gint dummy_var;
};
GdkPoint
struct GdkPoint
{
gint16 x;
gint16 y;
};
GdkRectangle
struct GdkRectangle
{
gint16 x;
gint16 y;
guint16 width;
guint16 height;
};
GdkSegment
struct GdkSegment
{
gint16 x1;
gint16 y1;
gint16 x2;
gint16 y2;
};
GdkFont
struct GdkFont
{
GdkFontType type;
gint ascent;
gint descent;
};
GdkCursor
struct GdkCursor
{
GdkCursorType type;
};
GdkColorContextDither
struct GdkColorContextDither
{
gint fast_rgb[32][32][32]; /* quick look-up table for faster rendering */
gint fast_err[32][32][32]; /* internal RGB error information */
gint fast_erg[32][32][32];
gint fast_erb[32][32][32];
};
GdkColorContext
struct GdkColorContext
{
GdkVisual *visual;
GdkColormap *colormap;
gint num_colors; /* available no. of colors in colormap */
gint max_colors; /* maximum no. of colors */
gint num_allocated; /* no. of allocated colors */
GdkColorContextMode mode;
gint need_to_free_colormap;
GdkAtom std_cmap_atom;
gulong *clut; /* color look-up table */
GdkColor *cmap; /* colormap */
GHashTable *color_hash; /* hash table of allocated colors */
GdkColor *palette; /* preallocated palette */
gint num_palette; /* size of palette */
GdkColorContextDither *fast_dither; /* fast dither matrix */
struct
{
gint red;
gint green;
gint blue;
} shifts;
GdkDeviceKey
struct GdkDeviceKey
{
guint keyval;
GdkModifierType modifiers;
};
GdkDeviceInfo
struct GdkDeviceInfo
{
guint32 deviceid;
gchar *name;
GdkInputSource source;
GdkInputMode mode;
gint has_cursor; /* TRUE if the X pointer follows device motion */
gint num_axes;
GdkAxisUse *axes; /* Specifies use for each axis */
gint num_keys;
GdkDeviceKey *keys;
};
GdkTimeCoord
struct GdkTimeCoord
{
guint32 time;
gdouble x;
gdouble y;
gdouble pressure;
gdouble xtilt;
gdouble ytilt;
};
GdkDragContext
struct GdkDragContext {
GdkDragProtocol protocol;
gboolean is_source;
GdkWindow *source_window;
GdkWindow *dest_window;
GList *targets;
GdkDragAction actions;
GdkDragAction suggested_action;
GdkDragAction action;
guint32 start_time;
};
GdkXEvent
typedef void GdkXEvent; /* Can be cast to XEvent */
GdkFilterFunc
GdkFilterReturn
GdkXEvent *xevent,
GdkEvent *event,
gpointer data
GdkEventAny
struct GdkEventAny
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
};
GdkEventExpose
struct GdkEventExpose
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
GdkRectangle area;
gint count; /* If non-zero, how many more events follow. */
};
GdkEventNoExpose
struct GdkEventNoExpose
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
/* XXX: does anyone need the X major_code or minor_code fields? */
};
GdkEventVisibility
struct GdkEventVisibility
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
GdkVisibilityState state;
};
GdkEventMotion
struct GdkEventMotion
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
guint32 time;
gdouble x;
gdouble y;
gdouble pressure;
gdouble xtilt;
gdouble ytilt;
guint state;
gint16 is_hint;
GdkInputSource source;
guint32 deviceid;
gdouble x_root, y_root;
};
GdkEventButton
struct GdkEventButton
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
guint32 time;
gdouble x;
gdouble y;
gdouble pressure;
gdouble xtilt;
gdouble ytilt;
guint state;
guint button;
GdkInputSource source;
guint32 deviceid;
gdouble x_root, y_root;
};
GdkEventKey
struct GdkEventKey
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
guint32 time;
guint state;
guint keyval;
gint length;
gchar *string;
};
GdkEventCrossing
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;
};
GdkEventFocus
struct GdkEventFocus
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
gint16 in;
};
GdkEventConfigure
struct GdkEventConfigure
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
gint16 x, y;
gint16 width;
gint16 height;
};
GdkEventProperty
struct GdkEventProperty
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
GdkAtom atom;
guint32 time;
guint state;
};
GdkEventSelection
struct GdkEventSelection
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
GdkAtom selection;
GdkAtom target;
GdkAtom property;
guint32 requestor;
guint32 time;
};
GdkEventProximity
struct GdkEventProximity
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
guint32 time;
GdkInputSource source;
guint32 deviceid;
};
GdkEventClient
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;
};
GdkEventDND
struct GdkEventDND {
GdkEventType type;
GdkWindow *window;
gint8 send_event;
GdkDragContext *context;
guint32 time;
gshort x_root, y_root;
};
GdkEvent
union GdkEvent
{
GdkEventType type;
GdkEventAny any;
GdkEventExpose expose;
GdkEventNoExpose no_expose;
GdkEventVisibility visibility;
GdkEventMotion motion;
GdkEventButton button;
GdkEventKey key;
GdkEventCrossing crossing;
GdkEventFocus focus_change;
GdkEventConfigure configure;
GdkEventProperty property;
GdkEventSelection selection;
GdkEventProximity proximity;
GdkEventClient client;
GdkEventDND dnd;
};
GdkRegion
struct GdkRegion
{
gpointer user_data;
};
GdkICAttr
struct GdkICAttr
{
GdkIMStyle style;
GdkWindow *client_window;
GdkWindow *focus_window;
GdkEventMask filter_events;
GdkPoint spot_location;
gint line_spacing;
GdkCursor *cursor;
GdkFont *preedit_fontset;
GdkRectangle preedit_area;
GdkRectangle preedit_area_needed;
GdkColor preedit_foreground;
GdkColor preedit_background;
GdkPixmap *preedit_pixmap;
GdkColormap *preedit_colormap;
GdkFont *status_fontset;
GdkRectangle status_area;
GdkRectangle status_area_needed;
GdkColor status_foreground;
GdkColor status_background;
GdkPixmap *status_pixmap;
GdkColormap *status_colormap;
};
GdkRgbCmap
GdkRgbCmap
struct GdkRgbCmap {
guint32 colors[256];
guchar lut[256]; /* for 8-bit modes */
};
gdk_rgb_init
void
void
gdk_rgb_xpixel_from_rgb
gulong
guint32 rgb
gdk_rgb_gc_set_foreground
void
GdkGC *gc, guint32 rgb
gdk_rgb_gc_set_background
void
GdkGC *gc, guint32 rgb
GdkRgbDither
typedef enum
{
GDK_RGB_DITHER_NONE,
GDK_RGB_DITHER_NORMAL,
GDK_RGB_DITHER_MAX
} GdkRgbDither;
gdk_draw_rgb_image
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *rgb_buf,gint rowstride
gdk_draw_rgb_image_dithalign
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *rgb_buf,gint rowstride,gint xdith,gint ydith
gdk_draw_rgb_32_image
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride
gdk_draw_gray_image
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride
gdk_rgb_cmap_new
GdkRgbCmap *
guint32 *colors, gint n_colors
gdk_rgb_cmap_free
void
GdkRgbCmap *cmap
gdk_draw_indexed_image
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride,GdkRgbCmap *cmap
gdk_rgb_ditherable
gboolean
void
gdk_rgb_set_verbose
void
gboolean verbose
gdk_rgb_set_install
void
gboolean install
gdk_rgb_set_min_colors
void
gint min_colors
gdk_rgb_get_cmap
GdkColormap *
void
gdk_rgb_get_visual
GdkVisual *
void