SwitchAccessible

Constructors

this
this(GtkSwitchAccessible* gtkSwitchAccessible, bool ownedRef)

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

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getSwitchAccessibleStruct
GtkSwitchAccessible* getSwitchAccessibleStruct(bool transferOwnership)

Get the main Gtk struct

Mixins

__anonymous
mixin ActionT!(GtkSwitchAccessible)
Undocumented in source.

Static functions

getType
GType getType()

Variables

gtkSwitchAccessible
GtkSwitchAccessible* gtkSwitchAccessible;

the main Gtk struct

Inherited Members

From WidgetAccessible

gtkWidgetAccessible
GtkWidgetAccessible* gtkWidgetAccessible;

the main Gtk struct

getWidgetAccessibleStruct
GtkWidgetAccessible* getWidgetAccessibleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

__anonymous
mixin ComponentT!(GtkWidgetAccessible)
Undocumented in source.
getType
GType getType()

From ActionIF

getActionStruct
AtkAction* getActionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
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.

Meta