MenuItemAccessible

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

self
MenuItemAccessible self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
builder
MenuItemAccessibleGidBuilder builder()

Get builder for gtk.menu_item_accessible.MenuItemAccessible

Mixed In Members

From mixin ActionT!()

doAction
bool doAction(int i)

Perform the specified action on the object.

getDescription
string getDescription(int i)

Returns a description of the specified action of the object.

getKeybinding
string getKeybinding(int i)

Gets the keybinding which can be used to activate this action, if one exists. The string returned should contain localized, human-readable, key sequences as they would appear when displayed on screen. It must be in the format "mnemonic;sequence;shortcut".

getLocalizedName
string getLocalizedName(int i)

Returns the localized name of the specified action of the object.

getNActions
int getNActions()

Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object.

getName
string getName(int i)

Returns a non-localized string naming the specified action of the object. This name is generally not descriptive of the end result of the action, but instead names the 'interaction type' which the object supports. By convention, the above strings should be used to represent the actions which correspond to the common point-and-click interaction techniques of the same name: i.e. "click", "press", "release", "drag", "drop", "popup", etc. The "popup" action should be used to pop up a context menu for the object, if one exists.

setDescription
bool setDescription(int i, string desc)

Sets a description of the specified action of the object.

From mixin SelectionT!()

addSelection
bool addSelection(int i)

Adds the specified accessible child of the object to the object's selection.

clearSelection
bool clearSelection()

Clears the selection in the object so that no children in the object are selected.

getSelectionCount
int getSelectionCount()

Gets the number of accessible children currently selected. Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

isChildSelected
bool isChildSelected(int i)

Determines if the current child of this object is selected Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

refSelection
atk.object.ObjectWrap refSelection(int i)

Gets a reference to the accessible object representing the specified selected child of the object. Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

removeSelection
bool removeSelection(int i)

Removes the specified child of the object from the object's selection.

selectAllSelection
bool selectAllSelection()

Causes every child of the object to be selected if the object supports multiple selections.

connectSelectionChanged
gulong connectSelectionChanged(T callback, Flag!"After" after)

Connect to SelectionChanged signal.

Inherited Members

From ContainerAccessible

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
ContainerAccessible self()

Returns this, for use in with statements.

builder
ContainerAccessibleGidBuilder builder()

Get builder for gtk.container_accessible.ContainerAccessible

From Action

_getGType
GType _getGType()
doAction
bool doAction(int i)

Perform the specified action on the object.

getDescription
string getDescription(int i)

Returns a description of the specified action of the object.

getKeybinding
string getKeybinding(int i)

Gets the keybinding which can be used to activate this action, if one exists. The string returned should contain localized, human-readable, key sequences as they would appear when displayed on screen. It must be in the format "mnemonic;sequence;shortcut".

getLocalizedName
string getLocalizedName(int i)

Returns the localized name of the specified action of the object.

getNActions
int getNActions()

Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object.

getName
string getName(int i)

Returns a non-localized string naming the specified action of the object. This name is generally not descriptive of the end result of the action, but instead names the 'interaction type' which the object supports. By convention, the above strings should be used to represent the actions which correspond to the common point-and-click interaction techniques of the same name: i.e. "click", "press", "release", "drag", "drop", "popup", etc. The "popup" action should be used to pop up a context menu for the object, if one exists.

setDescription
bool setDescription(int i, string desc)

Sets a description of the specified action of the object.

From Selection

_getGType
GType _getGType()
addSelection
bool addSelection(int i)

Adds the specified accessible child of the object to the object's selection.

clearSelection
bool clearSelection()

Clears the selection in the object so that no children in the object are selected.

getSelectionCount
int getSelectionCount()

Gets the number of accessible children currently selected. Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

isChildSelected
bool isChildSelected(int i)

Determines if the current child of this object is selected Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

refSelection
atk.object.ObjectWrap refSelection(int i)

Gets a reference to the accessible object representing the specified selected child of the object. Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

removeSelection
bool removeSelection(int i)

Removes the specified child of the object from the object's selection.

selectAllSelection
bool selectAllSelection()

Causes every child of the object to be selected if the object supports multiple selections.

connectSelectionChanged
gulong connectSelectionChanged(T callback, Flag!"After" after)

Connect to SelectionChanged signal.