OptionMenuItem

The #WebKitOptionMenu is composed of WebKitOptionMenuItem<!-- -->s. A WebKitOptionMenuItem always has a label and can contain a tooltip text. You can use the WebKitOptionMenuItem of a #WebKitOptionMenu to build your own menus.

Constructors

this
this(WebKitOptionMenuItem* webKitOptionMenuItem, bool ownedRef)

Sets our main struct and passes it to the parent class.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
OptionMenuItem copy()

Make a copy of the #WebKitOptionMenuItem.

free
void free()

Free the #WebKitOptionMenuItem.

getLabel
string getLabel()

Get the label of a #WebKitOptionMenuItem.

getOptionMenuItemStruct
WebKitOptionMenuItem* getOptionMenuItemStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTooltip
string getTooltip()

Get the tooltip of a #WebKitOptionMenuItem.

isEnabled
bool isEnabled()

Whether a #WebKitOptionMenuItem is enabled.

isGroupChild
bool isGroupChild()

Whether a #WebKitOptionMenuItem is a group child.

isGroupLabel
bool isGroupLabel()

Whether a #WebKitOptionMenuItem is a group label.

isSelected
bool isSelected()

Whether a #WebKitOptionMenuItem is the currently selected one.

Static functions

getType
GType getType()

Variables

ownedRef
bool ownedRef;
Undocumented in source.
webKitOptionMenuItem
WebKitOptionMenuItem* webKitOptionMenuItem;

the main Gtk struct

Meta

Since

2.18