]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkpixmap.h
expose the child widgets in here (gtk_text_view_realize): set parent
[~andy/gtk] / gdk / gdkpixmap.h
index abb044fd79c2ecc5c4557591babfe0aec20c8370..b7e0a930b44c80c8843d3df2a433dbda137e64c1 100644 (file)
@@ -73,6 +73,17 @@ GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d (GdkWindow    *window,
                                                  GdkColor     *transparent_color,
                                                  gchar       **data);
 
+/* Functions to create/lookup pixmaps from their native equivalents */
+GdkPixmap*    gdk_pixmap_foreign_new (GdkNativeWindow anid);
+GdkPixmap*    gdk_pixmap_lookup      (GdkNativeWindow anid);
+
+#ifndef GDK_DISABLE_DEPRECATED
+#define gdk_bitmap_ref                 gdk_drawable_ref
+#define gdk_bitmap_unref               gdk_drawable_unref
+#define gdk_pixmap_ref                 gdk_drawable_ref
+#define gdk_pixmap_unref               gdk_drawable_unref
+#endif /* GDK_DISABLE_DEPRECATED */
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */