libgnomedb Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#define GNOME_DB_STOCK_AGGREGATES #define GNOME_DB_STOCK_CONNECT #define GNOME_DB_STOCK_DISCONNECT #define GNOME_DB_STOCK_DATABASE #define GNOME_DB_STOCK_DESIGNER #define GNOME_DB_STOCK_NO_TRANSACTION #define GNOME_DB_STOCK_PROCEDURES #define GNOME_DB_STOCK_QUERY #define GNOME_DB_STOCK_SEQUENCES #define GNOME_DB_STOCK_SQL #define GNOME_DB_STOCK_TABLES #define GNOME_DB_STOCK_TYPES #define GNOME_DB_STOCK_WITHIN_TRANSACTION GdkPixbuf* gnome_db_stock_get_icon_pixbuf (const gchar *stock_id); GdkPixbuf* gnome_db_stock_get_icon_pixbuf_file (const gchar *pixmapfile); gchar* gnome_db_stock_get_icon_path (const gchar *stock_id); |
#define GNOME_DB_STOCK_WITHIN_TRANSACTION "gnome-db-within-transaction" |
GdkPixbuf* gnome_db_stock_get_icon_pixbuf (const gchar *stock_id); |
Get the given stock icon as a GdkPixbuf.
stock_id : | ID of icon to get. |
Returns : | a GdkPixbuf representing the loaded icon. |
GdkPixbuf* gnome_db_stock_get_icon_pixbuf_file (const gchar *pixmapfile); |
Get the given icon as a GdkPixbuf.
pixmapfile : | the real filename of the icon to get. |
Returns : | a GdkPixbuf representing the loaded icon. |
gchar* gnome_db_stock_get_icon_path (const gchar *stock_id); |
Return the full path of the given stock icon.
stock_id : | Icon id to get path. |
Returns : | the full path of the given stock icon. The returned value must be freed by the caller when no longer needed. |