Synopsis#include <gdk-pixbuf/gdk-pixbuf.h> void gdk_pixbuf_xlib_init (Display *display, int screen_num); void gdk_pixbuf_xlib_init_with_depth (Display *display, int screen_num, int prefDepth); DescriptionIn addition to the normal Gdk-specific functions, the gdk-pixbuf package provides a small library that lets Xlib-only applications use GdkPixbuf structures and render them to X drawables. The functions in this section are used to initialize the gdk-pixbuf Xlib library. This library must be initialized near the beginning of the program or before calling any of the other gdk-pixbuf Xlib functions. Detailsgdk_pixbuf_xlib_init ()void gdk_pixbuf_xlib_init (Display *display, int screen_num);
Initializes the gdk-pixbuf Xlib machinery by calling
gdk_pixbuf_xlib_init_with_depth ()void gdk_pixbuf_xlib_init_with_depth (Display *display, int screen_num, int prefDepth);
Similar to
|