The 'bounds-changed" signal is emitted when the bposition or
size of the component changes.
the object which received the signal.
The AtkRectangle giving the new position and size.
Specifies how xy coordinates are to be interpreted. Used by functions such
as atk_component_get_position() and atk_text_get_character_extents()
specifies xy coordinates relative to the screen
specifies xy coordinates relative to the widget's
top-level window
The 'load-complete' signal is emitted when a pending load of
a static document has completed. This signal is to be
expected by ATK clients if and when AtkDocument implementors
expose ATK_STATE_BUSY. If the state of an AtkObject which
implements AtkDocument does not include ATK_STATE_BUSY, it
should be safe for clients to assume that the AtkDocument's
static contents are fully loaded into the container.
(Dynamic document contents should be exposed via other
signals.)
the object which received the signal.
The 'load-stopped' signal is emitted when a pending load of
document contents is cancelled, paused, or otherwise
interrupted by the user or application logic. It should not
however be emitted while waiting for a resource (for instance
while blocking on a file or network read) unless a
user-significant timeout has occurred.
the object which received the signal.
The 'page-changed' signal is emitted when the current page of
a document changes, e.g. pressing page up/down in a document
viewer.
Since: 2.12
the object on which the signal was emitted
the new page number. If this value is unknown
or not applicable, -1 should be provided.
The 'reload' signal is emitted when the contents of a
document is refreshed from its source. Once 'reload' has
been emitted, a matching 'load-complete' or 'load-stopped'
signal should follow, which clients may await before
interrogating ATK for the latest document content.
the object which received the signal.
The signal link-activated is emitted when a link is activated.
the object which received the signal.
Describes the type of link
Link is inline
The "link-selected" signal is emitted by an AtkHyperText
object when one of the hyperlinks associated with the object
is selected.
the object which received the signal.
the index of the hyperlink which is selected
Specifies the type of a keyboard evemt.
specifies a key press event
specifies a key release event
Not a valid value; specifies end of enumeration
Describes the layer of a component
These enumerated "layer values" are used when determining which UI
rendering layer a component is drawn into, which can help in making
determinations of when components occlude one another.
The object does not have a layer
This layer is reserved for the desktop background
This layer is used for Canvas components
This layer is normally used for components
This layer is used for layered components
This layer is used for popup components, such as menus
This layer is reserved for future use.
This layer is used for toplevel windows.
The "active-descendant-changed" signal is emitted by an object
which has the state ATK_STATE_MANAGES_DESCENDANTS when the focus
object in the object changes. For instance, a table will emit the
signal when the cell in the table which has focus changes.
the object which received the signal.
the newly focused object.
The signal "children-changed" is emitted when a child is added or
removed form an object. It supports two details: "add" and
"remove"
the object which received the signal.
The index of the added or removed child. The value can be
-1. This is used if the value is not known by the implementor
when the child is added/removed or irrelevant.
A gpointer to the child AtkObject which was added or
removed. If the child was removed, it is possible that it is not
available for the implementor. In that case this pointer can be
NULL.
The signal "focus-event" is emitted when an object gained or lost
focus.
Deprecated: 2.9.4: Use the #AtkObject::state-change signal instead.
the object which received the signal
a boolean value which indicates whether the object gained
or lost focus.
The signal "property-change" is emitted when an object's property
value changes. @arg1 contains an #AtkPropertyValues with the name
and the new value of the property whose value has changed. Note
that, as with GObject notify, getting this signal does not
guarantee that the value of the property has actually changed; it
may also be emitted when the setter of the property is called to
reinstate the previous value.
Toolkit implementor note: ATK implementors should use
g_object_notify() to emit property-changed
notifications. #AtkObject::property-changed is needed by the
implementation of atk_add_global_event_listener() because GObject
notify doesn't support emission hooks.
the object which received the signal.
an #AtkPropertyValues containing the new value of the
property which changed.
The "state-change" signal is emitted when an object's state
changes. The detail value identifies the state type which has
changed.
the object which received the signal.
The name of the state which has changed
A boolean which indicates whether the state has been set or unset.
The "visible-data-changed" signal is emitted when the visual
appearance of the object changed.
the object which received the signal.
Describes the type of the relation
Not used, represens "no relationship" or an error condition.
Indicates an object controlled by one or more target objects.
Indicates an object is an controller for one or more target objects.
Indicates an object is a label for one or more target objects.
Indicates an object is labelled by one or more target objects.
Indicates an object is a member of a group of one or more target objects.
Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell.
Indicates that the object has content that flows logically to another
AtkObject in a sequential way, (for instance text-flow).
Indicates that the object has content that flows logically from
another AtkObject in a sequential way, (for instance text-flow).
Indicates a subwindow attached to a component but otherwise has no connection in the UI heirarchy to that component.
Indicates that the object visually embeds
another object's content, i.e. this object's content flows around
another's content.
Inverse of %ATK_RELATION_EMBEDS, indicates that
this object's content is visualy embedded in another object.
Indicates that an object is a popup for another object.
Indicates that an object is a parent window of another object.
Indicates that another object provides descriptive information about this object; more verbose than ATK_RELATION_LABELLED_BY.
Indicates that an object provides descriptive information about another object; more verbose than ATK_RELATION_LABEL_FOR.
Indicates an object is a cell in a treetable and is expanded to display other cells in the same column.
Not used, this value indicates the end of the enumeration.
The "selection-changed" signal is emitted by an object which
implements AtkSelection interface when the selection changes.
the object which received the signal.
The "column-deleted" signal is emitted by an object which
implements the AtkTable interface when a column is deleted.
the object which received the signal.
The index of the first column deleted.
The number of columns deleted.
The "column-inserted" signal is emitted by an object which
implements the AtkTable interface when a column is inserted.
the object which received the signal.
The index of the column inserted.
The number of colums inserted.
The "column-reordered" signal is emitted by an object which
implements the AtkTable interface when the columns are
reordered.
the object which received the signal.
The "model-changed" signal is emitted by an object which
implements the AtkTable interface when the model displayed by
the table changes.
the object which received the signal.
The "row-deleted" signal is emitted by an object which
implements the AtkTable interface when a row is deleted.
the object which received the signal.
The index of the first row deleted.
The number of rows deleted.
The "row-inserted" signal is emitted by an object which
implements the AtkTable interface when a row is inserted.
the object which received the signal.
The index of the first row inserted.
The number of rows inserted.
The "row-reordered" signal is emitted by an object which
implements the AtkTable interface when the rows are
reordered.
the object which received the signal.
The "text-attributes-changed" signal is emitted when the text
attributes of the text of an object which implements AtkText
changes.
the object which received the signal.
The "text-caret-moved" signal is emitted when the caret
position of the text of an object which implements AtkText
changes.
the object which received the signal.
The new position of the text caret.
The "text-changed" signal is emitted when the text of the
object which implements the AtkText interface changes, This
signal will have a detail which is either "insert" or
"delete" which identifies whether the text change was an
insertion or a deletion.
Deprecated: 2.9.4: Use #AtkObject::text-insert or
#AtkObject::text-remove instead.
the object which received the signal.
The position (character offset) of the insertion or deletion.
The length (in characters) of text inserted or deleted.
The "text-insert" signal is emitted when a new text is
inserted. If the signal was not triggered by the user
(e.g. typing or pasting text), the "system" detail should be
included.
the object which received the signal.
The position (character offset) of the insertion.
The length (in characters) of text inserted.
The new text inserted
The "text-remove" signal is emitted when a new text is
removed. If the signal was not triggered by the user
(e.g. typing or pasting text), the "system" detail should be
included.
the object which received the signal.
The position (character offset) of the removal.
The length (in characters) of text removed.
The old text removed
The "text-selection-changed" signal is emitted when the
selected text of an object which implements AtkText changes.
the object which received the signal.
Describes the text attributes supported
Invalid attribute, like bad spelling or grammar.
The pixel width of the left margin
The pixel width of the right margin
The number of pixels that the text is indented
Either "true" or "false" indicating whether text is visible or not
Either "true" or "false" indicating whether text is editable or not
Pixels of blank space to leave above each newline-terminated line.
Pixels of blank space to leave below each newline-terminated line.
Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph).
"true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character.
Number of pixels that the characters are risen above the baseline
"none", "single", "double", "low", or "error"
"true" or "false" whether the text is strikethrough
The size of the characters in points. eg: 10
The scale of the characters. The value is a string representation of a double
The weight of the characters.
The language used
The font family name
The background color. The value is an RGB value of the format "%u,%u,%u"
The foreground color. The value is an RGB value of the format "%u,%u,%u"
"true" if a #GdkBitmap is set for stippling the background color.
"true" if a #GdkBitmap is set for stippling the foreground color.
The wrap mode of the text, if any. Values are "none", "char", "word", or "word_char".
The direction of the text, if set. Values are "none", "ltr" or "rtl"
The justification of the text, if set. Values are "left", "right", "center" or "fill"
The stretch of the text, if set. Values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or "ultra_expanded"
The capitalization variant of the text, if set. Values are "normal" or "small_caps"
The slant style of the text, if set. Values are "normal", "oblique" or "italic"
not a valid text attribute, used for finding end of enumeration
Text boundary types used for specifying boundaries for regions of text.
This enumerationis deprecated since 2.9.4 and should not be used. Use
AtkTextGranularity with #atk_text_get_string_at_offset instead.
Boundary is the boundary between characters
(including non-printing characters)
Boundary is the start (i.e. first character) of a word.
Boundary is the end (i.e. last
character) of a word.
Boundary is the first character in a sentence.
Boundary is the last (terminal)
character in a sentence; in languages which use "sentence stop"
punctuation such as English, the boundary is thus the '.', '?', or
similar terminal punctuation character.
Boundary is the initial character of the content or a
character immediately following a newline, linefeed, or return character.
Boundary is the linefeed, or return
character.
Describes the type of clipping required.
No clipping to be done
Text clipped by min coordinate is omitted
Text clipped by max coordinate is omitted
Only text fully within mix/max bound is retained
Text granularity types used for specifying the granularity of the region of
text we are interested in.
Granularity is defined by the boundaries between characters
(including non-printing characters)
Granularity is defined by the boundaries of a word,
starting at the beginning of the current word and finishing at the beginning of
the following one, if present.
Granularity is defined by the boundaries of a sentence,
starting at the beginning of the current sentence and finishing at the beginning of
the following one, if present.
Granularity is defined by the boundaries of a line,
starting at the beginning of the current line and finishing at the beginning of
the following one, if present.
Granularity is defined by the boundaries of a paragraph,
starting at the beginning of the current paragraph and finishing at the beginning of
the following one, if present.
The 'value-changed' signal is emitted when the current value
that represent the object changes. @value is the numerical
representation of this new value. @text is the human
readable text alternative of @value, and can be NULL if it is
not available. Note that if there is a textual description
associated with the new numeric value, that description
should be included regardless of whether or not it has also
changed.
Example: a password meter whose value changes as the user
types their new password. Appropiate value text would be
"weak", "acceptable" and "strong".
Since: 2.12
the object on which the signal was emitted.
the new value in a numerical form.
human readable text alternative (also called
description) of this object. NULL if not available.
The signal #AtkWindow::activate is emitted when a window
becomes the active window of the application or session.
Since: 2.2
the object which received the signal
The signal #AtkWindow::create is emitted when a new window
is created.
Since: 2.2
the object which received the signal
The signal #AtkWindow::deactivate is emitted when a window is
no longer the active window of the application or session.
Since: 2.2
the object which received the signal
The signal #AtkWindow::destroy is emitted when a window is
destroyed.
Since: 2.2
the object which received the signal
The signal #AtkWindow::maximize is emitted when a window
is maximized.
Since: 2.2
the object which received the signal
The signal #AtkWindow::minimize is emitted when a window
is minimized.
Since: 2.2
the object which received the signal
The signal #AtkWindow::move is emitted when a window
is moved.
Since: 2.2
the object which received the signal
The signal #AtkWindow::resize is emitted when a window
is resized.
Since: 2.2
the object which received the signal
The signal #AtkWindow::restore is emitted when a window
is restored.
Since: 2.2
the object which received the signal
Perform the specified action on the object.
a #GObject instance that implements AtkActionIface
the action index corresponding to the action to be performed
%TRUE if success, %FALSE otherwise
Returns a description of the specified action of the object.
a #GObject instance that implements AtkActionIface
the action index corresponding to the action to be performed
a description string, or %NULL if @action does
not implement this interface.
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".
- The mnemonic key activates the object if it is presently enabled onscreen.
This typically corresponds to the underlined letter within the widget.
Example: "n" in a traditional "New..." menu item or the "a" in "Apply" for
a button.
- The sequence is the full list of keys which invoke the action even if the
relevant element is not currently shown on screen. For instance, for a menu
item the sequence is the keybindings used to open the parent menus before
invoking. The sequence string is colon-delimited. Example: "Alt+F:N" in a
traditional "New..." menu item.
- The shortcut, if it exists, will invoke the same action without showing
the component or its enclosing menus or dialogs. Example: "Ctrl+N" in a
traditional "New..." menu item.
Example: For a traditional "New..." menu item, the expected return value
would be: "N;Alt+F:N;Ctrl+N" for the English locale and "N;Alt+D:N;Strg+N"
for the German locale. If, hypothetically, this menu item lacked a mnemonic,
it would be represented by ";;Ctrl+N" and ";;Strg+N" respectively.
a #GObject instance that implements AtkActionIface
the action index corresponding to the action to be performed
the keybinding which can be used to activate
this action, or %NULL if there is no keybinding for this action.
Returns the localized name of the specified action of the object.
a #GObject instance that implements AtkActionIface
the action index corresponding to the action to be performed
a name string, or %NULL if @action does not
implement this interface.
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.
a #GObject instance that implements AtkActionIface
a the number of actions, or 0 if @action does not
implement this interface.
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.
For technical reasons, some toolkits cannot guarantee that the
reported action is actually 'bound' to a nontrivial user event;
i.e. the result of some actions via atk_action_do_action() may be
NIL.
a #GObject instance that implements AtkActionIface
the action index corresponding to the action to be performed
a name string, or %NULL if @action does not
implement this interface.
Sets a description of the specified action of the object.
a #GObject instance that implements AtkActionIface
the action index corresponding to the action to be performed
the description to be assigned to this action
a gboolean representing if the description was successfully set;
Adds the specified function to the list of functions to be called
when an object receives focus.
Deprecated: 2.9.4: Focus tracking has been dropped as a feature
to be implemented by ATK itself. If you need focus tracking on your
implementation, subscribe to the #AtkObject::state-change "focused" signal.
Function to be added to the list of functions to be called
when an object receives focus.
added focus tracker id, or 0 on failure.
Adds the specified function to the list of functions to be called
when an ATK event of type event_type occurs.
The format of event_type is the following:
"ATK:<atk_type>:<atk_event>:<atk_event_detail>
Where "ATK" works as the namespace, <atk_interface> is the name of
the ATK type (interface or object), <atk_event> is the name of the
signal defined on that interface and <atk_event_detail> is the
gsignal detail of that signal. You can find more info about gsignal
details here:
https://docs.gtk.org/gobject/signals.html
The first three parameters are mandatory. The last one is optional.
For example:
ATK:AtkObject:state-change
ATK:AtkText:text-selection-changed
ATK:AtkText:text-insert:system
Toolkit implementor note: ATK provides a default implementation for
this virtual method. ATK implementors are discouraged from
reimplementing this method.
Toolkit implementor note: this method is not intended to be used by
ATK implementors but by ATK consumers.
ATK consumers note: as this method adds a listener for a given ATK
type, that type should be already registered on the GType system
before calling this method. A simple way to do that is creating an
instance of #AtkNoOpObject. This class implements all ATK
interfaces, so creating the instance will register all ATK types as
a collateral effect.
the listener to notify
the type of event for which notification is requested
added event listener id, or 0 on failure.
Adds the specified function to the list of functions to be called
when a key event occurs. The @data element will be passed to the
#AtkKeySnoopFunc (@listener) as the @func_data param, on notification.
the listener to notify
a #gpointer that points to a block of data that should be sent to the registered listeners,
along with the event notification, when it occurs.
added event listener id, or 0 on failure.
Frees the memory used by an #AtkAttributeSet, including all its
#AtkAttributes.
The #AtkAttributeSet to free
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
Deprecated: 2.9.4: If you need to track when an object gains or
lose the focus, use the #AtkObject::state-change "focused" notification instead.
The #AtkComponent to attach the @handler to
The #AtkFocusHandler to be attached to @component
a handler id which can be used in atk_component_remove_focus_handler()
or zero if the handler was already added.
Checks whether the specified point is within the extent of the @component.
Toolkit implementor note: ATK provides a default implementation for
this virtual method. In general there are little reason to
re-implement it.
the #AtkComponent
x coordinate
y coordinate
specifies whether the coordinates are relative to the screen
or to the components top level window
%TRUE or %FALSE indicating whether the specified point is within
the extent of the @component or not
Returns the alpha value (i.e. the opacity) for this
@component, on a scale from 0 (fully transparent) to 1.0
(fully opaque).
Since: 1.12
an #AtkComponent
An alpha value from 0 to 1.0, inclusive.
Gets the rectangle which gives the extent of the @component.
an #AtkComponent
address of #gint to put x coordinate
address of #gint to put y coordinate
address of #gint to put width
address of #gint to put height
specifies whether the coordinates are relative to the screen
or to the components top level window
Gets the layer of the component.
an #AtkComponent
an #AtkLayer which is the layer of the component
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.
an #AtkComponent
a gint which is the zorder of the component, i.e. the depth at
which the component is shown in relation to other components in the same
container.
Gets the position of @component in the form of
a point specifying @component's top-left corner.
Deprecated: Since 2.12. Use atk_component_get_extents() instead.
an #AtkComponent
address of #gint to put x coordinate position
address of #gint to put y coordinate position
specifies whether the coordinates are relative to the screen
or to the components top level window
Gets the size of the @component in terms of width and height.
Deprecated: Since 2.12. Use atk_component_get_extents() instead.
an #AtkComponent
address of #gint to put width of @component
address of #gint to put height of @component
Grabs focus for this @component.
an #AtkComponent
%TRUE if successful, %FALSE otherwise.
Gets a reference to the accessible child, if one exists, at the
coordinate point specified by @x and @y.
the #AtkComponent
x coordinate
y coordinate
specifies whether the coordinates are relative to the screen
or to the components top level window
a reference to the accessible
child, if one exists
Remove the handler specified by @handler_id from the list of
functions to be executed when this object receives focus events
(in or out).
Deprecated: 2.9.4: If you need to track when an object gains or
lose the focus, use the #AtkObject::state-change "focused" notification instead.
the #AtkComponent to remove the focus handler from
the handler id of the focus handler to be removed
from @component
Sets the extents of @component.
an #AtkComponent
x coordinate
y coordinate
width to set for @component
height to set for @component
specifies whether the coordinates are relative to the screen
or to the components top level window
%TRUE or %FALSE whether the extents were set or not
Sets the postition of @component.
an #AtkComponent
x coordinate
y coordinate
specifies whether the coordinates are relative to the screen
or to the components top level window
%TRUE or %FALSE whether or not the position was set or not
Set the size of the @component in terms of width and height.
an #AtkComponent
width to set for @component
height to set for @component
%TRUE or %FALSE whether the size was set or not
Since: 1.12
a #GObject instance that implements AtkDocumentIface
a character string representing the name of the attribute
whose value is being queried.
a string value associated with the named
attribute for this document, or NULL if a value for
#attribute_name has not been specified for this document.
Gets an AtkAttributeSet which describes document-wide
attributes as name-value pairs.
Since: 1.12
a #GObject instance that implements AtkDocumentIface
An AtkAttributeSet containing the explicitly
set name-value-pair attributes associated with this document
as a whole.
Since: 2.12
the #AtkDocument
current page number inside @document. -1 if not
implemented, not know by the implementor or irrelevant.
Gets a %gpointer that points to an instance of the DOM. It is
up to the caller to check atk_document_get_type to determine
how to cast this pointer.
Deprecated: Since 2.12. @document is already a representation of
the document. Use it directly, or one of its children, as an
instance of the DOM.
a #GObject instance that implements AtkDocumentIface
a %gpointer that points to an instance of the DOM.
Gets a string indicating the document type.
Deprecated: Since 2.12. Please use atk_document_get_attributes() to
ask for the document type if it applies.
a #GObject instance that implements AtkDocumentIface
a string indicating the document type
Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
of the content of this document instance. Individual
text substrings or images within this document may have
a different locale, see atk_text_get_attributes and
atk_image_get_image_locale.
Deprecated: 2.7.90: Please use atk_object_get_object_locale() instead.
a #GObject instance that implements AtkDocumentIface
a UTF-8 string indicating the POSIX-style LC_MESSAGES
locale of the document content as a whole, or NULL if
the document content does not specify a locale.
Since: 2.12
the #AtkDocument
total page count of @document. -1 if not implemented, not
know by the implementor or irrelevant.
Since: 1.12
a #GObject instance that implements AtkDocumentIface
a character string representing the name of the attribute
whose value is being set.
a string value to be associated with #attribute_name.
TRUE if #value is successfully associated with #attribute_name
for this document, FALSE otherwise (e.g. if the document does not
allow the attribute to be modified).
Copy text from @start_pos up to, but not including @end_pos
to the clipboard.
an #AtkEditableText
start position
end position
Copy text from @start_pos up to, but not including @end_pos
to the clipboard and then delete from the widget.
an #AtkEditableText
start position
end position
Delete text @start_pos up to, but not including @end_pos.
an #AtkEditableText
start position
end position
Insert text at a given position.
an #AtkEditableText
the text to insert
the length of text to insert, in bytes
The caller initializes this to
the position at which to insert the text. After the call it
points at the position after the newly inserted text.
Paste text from clipboard to specified @position.
an #AtkEditableText
position to paste
Sets the attributes for a specified range. See the ATK_ATTRIBUTE
macros (such as #ATK_ATTRIBUTE_LEFT_MARGIN) for examples of attributes
that can be set. Note that other attributes that do not have corresponding
ATK_ATTRIBUTE macros may also be set for certain text widgets.
an #AtkEditableText
an #AtkAttributeSet
start of range in which to set attributes
end of range in which to set attributes
%TRUE if attributes successfully set for the specified
range, otherwise %FALSE
Set text contents of @text.
an #AtkEditableText
string to set for text contents of @text
Specifies the function to be called for focus tracker initialization.
This function should be called by an implementation of the
ATK interface if any specific work needs to be done to enable
focus tracking.
Deprecated: 2.9.4: Focus tracking has been dropped as a feature
to be implemented by ATK itself.
Function to be called for focus tracker initialization
Cause the focus tracker functions which have been specified to be
executed for the object.
Deprecated: 2.9.4: Focus tracking has been dropped as a feature
to be implemented by ATK itself. As #AtkObject::focus-event was
deprecated in favor of a #AtkObject::state-change signal, in order
to notify a focus change on your implementation, you can use
atk_object_notify_state_change() instead.
an #AtkObject
Returns the binary age as passed to libtool when building the ATK
library the process is running against.
Since: 2.8
the binary age of the ATK library
Gets a default implementation of the #AtkObjectFactory/type
registry.
Note: For most toolkit maintainers, this will be the correct
registry for registering new #AtkObject factories. Following
a call to this function, maintainers may call atk_registry_set_factory_type()
to associate an #AtkObjectFactory subclass with the GType of objects
for whom accessibility information will be provided.
a default implementation of the
#AtkObjectFactory/type registry
Gets the currently focused object.
Since: 1.6
the currently focused object for the current
application
Returns the interface age as passed to libtool when building the
ATK library the process is running against.
Since: 2.8
the interface age of the ATK library
Returns the major version number of the ATK library. (e.g. in ATK
version 2.7.4 this is 2.)
This function is in the library, so it represents the ATK library
your code is running against. In contrast, the #ATK_MAJOR_VERSION
macro represents the major version of the ATK headers you have
included when compiling your code.
Since: 2.8
the major version number of the ATK library
Returns the micro version number of the ATK library. (e.g. in ATK
version 2.7.4 this is 4.)
This function is in the library, so it represents the ATK library
your code is are running against. In contrast, the
#ATK_MICRO_VERSION macro represents the micro version of the ATK
headers you have included when compiling your code.
Since: 2.8
the micro version number of the ATK library
Returns the minor version number of the ATK library. (e.g. in ATK
version 2.7.4 this is 7.)
This function is in the library, so it represents the ATK library
your code is are running against. In contrast, the
#ATK_MINOR_VERSION macro represents the minor version of the ATK
headers you have included when compiling your code.
Since: 2.8
the minor version number of the ATK library
Gets the root accessible container for the current application.
the root accessible container for the current
application
Gets name string for the GUI toolkit implementing ATK for this application.
name string for the GUI toolkit implementing ATK for this application
Gets version string for the GUI toolkit implementing ATK for this application.
version string for the GUI toolkit implementing ATK for this application
Gets the current version for ATK.
Since: 1.20
version string for ATK
Gets the accessible object for the specified @obj.
a #GObject
a #AtkObject which is the accessible object for
the @obj
Gets the GObject for which @obj is the accessible object.
a #AtkGObjectAccessible
a #GObject which is the object for which @obj is
the accessible object
Gets the index with the hypertext document at which this link ends.
an #AtkHyperlink
the index with the hypertext document at which this link ends
Gets the number of anchors associated with this hyperlink.
an #AtkHyperlink
the number of anchors associated with this hyperlink
Returns the item associated with this hyperlinks nth anchor.
For instance, the returned #AtkObject will implement #AtkText
if @link_ is a text hyperlink, #AtkImage if @link_ is an image
hyperlink etc.
Multiple anchors are primarily used by client-side image maps.
an #AtkHyperlink
a (zero-index) integer specifying the desired anchor
an #AtkObject associated with this hyperlinks
i-th anchor
Gets the index with the hypertext document at which this link begins.
an #AtkHyperlink
the index with the hypertext document at which this link begins
Get a the URI associated with the anchor specified
by @i of @link_.
Multiple anchors are primarily used by client-side image maps.
an #AtkHyperlink
a (zero-index) integer specifying the desired anchor
a string specifying the URI
Gets the hyperlink associated with this object.
Since: 1.12
a #GObject instance that implements AtkHyperlinkImplIface
an AtkHyperlink object which points to this
implementing AtkObject.
Indicates whether the link currently displays some or all of its
content inline. Ordinary HTML links will usually return
%FALSE, but an inline <src> HTML element will return
%TRUE.
an #AtkHyperlink
whether or not this link displays its content inline.
Determines whether this AtkHyperlink is selected
Since: 1.4
Deprecated: 1.8: Please use ATK_STATE_FOCUSABLE for all links,
and ATK_STATE_FOCUSED for focused links.
an #AtkHyperlink
True if the AtkHyperlink is selected, False otherwise
Since the document that a link is associated with may have changed
this method returns %TRUE if the link is still valid (with
respect to the document it references) and %FALSE otherwise.
an #AtkHyperlink
whether or not this link is still valid
Gets the link in this hypertext document at index
@link_index
an #AtkHypertext
an integer specifying the desired link
the link in this hypertext document at
index @link_index
Gets the index into the array of hyperlinks that is associated with
the character specified by @char_index.
an #AtkHypertext
a character index
an index into the array of hyperlinks in @hypertext,
or -1 if there is no hyperlink associated with this character.
Gets the number of links within this hypertext document.
an #AtkHypertext
the number of links within this hypertext document
Get a textual description of this image.
a #GObject instance that implements AtkImageIface
a string representing the image description
Since: 1.12
An #AtkImage
a string corresponding to the POSIX
LC_MESSAGES locale used by the image description, or %NULL if the
image does not specify a locale.
Gets the position of the image in the form of a point specifying the
images top-left corner.
a #GObject instance that implements AtkImageIface
address of #gint to put x coordinate position; otherwise, -1 if value cannot be obtained.
address of #gint to put y coordinate position; otherwise, -1 if value cannot be obtained.
specifies whether the coordinates are relative to the screen
or to the components top level window
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).
a #GObject instance that implements AtkImageIface
filled with the image width, or -1 if the value cannot be obtained.
filled with the image height, or -1 if the value cannot be obtained.
Sets the textual description for this image.
a #GObject instance that implements AtkImageIface
a string description to set for @image
boolean TRUE, or FALSE if operation could
not be completed.
Gets a reference to an object's #AtkObject implementation, if
the object implements #AtkObjectIface
The #GObject instance which should implement #AtkImplementorIface
if a non-null return value is required.
a reference to an object's #AtkObject
implementation
Obtain the singleton instance of AtkMisc for this application.
Since: 1.13
Deprecated: Since 2.12.
The singleton instance of AtkMisc for this application.
Take the thread mutex for the GUI toolkit,
if one exists.
(This method is implemented by the toolkit ATK implementation layer;
for instance, for GTK+, GAIL implements this via GDK_THREADS_ENTER).
Deprecated: Since 2.12.
Since: 1.13
an AtkMisc instance for this application.
Release the thread mutex for the GUI toolkit,
if one exists. This method, and atk_misc_threads_enter,
are needed in some situations by threaded application code which
services ATK requests, since fulfilling ATK requests often
requires calling into the GUI toolkit. If a long-running or
potentially blocking call takes place inside such a block, it should
be bracketed by atk_misc_threads_leave/atk_misc_threads_enter calls.
(This method is implemented by the toolkit ATK implementation layer;
for instance, for GTK+, GAIL implements this via GDK_THREADS_LEAVE).
Deprecated: Since 2.12.
Since: 1.13
an AtkMisc instance for this application.
Creates an instance of an #AtkObjectFactory which generates primitive
(non-functioning) #AtkObjects.
an instance of an #AtkObjectFactory
Provides a default (non-functioning stub) #AtkObject.
Application maintainers should not use this method.
a #GObject
a default (non-functioning stub) #AtkObject
Adds a relationship of the specified type with the specified target.
The #AtkObject to which an AtkRelation is to be added.
The #AtkRelationType of the relation
The #AtkObject which is to be the target of the relation.
TRUE if the relationship is added.
Deprecated: Since 2.12. Connect directly to property-change or
notify signals.
an #AtkObject
a function to be called when a property changes its value
a #guint which is the handler id used in
atk_object_remove_property_change_handler()
Provides an #AtkObject that implements an accessibility interface
on behalf of @obj
The #AtkObjectFactory associated with @obj's
object type
a #GObject
an #AtkObject that implements an accessibility
interface on behalf of @obj
Gets the GType of the accessible which is created by the factory.
an #AtkObjectFactory
the type of the accessible which is created by the @factory.
The value G_TYPE_INVALID is returned if no type if found.
Inform @factory that it is no longer being used to create
accessibles. When called, @factory may need to inform
#AtkObjects which it has created that they need to be re-instantiated.
Note: primarily used for runtime replacement of #AtkObjectFactorys
in object registries.
an #AtkObjectFactory to invalidate
Get a list of properties applied to this object as a whole, as an #AtkAttributeSet consisting of
name-value pairs. As such these attributes may be considered weakly-typed properties or annotations,
as distinct from strongly-typed object data available via other get/set methods.
Not all objects have explicit "name-value pair" #AtkAttributeSet properties.
Since: 1.12
An #AtkObject.
an #AtkAttributeSet consisting of all
explicit properties/annotations applied to the object, or an empty
set if the object has no name-value pair attributes assigned to
it. This #atkattributeset should be freed by a call to
atk_attribute_set_free().
Gets the accessible description of the accessible.
an #AtkObject
a character string representing the accessible description
of the accessible.
Gets the 0-based index of this accessible in its parent; returns -1 if the
accessible does not have an accessible parent.
an #AtkObject
an integer which is the index of the accessible in its parent
Gets the layer of the accessible.
Deprecated: Use atk_component_get_layer instead.
an #AtkObject
an #AtkLayer which is the layer of the accessible
Gets the zorder of the accessible. The value G_MININT will be returned
if the layer of the accessible is not ATK_LAYER_MDI.
Deprecated: Use atk_component_get_mdi_zorder instead.
an #AtkObject
a gint which is the zorder of the accessible, i.e. the depth at
which the component is shown in relation to other components in the same
container.
Gets the number of accessible children of the accessible.
an #AtkObject
an integer representing the number of accessible children
of the accessible.
Gets the accessible name of the accessible.
an #AtkObject
a character string representing the accessible name of the object.
Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
of @accessible.
Since: 2.8
an #AtkObject
a UTF-8 string indicating the POSIX-style LC_MESSAGES
locale of @accessible.
Gets the accessible parent of the accessible. By default this is
the one assigned with atk_object_set_parent(), but it is assumed
that ATK implementors have ways to get the parent of the object
without the need of assigning it manually with
atk_object_set_parent(), and will return it with this method.
If you are only interested on the parent assigned with
atk_object_set_parent(), use atk_object_peek_parent().
an #AtkObject
an #AtkObject representing the accessible
parent of the accessible
Gets the role of the accessible.
an #AtkObject
an #AtkRole which is the role of the accessible
This function is called when implementing subclasses of #AtkObject.
It does initialization required for the new object. It is intended
that this function should called only in the ..._new() functions used
to create an instance of a subclass of #AtkObject
a #AtkObject
a #gpointer which identifies the object for which the AtkObject was created.
Emits a state-change signal for the specified state.
Note that as a general rule when the state of an existing object changes,
emitting a notification is expected.
an #AtkObject
an #AtkState whose state is changed
a gboolean which indicates whether the state is being set on or off
Gets the accessible parent of the accessible, if it has been
manually assigned with atk_object_set_parent. Otherwise, this
function returns %NULL.
This method is intended as an utility for ATK implementors, and not
to be exposed to accessible tools. See atk_object_get_parent() for
further reference.
an #AtkObject
an #AtkObject representing the accessible
parent of the accessible if assigned
Gets a reference to the specified accessible child of the object.
The accessible children are 0-based so the first accessible child is
at index 0, the second at index 1 and so on.
an #AtkObject
a gint representing the position of the child, starting from 0
an #AtkObject representing the specified
accessible child of the accessible.
Gets the #AtkRelationSet associated with the object.
an #AtkObject
an #AtkRelationSet representing the relation set
of the object.
Gets a reference to the state set of the accessible; the caller must
unreference it when it is no longer needed.
an #AtkObject
a reference to an #AtkStateSet which is the state
set of the accessible
Deprecated: Since 2.12.
Removes a property change handler.
an #AtkObject
a guint which identifies the handler to be removed.
Removes a relationship of the specified type with the specified target.
The #AtkObject from which an AtkRelation is to be removed.
The #AtkRelationType of the relation
The #AtkObject which is the target of the relation to be removed.
TRUE if the relationship is removed.
Sets the accessible description of the accessible. You can't set
the description to NULL. This is reserved for the initial value. In
this aspect NULL is similar to ATK_ROLE_UNKNOWN. If you want to set
the name to a empty value you can use "".
an #AtkObject
a character string to be set as the accessible description
Sets the accessible name of the accessible. You can't set the name
to NULL. This is reserved for the initial value. In this aspect
NULL is similar to ATK_ROLE_UNKNOWN. If you want to set the name to
a empty value you can use "".
an #AtkObject
a character string to be set as the accessible name
Sets the accessible parent of the accessible. @parent can be NULL.
an #AtkObject
an #AtkObject to be set as the accessible parent
Sets the role of the accessible.
an #AtkObject
an #AtkRole to be set as the role
Gets the unique ID of an #AtkPlug object, which can be used to
embed inside of an #AtkSocket using atk_socket_embed().
Internally, this calls a class function that should be registered
by the IPC layer (usually at-spi2-atk). The implementor of an
#AtkPlug object should call this function (after atk-bridge is
loaded) and pass the value to the process implementing the
#AtkSocket, so it could embed the plug.
Since: 1.30
an #AtkPlug
the unique ID for the plug
Returns a new #AtkRange that is a exact copy of @src
Since: 2.12
#AtkRange to copy
a new #AtkRange copy of @src
Free @range
Since: 2.12
#AtkRange to free
Returns the human readable description of @range
Since: 2.12
an #AtkRange
the human-readable description of @range
Returns the lower limit of @range
Since: 2.12
an #AtkRange
the lower limit of @range
Returns the upper limit of @range
Since: 2.12
an #AtkRange
the upper limit of @range
Creates a new #AtkRange.
Since: 2.12
inferior limit for this range
superior limit for this range
human readable description of this range.
a new #AtkRange
Gets an #AtkObjectFactory appropriate for creating #AtkObjects
appropriate for @type.
an #AtkRegistry
a #GType with which to look up the associated #AtkObjectFactory
an #AtkObjectFactory appropriate for creating
#AtkObjects appropriate for @type.
Provides a #GType indicating the #AtkObjectFactory subclass
associated with @type.
an #AtkRegistry
a #GType with which to look up the associated #AtkObjectFactory
subclass
a #GType associated with type @type
Associate an #AtkObjectFactory subclass with a #GType. Note:
The associated @factory_type will thereafter be responsible for
the creation of new #AtkObject implementations for instances
appropriate for @type.
the #AtkRegistry in which to register the type association
an #AtkObject type
an #AtkObjectFactory type to associate with @type. Must
implement AtkObject appropriate for @type.
Adds the specified AtkObject to the target for the relation, if it is
not already present. See also atk_object_add_relationship().
Since: 1.9
an #AtkRelation
an #AtkObject
Gets the type of @relation
an #AtkRelation
the type of @relation
Gets the target list of @relation
an #AtkRelation
the target list of @relation
Create a new relation for the specified key and the specified list
of targets. See also atk_object_add_relationship().
an array of pointers to
#AtkObjects
number of #AtkObjects pointed to by @targets
an #AtkRelationType with which to create the new
#AtkRelation
a pointer to a new #AtkRelation
Remove the specified AtkObject from the target for the relation.
an #AtkRelation
an #AtkObject
TRUE if the removal is successful.
Add a new relation to the current relation set if it is not already
present.
This function ref's the AtkRelation so the caller of this function
should unref it to ensure that it will be destroyed when the AtkRelationSet
is destroyed.
an #AtkRelationSet
an #AtkRelation
Add a new relation of the specified type with the specified target to
the current relation set if the relation set does not contain a relation
of that type. If it is does contain a relation of that typea the target
is added to the relation.
Since: 1.9
an #AtkRelationSet
an #AtkRelationType
an #AtkObject
Determines whether the relation set contains a relation that matches the
specified type.
an #AtkRelationSet
an #AtkRelationType
%TRUE if @relationship is the relationship type of a relation
in @set, %FALSE otherwise
Determines whether the relation set contains a relation that
matches the specified pair formed by type @relationship and object
@target.
an #AtkRelationSet
an #AtkRelationType
an #AtkObject
%TRUE if @set contains a relation with the relationship
type @relationship with an object @target, %FALSE otherwise
Determines the number of relations in a relation set.
an #AtkRelationSet
an integer representing the number of relations in the set.
Determines the relation at the specified position in the relation set.
an #AtkRelationSet
a gint representing a position in the set, starting from 0.
a #AtkRelation, which is the relation at
position i in the set.
Finds a relation that matches the specified type.
an #AtkRelationSet
an #AtkRelationType
an #AtkRelation, which is a relation matching the
specified type.
Creates a new empty relation set.
a new #AtkRelationSet
Removes a relation from the relation set.
This function unref's the #AtkRelation so it will be deleted unless there
is another reference to it.
an #AtkRelationSet
an #AtkRelation
Get the #AtkRelationType type corresponding to a relation name.
a string which is the (non-localized) name of an ATK relation type.
the #AtkRelationType enumerated type corresponding to the specified name,
or #ATK_RELATION_NULL if no matching relation type is found.
Gets the description string describing the #AtkRelationType @type.
The #AtkRelationType whose name is required
the string describing the AtkRelationType
Associate @name with a new #AtkRelationType
a name string
an #AtkRelationType associated with @name
Deprecated: 2.9.4: Focus tracking has been dropped as a feature
to be implemented by ATK itself. If you need focus tracking on your
implementation, subscribe to the #AtkObject::state-change "focused" signal.
Removes the specified focus tracker from the list of functions
to be called when any object receives focus.
the id of the focus tracker to remove
@listener_id is the value returned by #atk_add_global_event_listener
when you registered that event listener.
Toolkit implementor note: ATK provides a default implementation for
this virtual method. ATK implementors are discouraged from
reimplementing this method.
Toolkit implementor note: this method is not intended to be used by
ATK implementors but by ATK consumers.
Removes the specified event listener
the id of the event listener to remove
@listener_id is the value returned by #atk_add_key_event_listener
when you registered that event listener.
Removes the specified event listener.
the id of the event listener to remove
Get the #AtkRole type corresponding to a rolew name.
a string which is the (non-localized) name of an ATK role.
the #AtkRole enumerated type corresponding to the specified name,
or #ATK_ROLE_INVALID if no matching role is found.
Gets the localized description string describing the #AtkRole @role.
The #AtkRole whose localized name is required
the localized string describing the AtkRole
Gets the description string describing the #AtkRole @role.
The #AtkRole whose name is required
the string describing the AtkRole
Registers the role specified by @name. @name must be a meaningful
name. So it should not be empty, or consisting on whitespaces.
Deprecated: Since 2.12. If your application/toolkit doesn't find a
suitable role for a specific object defined at #AtkRole, please
submit a bug in order to add a new role to the specification.
a character string describing the new role.
an #AtkRole for the new role if added
properly. ATK_ROLE_INVALID in case of error.
Adds the specified accessible child of the object to the
object's selection.
a #GObject instance that implements AtkSelectionIface
a #gint specifying the child index.
TRUE if success, FALSE otherwise.
Clears the selection in the object so that no children in the object
are selected.
a #GObject instance that implements AtkSelectionIface
TRUE if success, FALSE otherwise.
Gets the number of accessible children currently selected.
Note: callers should not rely on %NULL or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
atk_get_accessible_value() convenience method.
a #GObject instance that implements AtkSelectionIface
a gint representing the number of items selected, or 0
if @selection does not implement this interface.
Determines if the current child of this object is selected
Note: callers should not rely on %NULL or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
atk_get_accessible_value() convenience method.
a #GObject instance that implements AtkSelectionIface
a #gint specifying the child index.
a gboolean representing the specified child is selected, or 0
if @selection does not implement this interface.
Gets a reference to the accessible object representing the specified
selected child of the object.
Note: callers should not rely on %NULL or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
atk_get_accessible_value() convenience method.
a #GObject instance that implements AtkSelectionIface
a #gint specifying the index in the selection set. (e.g. the
ith selection as opposed to the ith child).
an #AtkObject representing the
selected accessible, or %NULL if @selection does not implement this
interface.
Removes the specified child of the object from the object's selection.
a #GObject instance that implements AtkSelectionIface
a #gint specifying the index in the selection set. (e.g. the
ith selection as opposed to the ith child).
TRUE if success, FALSE otherwise.
Causes every child of the object to be selected if the object
supports multiple selections.
a #GObject instance that implements AtkSelectionIface
TRUE if success, FALSE otherwise.
Embeds the children of an #AtkPlug as the children of the
#AtkSocket. The plug may be in the same process or in a different
process.
The class item used by this function should be filled in by the IPC
layer (usually at-spi2-atk). The implementor of the AtkSocket
should call this function and pass the id for the plug as returned
by atk_plug_get_id(). It is the responsibility of the application
to pass the plug id on to the process implementing the #AtkSocket
as needed.
Since: 1.30
an #AtkSocket
the ID of an #AtkPlug
Determines whether or not the socket has an embedded plug.
Since: 1.30
an #AtkSocket
TRUE if a plug is embedded in the socket
Adds the state of the specified type to the state set if it is not already
present.
Note that because an #AtkStateSet is a read-only object, this method should
be used to add a state to a newly-created set which will then be returned by
#atk_object_ref_state_set. It should not be used to modify the existing state
of an object. See also #atk_object_notify_state_change.
an #AtkStateSet
an #AtkStateType
%TRUE if the state for @type is not already in @set.
Adds the states of the specified types to the state set.
Note that because an #AtkStateSet is a read-only object, this method should
be used to add states to a newly-created set which will then be returned by
#atk_object_ref_state_set. It should not be used to modify the existing state
of an object. See also #atk_object_notify_state_change.
an #AtkStateSet
an array of #AtkStateType
The number of elements in the array
Constructs the intersection of the two sets, returning %NULL if the
intersection is empty.
an #AtkStateSet
another #AtkStateSet
a new #AtkStateSet which is the intersection of
the two sets.
Removes all states from the state set.
an #AtkStateSet
Checks whether the state for the specified type is in the specified set.
an #AtkStateSet
an #AtkStateType
%TRUE if @type is the state type is in @set.
Checks whether the states for all the specified types are in the
specified set.
an #AtkStateSet
an array of #AtkStateType
The number of elements in the array
%TRUE if all the states for @type are in @set.
Checks whether the state set is empty, i.e. has no states set.
an #AtkStateType
%TRUE if @set has no states set, otherwise %FALSE
Creates a new empty state set.
a new #AtkStateSet
Constructs the union of the two sets.
an #AtkStateSet
another #AtkStateSet
a new #AtkStateSet which is
the union of the two sets, returning %NULL is empty.
Removes the state for the specified type from the state set.
Note that because an #AtkStateSet is a read-only object, this method should
be used to remove a state to a newly-created set which will then be returned
by #atk_object_ref_state_set. It should not be used to modify the existing
state of an object. See also #atk_object_notify_state_change.
an #AtkStateSet
an #AtkType
%TRUE if @type was the state type is in @set.
Constructs the exclusive-or of the two sets, returning %NULL is empty.
The set returned by this operation contains the states in exactly
one of the two sets.
an #AtkStateSet
another #AtkStateSet
a new #AtkStateSet which contains the states
which are in exactly one of the two sets.
Gets the #AtkStateType corresponding to the description string @name.
a character string state name
an #AtkStateType corresponding to @name
Gets the description string describing the #AtkStateType @type.
The #AtkStateType whose name is required
the string describing the AtkStateType
Register a new object state.
a character string describing the new state.
an #AtkState value for the new state.
Gets the character string of the specified mime type. The first mime
type is at position 0, the second at position 1, and so on.
a GObject instance that implements AtkStreamableContent
a gint representing the position of the mime type starting from 0
a gchar* representing the specified mime type; the caller
should not free the character string.
Gets the number of mime types supported by this object.
a GObject instance that implements AtkStreamableContentIface
a gint which is the number of mime types supported by the object.
Gets the content in the specified mime type.
a GObject instance that implements AtkStreamableContentIface
a gchar* representing the mime type
A #GIOChannel which contains the content in the
specified mime type.
Get a string representing a URI in IETF standard format
(see http://www.ietf.org/rfc/rfc2396.txt) from which the object's content
may be streamed in the specified mime-type, if one is available.
If mime_type is NULL, the URI for the default (and possibly only) mime-type is
returned.
Note that it is possible for get_uri to return NULL but for
get_stream to work nonetheless, since not all GIOChannels connect to URIs.
Since: 1.12
a GObject instance that implements AtkStreamableContentIface
a gchar* representing the mime type, or NULL to request a URI
for the default mime type.
Returns a string representing a URI, or %NULL
if no corresponding URI can be constructed.
Adds the specified @column to the selection.
a GObject instance that implements AtkTableIface
a #gint representing a column in @table
a gboolean representing if the column was successfully added to
the selection, or 0 if value does not implement this interface.
Adds the specified @row to the selection.
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a gboolean representing if row was successfully added to selection,
or 0 if value does not implement this interface.
Returns the column headers as an array of cell accessibles.
Since: 2.12
a GObject instance that implements AtkTableCellIface
a GPtrArray of AtkObjects
representing the column header cells.
Returns the number of columns occupied by this cell accessible.
Since: 2.12
a GObject instance that implements AtkTableCellIface
a gint representing the number of columns occupied by this cell,
or 0 if the cell does not implement this method.
Retrieves the tabular position of this cell.
Since: 2.12
a GObject instance that implements AtkTableCellIface
the row of the given cell.
the column of the given cell.
TRUE if successful; FALSE otherwise.
Gets the row and column indexes and span of this cell accessible.
Note: If the object does not implement this function, then, by default, atk
will implement this function by calling get_row_span and get_column_span
on the object.
Since: 2.12
a GObject instance that implements AtkTableCellIface
the row index of the given cell.
the column index of the given cell.
the number of rows occupied by this cell.
the number of columns occupied by this cell.
TRUE if successful; FALSE otherwise.
Returns the row headers as an array of cell accessibles.
Since: 2.12
a GObject instance that implements AtkTableCellIface
a GPtrArray of AtkObjects
representing the row header cells.
Returns the number of rows occupied by this cell accessible.
Since: 2.12
a GObject instance that implements AtkTableCellIface
a gint representing the number of rows occupied by this cell,
or 0 if the cell does not implement this method.
Returns a reference to the accessible of the containing table.
Since: 2.12
a GObject instance that implements AtkTableCellIface
the atk object for the containing table.
Gets the caption for the @table.
a GObject instance that implements AtkTableInterface
a AtkObject* representing the
table caption, or %NULL if value does not implement this interface.
Gets a #gint representing the column at the specified @index_.
Deprecated: Since 2.12.
a GObject instance that implements AtkTableInterface
a #gint representing an index in @table
a gint representing the column at the specified index,
or -1 if the table does not implement this method.
Gets the description text of the specified @column in the table
a GObject instance that implements AtkTableIface
a #gint representing a column in @table
a gchar* representing the column description, or %NULL
if value does not implement this interface.
Gets the number of columns occupied by the accessible object
at the specified @row and @column in the @table.
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a #gint representing a column in @table
a gint representing the column extent at specified position, or 0
if value does not implement this interface.
Gets the column header of a specified column in an accessible table.
a GObject instance that implements AtkTableIface
a #gint representing a column in the table
a AtkObject* representing the
specified column header, or %NULL if value does not implement this
interface.
Gets a #gint representing the index at the specified @row and
@column.
Deprecated: Since 2.12. Use atk_table_ref_at() in order to get the
accessible that represents the cell at (@row, @column)
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a #gint representing a column in @table
a #gint representing the index at specified position.
The value -1 is returned if the object at row,column is not a child
of table or table does not implement this interface.
Gets the number of columns in the table.
a GObject instance that implements AtkTableIface
a gint representing the number of columns, or 0
if value does not implement this interface.
Gets the number of rows in the table.
a GObject instance that implements AtkTableIface
a gint representing the number of rows, or 0
if value does not implement this interface.
Gets a #gint representing the row at the specified @index_.
Deprecated: since 2.12.
a GObject instance that implements AtkTableInterface
a #gint representing an index in @table
a gint representing the row at the specified index,
or -1 if the table does not implement this method.
Gets the description text of the specified row in the table
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a gchar* representing the row description, or
%NULL if value does not implement this interface.
Gets the number of rows occupied by the accessible object
at a specified @row and @column in the @table.
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a #gint representing a column in @table
a gint representing the row extent at specified position, or 0
if value does not implement this interface.
Gets the row header of a specified row in an accessible table.
a GObject instance that implements AtkTableIface
a #gint representing a row in the table
a AtkObject* representing the
specified row header, or %NULL if value does not implement this
interface.
Gets the selected columns of the table by initializing **selected with
the selected column numbers. This array should be freed by the caller.
a GObject instance that implements AtkTableIface
a #gint** that is to contain the selected columns numbers
a gint representing the number of selected columns,
or %0 if value does not implement this interface.
Gets the selected rows of the table by initializing **selected with
the selected row numbers. This array should be freed by the caller.
a GObject instance that implements AtkTableIface
a #gint** that is to contain the selected row numbers
a gint representing the number of selected rows,
or zero if value does not implement this interface.
Gets the summary description of the table.
a GObject instance that implements AtkTableIface
a AtkObject* representing a summary description
of the table, or zero if value does not implement this interface.
Gets a boolean value indicating whether the specified @column
is selected
a GObject instance that implements AtkTableIface
a #gint representing a column in @table
a gboolean representing if the column is selected, or 0
if value does not implement this interface.
Gets a boolean value indicating whether the specified @row
is selected
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a gboolean representing if the row is selected, or 0
if value does not implement this interface.
Gets a boolean value indicating whether the accessible object
at the specified @row and @column is selected
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a #gint representing a column in @table
a gboolean representing if the cell is selected, or 0
if value does not implement this interface.
Get a reference to the table cell at @row, @column. This cell
should implement the interface #AtkTableCell
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a #gint representing a column in @table
an #AtkObject representing the referred
to accessible
Adds the specified @column to the selection.
a GObject instance that implements AtkTableIface
a #gint representing a column in @table
a gboolean representing if the column was successfully removed from
the selection, or 0 if value does not implement this interface.
Removes the specified @row from the selection.
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a gboolean representing if the row was successfully removed from
the selection, or 0 if value does not implement this interface.
Sets the caption for the table.
a GObject instance that implements AtkTableIface
a #AtkObject representing the caption to set for @table
Sets the description text for the specified @column of the @table.
a GObject instance that implements AtkTableIface
a #gint representing a column in @table
a #gchar representing the description text
to set for the specified @column of the @table
Sets the specified column header to @header.
a GObject instance that implements AtkTableIface
a #gint representing a column in @table
an #AtkTable
Sets the description text for the specified @row of @table.
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
a #gchar representing the description text
to set for the specified @row of @table
Sets the specified row header to @header.
a GObject instance that implements AtkTableIface
a #gint representing a row in @table
an #AtkTable
Sets the summary description of the table.
a GObject instance that implements AtkTableIface
an #AtkObject representing the summary description
to set for @table
Adds a selection bounded by the specified offsets.
an #AtkText
the start position of the selected region
the offset of the first character after the selected region.
%TRUE if success, %FALSE otherwise
Get the #AtkTextAttribute type corresponding to a text attribute name.
a string which is the (non-localized) name of an ATK text attribute.
the #AtkTextAttribute enumerated type corresponding to the specified
name,
or #ATK_TEXT_ATTRIBUTE_INVALID if no matching text attribute is found.
Gets the name corresponding to the #AtkTextAttribute
The #AtkTextAttribute whose name is required
a string containing the name; this string should not be freed
Gets the value for the index of the #AtkTextAttribute
The #AtkTextAttribute for which a value is required
The index of the required value
a string containing the value; this string
should not be freed; %NULL is returned if there are no values
maintained for the attr value.
Associate @name with a new #AtkTextAttribute
a name string
an #AtkTextAttribute associated with @name
Frees the memory associated with an array of AtkTextRange. It is assumed
that the array was returned by the function atk_text_get_bounded_ranges
and is NULL terminated.
Since: 1.3
A pointer to an array of #AtkTextRange which is
to be freed.
Get the ranges of text in the specified bounding box.
Since: 1.3
an #AtkText
An AtkTextRectangle giving the dimensions of the bounding box.
Specify whether coordinates are relative to the screen or widget window.
Specify the horizontal clip type.
Specify the vertical clip type.
Array of AtkTextRange. The last
element of the array returned by this function will be NULL.
Gets the offset position of the caret (cursor).
an #AtkText
the offset position of the caret (cursor).
Gets the specified text.
an #AtkText
position
the character at @offset.
Gets the character count.
an #AtkText
the number of characters.
Get the bounding box containing the glyph representing the character at
a particular text offset.
an #AtkText
The offset of the text character for which bounding information is required.
Pointer for the x cordinate of the bounding box
Pointer for the y cordinate of the bounding box
Pointer for the width of the bounding box
Pointer for the height of the bounding box
specify whether coordinates are relative to the screen or widget window
Creates an #AtkAttributeSet which consists of the default values of
attributes for the text. See the enum AtkTextAttribute for types of text
attributes that can be returned. Note that other attributes may also be
returned.
an #AtkText
an #AtkAttributeSet which contains the default
values of attributes. at @offset. this #atkattributeset should be freed by
a call to atk_attribute_set_free().
Gets the number of selected regions.
an #AtkText
The number of selected regions, or -1 if a failure
occurred.
Gets the offset of the character located at coordinates @x and @y. @x and @y
are interpreted as being relative to the screen or this widget's window
depending on @coords.
an #AtkText
screen x-position of character
screen y-position of character
specify whether coordinates are relative to the screen or
widget window
the offset to the character which is located at
the specified @x and @y coordinates.
Get the bounding box for text within the specified range.
Since: 1.3
an #AtkText
The offset of the first text character for which boundary
information is required.
The offset of the text character after the last character
for which boundary information is required.
Specify whether coordinates are relative to the screen or widget window.
A pointer to a AtkTextRectangle which is filled in by this function.
Creates an #AtkAttributeSet which consists of the attributes explicitly
set at the position @offset in the text. @start_offset and @end_offset are
set to the start and end of the range around @offset where the attributes are
invariant. Note that @end_offset is the offset of the first character
after the range. See the enum AtkTextAttribute for types of text
attributes that can be returned. Note that other attributes may also be
returned.
an #AtkText
the offset at which to get the attributes, -1 means the offset of
the character to be inserted at the caret location.
the address to put the start offset of the range
the address to put the end offset of the range
an #AtkAttributeSet which contains the attributes
explicitly set at @offset. This #AtkAttributeSet should be freed by a call
to atk_attribute_set_free().
Gets the text from the specified selection.
an #AtkText
The selection number. The selected regions are
assigned numbers that correspond to how far the region is from the
start of the text. The selected region closest to the beginning
of the text region is assigned the number 0, etc. Note that adding,
moving or deleting a selected region can change the numbering.
passes back the start position of the selected region
passes back the end position of (e.g. offset immediately past)
the selected region
a newly allocated string containing the selected text. Use g_free()
to free the returned string.
Gets a portion of the text exposed through an #AtkText according to a given @offset
and a specific @granularity, along with the start and end offsets defining the
boundaries of such a portion of text.
If @granularity is ATK_TEXT_GRANULARITY_CHAR the character at the
offset is returned.
If @granularity is ATK_TEXT_GRANULARITY_WORD the returned string
is from the word start at or before the offset to the word start after
the offset.
The returned string will contain the word at the offset if the offset
is inside a word and will contain the word before the offset if the
offset is not inside a word.
If @granularity is ATK_TEXT_GRANULARITY_SENTENCE the returned string
is from the sentence start at or before the offset to the sentence
start after the offset.
The returned string will contain the sentence at the offset if the offset
is inside a sentence and will contain the sentence before the offset
if the offset is not inside a sentence.
If @granularity is ATK_TEXT_GRANULARITY_LINE the returned string
is from the line start at or before the offset to the line
start after the offset.
If @granularity is ATK_TEXT_GRANULARITY_PARAGRAPH the returned string
is from the start of the paragraph at or before the offset to the start
of the following paragraph after the offset.
Since: 2.10
an #AtkText
position
An #AtkTextGranularity
the start offset of the returned string, or -1
if an error has occurred (e.g. invalid offset, not implemented)
the offset of the first character after the returned string,
or -1 if an error has occurred (e.g. invalid offset, not implemented)
a newly allocated string containing the text
at the @offset bounded by the specified @granularity. Use
g_free() to free the returned string. Returns %NULL if the
offset is invalid or no implementation is available.
Gets the specified text.
an #AtkText
start position
end position, or -1 for the end of the string.
a newly allocated string containing the text from @start_offset up
to, but not including @end_offset. Use g_free() to free the returned string.
Gets the specified text.
Deprecated: 2.9.3: Please use atk_text_get_string_at_offset() instead.
an #AtkText
position
An #AtkTextBoundary
the start offset of the returned string
the offset of the first character after the
returned substring
a newly allocated string containing the text after @offset bounded
by the specified @boundary_type. Use g_free() to free the returned string.
Gets the specified text.
If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character at the
offset is returned.
If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string
is from the word start at or before the offset to the word start after
the offset.
The returned string will contain the word at the offset if the offset
is inside a word and will contain the word before the offset if the
offset is not inside a word.
If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned
string is from the sentence start at or before the offset to the sentence
start after the offset.
The returned string will contain the sentence at the offset if the offset
is inside a sentence and will contain the sentence before the offset
if the offset is not inside a sentence.
If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned
string is from the line start at or before the offset to the line
start after the offset.
Deprecated: This method is deprecated since ATK version
2.9.4. Please use atk_text_get_string_at_offset() instead.
an #AtkText
position
An #AtkTextBoundary
the start offset of the returned string
the offset of the first character after the
returned substring
a newly allocated string containing the text at @offset bounded by
the specified @boundary_type. Use g_free() to free the returned string.
Gets the specified text.
Deprecated: 2.9.3: Please use atk_text_get_string_at_offset() instead.
an #AtkText
position
An #AtkTextBoundary
the start offset of the returned string
the offset of the first character after the
returned substring
a newly allocated string containing the text before @offset bounded
by the specified @boundary_type. Use g_free() to free the returned string.
Removes the specified selection.
an #AtkText
The selection number. The selected regions are
assigned numbers that correspond to how far the region is from the
start of the text. The selected region closest to the beginning
of the text region is assigned the number 0, etc. Note that adding,
moving or deleting a selected region can change the numbering.
%TRUE if success, %FALSE otherwise
Sets the caret (cursor) position to the specified @offset.
an #AtkText
position
%TRUE if success, %FALSE otherwise.
Changes the start and end offset of the specified selection.
an #AtkText
The selection number. The selected regions are
assigned numbers that correspond to how far the region is from the
start of the text. The selected region closest to the beginning
of the text region is assigned the number 0, etc. Note that adding,
moving or deleting a selected region can change the numbering.
the new start position of the selection
the new end position of (e.g. offset immediately past)
the selection
%TRUE if success, %FALSE otherwise
Gets the value of this object.
Deprecated: Since 2.12. Use atk_value_get_value_and_text()
instead.
a GObject instance that implements AtkValueIface
a #GValue representing the current accessible value
Gets the minimum increment by which the value of this object may be
changed. If zero, the minimum increment is undefined, which may
mean that it is limited only by the floating point precision of the
platform.
Since: 2.12
a GObject instance that implements AtkValueIface
the minimum increment by which the value of this
object may be changed. zero if undefined.
Gets the maximum value of this object.
Deprecated: Since 2.12. Use atk_value_get_range() instead.
a GObject instance that implements AtkValueIface
a #GValue representing the maximum accessible value
Gets the minimum increment by which the value of this object may be changed. If zero,
the minimum increment is undefined, which may mean that it is limited only by the
floating point precision of the platform.
Since: 1.12
Deprecated: Since 2.12. Use atk_value_get_increment() instead.
a GObject instance that implements AtkValueIface
a #GValue representing the minimum increment by which the accessible value may be changed
Gets the minimum value of this object.
Deprecated: Since 2.12. Use atk_value_get_range() instead.
a GObject instance that implements AtkValueIface
a #GValue representing the minimum accessible value
Gets the range of this object.
Since: 2.12
a GObject instance that implements AtkValueIface
a newly allocated #AtkRange
that represents the minimum, maximum and descriptor (if available)
of @obj. NULL if that range is not defined.
Gets the list of subranges defined for this object. See #AtkValue
introduction for examples of subranges and when to expose them.
Since: 2.12
a GObject instance that implements AtkValueIface
an #GSList of
#AtkRange which each of the subranges defined for this object. Free
the returns list with g_slist_free().
Gets the current value and the human readable text alternative of
@obj. @text is a newly created string, that must be freed by the
caller. Can be NULL if no descriptor is available.
Since: 2.12
a GObject instance that implements AtkValueIface
address of #gdouble to put the current value of @obj
address of #gchar to put the human
readable text alternative for @value
Sets the value of this object.
Deprecated: Since 2.12. Use atk_value_set_value() instead.
a GObject instance that implements AtkValueIface
a #GValue which is the desired new accessible value.
%TRUE if new value is successfully set, %FALSE otherwise.
Sets the value of this object.
This method is intended to provide a way to change the value of the
object. In any case, it is possible that the value can't be
modified (ie: a read-only component). If the value changes due this
call, it is possible that the text could change, and will trigger
an #AtkValue::value-changed signal emission.
Note for implementors: the deprecated atk_value_set_current_value()
method returned TRUE or FALSE depending if the value was assigned
or not. In the practice several implementors were not able to
decide it, and returned TRUE in any case. For that reason it is not
required anymore to return if the value was properly assigned or
not.
Since: 2.12
a GObject instance that implements AtkValueIface
a double which is the desired new accessible value.
Gets the localized description string describing the #AtkValueType @value_type.
The #AtkValueType whose localized name is required
the localized string describing the #AtkValueType
Gets the description string describing the #AtkValueType @value_type.
The #AtkValueType whose name is required
the string describing the #AtkValueType