WidgetAccessible

Constructors

this
this(GtkWidgetAccessible* gtkWidgetAccessible, 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*

getWidgetAccessibleStruct
GtkWidgetAccessible* getWidgetAccessibleStruct()

Get the main Gtk struct

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

Mixins

__anonymous
mixin ComponentT!(GtkWidgetAccessible)
Undocumented in source.

Static functions

getType
GType getType()

Variables

gtkWidgetAccessible
GtkWidgetAccessible* gtkWidgetAccessible;

the main Gtk struct

Inherited Members

From Accessible

gtkAccessible
GtkAccessible* gtkAccessible;

the main Gtk struct

getAccessibleStruct
GtkAccessible* getAccessibleStruct()

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

This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.

getWidget
Widget getWidget()

Gets the #GtkWidget corresponding to the #GtkAccessible. The returned widget does not have a reference added, so you do not need to unref it.

setWidget
void setWidget(Widget widget)

Sets the #GtkWidget corresponding to the #GtkAccessible.

From ComponentIF

getComponentStruct
AtkComponent* getComponentStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

addFocusHandler
uint addFocusHandler(AtkFocusHandler handler)

Add the specified handler to the set of functions to be called when this object receives focus events (in or out). If the handler is already added it is not added again

contains
bool contains(int x, int y, AtkCoordType coordType)

Checks whether the specified point is within the extent of the @component.

getAlpha
double getAlpha()

Returns the alpha value (i.e. the opacity) for this @component, on a scale from 0 (fully transparent) to 1.0 (fully opaque).

getExtents
void getExtents(int x, int y, int width, int height, AtkCoordType coordType)

Gets the rectangle which gives the extent of the @component.

getLayer
AtkLayer getLayer()

Gets the layer of the component.

getMdiZorder
int getMdiZorder()

Gets the zorder of the component. The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW.

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

Gets the position of @component in the form of a point specifying @component's top-left corner.

getSize
void getSize(int width, int height)

Gets the size of the @component in terms of width and height.

grabFocus
bool grabFocus()

Grabs focus for this @component.

refAccessibleAtPoint
ObjectAtk refAccessibleAtPoint(int x, int y, AtkCoordType coordType)

Gets a reference to the accessible child, if one exists, at the coordinate point specified by @x and @y.

removeFocusHandler
void removeFocusHandler(uint handlerId)

Remove the handler specified by @handler_id from the list of functions to be executed when this object receives focus events (in or out).

setExtents
bool setExtents(int x, int y, int width, int height, AtkCoordType coordType)

Sets the extents of @component.

setPosition
bool setPosition(int x, int y, AtkCoordType coordType)

Sets the postition of @component.

setSize
bool setSize(int width, int height)

Set the size of the @component in terms of width and height.

addOnBoundsChanged
gulong addOnBoundsChanged(void delegate(AtkRectangle*, ComponentIF) dlg, ConnectFlags connectFlags)

The 'bounds-changed" signal is emitted when the bposition or size of the component changes.

Meta