GObject.Object
Atk.Object
Atk.GObjectAccessible
Cally.Actor
Cally.Text
Import line: | Cally = imports.gi.Cally; |
GIR File: | Cally-1.0.gir |
C documentation: | CallyText |
Class : | Text |
Implements: | Atk.Action, Atk.Component, Atk.EditableText, Atk.Text |
Extends: | Cally.Actor |
Properties | Defined By | |
---|---|---|
accessible_component_layer : gint32
read only
|
Atk.Object | |
accessible_component_mdi_zorder : gint32
read only
|
Atk.Object | |
accessible_description : String
|
Atk.Object | |
accessible_hypertext_nlinks : gint32
read only
|
Atk.Object | |
accessible_name : String
|
Atk.Object | |
accessible_parent : Atk.Object
|
Atk.Object | |
accessible_role : gint32
|
Atk.Object | |
accessible_table_caption : String
|
Atk.Object | |
accessible_table_caption_object : Atk.Object
|
Atk.Object | |
accessible_table_column_description : String
|
Atk.Object | |
accessible_table_column_header : Atk.Object
|
Atk.Object | |
accessible_table_row_description : String
|
Atk.Object | |
accessible_table_row_header : Atk.Object
|
Atk.Object | |
accessible_table_summary : Atk.Object
|
Atk.Object | |
accessible_value : gdouble
|
Atk.Object | |
description : String
read only
|
Atk.Object | |
layer : Atk.Layer
read only
|
Atk.Object | |
name : String
read only
|
Atk.Object | |
parent : Cally.Actor
read only
|
Cally.Text | |
priv : Cally.TextPrivate
read only
|
Cally.Text | |
relation_set : Atk.RelationSet
read only
|
Atk.Object | |
role : Atk.Role
read only
|
Atk.Object |
Method / Constructor | Defined By | |
---|---|---|
new Cally.Text
(Object properties)
Create a new Cally.Text
Create a new Cally.Text
|
||
Create a new Cally.Text
Create a new Cally.Text
|
||
add_action
(String action_name, String action_description, String action_keybinding, Function callback, void* user_data, Function notify)
:
guint32
|
Cally.Actor | |
Adds a relationship of the specified type with the specified target.
Adds a relationship of the specified type with the specified target.
Returns TRUE if the relationship is added.
|
Atk.Object | |
Adds a selection bounded by the specified offsets.
|
Atk.Text | |
Checks whether the specified point is within the extent of the component.
Checks whether the specified point is within the extent of the component.
the extent of the component or not
|
Atk.Component | |
Atk.EditableText | ||
Copy text from start_pos up to, but not including end_pos
to the clipboard and then delete from the widget. |
Atk.EditableText | |
Atk.EditableText | ||
Atk.Action | ||
get_alpha
()
:
gdouble
Returns the alpha value (i.e.
Returns the alpha value (i.e. the opacity) for this
(fully opaque).
|
Atk.Component | |
get_attributes
()
:
Array
Get a list of properties applied to this object as a whole, as an AtkAttributeSet consisting of
name-value pairs.
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. properties/annotations applied to the object, or an empty set if the object has no name-value pair attributes assigned to it.
|
Atk.Object | |
get_bounded_ranges
(TextRectangle rect, CoordType coord_type, TextClipType x_clip_type, TextClipType y_clip_type)
:
Array
Get the ranges of text in the specified bounding box.
Get the ranges of text in the specified bounding box.
element of the array returned by this function will be NULL.
|
Atk.Text | |
get_caret_offset
()
:
gint32
Gets the offset position of the caret (cursor).
Gets the offset position of the caret (cursor).
|
Atk.Text | |
Atk.Text | ||
get_character_count
()
:
gint32
Gets the character count.
Gets the character count.
|
Atk.Text | |
get_character_extents
(gint32 offset, gint32 x, gint32 y, gint32 width, gint32 height, CoordType coords)
:
none
Get the bounding box containing the glyph representing the character at
a particular text offset.
Get the bounding box containing the glyph representing the character at
a particular text offset.
|
Atk.Text | |
get_default_attributes
()
:
Array
Creates an AtkAttributeSet which consists of the default values of
attributes for the text.
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. values of attributes. at offset. this atkattributeset should be freed by a call to atk_attribute_set_free().
|
Atk.Text | |
get_description
()
:
String
Gets the accessible description of the accessible.
Gets the accessible description of the accessible.
of the accessible.
|
Atk.Object | |
Gets the rectangle which gives the extent of the component.
Gets the rectangle which gives the extent of the component.
|
Atk.Component | |
get_index_in_parent
()
:
gint32
Gets the 0-based index of this accessible in its parent; returns -1 if the
accessible does not have an accessible parent.
Gets the 0-based index of this accessible in its parent; returns -1 if the
accessible does not have an accessible parent.
|
Atk.Object | |
Returns a keybinding associated with this action, if one exists.
Returns a keybinding associated with this action, if one exists.
The returned string is in the format ";; (i.e. semicolon-delimited), where is the keybinding which activates the object if it is presently enabled onscreen, corresponds to the keybinding or sequence of keys which invokes the action even if the relevant element is not currently posted on screen (for instance, for a menu item it posts the parent menus before invoking). The last token in the above string, if non-empty, represents a keyboard shortcut which invokes the same action without posting the component or its enclosing menus or dialogs. Returns a string representing the available keybindings, or NULL if there is no keybinding for this action.
|
Atk.Action | |
get_layer
()
:
Atk.Layer
Gets the layer of the component.
Gets the layer of the component.
|
Atk.Component | |
Returns the localized name of the specified action of the object.
|
Atk.Action | |
get_mdi_zorder
()
:
gint32
Gets the zorder 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. which the component is shown in relation to other components in the same container.
|
Atk.Component | |
get_n_accessible_children
()
:
gint32
Gets the number of accessible children of the accessible.
Gets the number of accessible children of the accessible.
of the accessible.
|
Atk.Object | |
get_n_actions
()
:
gint32
Gets the number of accessible actions available on the object.
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. implement this interface.
|
Atk.Action | |
get_n_selections
()
:
gint32
Gets the number of selected regions.
Gets the number of selected regions.
occurred.
|
Atk.Text | |
get_name
()
:
String
Gets the accessible name of the accessible.
Gets the accessible name of the accessible.
|
Atk.Object | |
get_object
()
:
GObject.Object
Gets the GObject for which obj is the accessible object.
Gets the GObject for which obj is the accessible object.
the accessible object
|
Atk.GObjectAccessible | |
Gets the offset of the character located at coordinates x and y.
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. the specified x and y coordinates.
|
Atk.Text | |
get_parent
()
:
Atk.Object
Gets the accessible parent of the accessible.
Gets the accessible parent of the accessible.
of the accessible
|
Atk.Object | |
Gets the position of component in the form of
a point specifying component's top-left corner.
Gets the position of component in the form of
a point specifying component's top-left corner.
|
Atk.Component | |
get_range_extents
(gint32 start_offset, gint32 end_offset, CoordType coord_type, TextRectangle rect)
:
none
Get the bounding box for text within the specified range.
Get the bounding box for text within the specified range.
|
Atk.Text | |
get_role
()
:
Atk.Role
Gets the role of the accessible.
Gets the role of the accessible.
|
Atk.Object | |
Creates an AtkAttributeSet which consists of the attributes explicitly
set at the position offset in the text.
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. explicitly set at offset. This AtkAttributeSet should be freed by a call to atk_attribute_set_free().
|
Atk.Text | |
Gets the text from the specified selection.
Gets the text from the specified selection.
|
Atk.Text | |
Atk.Component | ||
Atk.Text | ||
get_text_after_offset
(gint32 offset, TextBoundary boundary_type, gint32 start_offset, gint32 end_offset)
:
String
Gets the specified text.
Gets the specified text.
If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character after the offset is returned. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after 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 after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after 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 after the offset to the next line start. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end at or after the offset to the next line end.
|
Atk.Text | |
get_text_at_offset
(gint32 offset, TextBoundary boundary_type, gint32 start_offset, gint32 end_offset)
:
String
Gets the specified text.
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_WORD_END the returned string is from the word end before the offset to the word end at or 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 after to 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_SENTENCE_END the returned string is from the sentence end before the offset to the sentence end at or 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 after 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. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the offset to the line end at or after the offset.
|
Atk.Text | |
get_text_before_offset
(gint32 offset, TextBoundary boundary_type, gint32 start_offset, gint32 end_offset)
:
String
Gets the specified text.
Gets the specified text.
If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character before the offset is returned. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start before the word start before the offset to the word start before the offset. The returned string will contain the word before the offset if the offset is inside a word and will contain the word before the word before the offset if the offset is not inside a word. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end before the word end at or before the offset to the word end at or before the offset. The returned string will contain the word before the offset if the offset is inside a word or 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 before the sentence start before the offset to the sentence start before the offset. The returned string will contain the sentence before the offset if the offset is inside a sentence and will contain the sentence before the sentence before the offset if the offset is not inside a sentence. If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end before the sentence end at or before the offset to the sentence end at or before the offset. The returned string will contain the sentence before the offset if the offset is inside a sentence or 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 before the line start ar or before the offset to the line start ar or before the offset. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the line end before the offset to the line end before the offset.
|
Atk.Text | |
grab_focus
()
:
gboolean
Grabs focus for this component.
Grabs focus for this component.
|
Atk.Component | |
initialize
(void* data)
:
none
This function is called when implementing subclasses of AtkObject.
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
|
Atk.Object | |
Insert text at a given position.
Insert text at a given position.
|
Atk.EditableText | |
Emits a state-change signal for the specified state.
|
Atk.Object | |
paste_text
(gint32 position)
:
none
Paste text from clipboard to specified position.
Paste text from clipboard to specified position.
|
Atk.EditableText | |
Gets a reference to the accessible child, if one exists, at the
coordinate point specified by x and y.
Gets a reference to the accessible child, if one exists, at the
coordinate point specified by x and y.
|
Atk.Component | |
ref_accessible_child
(gint32 i)
:
Atk.Object
Gets a reference to the specified accessible child of the object.
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. accessible child of the accessible.
|
Atk.Object | |
ref_relation_set
()
:
Atk.RelationSet
Gets the AtkRelationSet associated with the object.
Gets the AtkRelationSet associated with the object.
of the object.
|
Atk.Object | |
ref_state_set
()
:
Atk.StateSet
Gets a reference to the state set of the accessible; the caller must
unreference it when it is no longer needed.
Gets a reference to the state set of the accessible; the caller must
unreference it when it is no longer needed. set of the accessible
|
Atk.Object | |
Cally.Actor | ||
Cally.Actor | ||
remove_focus_handler
(guint32 handler_id)
:
none
Remove the handler specified by handler_id from the list of
functions to be executed when this object receives focus events (in or out).
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 | |
remove_property_change_handler
(guint32 handler_id)
:
none
Removes a property change handler.
Removes a property change handler.
|
Atk.Object | |
Removes a relationship of the specified type with the specified target.
Removes a relationship of the specified type with the specified target.
Returns TRUE if the relationship is removed.
|
Atk.Object | |
Removes the specified selection.
Removes the specified selection.
|
Atk.Text | |
Atk.Text | ||
set_description
(String description)
:
none
Sets the accessible description of the accessible.
Sets the accessible description of the accessible.
|
Atk.Object | |
Sets the extents of component.
Sets the extents of component.
|
Atk.Component | |
set_name
(String name)
:
none
Sets the accessible name of the accessible.
Sets the accessible name of the accessible.
|
Atk.Object | |
set_parent
(Object parent)
:
none
Sets the accessible parent of the accessible.
Sets the accessible parent of the accessible.
|
Atk.Object | |
Sets the postition of component.
Sets the postition of component.
|
Atk.Component | |
set_role
(Role role)
:
none
Sets the role of the accessible.
Sets the role of the accessible.
|
Atk.Object | |
Atk.EditableText | ||
Changes the start and end offset of the specified selection.
Changes the start and end offset of the specified selection.
|
Atk.Text | |
Set the size of the component in terms of width and height.
|
Atk.Component | |
set_text_contents
(String string)
:
none
Set text contents of text.
Set text contents of text.
|
Atk.EditableText |
Event | Defined By | |
---|---|---|
|
Atk.Object | |
|
Atk.Component | |
|
Atk.Object | |
|
Atk.Object | |
|
Atk.Object | |
|
Atk.Object | |
text_attributes_changed (Text self)
:
none
|
Atk.Text | |
Atk.Text | ||
Atk.Text | ||
Atk.Text | ||
Atk.Text | ||
text_selection_changed (Text self)
:
none
|
Atk.Text | |
Atk.Text | ||
visible_data_changed (Object self)
:
none
|
Atk.Object |