Gtk.OptionMenu.History Property
Retrieves the index of the currently selected Gtk.MenuItem.

Syntax

public int History { get; }

Value

an object of type int

Remarks

The Gtk.MenuItems are numbered from top to bottom, starting with 0.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)