GimpOldWidgets: GIMP Widgets Library Reference Manual

## GimpOldWidgets GimpOldWidgets |

## Functions

GtkWidget * | gimp_int_option_menu_new ()
void | gimp_int_option_menu_set_history ()
gboolean | (*GimpIntOptionMenuSensitivityCallback) ()
void | gimp_int_option_menu_set_sensitive ()
GtkWidget * | gimp_option_menu_new ()
GtkWidget * | gimp_option_menu_new2 ()
void | gimp_option_menu_set_history ()
gboolean | (*GimpOptionMenuSensitivityCallback) ()
void | gimp_option_menu_set_sensitive ()
void | gimp_menu_item_update ()
void | gimp_toggle_button_sensitive_update ()
GtkWidget * | gimp_pixmap_button_new ()
void | gimp_unit_menu_update ()

## Description

## Functions

### gimp_int_option_menu_new ()

    GtkWidget *
    gimp_int_option_menu_new (gboolean menu_only,
                              GCallback menu_item_callback,
                              gpointer menu_item_callback_data,
                              gint initial,
                              ...);

`gimp_int_option_menu_new` is deprecated and should not be used in newly-written code.

### gimp_int_option_menu_set_history ()

    void
    gimp_int_option_menu_set_history (GtkOptionMenu *option_menu,
                                      gint item_data);

`gimp_int_option_menu_set_history` is deprecated and should not be used in newly-written code.

### GimpIntOptionMenuSensitivityCallback ()

    gboolean
    (*GimpIntOptionMenuSensitivityCallback)
                                   (gint item_data,
                                    gpointer callback_data);

`GimpIntOptionMenuSensitivityCallback` is deprecated and should not be used in newly-written code.

### gimp_int_option_menu_set_sensitive ()

    void
    gimp_int_option_menu_set_sensitive (GtkOptionMenu *option_menu,
                                        GimpIntOptionMenuSensitivityCallback callback,
                                        gpointer callback_data);

`gimp_int_option_menu_set_sensitive` is deprecated and should not be used in newly-written code.

### gimp_option_menu_new ()

    GtkWidget *
    gimp_option_menu_new (gboolean menu_only,
                          ...);

`gimp_option_menu_new` is deprecated and should not be used in newly-written code.

### gimp_option_menu_new2 ()

    GtkWidget *
    gimp_option_menu_new2 (gboolean menu_only,
                           GCallback menu_item_callback,
                           gpointer menu_item_callback_data,
                           gpointer initial,
                           ...);

`gimp_option_menu_new2` is deprecated and should not be used in newly-written code.

### gimp_option_menu_set_history ()

    void
    gimp_option_menu_set_history (GtkOptionMenu *option_menu,
                                  gpointer item_data);

`gimp_option_menu_set_history` is deprecated and should not be used in newly-written code.

### GimpOptionMenuSensitivityCallback ()

    gboolean
    (*GimpOptionMenuSensitivityCallback) (gpointer item_data,
                                          gpointer callback_data);

`GimpOptionMenuSensitivityCallback` is deprecated and should not be used in newly-written code.

### gimp_option_menu_set_sensitive ()

    void
    gimp_option_menu_set_sensitive (GtkOptionMenu *option_menu,
                                    GimpOptionMenuSensitivityCallback callback,
                                    gpointer callback_data);

`gimp_option_menu_set_sensitive` is deprecated and should not be used in newly-written code.

### gimp_menu_item_update ()

    void
    gimp_menu_item_update (GtkWidget *widget,
                           gpointer data);

`gimp_menu_item_update` is deprecated and should not be used in newly-written code.

### gimp_toggle_button_sensitive_update ()

    void
    gimp_toggle_button_sensitive_update (GtkToggleButton *toggle_button);

`gimp_toggle_button_sensitive_update` is deprecated and should not be used in newly-written code.

use `g_object_bind_property()` instead of using the "set_sensitive" and "inverse_sensitive" data pointers.

### gimp_pixmap_button_new ()

    GtkWidget *
    gimp_pixmap_button_new (gchar **xpm_data,
                            const gchar *text);

`gimp_pixmap_button_new` is deprecated and should not be used in newly-written code.

### gimp_unit_menu_update ()

    void
    gimp_unit_menu_update (GtkWidget *widget,
                           gpointer data);

`gimp_unit_menu_update` is deprecated and should not be used in newly-written code.

use GimpUnitComboBox instead.

## Types and Values