OptionMenuItem

One item of a #WebKitOptionMenu.

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(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
webkit.option_menu_item.OptionMenuItem copy()

Make a copy of the #WebKitOptionMenuItem.

getLabel
string getLabel()

Get the label of a #WebKitOptionMenuItem.

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.

self
OptionMenuItem self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.