ButtonAccessible

Constructors

this
this(GtkButtonAccessible* gtkButtonAccessible, bool ownedRef)

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

Members

Functions

getButtonAccessibleStruct
GtkButtonAccessible* getButtonAccessibleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Mixins

__anonymous
mixin ActionT!(GtkButtonAccessible)
Undocumented in source.
__anonymous
mixin ImageT!(GtkButtonAccessible)
Undocumented in source.

Static functions

getType
GType getType()

Variables

gtkButtonAccessible
GtkButtonAccessible* gtkButtonAccessible;

the main Gtk struct

Inherited Members

From ContainerAccessible

gtkContainerAccessible
GtkContainerAccessible* gtkContainerAccessible;

the main Gtk struct

getContainerAccessibleStruct
GtkContainerAccessible* getContainerAccessibleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

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.

From ImageIF

getImageStruct
AtkImage* getImageStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getImageDescription
string getImageDescription()

Get a textual description of this image.

getImageLocale
string getImageLocale()

Retrieves the locale identifier associated to the #AtkImage.

getImagePosition
void getImagePosition(int x, int y, AtkCoordType coordType)

Gets the position of the image in the form of a point specifying the images top-left corner.

getImageSize
void getImageSize(int width, int height)

Get the width and height in pixels for the specified image. The values of @width and @height are returned as -1 if the values cannot be obtained (for instance, if the object is not onscreen).

setImageDescription
bool setImageDescription(string description)

Sets the textual description for this image.

Meta