WidgetAccessible

Constructors

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

Members

Functions

self
WidgetAccessible self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
builder
WidgetAccessibleGidBuilder builder()

Get builder for gtk.widget_accessible.WidgetAccessible

Mixed In Members

From mixin ComponentT!()

contains
bool contains(int x, int y, atk.types.CoordType 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, atk.types.CoordType coordType)

Gets the rectangle which gives the extent of the component.

getLayer
atk.types.Layer 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, atk.types.CoordType 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
atk.object.ObjectWrap refAccessibleAtPoint(int x, int y, atk.types.CoordType 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).

scrollTo
bool scrollTo(atk.types.ScrollType type)

Makes component visible on the screen by scrolling all necessary parents.

scrollToPoint
bool scrollToPoint(atk.types.CoordType coords, int x, int y)

Move the top-left of component to a given position of the screen by scrolling all necessary parents.

setExtents
bool setExtents(int x, int y, int width, int height, atk.types.CoordType coordType)

Sets the extents of component.

setPosition
bool setPosition(int x, int y, atk.types.CoordType coordType)

Sets the position of component.

setSize
bool setSize(int width, int height)

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

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

Connect to BoundsChanged signal.

Inherited Members

From Accessible

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

Returns this, for use in with statements.

builder
AccessibleGidBuilder builder()

Get builder for gtk.accessible.Accessible

widget
gtk.widget.Widget widget [@property getter]
widget
gtk.widget.Widget widget [@property setter]
connectWidgetDestroyed
void connectWidgetDestroyed()

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

getWidget
gtk.widget.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(gtk.widget.Widget widget)

Sets the #GtkWidget corresponding to the #GtkAccessible.

From Component

_getGType
GType _getGType()
contains
bool contains(int x, int y, atk.types.CoordType 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, atk.types.CoordType coordType)

Gets the rectangle which gives the extent of the component.

getLayer
atk.types.Layer 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, atk.types.CoordType 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
atk.object.ObjectWrap refAccessibleAtPoint(int x, int y, atk.types.CoordType 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).

scrollTo
bool scrollTo(atk.types.ScrollType type)

Makes component visible on the screen by scrolling all necessary parents.

scrollToPoint
bool scrollToPoint(atk.types.CoordType coords, int x, int y)

Move the top-left of component to a given position of the screen by scrolling all necessary parents.

setExtents
bool setExtents(int x, int y, int width, int height, atk.types.CoordType coordType)

Sets the extents of component.

setPosition
bool setPosition(int x, int y, atk.types.CoordType coordType)

Sets the position of component.

setSize
bool setSize(int width, int height)

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

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

Connect to BoundsChanged signal.