CellAccessible

Constructors

this
this(GtkCellAccessible* gtkCellAccessible, bool ownedRef)

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

Members

Functions

getCellAccessibleStruct
GtkCellAccessible* getCellAccessibleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Mixins

__anonymous
mixin ActionT!(GtkCellAccessible)
Undocumented in source.
__anonymous
mixin ComponentT!(GtkCellAccessible)
Undocumented in source.
__anonymous
mixin TableCellT!(GtkCellAccessible)
Undocumented in source.

Static functions

getType
GType getType()

Variables

gtkCellAccessible
GtkCellAccessible* gtkCellAccessible;

the main Gtk struct

Inherited Members

From Accessible

gtkAccessible
GtkAccessible* gtkAccessible;

the main Gtk struct

getAccessibleStruct
GtkAccessible* getAccessibleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

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 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 ComponentIF

getComponentStruct
AtkComponent* getComponentStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

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

scrollTo
bool scrollTo(AtkScrollType type)

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

scrollToPoint
bool scrollToPoint(AtkCoordType coords, int x, int y)

Makes an object visible on the screen at a given position by scrolling all necessary parents.

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 position 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(Rectangle, ComponentIF) dlg, ConnectFlags connectFlags)

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

From TableCellIF

getTableCellStruct
AtkTableCell* getTableCellStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getColumnHeaderCells
PtrArray getColumnHeaderCells()

Returns the column headers as an array of cell accessibles.

getColumnSpan
int getColumnSpan()

Returns the number of columns occupied by this cell accessible.

getPosition
bool getPosition(int row, int column)

Retrieves the tabular position of this cell.

getRowColumnSpan
bool getRowColumnSpan(int row, int column, int rowSpan, int columnSpan)

Gets the row and column indexes and span of this cell accessible.

getRowHeaderCells
PtrArray getRowHeaderCells()

Returns the row headers as an array of cell accessibles.

getRowSpan
int getRowSpan()

Returns the number of rows occupied by this cell accessible.

getTable
ObjectAtk getTable()

Returns a reference to the accessible of the containing table.

Meta