Stock icons

Stock icons — icons to reuse

Synopsis




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);

Description

Details

gnome_db_stock_get_icon_pixbuf ()

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.

gnome_db_stock_get_icon_pixbuf_file ()

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.

gnome_db_stock_get_icon_path ()

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.