AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/gtk/WebKitOptionMenu.cpp
/**
 * webkit_option_menu_activate_item:
 * @menu: a #WebKitOptionMenu
 * @index: the index of the item
 *
 * Activates the #WebKitOptionMenuItem at @index in @menu. 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.
 *
 * Since: 2.18
 */
@menu: a #WebKitOptionMenu
@index: the index of the item

Activates the #WebKitOptionMenuItem at @index in @menu. 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.


@menu : a #WebKitOptionMenu @index : the index of the item Activates the #WebKitOptionMenuItem at @index in @menu . 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 .
void webkit_option_menu_activate_item(WebKitOptionMenu* menu, guint index)
{
    g_return_if_fail(WEBKIT_IS_OPTION_MENU(menu));
    g_return_if_fail(index < menu->priv->items.size());
    menu->priv->popupMenu->activateItem(index);
}
void webkit_option_menu_activate_item ( WebKitOptionMenu * menu , guint index ) { g_return_if_fail ( WEBKIT_IS_OPTION_MENU ( menu ) ) ; g_return_if_fail ( index < menu -> priv -> items . size ( ) ) ; menu -> priv -> popupMenu -> activateItem ( index ) ; }
webkit_option_menu_activate_item:
 @menu: a #WebKitOptionMenu
 @index: the index of the item
webkit_option_menu_activate_item : @menu : a #WebKitOptionMenu @index : the index of the item