|  |  |  | Goffice Reference Manual |  | 
|---|---|---|---|---|
#define GO_COMBO_PIXMAPS_TYPE #define GO_COMBO_PIXMAPS (o) #define IS_GO_COMBO_PIXMAPS (o) GOComboPixmaps; GOMenuPixmaps; GType go_combo_pixmaps_get_type (void); GOComboPixmaps* go_combo_pixmaps_new (int ncols); void go_combo_pixmaps_add_element (GOComboPixmaps *combo, GdkPixbuf *pixbuf, int id, char const *tooltip); gboolean go_combo_pixmaps_select_index (GOComboPixmaps *combo, int index); gboolean go_combo_pixmaps_select_id (GOComboPixmaps *combo, int id); int go_combo_pixmaps_get_selected (GOComboPixmaps const *combo, int *index); GtkWidget* go_combo_pixmaps_get_preview (GOComboPixmaps const *combo); GOMenuPixmaps* go_menu_pixmaps_new (int ncols); void go_menu_pixmaps_add_element (GOMenuPixmaps *menu, GdkPixbuf *pixbuf, int id);
#define GO_COMBO_PIXMAPS(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GO_COMBO_PIXMAPS_TYPE, GOComboPixmaps))
| o: | 
#define IS_GO_COMBO_PIXMAPS(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GO_COMBO_PIXMAPS_TYPE))
| o: | 
void go_combo_pixmaps_add_element (GOComboPixmaps *combo, GdkPixbuf *pixbuf, int id, char const *tooltip);
Absorbs a ref to the pixbuf.
| combo: | GOComboPixmaps | 
| pixbuf: | GdkPixbuf | 
| id: | an identifier for the callbacks | 
| tooltip: | optional | 
gboolean go_combo_pixmaps_select_index (GOComboPixmaps *combo, int index);
| combo: | |
| index: | |
| Returns : | 
gboolean go_combo_pixmaps_select_id (GOComboPixmaps *combo, int id);
| combo: | |
| id: | |
| Returns : | 
int go_combo_pixmaps_get_selected (GOComboPixmaps const *combo, int *index);
| combo: | |
| index: | |
| Returns : | 
GtkWidget* go_combo_pixmaps_get_preview (GOComboPixmaps const *combo);
| combo: | |
| Returns : | 
void go_menu_pixmaps_add_element (GOMenuPixmaps *menu, GdkPixbuf *pixbuf, int id);
| menu: | |
| pixbuf: | |
| id: |