pike.git / src / post_modules / GTK2 / source / gdkpixmap.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkpixmap.pre:3:   inherit GDK2.Drawable;      //! This class creates a GDK2.Pixmap from either an GDK2.Image or   //! Image.image object (or a numeric ID, see your X-manual for XIDs).   //! <p> The GDK2.Pixmap object can be used in a lot   //! of different GTK widgets. The most notable is the W(Pixmap)   //! widget.</p>   //!   //! NOIMG   %{ - #ifdef __NT__ - #include <gdk/gdkwin32.h> - #else - #include <gdk/gdkx.h> - #endif -  +    GdkImage *pgtk2_pixmap_setup(struct object *o, int *free)   {    if (get_gdkobject(o,image))    return get_gdkobject(o,image);    else {    *free=1;    return gdkimage_from_pikeimage(o,GDK_IMAGE_FASTEST,0);    }   }