Table of Contents

Class OptionMenu

Namespace
WebKit.Internal
Assembly
WebKit-6.0.dll
public class OptionMenu
Inheritance
OptionMenu
Inherited Members

Methods

ActivateItem(IntPtr, uint)

Calls native method webkit_option_menu_activate_item. Version: 2.18

[Version("2.18")]
public static extern void ActivateItem(IntPtr menu, uint index)

Parameters

menu IntPtr

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

Close(IntPtr)

Calls native method webkit_option_menu_close. Version: 2.18

[Version("2.18")]
public static extern void Close(IntPtr menu)

Parameters

menu IntPtr

Transfer ownership: None Nullable: False

GetEvent(IntPtr)

Calls native method webkit_option_menu_get_event. Version: 2.40

[Version("2.40")]
public static extern IntPtr GetEvent(IntPtr menu)

Parameters

menu IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function webkit_option_menu_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetItem(IntPtr, uint)

Calls native method webkit_option_menu_get_item. Version: 2.18

[Version("2.18")]
public static extern OptionMenuItemUnownedHandle GetItem(IntPtr menu, uint index)

Parameters

menu IntPtr

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

Returns

OptionMenuItemUnownedHandle

Transfer ownership: None Nullable: False

GetNItems(IntPtr)

Calls native method webkit_option_menu_get_n_items. Version: 2.18

[Version("2.18")]
public static extern uint GetNItems(IntPtr menu)

Parameters

menu IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

SelectItem(IntPtr, uint)

Calls native method webkit_option_menu_select_item. Version: 2.18

[Version("2.18")]
public static extern void SelectItem(IntPtr menu, uint index)

Parameters

menu IntPtr

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False