gtkOptionMenuGetHistory: gtkOptionMenuGetHistory

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

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

1

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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.