Class
GtkTextViewAccessible
Instance methods
Methods inherited from GtkAccessible (3)
gtk_accessible_connect_widget_destroyed
This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.
deprecated: 3.4
gtk_accessible_get_widget
Gets the GtkWidget
corresponding to the GtkAccessible
.
The returned widget does not have a reference added, so
you do not need to unref it.
since: 2.22
gtk_accessible_set_widget
Sets the GtkWidget
corresponding to the GtkAccessible
.
since: 2.22
Methods inherited from AtkComponent (16)
atk_component_add_focus_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.
atk_component_contains
Checks whether the specified point is within the extent of the component
.
atk_component_get_alpha
Returns the alpha value (i.e. the opacity) for this
component
, on a scale from 0 (fully transparent) to 1.0
(fully opaque).
atk_component_get_extents
Gets the rectangle which gives the extent of the component
.
atk_component_get_layer
Gets the layer of the component.
atk_component_get_mdi_zorder
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.
atk_component_get_position
Gets the position of component
in the form of
a point specifying component
‘s top-left corner.
atk_component_get_size
Gets the size of the component
in terms of width and height.
atk_component_grab_focus
Grabs focus for this component
.
atk_component_ref_accessible_at_point
Gets a reference to the accessible child, if one exists, at the
coordinate point specified by x
and y
.
atk_component_remove_focus_handler
Remove the handler specified by handler_id
from the list of
functions to be executed when this object receives focus events
(in or out).
atk_component_scroll_to
Makes component
visible on the screen by scrolling all necessary parents.
atk_component_scroll_to_point
Move the top-left of component
to a given position of the screen by
scrolling all necessary parents.
atk_component_set_extents
Sets the extents of component
.
atk_component_set_position
Sets the position of component
.
atk_component_set_size
Set the size of the component
in terms of width and height.
Methods inherited from AtkEditableText (7)
atk_editable_text_copy_text
Copy text from start_pos
up to, but not including end_pos
to the clipboard.
atk_editable_text_cut_text
Copy text from start_pos
up to, but not including end_pos
to the clipboard and then delete from the widget.
atk_editable_text_delete_text
Delete text start_pos
up to, but not including end_pos
.
atk_editable_text_insert_text
Insert text at a given position.
atk_editable_text_paste_text
Paste text from clipboard to specified position
.
atk_editable_text_set_run_attributes
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.
atk_editable_text_set_text_contents
Set text contents of text
.
Methods inherited from AtkStreamableContent (4)
atk_streamable_content_get_mime_type
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.
atk_streamable_content_get_n_mime_types
Gets the number of mime types supported by this object.
atk_streamable_content_get_stream
Gets the content in the specified mime type.
atk_streamable_content_get_uri
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.
Methods inherited from AtkText (22)
atk_text_add_selection
Adds a selection bounded by the specified offsets.
atk_text_get_bounded_ranges
Get the ranges of text in the specified bounding box.
atk_text_get_caret_offset
Gets the offset of the position of the caret (cursor).
atk_text_get_character_at_offset
Gets the specified text.
atk_text_get_character_count
Gets the character count.
atk_text_get_character_extents
If the extent can not be obtained (e.g. missing support), all of x, y, width, height are set to -1.
atk_text_get_default_attributes
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.
atk_text_get_n_selections
Gets the number of selected regions.
atk_text_get_offset_at_point
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
.
atk_text_get_range_extents
Get the bounding box for text within the specified range.
atk_text_get_run_attributes
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.
atk_text_get_selection
Gets the text from the specified selection.
atk_text_get_string_at_offset
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.
atk_text_get_text
Gets the specified text.
atk_text_get_text_after_offset
Gets the specified text.
atk_text_get_text_at_offset
Gets the specified text.
atk_text_get_text_before_offset
Gets the specified text.
atk_text_remove_selection
Removes the specified selection.
atk_text_scroll_substring_to
Makes a substring of text
visible on the screen by scrolling all necessary parents.
atk_text_scroll_substring_to_point
Move the top-left of a substring of text
to a given position of the screen
by scrolling all necessary parents.
atk_text_set_caret_offset
Sets the caret (cursor) position to the specified offset
.
atk_text_set_selection
Changes the start and end offset of the specified selection.
Properties
Properties inherited from GtkAccessible (1)
Properties inherited from AtkObject (15)
Atk.Object:accessible-component-layer
Atk.Object:accessible-component-mdi-zorder
Atk.Object:accessible-description
Atk.Object:accessible-hypertext-nlinks
Atk.Object:accessible-name
Atk.Object:accessible-parent
Atk.Object:accessible-role
Atk.Object:accessible-table-caption
Table caption.
Atk.Object:accessible-table-caption-object
Atk.Object:accessible-table-column-description
Accessible table column description.
Atk.Object:accessible-table-column-header
Accessible table column header.
Atk.Object:accessible-table-row-description
Accessible table row description.
Atk.Object:accessible-table-row-header
Accessible table row header.
Atk.Object:accessible-table-summary
Atk.Object:accessible-value
Numeric value of this object, in case being and AtkValue.
Signals
Signals inherited from AtkObject (8)
AtkObject::active-descendant-changed
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.
AtkObject::announcement
The “announcement” signal can be emitted to pass an announcement on to be read by a screen reader.
AtkObject::children-changed
The signal “children-changed” is emitted when a child is added or removed form an object. It supports two details: “add” and “remove”.
AtkObject::focus-event
The signal “focus-event” is emitted when an object gained or lost focus.
AtkObject::notification
The “notification” signal can be emitted to pass an announcement on to be read by a screen reader.
AtkObject::property-change
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.
AtkObject::state-change
The “state-change” signal is emitted when an object’s state changes. The detail value identifies the state type which has changed.
AtkObject::visible-data-changed
The “visible-data-changed” signal is emitted when the visual appearance of the object changed.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from AtkComponent (1)
AtkComponent::bounds-changed
The ‘bounds-changed” signal is emitted when the bposition or size of the component changes.
Signals inherited from AtkText (6)
AtkText::text-attributes-changed
The “text-attributes-changed” signal is emitted when the text attributes of the text of an object which implements AtkText changes.
AtkText::text-caret-moved
The “text-caret-moved” signal is emitted when the caret position of the text of an object which implements AtkText changes.
AtkText::text-changed
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.
AtkText::text-insert
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.
AtkText::text-remove
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.
AtkText::text-selection-changed
The “text-selection-changed” signal is emitted when the selected text of an object which implements AtkText changes.