From 044fc69874579678cd2af937cf63b9a7a8bf94c2 Mon Sep 17 00:00:00 2001 From: Padraig O'Briain Date: Wed, 28 Nov 2001 09:14:37 +0000 Subject: [PATCH] Add functions atk_role_get_name() and atk_role_for_name() which transform * atk/atkobject.[c|h]: Add functions atk_role_get_name() and atk_role_for_name() which transform a role into an untranslated string Update comments in atkobject.h which refer to property names * atk/atkrelation.c: Correct error in atk_relation_type_get_name * docs/atk-sections.txt Added atk_role_get_name and atk_role_for_name * docs/tmpl/*sgml Updated files --- ChangeLog | 16 ++++ atk/atkobject.c | 119 +++++++++++++++++++++++- atk/atkobject.h | 30 +++--- atk/atkrelation.c | 2 +- docs/atk-sections.txt | 2 + docs/tmpl/atk-unused.sgml | 180 ------------------------------------ docs/tmpl/atkaction.sgml | 24 ++++- docs/tmpl/atkcomponent.sgml | 24 +++-- docs/tmpl/atkdocument.sgml | 33 +++++++ docs/tmpl/atkeditabletext.sgml | 14 ++- docs/tmpl/atkimage.sgml | 26 +++++- docs/tmpl/atkobject.sgml | 62 +++++++++++++ docs/tmpl/atkrelation.sgml | 19 ++++ docs/tmpl/atkselection.sgml | 5 +- docs/tmpl/atkstate.sgml | 3 +- docs/tmpl/atkstreamablecontent.sgml | 45 +++++++++ docs/tmpl/atktable.sgml | 99 ++++++++++++++------ docs/tmpl/atktext.sgml | 116 ++++++++++++++++++++--- docs/tmpl/atkutil.sgml | 122 ++++++++++++++++++++++++ 19 files changed, 683 insertions(+), 258 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4dd1632..2f2e16f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2001-11-28 Padraig O'Briain + + * atk/atkobject.[c|h]: + Add functions atk_role_get_name() and atk_role_for_name() which + transform a role into an untranslated string + Update comments in atkobject.h which refer to property names + + * atk/atkrelation.c: + Correct error in atk_relation_type_get_name + + * docs/atk-sections.txt + Added atk_role_get_name and atk_role_for_name + + * docs/tmpl/*sgml + Updated files + 2001-11-23 Hans Breuer * atk/atk.def : updated externals diff --git a/atk/atkobject.c b/atk/atkobject.c index 17bd975..f3b3674 100755 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -24,7 +24,78 @@ #include "atk.h" #include "atkmarshal.h" -/* New GObject properties registered by AtkObject */ +static gchar *role_names[ATK_ROLE_LAST_DEFINED] = { + "invalid", + "accel_label", + "alert", + "animation", + "arrow", + "calendar", + "canvas", + "check_box", + "check_menu_item", + "color_chooser", + "column_header", + "combo_box", + "date_editor", + "desktop_icon", + "desktop_frame", + "dial", + "dialog", + "directory_pane", + "drawing_area", + "file_chooser", + "filler", + "font_chooser", + "frame", + "glass_pane", + "html_container", + "icon", + "image", + "internal_frame", + "label", + "layered_pane", + "list", + "list_item", + "menu", + "menu_bar", + "menu_item", + "option_pane", + "page_tab", + "page_tab_list", + "panel", + "password_text", + "popup_menu", + "progress_bar", + "push_button", + "radio_button", + "radio_menu_item", + "root_pane", + "row_header", + "scroll_bar", + "scroll_pane", + "separator", + "slider", + "split_pane", + "spin_button", + "statusbar", + "table", + "table_cell", + "table_column_header", + "table_row_header", + "tear_off_menu_item", + "terminal", + "text", + "toggle_button", + "tool_bar", + "tool_tip", + "tree", + "tree_table", + "unknown", + "viewport", + "window" +}; + enum { PROP_0, /* gobject convention */ @@ -1068,3 +1139,49 @@ atk_object_notify (GObject *obj, g_quark_from_string (pspec->name), &values, NULL); } + +/** + * atk_role_get_name: + * @type: The #AtkRole whose name is required + * + * Gets the description string describing the #Roleype @role. + * + * Returns: the string describing the AtkRole + */ +G_CONST_RETURN gchar* +atk_role_get_name (AtkRole role) +{ + gint n; + + n = role; + + if ((n >= 0) && (n < ATK_ROLE_LAST_DEFINED)) + return role_names[n]; + + return role_names[ATK_ROLE_INVALID]; +} + +/** + * atk_role_for_name: + * @name: a string which is the (non-localized) name of an ATK role. + * + * Get the #AtkRole type corresponding to a rolew name. + * + * Returns: the #AtkRole enumerated type corresponding to the specified +name, + * or #ATK_ROLE_INVALID if no matching role is found. + **/ +AtkRole +atk_role_for_name (const gchar *name) +{ + gint i; + + g_return_val_if_fail (name, ATK_ROLE_INVALID); + + for (i = 0; i < ATK_ROLE_LAST_DEFINED; i++) + { + if (strcmp (name, role_names[i]) == 0) + return i; + } + return ATK_ROLE_INVALID; +} diff --git a/atk/atkobject.h b/atk/atkobject.h index 576fecb..fa0f653 100755 --- a/atk/atkobject.h +++ b/atk/atkobject.h @@ -114,7 +114,7 @@ extern "C" { **/ typedef enum { - ATK_ROLE_INVALID, + ATK_ROLE_INVALID = 0, ATK_ROLE_ACCEL_LABEL, ATK_ROLE_ALERT, ATK_ROLE_ANIMATION, @@ -434,13 +434,6 @@ void atk_object_set_role (AtkObject *ac AtkRole role); -/* - * to install property change listener, one must - * install signal handler for gobject "properties_changed" signal. - * (for single notifications of multiple changes). - * We could use the "notify" signal instead. - * - */ guint atk_object_connect_property_change_handler (AtkObject *accessible, AtkPropertyChangeHandler *handler); void atk_object_remove_property_change_handler (AtkObject *accessible, @@ -450,6 +443,10 @@ void atk_object_notify_state_change (AtkObject AtkState state, gboolean value); +G_CONST_RETURN gchar* atk_role_get_name (AtkRole role); +AtkRole atk_role_for_name (const gchar *name); + + /* * Note: the properties which are registered with the GType * property registry, for type ATK_TYPE_OBJECT, are as follows: @@ -457,26 +454,23 @@ void atk_object_notify_state_change (AtkObject * "accessible-name" * "accessible-description" * "accessible-parent" - * "accessible-child" * "accessible-role" - * "accessible-state" - * "accessible-parent" - * "accessible-text" - * "accessible-caret" - * "accessible-selection" * "accessible-value" - * "accessible-visible-data" + * "accessible-component-layer" + * "accessible-component-zorder" * "accessible-table-caption" + * "accessible-table-column-description" * "accessible-table-column-header" - * "accessible-table-row-heaer" + * "accessible-table-row-description" + * "accessible-table-row-header" * "accessible-table-summary" * "accessible-model" * * accessibility property change listeners should use the - * normal GObject property interfaces and "properties_changed" + * normal GObject property interfaces and "property-change" * signal handler semantics to interpret the property change * information relayed from AtkObject. - * (AtkObject instances will connect to the "properties_changed" + * (AtkObject instances will connect to the "notify" * signal in their host objects, and relay the signals when appropriate). */ diff --git a/atk/atkrelation.c b/atk/atkrelation.c index 9737fb1..e4d32cc 100755 --- a/atk/atkrelation.c +++ b/atk/atkrelation.c @@ -116,7 +116,7 @@ atk_relation_type_get_name (AtkRelationType type) return g_ptr_array_index (extra_names, n); } } - return ATK_RELATION_NULL; + return relation_names[ATK_RELATION_NULL]; } diff --git a/docs/atk-sections.txt b/docs/atk-sections.txt index c2f5474..13aece2 100644 --- a/docs/atk-sections.txt +++ b/docs/atk-sections.txt @@ -171,6 +171,8 @@ atk_object_set_role atk_object_connect_property_change_handler atk_object_remove_property_change_handler atk_object_notify_state_change +atk_role_get_name +atk_role_for_name ATK_OBJECT ATK_IS_OBJECT diff --git a/docs/tmpl/atk-unused.sgml b/docs/tmpl/atk-unused.sgml index bed3c3f..d81c262 100644 --- a/docs/tmpl/atk-unused.sgml +++ b/docs/tmpl/atk-unused.sgml @@ -18,183 +18,3 @@ atk - - - - - -@name: -@value: - - - - - - - - - - - - -@ATK_LAYER_INVALID: -@ATK_LAYER_BACKGROUND: -@ATK_LAYER_CANVAS: -@ATK_LAYER_WIDGET: -@ATK_LAYER_MDI: -@ATK_LAYER_POPUP: -@ATK_LAYER_OVERLAY: - - - - - - -@ATK_TEXT_ATTR_LEFT_MARGIN: -@ATK_TEXT_ATTR_RIGHT_MARGIN: -@ATK_TEXT_ATTR_INDENT: -@ATK_TEXT_ATTR_INVISIBLE: -@ATK_TEXT_ATTR_EDITABLE: -@ATK_TEXT_ATTR_PIXELS_ABOVE_LINES: -@ATK_TEXT_ATTR_PIXELS_BELOW_LINES: -@ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP: -@ATK_TEXT_ATTR_BG_FULL_HEIGHT: -@ATK_TEXT_ATTR_RISE: -@ATK_TEXT_ATTR_UNDERLINE: -@ATK_TEXT_ATTR_STRIKETHROUGH: -@ATK_TEXT_ATTR_SIZE: -@ATK_TEXT_ATTR_SCALE: -@ATK_TEXT_ATTR_WEIGHT: -@ATK_TEXT_ATTR_LANGUAGE: -@ATK_TEXT_ATTR_FAMILY_NAME: -@ATK_TEXT_ATTR_BG_COLOR: -@ATK_TEXT_ATTR_FG_COLOR: -@ATK_TEXT_ATTR_BG_STIPPLE: -@ATK_TEXT_ATTR_FG_STIPPLE: -@ATK_TEXT_ATTR_WRAP_MODE: -@ATK_TEXT_ATTR_DIRECTION: -@ATK_TEXT_ATTR_JUSTIFICATION: -@ATK_TEXT_ATTR_STRETCH: -@ATK_TEXT_ATTR_VARIANT: -@ATK_TEXT_ATTR_STYLE: - - - - - - -@attr: -@Returns: - - - - - - -@attr: -@index: -@Returns: - - - - - - -@attrib_set: - - - - - - -@accessible: -@Returns: - - - - - - -@accessible: -@Returns: - - - - - - -@accessible: -@state: -@value: - - - - - - -@name: -@Returns: - - - - - - -@type: -@Returns: - - - - - - -@table: -@column: -@Returns: - - - - - - -@table: -@row: -@Returns: - - - - - - -@table: -@column: -@Returns: - - - - - - -@table: -@row: -@Returns: - - - - - - -@text: -@Returns: - - - - - - -@text: -@offset: -@start_offset: -@end_offset: -@Returns: - diff --git a/docs/tmpl/atkaction.sgml b/docs/tmpl/atkaction.sgml index 8f3a2f2..668cdb9 100644 --- a/docs/tmpl/atkaction.sgml +++ b/docs/tmpl/atkaction.sgml @@ -29,7 +29,9 @@ AtkAction @do_action: @get_n_actions: @get_description: +@get_name: @get_keybinding: +@set_description: @@ -38,7 +40,6 @@ AtkAction @action: @i: - @Returns: @@ -61,6 +62,16 @@ AtkAction @Returns: + + + + + +@action: +@i: +@Returns: + + @@ -71,3 +82,14 @@ AtkAction @Returns: + + + + + +@action: +@i: +@desc: +@Returns: + + diff --git a/docs/tmpl/atkcomponent.sgml b/docs/tmpl/atkcomponent.sgml index 27ba2d7..046d8d4 100644 --- a/docs/tmpl/atkcomponent.sgml +++ b/docs/tmpl/atkcomponent.sgml @@ -28,10 +28,9 @@ AtkComponent @parent: @add_focus_handler: @contains: -@get_accessible_at_point: +@ref_accessible_at_point: @get_extents: @get_position: -@get_position_on_screen: @get_size: @grab_focus: @remove_focus_handler: @@ -57,9 +56,8 @@ AtkComponent @component: @x: @y: -@Returns: - @coord_type: +@Returns: @@ -72,7 +70,6 @@ AtkComponent @y: @width: @height: - @coord_type: @@ -84,7 +81,6 @@ AtkComponent @component: @x: @y: - @coord_type: @@ -104,7 +100,18 @@ AtkComponent @component: - +@Returns: + + + + + + + +@component: +@x: +@y: +@coord_type: @Returns: @@ -127,7 +134,6 @@ AtkComponent @y: @width: @height: - @coord_type: @Returns: @@ -140,7 +146,6 @@ AtkComponent @component: @x: @y: - @coord_type: @Returns: @@ -153,7 +158,6 @@ AtkComponent @component: @width: @height: - @Returns: diff --git a/docs/tmpl/atkdocument.sgml b/docs/tmpl/atkdocument.sgml index 5d7ef8d..5972540 100644 --- a/docs/tmpl/atkdocument.sgml +++ b/docs/tmpl/atkdocument.sgml @@ -14,3 +14,36 @@ AtkDocument + + + + + + + + + + + +@parent: +@get_document_type: +@get_document: + + + + + + +@document: +@Returns: + + + + + + + +@document: +@Returns: + + diff --git a/docs/tmpl/atkeditabletext.sgml b/docs/tmpl/atkeditabletext.sgml index 8516991..c577880 100644 --- a/docs/tmpl/atkeditabletext.sgml +++ b/docs/tmpl/atkeditabletext.sgml @@ -26,7 +26,7 @@ AtkEditableText @parent_interface: -@set_attributes: +@set_run_attributes: @set_text_contents: @insert_text: @copy_text: @@ -34,6 +34,18 @@ AtkEditableText @delete_text: @paste_text: + + + + + +@text: +@attrib_set: +@start_offset: +@end_offset: +@Returns: + + diff --git a/docs/tmpl/atkimage.sgml b/docs/tmpl/atkimage.sgml index 87fd805..e6558cc 100644 --- a/docs/tmpl/atkimage.sgml +++ b/docs/tmpl/atkimage.sgml @@ -26,12 +26,22 @@ AtkImage @parent: -@get_storage_type: +@get_image_position: @get_image_description: -@get_image_height: -@get_image_width: +@get_image_size: @set_image_description: + + + + + +@image: +@x: +@y: +@coord_type: + + @@ -51,3 +61,13 @@ AtkImage @Returns: + + + + + +@image: +@width: +@height: + + diff --git a/docs/tmpl/atkobject.sgml b/docs/tmpl/atkobject.sgml index 4f99cf3..235e3ee 100644 --- a/docs/tmpl/atkobject.sgml +++ b/docs/tmpl/atkobject.sgml @@ -25,6 +25,7 @@ AtkObject @accessible_parent: @role: @relation_set: +@layer: @@ -90,11 +91,13 @@ AtkObject @ATK_ROLE_TABLE_COLUMN_HEADER: @ATK_ROLE_TABLE_ROW_HEADER: @ATK_ROLE_TEAR_OFF_MENU_ITEM: +@ATK_ROLE_TERMINAL: @ATK_ROLE_TEXT: @ATK_ROLE_TOGGLE_BUTTON: @ATK_ROLE_TOOL_BAR: @ATK_ROLE_TOOL_TIP: @ATK_ROLE_TREE: +@ATK_ROLE_TREE_TABLE: @ATK_ROLE_UNKNOWN: @ATK_ROLE_VIEWPORT: @ATK_ROLE_WINDOW: @@ -109,6 +112,19 @@ AtkObject @Returns: + + + + + +@ATK_LAYER_INVALID: +@ATK_LAYER_BACKGROUND: +@ATK_LAYER_CANVAS: +@ATK_LAYER_WIDGET: +@ATK_LAYER_MDI: +@ATK_LAYER_POPUP: +@ATK_LAYER_OVERLAY: + @@ -213,6 +229,24 @@ AtkObject @Returns: + + + + + +@accessible: +@Returns: + + + + + + + +@accessible: +@Returns: + + @@ -295,3 +329,31 @@ AtkObject @handler_id: + + + + + +@accessible: +@state: +@value: + + + + + + + +@role: +@Returns: + + + + + + + +@name: +@Returns: + + diff --git a/docs/tmpl/atkrelation.sgml b/docs/tmpl/atkrelation.sgml index d3fb4ef..f0041ae 100644 --- a/docs/tmpl/atkrelation.sgml +++ b/docs/tmpl/atkrelation.sgml @@ -34,6 +34,7 @@ AtkRelation @ATK_RELATION_LABEL_FOR: @ATK_RELATION_LABELLED_BY: @ATK_RELATION_MEMBER_OF: +@ATK_RELATION_NODE_CHILD_OF: @ATK_RELATION_LAST_DEFINED: @@ -45,6 +46,24 @@ AtkRelation @Returns: + + + + + +@type: +@Returns: + + + + + + + +@name: +@Returns: + + diff --git a/docs/tmpl/atkselection.sgml b/docs/tmpl/atkselection.sgml index 6989f53..fdeb7b7 100644 --- a/docs/tmpl/atkselection.sgml +++ b/docs/tmpl/atkselection.sgml @@ -33,6 +33,7 @@ AtkSelection @is_child_selected: @remove_selection: @select_all_selection: +@selection_changed: @@ -41,7 +42,6 @@ AtkSelection @selection: @i: - @Returns: @@ -51,7 +51,6 @@ AtkSelection @selection: - @Returns: @@ -91,7 +90,6 @@ AtkSelection @selection: @i: - @Returns: @@ -101,7 +99,6 @@ AtkSelection @selection: - @Returns: diff --git a/docs/tmpl/atkstate.sgml b/docs/tmpl/atkstate.sgml index c056695..e29a4da 100644 --- a/docs/tmpl/atkstate.sgml +++ b/docs/tmpl/atkstate.sgml @@ -24,9 +24,9 @@ AtkState @ATK_STATE_ARMED: @ATK_STATE_BUSY: @ATK_STATE_CHECKED: -@ATK_STATE_COLLAPSED: @ATK_STATE_DEFUNCT: @ATK_STATE_EDITABLE: +@ATK_STATE_ENABLED: @ATK_STATE_EXPANDABLE: @ATK_STATE_EXPANDED: @ATK_STATE_FOCUSABLE: @@ -44,6 +44,7 @@ AtkState @ATK_STATE_SENSITIVE: @ATK_STATE_SHOWING: @ATK_STATE_SINGLE_LINE: +@ATK_STATE_STALE: @ATK_STATE_TRANSIENT: @ATK_STATE_VERTICAL: @ATK_STATE_VISIBLE: diff --git a/docs/tmpl/atkstreamablecontent.sgml b/docs/tmpl/atkstreamablecontent.sgml index 1e49462..5cef56f 100644 --- a/docs/tmpl/atkstreamablecontent.sgml +++ b/docs/tmpl/atkstreamablecontent.sgml @@ -14,3 +14,48 @@ AtkStreamableContent + + + + + + + + + + + +@parent: +@get_n_mime_types: +@get_mime_type: +@get_stream: + + + + + + +@streamable: +@Returns: + + + + + + + +@streamable: +@i: +@Returns: + + + + + + + +@streamable: +@mime_type: +@Returns: + + diff --git a/docs/tmpl/atktable.sgml b/docs/tmpl/atktable.sgml index a1b1fcc..25dc585 100644 --- a/docs/tmpl/atktable.sgml +++ b/docs/tmpl/atktable.sgml @@ -28,29 +28,40 @@ AtkTable @parent: @ref_at: @get_index_at: -@get_row_at_index: @get_column_at_index: -@get_caption: +@get_row_at_index: @get_n_columns: -@get_column_description: +@get_n_rows: @get_column_extent_at: +@get_row_extent_at: +@get_caption: +@get_column_description: @get_column_header: -@get_n_rows: @get_row_description: -@get_row_extent_at: @get_row_header: @get_summary: -@get_selected_columns: -@get_selected_rows: -@is_column_selected: -@is_row_selected: -@is_selected: @set_caption: @set_column_description: @set_column_header: @set_row_description: @set_row_header: @set_summary: +@get_selected_columns: +@get_selected_rows: +@is_column_selected: +@is_row_selected: +@is_selected: +@add_row_selection: +@remove_row_selection: +@add_column_selection: +@remove_column_selection: +@row_inserted: +@column_inserted: +@row_deleted: +@column_deleted: +@row_reordered: +@column_reordered: +@model_changed: @@ -159,10 +170,10 @@ AtkTable @table: -@r: +@row: @Returns: -@row: +@r: @@ -171,9 +182,8 @@ AtkTable @table: -@Returns: - @column: +@Returns: @@ -182,9 +192,8 @@ AtkTable @table: -@Returns: - @row: +@Returns: @@ -202,9 +211,9 @@ AtkTable @table: -@accessible: - @caption: + +@accessible: @@ -214,9 +223,9 @@ AtkTable @table: @row: -@accessible: - @description: + +@accessible: @@ -226,9 +235,9 @@ AtkTable @table: @column: -@accessible: - @description: + +@accessible: @@ -266,9 +275,8 @@ AtkTable @table: -@Returns: - @selected: +@Returns: @@ -277,9 +285,8 @@ AtkTable @table: -@Returns: - @selected: +@Returns: @@ -313,3 +320,43 @@ AtkTable @Returns: + + + + + +@table: +@column: +@Returns: + + + + + + + +@table: +@row: +@Returns: + + + + + + + +@table: +@column: +@Returns: + + + + + + + +@table: +@row: +@Returns: + + diff --git a/docs/tmpl/atktext.sgml b/docs/tmpl/atktext.sgml index 3e15ef4..c04552b 100644 --- a/docs/tmpl/atktext.sgml +++ b/docs/tmpl/atktext.sgml @@ -32,7 +32,8 @@ AtkText @get_character_at_offset: @get_text_before_offset: @get_caret_offset: -@get_range_attributes: +@get_run_attributes: +@get_default_attributes: @get_character_extents: @get_character_count: @get_offset_at_point: @@ -44,6 +45,7 @@ AtkText @set_caret_offset: @text_changed: @caret_changed: +@text_selection_changed: @@ -51,7 +53,6 @@ AtkText @ATK_TEXT_BOUNDARY_CHAR: -@ATK_TEXT_BOUNDARY_CURSOR_POS: @ATK_TEXT_BOUNDARY_WORD_START: @ATK_TEXT_BOUNDARY_WORD_END: @ATK_TEXT_BOUNDARY_SENTENCE_START: @@ -59,6 +60,53 @@ AtkText @ATK_TEXT_BOUNDARY_LINE_START: @ATK_TEXT_BOUNDARY_LINE_END: + + + + + +@name: +@value: + + + + + + + + + + + + +@ATK_TEXT_ATTR_LEFT_MARGIN: +@ATK_TEXT_ATTR_RIGHT_MARGIN: +@ATK_TEXT_ATTR_INDENT: +@ATK_TEXT_ATTR_INVISIBLE: +@ATK_TEXT_ATTR_EDITABLE: +@ATK_TEXT_ATTR_PIXELS_ABOVE_LINES: +@ATK_TEXT_ATTR_PIXELS_BELOW_LINES: +@ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP: +@ATK_TEXT_ATTR_BG_FULL_HEIGHT: +@ATK_TEXT_ATTR_RISE: +@ATK_TEXT_ATTR_UNDERLINE: +@ATK_TEXT_ATTR_STRIKETHROUGH: +@ATK_TEXT_ATTR_SIZE: +@ATK_TEXT_ATTR_SCALE: +@ATK_TEXT_ATTR_WEIGHT: +@ATK_TEXT_ATTR_LANGUAGE: +@ATK_TEXT_ATTR_FAMILY_NAME: +@ATK_TEXT_ATTR_BG_COLOR: +@ATK_TEXT_ATTR_FG_COLOR: +@ATK_TEXT_ATTR_BG_STIPPLE: +@ATK_TEXT_ATTR_FG_STIPPLE: +@ATK_TEXT_ATTR_WRAP_MODE: +@ATK_TEXT_ATTR_DIRECTION: +@ATK_TEXT_ATTR_JUSTIFICATION: +@ATK_TEXT_ATTR_STRETCH: +@ATK_TEXT_ATTR_VARIANT: +@ATK_TEXT_ATTR_STYLE: + @@ -88,10 +136,9 @@ AtkText @text: @offset: @boundary_type: -@Returns: - @start_offset: @end_offset: +@Returns: @@ -102,10 +149,9 @@ AtkText @text: @offset: @boundary_type: -@Returns: - @start_offset: @end_offset: +@Returns: @@ -116,10 +162,9 @@ AtkText @text: @offset: @boundary_type: -@Returns: - @start_offset: @end_offset: +@Returns: @@ -140,11 +185,32 @@ AtkText @offset: @x: @y: -@length: @width: - @height: @coords: + +@length: + + + + + + + +@text: +@offset: +@start_offset: +@end_offset: +@Returns: + + + + + + + +@text: +@Returns: @@ -164,9 +230,8 @@ AtkText @text: @x: @y: -@Returns: - @coords: +@Returns: @@ -233,3 +298,30 @@ AtkText @Returns: + + + + + +@attrib_set: + + + + + + + +@attr: +@Returns: + + + + + + + +@attr: +@index: +@Returns: + + diff --git a/docs/tmpl/atkutil.sgml b/docs/tmpl/atkutil.sgml index b96ede3..a830ab7 100644 --- a/docs/tmpl/atkutil.sgml +++ b/docs/tmpl/atkutil.sgml @@ -17,6 +17,21 @@ AtkUtil <<<<<<< atkutil.sgml ======= + + + + + +@parent: + + + + + + +@ATK_XY_SCREEN: +@ATK_XY_WINDOW: + @@ -54,3 +69,110 @@ AtkUtil ======= + + + + + +@Param1: + + + + + + + + + + + + + + +@listener: +@event_type: +@Returns: + + + + + + + +@listener_id: + + + + + + + +@type: +@state: +@keyval: +@length: +@string: +@keycode: +@timestamp: + + + + + + +@ATK_KEY_EVENT_PRESS: +@ATK_KEY_EVENT_RELEASE: +@ATK_KEY_EVENT_LAST_DEFINED: + + + + + + +@event: +@func_data: +@Returns: + + + + + + + +@listener: +@data: +@Returns: + + + + + + + +@listener_id: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@Returns: + + -- 2.7.4