GdkGCXData
GdkColormapPrivateX11
GdkCursorPrivate
GdkFontPrivateX
GdkImagePrivateX11
GdkVisualPrivate
GdkICPrivate
GdkCursorPrivate
struct GdkCursorPrivate
{
GdkCursor cursor;
Cursor xcursor;
Display *xdisplay;
};
GdkFontPrivateX
struct GdkFontPrivateX
{
GdkFontPrivate base;
/* XFontStruct *xfont; */
/* generic pointer point to XFontStruct or XFontSet */
gpointer xfont;
Display *xdisplay;
GSList *names;
};
GdkVisualPrivate
struct GdkVisualPrivate
{
GdkVisual visual;
Visual *xvisual;
};
GdkColormapPrivateX11
struct GdkColormapPrivateX11
{
Colormap xcolormap;
Display *xdisplay;
gint private_val;
GHashTable *hash;
GdkColorInfo *info;
time_t last_sync_time;
};
GdkImagePrivateX11
struct GdkImagePrivateX11
{
XImage *ximage;
Display *xdisplay;
gpointer x_shm_info;
};
GdkICPrivate
struct GdkICPrivate
{
XIC xic;
GdkICAttr *attr;
GdkICAttributesType mask;
};
GdkGCX11
GdkGCX11Class
GDK_TYPE_GC_X11
#define GDK_TYPE_GC_X11 (gdk_gc_x11_get_type ())
GDK_GC_X11
#define GDK_GC_X11(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_GC_X11, GdkGCX11))
GDK_GC_X11_CLASS
#define GDK_GC_X11_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_GC_X11, GdkGCX11Class))
GDK_IS_GC_X11
#define GDK_IS_GC_X11(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC_X11))
GDK_IS_GC_X11_CLASS
#define GDK_IS_GC_X11_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_GC_X11))
GDK_GC_X11_GET_CLASS
#define GDK_GC_X11_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_GC_X11, GdkGCX11Class))
GdkGCX11
struct GdkGCX11
{
GdkGC parent_instance;
GC xgc;
Display *xdisplay;
GdkRegion *clip_region;
guint dirty_mask;
};
gdk_gc_x11_get_type
GType
void
GDK_ROOT_WINDOW
#define GDK_ROOT_WINDOW() gdk_root_window
GDK_ROOT_PARENT
#define GDK_ROOT_PARENT() ((GdkWindow *)gdk_parent_root)
GDK_DISPLAY
#define GDK_DISPLAY() gdk_display
GDK_WINDOW_XDISPLAY
#define GDK_WINDOW_XDISPLAY(win) (GDK_DRAWABLE_IMPL_X11(((GdkWindowObject *)win)->impl)->xdisplay)
GDK_WINDOW_XID
#define GDK_WINDOW_XID(win) (GDK_DRAWABLE_IMPL_X11(((GdkWindowObject *)win)->impl)->xid)
GDK_PIXMAP_XDISPLAY
#define GDK_PIXMAP_XDISPLAY(win) (GDK_DRAWABLE_IMPL_X11(((GdkPixmapObject *)win)->impl)->xdisplay)
GDK_PIXMAP_XID
#define GDK_PIXMAP_XID(win) (GDK_DRAWABLE_IMPL_X11(((GdkPixmapObject *)win)->impl)->xid)
GDK_DRAWABLE_XDISPLAY
#define GDK_DRAWABLE_XDISPLAY(win) (GDK_IS_WINDOW (win) ? GDK_WINDOW_XDISPLAY (win) : GDK_PIXMAP_XDISPLAY (win))
GDK_DRAWABLE_XID
#define GDK_DRAWABLE_XID(win) (GDK_IS_WINDOW (win) ? GDK_WINDOW_XID (win) : GDK_PIXMAP_XID (win))
GDK_IMAGE_XDISPLAY
#define GDK_IMAGE_XDISPLAY(image) (((GdkImagePrivateX11 *) GDK_IMAGE (image)->windowing_data)->xdisplay)
GDK_IMAGE_XIMAGE
#define GDK_IMAGE_XIMAGE(image) (((GdkImagePrivateX11 *) GDK_IMAGE (image)->windowing_data)->ximage)
GDK_GC_XDISPLAY
#define GDK_GC_XDISPLAY(gc) (GDK_GC_X11(gc)->xdisplay)
GDK_COLORMAP_XDISPLAY
#define GDK_COLORMAP_XDISPLAY(cmap) (((GdkColormapPrivateX11 *)GDK_COLORMAP (cmap)->windowing_data)->xdisplay)
GDK_COLORMAP_XCOLORMAP
#define GDK_COLORMAP_XCOLORMAP(cmap) (((GdkColormapPrivateX11 *)GDK_COLORMAP (cmap)->windowing_data)->xcolormap)
GDK_VISUAL_XVISUAL
#define GDK_VISUAL_XVISUAL(vis) (((GdkVisualPrivate *) vis)->xvisual)
GDK_FONT_XDISPLAY
#define GDK_FONT_XDISPLAY(font) (((GdkFontPrivate *) font)->xdisplay)
GDK_FONT_XFONT
#define GDK_FONT_XFONT(font) (((GdkFontPrivateX *)font)->xfont)
GDK_GC_XGC
#define GDK_GC_XGC(gc) (GDK_GC_X11(gc)->xgc)
GDK_GC_GET_XGC
#define GDK_GC_GET_XGC(gc) (GDK_GC_X11(gc)->dirty_mask ? _gdk_x11_gc_flush (gc) : GDK_GC_XGC (gc))
GDK_WINDOW_XWINDOW
#define GDK_WINDOW_XWINDOW GDK_DRAWABLE_XID
gdk_display
extern Display *gdk_display;
gdk_root_window
extern Window gdk_root_window;
gdk_screen
extern gint gdk_screen;
gdk_display_name
extern gchar *gdk_display_name;
gdk_leader_window
extern Window gdk_leader_window;
gdk_selection_property
extern Atom gdk_selection_property;
gdk_progclass
extern gchar *gdk_progclass;
gdkx_visual_get
GdkVisual *
VisualID xvisualid
gdkx_colormap_get
GdkColormap *
Colormap xcolormap
gdk_get_client_window
Window
Display *dpy,Window win
gdk_pixmap_foreign_new
GdkPixmap *
GdkNativeWindow anid
gdk_window_foreign_new
GdkWindow *
GdkNativeWindow anid
gdk_xid_table_lookup
gpointer
XID xid
gdk_x11_get_server_time
guint32
GdkWindow *window
gdk_window_lookup
#define gdk_window_lookup(xid) ((GdkWindow*) gdk_xid_table_lookup (xid))
gdk_pixmap_lookup
#define gdk_pixmap_lookup(xid) ((GdkPixmap*) gdk_xid_table_lookup (xid))
gdk_font_lookup
#define gdk_font_lookup(xid) ((GdkFont*) gdk_xid_table_lookup (xid))
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_set_use_xshm
void
gboolean use_xshm
gdk_get_use_xshm
gboolean
void
gdk_get_display
gchar *
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
GdkGrabStatus
GdkWindow *window,gboolean owner_events,GdkEventMask event_mask,GdkWindow *confine_to,GdkCursor *cursor,guint32 time
gdk_pointer_ungrab
void
guint32 time
gdk_keyboard_grab
GdkGrabStatus
GdkWindow *window,gboolean owner_events,guint32 time
gdk_keyboard_ungrab
void
guint32 time
gdk_pointer_is_grabbed
gboolean
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_rectangle_intersect
gboolean
GdkRectangle *src1,GdkRectangle *src2,GdkRectangle *dest
gdk_rectangle_union
void
GdkRectangle *src1,GdkRectangle *src2,GdkRectangle *dest
gdk_wcstombs
gchar *
const GdkWChar *src
gdk_mbstowcs
gint
GdkWChar *dest,const gchar *src,gint dest_max
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_convert_case
void
guint symbol,guint *lower,guint *upper
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_keyval_to_unicode
guint32
guint keyval
gdk_unicode_to_keyval
guint
guint32 wc
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()
GdkColorContextDither
GdkColorContext
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;
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;
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
GdkColor
struct GdkColor
{
gulong pixel;
gushort red;
gushort green;
gushort blue;
};
GdkColormapClass
GDK_TYPE_COLORMAP
#define GDK_TYPE_COLORMAP (gdk_colormap_get_type ())
GDK_COLORMAP
#define GDK_COLORMAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_COLORMAP, GdkColormap))
GDK_COLORMAP_CLASS
#define GDK_COLORMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_COLORMAP, GdkColormapClass))
GDK_IS_COLORMAP
#define GDK_IS_COLORMAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_COLORMAP))
GDK_IS_COLORMAP_CLASS
#define GDK_IS_COLORMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_COLORMAP))
GDK_COLORMAP_GET_CLASS
#define GDK_COLORMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_COLORMAP, GdkColormapClass))
GdkColormap
struct GdkColormap
{
GObject parent_instance;
/*< public >*/
gint size;
GdkColor *colors;
/*< private >*/
GdkVisual *visual;
gpointer windowing_data;
};
gdk_colormap_get_type
GType
void
gdk_colormap_new
GdkColormap *
GdkVisual *visual,gboolean 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 *
const GdkColor *color
gdk_color_free
void
GdkColor *color
gdk_color_parse
gint
const gchar *spec,GdkColor *color
gdk_color_hash
guint
const GdkColor *colora
gdk_color_equal
gboolean
const GdkColor *colora,const GdkColor *colorb
gdk_colors_store
void
GdkColormap *colormap,GdkColor *colors,gint ncolors
gdk_colors_alloc
gint
GdkColormap *colormap,gboolean contiguous,gulong *planes,gint nplanes,gulong *pixels,gint npixels
gdk_colors_free
void
GdkColormap *colormap,gulong *pixels,gint npixels,gulong planes
gdk_color_white
gint
GdkColormap *colormap,GdkColor *color
gdk_color_black
gint
GdkColormap *colormap,GdkColor *color
gdk_color_alloc
gint
GdkColormap *colormap,GdkColor *color
gdk_color_change
gint
GdkColormap *colormap,GdkColor *color
gdk_draw_pixmap
#define gdk_draw_pixmap gdk_draw_drawable
gdk_draw_bitmap
#define gdk_draw_bitmap gdk_draw_drawable
gdk_window_get_size
#define gdk_window_get_size gdk_drawable_get_size
gdk_window_get_type
#define gdk_window_get_type gdk_window_get_window_type
gdk_window_get_colormap
#define gdk_window_get_colormap gdk_drawable_get_colormap
gdk_window_set_colormap
#define gdk_window_set_colormap gdk_drawable_set_colormap
gdk_window_get_visual
#define gdk_window_get_visual gdk_drawable_get_visual
gdk_window_ref
#define gdk_window_ref gdk_drawable_ref
gdk_window_unref
#define gdk_window_unref gdk_drawable_unref
gdk_bitmap_ref
#define gdk_bitmap_ref gdk_drawable_ref
gdk_bitmap_unref
#define gdk_bitmap_unref gdk_drawable_unref
gdk_pixmap_ref
#define gdk_pixmap_ref gdk_drawable_ref
gdk_pixmap_unref
#define gdk_pixmap_unref gdk_drawable_unref
gdk_window_copy_area
#define gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) \
gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height)
gdk_gc_destroy
#define gdk_gc_destroy gdk_gc_unref
gdk_image_destroy
#define gdk_image_destroy gdk_image_unref
gdk_cursor_destroy
#define gdk_cursor_destroy gdk_cursor_unref
gdk_rgb_get_cmap
#define gdk_rgb_get_cmap gdk_rgb_get_colormap
GdkCursorType
typedef enum
{
#include
GDK_LAST_CURSOR,
GDK_CURSOR_IS_PIXMAP = -1
} GdkCursorType;
GdkCursor
struct GdkCursor
{
GdkCursorType type;
guint ref_count;
};
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_ref
GdkCursor *
GdkCursor *cursor
gdk_cursor_unref
void
GdkCursor *cursor
GdkDragContext
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 */
GDK_DRAG_PROTO_WIN32_DROPFILES, /* The simple WM_DROPFILES dnd */
GDK_DRAG_PROTO_OLE2, /* The complex OLE2 dnd (not implemented) */
GDK_DRAG_PROTO_LOCAL /* Intra-app */
} GdkDragProtocol;
GdkDragContextClass
GDK_TYPE_DRAG_CONTEXT
#define GDK_TYPE_DRAG_CONTEXT (gdk_drag_context_get_type ())
GDK_DRAG_CONTEXT
#define GDK_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAG_CONTEXT, GdkDragContext))
GDK_DRAG_CONTEXT_CLASS
#define GDK_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass))
GDK_IS_DRAG_CONTEXT
#define GDK_IS_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAG_CONTEXT))
GDK_IS_DRAG_CONTEXT_CLASS
#define GDK_IS_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAG_CONTEXT))
GDK_DRAG_CONTEXT_GET_CLASS
#define GDK_DRAG_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass))
GdkDragContext
struct GdkDragContext {
GObject parent_instance;
/*< public >*/
GdkDragProtocol protocol;
gboolean is_source;
GdkWindow *source_window;
GdkWindow *dest_window;
GList *targets;
GdkDragAction actions;
GdkDragAction suggested_action;
GdkDragAction action;
guint32 start_time;
/*< private >*/
gpointer windowing_data;
};
gdk_drag_context_get_type
GType
void
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
GdkDrawableClass
GDK_TYPE_DRAWABLE
#define GDK_TYPE_DRAWABLE (gdk_drawable_get_type ())
GDK_DRAWABLE
#define GDK_DRAWABLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAWABLE, GdkDrawable))
GDK_DRAWABLE_CLASS
#define GDK_DRAWABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAWABLE, GdkDrawableClass))
GDK_IS_DRAWABLE
#define GDK_IS_DRAWABLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAWABLE))
GDK_IS_DRAWABLE_CLASS
#define GDK_IS_DRAWABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAWABLE))
GDK_DRAWABLE_GET_CLASS
#define GDK_DRAWABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAWABLE, GdkDrawableClass))
GdkDrawable
struct GdkDrawable
{
GObject parent_instance;
};
gdk_drawable_get_type
GType
void
gdk_drawable_set_data
void
GdkDrawable *drawable,const gchar *key,gpointer data,GDestroyNotify destroy_func
gdk_drawable_get_data
gpointer
GdkDrawable *drawable,const gchar *key
gdk_drawable_get_size
void
GdkDrawable *drawable,gint *width,gint *height
gdk_drawable_set_colormap
void
GdkDrawable *drawable,GdkColormap *colormap
gdk_drawable_get_colormap
GdkColormap *
GdkDrawable *drawable
gdk_drawable_get_visual
GdkVisual *
GdkDrawable *drawable
gdk_drawable_get_depth
gint
GdkDrawable *drawable
gdk_drawable_ref
GdkDrawable *
GdkDrawable *drawable
gdk_drawable_unref
void
GdkDrawable *drawable
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_drawable
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_draw_glyphs
void
GdkDrawable *drawable,GdkGC *gc,PangoFont *font,gint x,gint y,PangoGlyphString *glyphs
gdk_draw_layout_line
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,PangoLayoutLine *line
gdk_draw_layout
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,PangoLayout *layout
GDK_PRIORITY_EVENTS
#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT)
GDK_PRIORITY_REDRAW
#define GDK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20)
GdkEventAny
GdkEventExpose
GdkEventNoExpose
GdkEventVisibility
GdkEventMotion
GdkEventButton
GdkEventScroll
GdkEventKey
GdkEventFocus
GdkEventCrossing
GdkEventConfigure
GdkEventProperty
GdkEventSelection
GdkEventProximity
GdkEventClient
GdkEventDND
GdkEventFunc
void
GdkEvent *event,
gpointer data
GdkXEvent
typedef void GdkXEvent; /* Can be cast to XEvent */
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;
GdkFilterFunc
GdkFilterReturn
GdkXEvent *xevent,
GdkEvent *event,
gpointer data
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,
GDK_SCROLL = 31
} 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_SCROLL_MASK = 1 << 21,
GDK_ALL_EVENTS_MASK = 0x3FFFFE
} GdkEventMask;
GdkVisibilityState
typedef enum
{
GDK_VISIBILITY_UNOBSCURED,
GDK_VISIBILITY_PARTIAL,
GDK_VISIBILITY_FULLY_OBSCURED
} GdkVisibilityState;
GdkScrollDirection
typedef enum
{
GDK_SCROLL_UP,
GDK_SCROLL_DOWN,
GDK_SCROLL_LEFT,
GDK_SCROLL_RIGHT
} GdkScrollDirection;
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;
GdkPropertyState
typedef enum
{
GDK_PROPERTY_NEW_VALUE,
GDK_PROPERTY_DELETE
} GdkPropertyState;
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 *axes;
guint state;
gint16 is_hint;
GdkDevice *device;
gdouble x_root, y_root;
};
GdkEventButton
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;
};
GdkEventScroll
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;
};
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;
gint x, y;
gint width;
gint 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 time;
GdkNativeWindow requestor;
};
GdkEventProximity
struct GdkEventProximity
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
guint32 time;
GdkDevice *device;
};
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;
GdkEventScroll scroll;
GdkEventKey key;
GdkEventCrossing crossing;
GdkEventFocus focus_change;
GdkEventConfigure configure;
GdkEventProperty property;
GdkEventSelection selection;
GdkEventProximity proximity;
GdkEventClient client;
GdkEventDND dnd;
};
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_get_axis
gboolean
GdkEvent *event,GdkAxisUse axis_use,gdouble *value
gdk_event_handler_set
void
GdkEventFunc func,gpointer data,GDestroyNotify notify
gdk_set_show_events
void
gboolean show_events
gdk_get_show_events
gboolean
void
gdk_add_client_message_filter
void
GdkAtom message_type,GdkFilterFunc func,gpointer data
GdkFontType
typedef enum
{
GDK_FONT_FONT,
GDK_FONT_FONTSET
} GdkFontType;
GdkFont
struct GdkFont
{
GdkFontType type;
gint ascent;
gint descent;
};
gdk_font_load
GdkFont *
const gchar *font_name
gdk_fontset_load
GdkFont *
const gchar *fontset_name
gdk_font_load
GdkFont *
const gchar *font_name
gdk_fontset_load
GdkFont *
const gchar *fontset_name
gdk_font_from_description
GdkFont *
PangoFontDescription *font_desc
gdk_font_ref
GdkFont *
GdkFont *font
gdk_font_unref
void
GdkFont *font
gdk_font_id
gint
const GdkFont *font
gdk_font_equal
gboolean
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_font_full_name_get
gchar *
GdkFont *font
gdk_font_full_name_free
void
gchar *name
GdkGCValues
GdkGCClass
GdkCapStyle
typedef enum
{
GDK_CAP_NOT_LAST,
GDK_CAP_BUTT,
GDK_CAP_ROUND,
GDK_CAP_PROJECTING
} GdkCapStyle;
GdkFill
typedef enum
{
GDK_SOLID,
GDK_TILED,
GDK_STIPPLED,
GDK_OPAQUE_STIPPLED
} GdkFill;
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_NOR,
GDK_SET
} GdkFunction;
GdkJoinStyle
typedef enum
{
GDK_JOIN_MITER,
GDK_JOIN_ROUND,
GDK_JOIN_BEVEL
} GdkJoinStyle;
GdkLineStyle
typedef enum
{
GDK_LINE_SOLID,
GDK_LINE_ON_OFF_DASH,
GDK_LINE_DOUBLE_DASH
} GdkLineStyle;
GdkSubwindowMode
typedef enum
{
GDK_CLIP_BY_CHILDREN = 0,
GDK_INCLUDE_INFERIORS = 1
} GdkSubwindowMode;
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;
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;
};
GDK_TYPE_GC
#define GDK_TYPE_GC (gdk_gc_get_type ())
GDK_GC
#define GDK_GC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_GC, GdkGC))
GDK_GC_CLASS
#define GDK_GC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_GC, GdkGCClass))
GDK_IS_GC
#define GDK_IS_GC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC))
GDK_IS_GC_CLASS
#define GDK_IS_GC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_GC))
GDK_GC_GET_CLASS
#define GDK_GC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_GC, GdkGCClass))
GdkGC
struct GdkGC
{
GObject parent_instance;
gint clip_x_origin;
gint clip_y_origin;
gint ts_x_origin;
gint ts_y_origin;
GdkColormap *colormap;
};
gdk_gc_get_type
GType
void
gdk_gc_new
GdkGC *
GdkDrawable *drawable
gdk_gc_new_with_values
GdkGC *
GdkDrawable *drawable,GdkGCValues *values,GdkGCValuesMask values_mask
gdk_gc_ref
GdkGC *
GdkGC *gc
gdk_gc_unref
void
GdkGC *gc
gdk_gc_get_values
void
GdkGC *gc,GdkGCValues *values
gdk_gc_set_values
void
GdkGC *gc,GdkGCValues *values,GdkGCValuesMask values_mask
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,gboolean 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,gint8 dash_list[],gint n
gdk_gc_copy
void
GdkGC *dst_gc,GdkGC *src_gc
gdk_gc_set_colormap
void
GdkGC *gc,GdkColormap *colormap
gdk_gc_get_colormap
GdkColormap *
GdkGC *gc
gdk_gc_set_rgb_fg_color
void
GdkGC *gc,GdkColor *color
gdk_gc_set_rgb_bg_color
void
GdkGC *gc,GdkColor *color
gdk_iswalnum
# define gdk_iswalnum(c) iswalnum(c)
gdk_iswspace
# define gdk_iswspace(c) iswspace(c)
gdk_iswalnum
# define gdk_iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
gdk_iswspace
# define gdk_iswspace(c) ((wchar_t)(c) <= 0xFF && isspace(c))
GdkIC
GdkICAttr
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;
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;
};
gdk_im_ready
gboolean
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
GdkImageType
typedef enum
{
GDK_IMAGE_NORMAL,
GDK_IMAGE_SHARED,
GDK_IMAGE_FASTEST
} GdkImageType;
GdkImageClass
GDK_TYPE_IMAGE
#define GDK_TYPE_IMAGE (gdk_image_get_type ())
GDK_IMAGE
#define GDK_IMAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_IMAGE, GdkImage))
GDK_IMAGE_CLASS
#define GDK_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_IMAGE, GdkImageClass))
GDK_IS_IMAGE
#define GDK_IS_IMAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_IMAGE))
GDK_IS_IMAGE_CLASS
#define GDK_IS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_IMAGE))
GDK_IMAGE_GET_CLASS
#define GDK_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_IMAGE, GdkImageClass))
GdkImage
struct GdkImage
{
GObject parent_instance;
GdkImageType type;
GdkVisual *visual; /* visual used to create the image */
GdkByteOrder byte_order;
gint width;
gint height;
guint16 depth;
guint16 bpp; /* bytes per pixel */
guint16 bpl; /* bytes per line */
gpointer mem;
gpointer windowing_data;
};
gdk_image_get_type
GType
void
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 *
GdkDrawable *drawable,gint x,gint y,gint width,gint height
gdk_image_ref
GdkImage *
GdkImage *image
gdk_image_unref
void
GdkImage *image
gdk_image_put_pixel
void
GdkImage *image,gint x,gint y,guint32 pixel
gdk_image_get_pixel
guint32
GdkImage *image,gint x,gint y
GdkDeviceKey
GdkDeviceAxis
GdkDevice
GdkTimeCoord
GdkExtensionMode
typedef enum
{
GDK_EXTENSION_EVENTS_NONE,
GDK_EXTENSION_EVENTS_ALL,
GDK_EXTENSION_EVENTS_CURSOR
} GdkExtensionMode;
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_WHEEL,
GDK_AXIS_LAST
} GdkAxisUse;
GdkDeviceKey
struct GdkDeviceKey
{
guint keyval;
GdkModifierType modifiers;
};
GdkDeviceAxis
struct GdkDeviceAxis
{
GdkAxisUse use;
gdouble min;
gdouble max;
};
GdkDevice
struct GdkDevice
{
/* All fields are read-only */
gchar *name;
GdkInputSource source;
GdkInputMode mode;
gboolean has_cursor; /* TRUE if the X pointer follows device motion */
gint num_axes;
GdkDeviceAxis *axes;
gint num_keys;
GdkDeviceKey *keys;
};
GDK_MAX_TIMECOORD_AXES
#define GDK_MAX_TIMECOORD_AXES 128
GdkTimeCoord
struct GdkTimeCoord
{
guint32 time;
gdouble axes[GDK_MAX_TIMECOORD_AXES];
};
gdk_devices_list
GList *
void
gdk_device_set_source
void
GdkDevice *device,GdkInputSource source
gdk_device_set_mode
gboolean
GdkDevice *device,GdkInputMode mode
gdk_device_set_key
void
GdkDevice *device,guint index,guint keyval,GdkModifierType modifiers
gdk_device_set_axis_use
void
GdkDevice *device,guint index,GdkAxisUse use
gdk_device_get_state
void
GdkDevice *device,GdkWindow *window,gdouble *axes,GdkModifierType *mask
gdk_device_get_history
gboolean
GdkDevice *device,GdkWindow *window,guint32 start,guint32 stop,GdkTimeCoord ***events,gint *n_events
gdk_device_free_history
void
GdkTimeCoord **events,gint n_events
gdk_device_get_axis
gboolean
GdkDevice *device,gdouble *axes,GdkAxisUse use,gdouble *value
gdk_input_set_extension_events
void
GdkWindow *window,gint mask,GdkExtensionMode mode
gdk_core_pointer
extern GdkDevice *gdk_core_pointer;
gdk_pango_context_get
PangoContext *
void
gdk_pango_context_set_colormap
void
PangoContext *context,GdkColormap *colormap
gdk_pixbuf_render_threshold_alpha
void
GdkPixbuf *pixbuf,GdkBitmap *bitmap,int src_x,int src_y,int dest_x,int dest_y,int width,int height,int alpha_threshold
gdk_pixbuf_render_to_drawable
void
GdkPixbuf *pixbuf,GdkDrawable *drawable,GdkGC *gc,int src_x,int src_y,int dest_x,int dest_y,int width,int height,GdkRgbDither dither,int x_dither,int y_dither
gdk_pixbuf_render_to_drawable_alpha
void
GdkPixbuf *pixbuf,GdkDrawable *drawable,int src_x,int src_y,int dest_x,int dest_y,int width,int height,GdkPixbufAlphaMode alpha_mode,int alpha_threshold,GdkRgbDither dither,int x_dither,int y_dither
gdk_pixbuf_render_pixmap_and_mask
void
GdkPixbuf *pixbuf,GdkPixmap **pixmap_return,GdkBitmap **mask_return,int alpha_threshold
gdk_pixbuf_get_from_drawable
GdkPixbuf *
GdkPixbuf *dest,GdkDrawable *src,GdkColormap *cmap,int src_x,int src_y,int dest_x,int dest_y,int width,int height
GdkPixmapObject
GdkPixmapObjectClass
GDK_TYPE_PIXMAP
#define GDK_TYPE_PIXMAP (gdk_pixmap_get_type ())
GDK_PIXMAP
#define GDK_PIXMAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXMAP, GdkPixmap))
GDK_PIXMAP_CLASS
#define GDK_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXMAP, GdkPixmapObjectClass))
GDK_IS_PIXMAP
#define GDK_IS_PIXMAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXMAP))
GDK_IS_PIXMAP_CLASS
#define GDK_IS_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXMAP))
GDK_PIXMAP_GET_CLASS
#define GDK_PIXMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXMAP, GdkPixmapClass))
GDK_PIXMAP_OBJECT
#define GDK_PIXMAP_OBJECT(object) ((GdkPixmapObject *) GDK_PIXMAP (object))
GdkPixmapObject
struct GdkPixmapObject
{
GdkDrawable parent_instance;
GdkDrawable *impl; /* window-system-specific delegate object */
gint depth;
};
gdk_pixmap_get_type
GType
void
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
GdkPropMode
typedef enum
{
GDK_PROP_MODE_REPLACE,
GDK_PROP_MODE_PREPEND,
GDK_PROP_MODE_APPEND
} GdkPropMode;
gdk_atom_intern
GdkAtom
const gchar *atom_name,gboolean only_if_exists
gdk_atom_name
gchar *
GdkAtom atom
gdk_property_get
gboolean
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,const guchar *data,gint nelements
gdk_property_delete
void
GdkWindow *window,GdkAtom property
gdk_text_property_to_text_list
gint
GdkAtom encoding,gint format,const guchar *text,gint length,gchar ***list
gdk_text_property_to_utf8_list
gint
GdkAtom encoding,gint format,const guchar *text,gint length,gchar ***list
gdk_utf8_to_string_target
gchar *
const gchar *str
gdk_utf8_to_compound_text
gboolean
const gchar *str,GdkAtom *encoding,gint *format,guchar **ctext,gint *length
gdk_free_text_list
void
gchar **list
gdk_string_to_compound_text
gint
const gchar *str,GdkAtom *encoding,gint *format,guchar **ctext,gint *length
gdk_free_compound_text
void
guchar *ctext
GdkFillRule
typedef enum
{
GDK_EVEN_ODD_RULE,
GDK_WINDING_RULE
} GdkFillRule;
GdkOverlapType
typedef enum
{
GDK_OVERLAP_RECTANGLE_IN,
GDK_OVERLAP_RECTANGLE_OUT,
GDK_OVERLAP_RECTANGLE_PART
} GdkOverlapType;
gdk_region_new
GdkRegion *
void
gdk_region_polygon
GdkRegion *
GdkPoint *points,gint npoints,GdkFillRule fill_rule
gdk_region_copy
GdkRegion *
GdkRegion *region
gdk_region_rectangle
GdkRegion *
GdkRectangle *rectangle
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_offset
void
GdkRegion *region,gint dx,gint dy
gdk_region_shrink
void
GdkRegion *region,gint dx,gint dy
gdk_region_union_with_rect
void
GdkRegion *region,GdkRectangle *rect
gdk_region_intersect
void
GdkRegion *source1,GdkRegion *source2
gdk_region_union
void
GdkRegion *source1,GdkRegion *source2
gdk_region_subtract
void
GdkRegion *source1,GdkRegion *source2
gdk_region_xor
void
GdkRegion *source1,GdkRegion *source2
GdkRgbCmap
GdkRgbCmap
struct GdkRgbCmap {
guint32 colors[256];
gint n_colors;
/*< private >*/
GSList *info_list;
};
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
gdk_rgb_find_color
void
GdkColormap *colormap,GdkColor *color
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_rgb_32_image_dithalign
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride,gint xdith,gint ydith
gdk_draw_gray_image
void
GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride
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_cmap_new
GdkRgbCmap *
guint32 *colors,gint n_colors
gdk_rgb_cmap_free
void
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_colormap
GdkColormap *
void
gdk_rgb_get_visual
GdkVisual *
void
GdkSelection
typedef enum
{
GDK_SELECTION_PRIMARY = 1,
GDK_SELECTION_SECONDARY = 2
} GdkSelection;
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;
gdk_selection_owner_set
gboolean
GdkWindow *owner,GdkAtom selection,guint32 time,gboolean 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
gboolean
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
GDKVAR
# define GDKVAR __declspec(dllexport)
GDKVAR
# define GDKVAR extern __declspec(dllimport)
GDKVAR
# define GDKVAR extern
GDK_NONE
#define GDK_NONE 0L
GDK_CURRENT_TIME
#define GDK_CURRENT_TIME 0L
GDK_PARENT_RELATIVE
#define GDK_PARENT_RELATIVE 1L
GdkPoint
GdkRectangle
GdkSegment
GdkWChar
typedef guint32 GdkWChar;
GdkAtom
typedef gulong GdkAtom;
GdkNativeWindow
typedef gpointer GdkNativeWindow;
GdkNativeWindow
typedef guint32 GdkNativeWindow;
GdkColor
GdkColormap
GdkCursor
GdkFont
GdkGC
GdkImage
GdkRegion
GdkVisual
GdkDrawable
GdkByteOrder
typedef enum
{
GDK_LSB_FIRST,
GDK_MSB_FIRST
} GdkByteOrder;
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,
/* The next few modifiers are used by XKB, so we skip to the end
*/
GDK_RELEASE_MASK = 1 << 31,
GDK_MODIFIER_MASK = GDK_RELEASE_MASK | 0x1fff
} GdkModifierType;
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;
GdkGrabStatus
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;
GdkInputFunction
void
gpointer data,
gint source,
GdkInputCondition condition
GdkDestroyNotify
void
gpointer data
GdkPoint
struct GdkPoint
{
gint x;
gint y;
};
GdkRectangle
struct GdkRectangle
{
gint x;
gint y;
gint width;
gint height;
};
GdkSegment
struct GdkSegment
{
gint x1;
gint y1;
gint x2;
gint y2;
};
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;
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;
};
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
GdkGeometry
GdkWindowAttr
GdkWindowClass
typedef enum
{
GDK_INPUT_OUTPUT,
GDK_INPUT_ONLY
} GdkWindowClass;
GdkWindowType
typedef enum
{
GDK_WINDOW_ROOT,
GDK_WINDOW_TOPLEVEL,
GDK_WINDOW_CHILD,
GDK_WINDOW_DIALOG,
GDK_WINDOW_TEMP,
GDK_WINDOW_FOREIGN
} GdkWindowType;
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,
GDK_HINT_WIN_GRAVITY = 1 << 6
} GdkWindowHints;
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;
GdkGravity
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;
GdkWindowAttr
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;
};
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 win_gravity;
};
GdkWindowObject
GdkWindowObjectClass
GDK_TYPE_WINDOW
#define GDK_TYPE_WINDOW (gdk_window_object_get_type ())
GDK_WINDOW
#define GDK_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WINDOW, GdkWindow))
GDK_WINDOW_CLASS
#define GDK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WINDOW, GdkWindowObjectClass))
GDK_IS_WINDOW
#define GDK_IS_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WINDOW))
GDK_IS_WINDOW_CLASS
#define GDK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WINDOW))
GDK_WINDOW_GET_CLASS
#define GDK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WINDOW, GdkWindowObjectClass))
GDK_WINDOW_OBJECT
#define GDK_WINDOW_OBJECT(object) ((GdkWindowObject *) GDK_WINDOW (object))
GdkWindowObject
struct GdkWindowObject
{
GdkDrawable parent_instance;
GdkDrawable *impl; /* window-system-specific delegate object */
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;
guint mapped : 1;
guint guffaw_gravity : 1;
guint input_only : 1;
guint destroyed : 2;
};
gdk_window_object_get_type
GType
void
gdk_window_new
GdkWindow *
GdkWindow *parent,GdkWindowAttr *attributes,gint attributes_mask
gdk_window_destroy
void
GdkWindow *window
gdk_window_get_window_type
GdkWindowType
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_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_scroll
void
GdkWindow *window,gint dx,gint dy
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_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_begin_paint_rect
void
GdkWindow *window,GdkRectangle *rectangle
gdk_window_begin_paint_region
void
GdkWindow *window,GdkRegion *region
gdk_window_end_paint
void
GdkWindow *window
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,gboolean parent_relative
gdk_window_set_cursor
void
GdkWindow *window,GdkCursor *cursor
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_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_peek_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,const 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_iconify
void
GdkWindow *window
gdk_window_register_dnd
void
GdkWindow *window
gdk_window_invalidate_rect
void
GdkWindow *window,GdkRectangle *rect,gboolean invalidate_children
gdk_window_invalidate_region
void
GdkWindow *window,GdkRegion *region,gboolean invalidate_children
gdk_window_get_update_area
GdkRegion *
GdkWindow *window
gdk_window_freeze_updates
void
GdkWindow *window
gdk_window_thaw_updates
void
GdkWindow *window
gdk_window_process_all_updates
void
void
gdk_window_process_updates
void
GdkWindow *window,gboolean update_children
GDK_WINDOWING_X11
#define GDK_WINDOWING_X11
GDK_HAVE_WCHAR_H
#define GDK_HAVE_WCHAR_H 1
GDK_HAVE_WCTYPE_H
#define GDK_HAVE_WCTYPE_H 1