If defined, gdk_imlib is used for the pixmap stuff. That will help alot. As well for colormaps, as for determining the size of a pixmap before a GdkWindow is created.
TODO: I cannot define this here permanently because it will require, that all apps link against gdk_imlib. We will require a check, if gdk_imlib is installed on the particular system and include -lgdk_imlib in LIBS for that.
struct _GnomeStockPixmapEntryAny GnomeStockPixmapEntryAny |
some internal definitions
struct _GnomeStockPixmapWidget GnomeStockPixmapWidget |
the GnomeStockPixmapWidget
GtkPixmap *gnome_stock_pixmap
(GtkWidget *window, char *icon, char *subtype);just fetch a pixmap
GtkWidget *window
Not Descripted.
char *icon
Not Descripted.
char *subtype
Not Descripted.
GtkWidget *gnome_stock_pixmap_widget
(GtkWidget *window, char *icon);just fetch a GnomeStockPixmapWidget
GtkWidget *window
Not Descripted.
char *icon
Not Descripted.
gint gnome_stock_pixmap_register
(char *icon, char *subtype, GnomeStockPixmapEntry *entry);register a pixmap. returns non-zero, if successful
char *icon
Not Descripted.
char *subtype
Not Descripted.
GnomeStockPixmapEntry *entry
Not Descripted.
gint gnome_stock_pixmap_change
(char *icon, char *subtype, GnomeStockPixmapEntry *entry);change an existing entry. returns non-zero on success
char *icon
Not Descripted.
char *subtype
Not Descripted.
GnomeStockPixmapEntry *entry
Not Descripted.
GnomeStockPixmapEntry *gnome_stock_pixmap_checkfor
(char *icon, char *subtype);check for the existence of an entry. returns the entry if it exists, or NULL otherwise
char *icon
Not Descripted.
char *subtype
Not Descripted.
GtkWidget *gnome_stock_button
(char *type);returns a default button widget for dialogs
char *type
Not Descripted.
GtkWidget *gnome_stock_menu_item
(char *type, char *text);returns a GtkMenuItem with an stock icon and text
char *type
Not Descripted.
char *text
Not Descripted.