|
#define GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST "Text Bulleted List" |
#define GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST "Text Numbered List" |
struct GnomeStockPixmapEntryAny {
GnomeStockPixmapType type;
int width, height;
char *label;
}; |
struct GnomeStockPixmapEntryData {
GnomeStockPixmapType type;
int width, height;
char *label;
gchar **xpm_data;
}; |
struct GnomeStockPixmapEntryFile {
GnomeStockPixmapType type;
int width, height;
char *label;
gchar *filename;
}; |
struct GnomeStockPixmapEntryPath {
GnomeStockPixmapType type;
int width, height;
char *label;
gchar *pathname;
}; |
struct GnomeStockPixmapEntryWidget {
GnomeStockPixmapType type;
int width, height;
char *label;
GtkWidget *widget;
}; |
struct GnomeStockPixmapEntryGPixmap {
GnomeStockPixmapType type;
int width, height;
char *label;
GnomePixmap *pixmap;
}; |
typedef enum {
GNOME_STOCK_PIXMAP_TYPE_NONE,
GNOME_STOCK_PIXMAP_TYPE_DATA,
GNOME_STOCK_PIXMAP_TYPE_FILE,
GNOME_STOCK_PIXMAP_TYPE_PATH,
GNOME_STOCK_PIXMAP_TYPE_WIDGET,
GNOME_STOCK_PIXMAP_TYPE_IMLIB,
GNOME_STOCK_PIXMAP_TYPE_IMLIB_SCALED,
GNOME_STOCK_PIXMAP_TYPE_GPIXMAP
} GnomeStockPixmapType; |
struct GnomeStockPixmapEntryImlib {
GnomeStockPixmapType type;
int width, height;
char *label;
const gchar *rgb_data;
GdkImlibColor shape;
}; |
struct GnomeStockPixmapEntryImlibScaled {
GnomeStockPixmapType type;
int width, height;
char *label;
const gchar *rgb_data;
GdkImlibColor shape;
int scaled_width, scaled_height;
}; |
union GnomeStockPixmapEntry {
GnomeStockPixmapType type;
GnomeStockPixmapEntryAny any;
GnomeStockPixmapEntryData data;
GnomeStockPixmapEntryFile file;
GnomeStockPixmapEntryPath path;
GnomeStockPixmapEntryWidget widget;
GnomeStockPixmapEntryImlib imlib;
GnomeStockPixmapEntryImlibScaled imlib_s;
GnomeStockPixmapEntryGPixmap gpixmap;
}; |
|
|
GnomePixmap* gnome_stock_pixmap ( |
|
|
void gnome_stock_pixmap_widget_set_icon
(GnomeStock *widget,
const char *icon); |
|
|
GnomeStockPixmapEntry* gnome_stock_pixmap_checkfor (const char *icon, const char *subtype); |
|
void gnome_button_can_default ( |
|
|
|
|