ButtonAccessible

Constructors

this
this(GtkButtonAccessible* gtkButtonAccessible, bool ownedRef)

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

Members

Functions

getButtonAccessibleStruct
GtkButtonAccessible* getButtonAccessibleStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

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()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
GType getType()

From ActionIF

getActionStruct
AtkAction* getActionStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

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()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getImageDescription
string getImageDescription()

Get a textual description of this image.

getImageLocale
string getImageLocale()

Return: a string corresponding to the POSIX LC_MESSAGES locale used by the image description, or %NULL if the image does not specify a locale.

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