GOffice Reference Manual: GOComboPixmaps

## GOComboPixmaps GOComboPixmaps |

## Functions

void | go_combo_pixmaps_add_element ()
void | go_combo_pixmaps_clear_elements ()
GtkWidget * | go_combo_pixmaps_get_preview ()
int | go_combo_pixmaps_get_selected ()
GOComboPixmaps * | go_combo_pixmaps_new ()
gboolean | go_combo_pixmaps_select_id ()
gboolean | go_combo_pixmaps_select_index ()
void | go_menu_pixmaps_add_element ()
GOMenuPixmaps * | go_menu_pixmaps_new ()

## Signals

void | changed | Run Last
void | changed | Run Last

## Types and Values

| GOComboPixmaps
| GOMenuPixmaps

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GtkWidget
                ╰── GtkContainer
                    ├── GtkBox
                    │   ╰── GOComboBox
                    │       ╰── GOComboPixmaps
                    ╰── GtkMenuShell
                        ╰── GtkMenu
                            ╰── GOMenuPixmaps

## Implemented Interfaces

GOComboPixmaps implements AtkImplementorIface, GtkBuildable and GtkOrientable.

GOMenuPixmaps implements AtkImplementorIface and GtkBuildable.

## Description

## Functions

### go_combo_pixmaps_add_element ()

    void
    go_combo_pixmaps_add_element (GOComboPixmaps *combo,
                                  GdkPixbuf *pixbuf,
                                  int id,
                                  char const *tooltip);

#### Parameters

combo | GOComboPixmaps |
pixbuf | GdkPixbuf. | [transfer full]
id | an identifier for the callbacks |
tooltip | optional |

### go_combo_pixmaps_clear_elements ()

    void
    go_combo_pixmaps_clear_elements (GOComboPixmaps *combo);

Remove all elements.

#### Parameters

combo | GOComboPixmaps |

### go_combo_pixmaps_get_preview ()

    GtkWidget *
    go_combo_pixmaps_get_preview (GOComboPixmaps const *combo);

#### Parameters

combo | GOComboPixmaps |

#### Returns

the preview button.

[transfer none]

### go_combo_pixmaps_get_selected ()

    int
    go_combo_pixmaps_get_selected (GOComboPixmaps const *combo,
                                   int *index);

#### Returns

### go_combo_pixmaps_new ()

    GOComboPixmaps *
    go_combo_pixmaps_new (int ncols);

#### Returns

### go_combo_pixmaps_select_id ()

    gboolean
    go_combo_pixmaps_select_id (GOComboPixmaps *combo,
                                int id);

#### Returns

### go_combo_pixmaps_select_index ()

    gboolean
    go_combo_pixmaps_select_index (GOComboPixmaps *combo,
                                   int index);

#### Returns

### go_menu_pixmaps_add_element ()

    void
    go_menu_pixmaps_add_element (GOMenuPixmaps *menu,
                                 GdkPixbuf *pixbuf,
                                 int id,
                                 const char *tooltip);

### go_menu_pixmaps_new ()

    GOMenuPixmaps *
    go_menu_pixmaps_new (int ncols);

#### Returns

## Types and Values

### GOComboPixmaps

    typedef struct _GOComboPixmaps GOComboPixmaps;

### GOMenuPixmaps

    typedef struct _GOMenuPixmaps GOMenuPixmaps;

## Signal Details

### The `“changed”` signal

    void
    user_function (GOComboPixmaps *gocombopixmaps,
                   gint            arg1,
                   gpointer        user_data)

#### Parameters

gocombopixmaps | the object which received the signal. |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

### The `“changed”` signal

    void
    user_function (GOMenuPixmaps *gomenupixmaps,
                   gint           arg1,
                   gpointer       user_data)

#### Parameters

gomenupixmaps | the object which received the signal. |
user_data | user data set when the signal handler was connected. |

Flags: Run Last