gtkOptionMenuGetHistory {RGtk2} | R Documentation

## gtkOptionMenuGetHistory

### Description

Retrieves the index of the currently selected menu item. The menu items are numbered from top to bottom, starting with 0. WARNING: `gtk_option_menu_get_history` has been deprecated since version 2.4 and should not be used in newly-written code. Use `GtkComboBox` instead.

### Usage

    gtkOptionMenuGetHistory(object)

### Arguments

``object`` | a `GtkOptionMenu`

### Value

[integer] index of the selected menu item, or -1 if there are no menu items

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]