gtkOptionMenuSetHistory: gtkOptionMenuSetHistory

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

Description

Selects the menu item specified by index. making it the newly selected value for the option menu. WARNING: gtk_option_menu_set_history has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkComboBox instead.

Usage

1
gtkOptionMenuSetHistory(object, index)

Arguments

object

a GtkOptionMenu.

index

the index of the menu item to select. Index values are from 0 to n-1.

Author(s)

Derived by RGtkGen from GTK+ documentation


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