27 #ifndef __GDK_PIXMAP_H__
28 #define __GDK_PIXMAP_H__
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
31 #error "Only <gdk/gdk.h> can be included directly."
42 #define GDK_TYPE_PIXMAP (gdk_pixmap_get_type ())
43 #define GDK_PIXMAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXMAP, GdkPixmap))
44 #define GDK_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXMAP, GdkPixmapObjectClass))
45 #define GDK_IS_PIXMAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXMAP))
46 #define GDK_IS_PIXMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXMAP))
47 #define GDK_PIXMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXMAP, GdkPixmapObjectClass))
48 #define GDK_PIXMAP_OBJECT(object) ((GdkPixmapObject *) GDK_PIXMAP (object))
73 #ifndef GDK_DISABLE_DEPRECATED
89 const gchar *filename);
94 const gchar *filename);
112 #ifndef GDK_MULTIHEAD_SAFE
127 #ifndef GDK_DISABLE_DEPRECATED
128 #define gdk_bitmap_ref g_object_ref
129 #define gdk_bitmap_unref g_object_unref
130 #define gdk_pixmap_ref g_object_ref
131 #define gdk_pixmap_unref g_object_unref
typedefG_BEGIN_DECLS struct _GdkDrawableClass GdkDrawableClass
GType gdk_pixmap_get_type(void) G_GNUC_CONST
GdkBitmap * gdk_bitmap_create_from_data(GdkDrawable *drawable, const gchar *data, gint width, gint height)
GdkPixmap * gdk_pixmap_new(GdkDrawable *drawable, gint width, gint height, gint depth)
GdkPixmap * gdk_pixmap_lookup_for_display(GdkDisplay *display, GdkNativeWindow anid)
GdkPixmap * gdk_pixmap_colormap_create_from_xpm(GdkDrawable *drawable, GdkColormap *colormap, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename)
GdkPixmap * gdk_pixmap_colormap_create_from_xpm_d(GdkDrawable *drawable, GdkColormap *colormap, GdkBitmap **mask, const GdkColor *transparent_color, gchar **data)
typedefG_BEGIN_DECLS struct _GdkPixmapObject GdkPixmapObject
GdkPixmap * gdk_pixmap_foreign_new_for_screen(GdkScreen *screen, GdkNativeWindow anid, gint width, gint height, gint depth)
GdkPixmap * gdk_pixmap_lookup(GdkNativeWindow anid)
void gdk_pixmap_get_size(GdkPixmap *pixmap, gint *width, gint *height)
GdkPixmap * gdk_pixmap_foreign_new(GdkNativeWindow anid)
GdkPixmap * gdk_pixmap_foreign_new_for_display(GdkDisplay *display, GdkNativeWindow anid)
GdkPixmap * gdk_pixmap_create_from_xpm(GdkDrawable *drawable, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename)
GdkPixmap * gdk_pixmap_create_from_data(GdkDrawable *drawable, const gchar *data, gint width, gint height, gint depth, const GdkColor *fg, const GdkColor *bg)
GdkPixmap * gdk_pixmap_create_from_xpm_d(GdkDrawable *drawable, GdkBitmap **mask, const GdkColor *transparent_color, gchar **data)
GtkImagePixmapData pixmap
GdkDrawableClass parent_class
GdkDrawable * GSEAL(impl)
GdkDrawable parent_instance