Menu.active

int active() @property

Get active property.

Returns

The index of the currently selected menu item, or -1 if no

menu item is selected.

void active(int propval) @property

Set active property.

Parameters

propvalThe index of the currently selected menu item, or -1 if no menu item is selected.