activate_item


Description:

public void activate_item (uint index)

Activates the OptionMenuItem at index in this.

Activating an item changes the value of the element making the item the active one. You are expected to close the menu with webkit_option_menu_close after activating an item, calling this function again will have no effect.

Parameters:

this

a OptionMenu

index

the index of the item