From 0f1e31ad2451b1e00f631e217d9d29d306404f2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Mon, 12 Aug 2013 17:07:46 +0200 Subject: [PATCH] doc: removing several .sgml files and fixing gtk-doc warnings The static documentation of those .sgml (so the reason of tracking those objects) where moved to the source files. Some other stuff was changed in order to prevent gtk-doc warnings (like replacing "Returns blah" for the correct "Returns: blah") https://bugzilla.gnome.org/show_bug.cgi?id=684665 --- .gitignore | 43 +++ atk/atkaction.c | 42 ++- atk/atkcomponent.c | 28 ++ atk/atkdocument.c | 52 ++++ atk/atkeditabletext.c | 16 + atk/atkgobjectaccessible.c | 11 + atk/atkhyperlink.c | 21 ++ atk/atkhyperlinkimpl.c | 36 +++ atk/atkhyperlinkimpl.h | 27 +- atk/atkhypertext.c | 25 ++ atk/atkimage.c | 25 +- atk/atknoopobject.c | 13 + atk/atknoopobjectfactory.c | 9 + atk/atkobject.c | 82 ++++- atk/atkobject.h | 27 ++ atk/atkobjectfactory.c | 13 + atk/atkregistry.h | 15 + atk/atkrelation.c | 13 +- atk/atkrelationset.c | 16 + atk/atkselection.c | 26 ++ atk/atkstate.c | 10 + atk/atkstateset.c | 9 + atk/atkstreamablecontent.c | 26 +- atk/atktable.c | 87 ++++++ atk/atktext.c | 96 ++++++ atk/atkutil.c | 11 + atk/atkvalue.c | 16 + docs/Makefile.am | 2 + docs/atk-sections.txt | 12 +- docs/tmpl/atk.sgml | 18 -- docs/tmpl/atkaction.sgml | 125 -------- docs/tmpl/atkcomponent.sgml | 199 ------------ docs/tmpl/atkdocument.sgml | 126 -------- docs/tmpl/atkeditabletext.sgml | 106 ------- docs/tmpl/atkgobjectaccessible.sgml | 51 ---- docs/tmpl/atkhyperlink.sgml | 142 --------- docs/tmpl/atkhyperlinkimpl.sgml | 55 ---- docs/tmpl/atkhypertext.sgml | 70 ----- docs/tmpl/atkimage.sgml | 90 ------ docs/tmpl/atknoopobject.sgml | 39 --- docs/tmpl/atknoopobjectfactory.sgml | 40 --- docs/tmpl/atkobject.sgml | 581 ------------------------------------ docs/tmpl/atkobjectfactory.sgml | 62 ---- docs/tmpl/atkregistry.sgml | 73 ----- docs/tmpl/atkrelation.sgml | 143 --------- docs/tmpl/atkrelationset.sgml | 110 ------- docs/tmpl/atkselection.sgml | 115 ------- docs/tmpl/atkstate.sgml | 103 ------- docs/tmpl/atkstateset.sgml | 136 --------- docs/tmpl/atkstreamablecontent.sgml | 83 ------ docs/tmpl/atktable.sgml | 403 ------------------------- docs/tmpl/atktext.sgml | 474 ----------------------------- docs/tmpl/atkutil.sgml | 254 ---------------- docs/tmpl/atkvalue.sgml | 82 ----- 54 files changed, 773 insertions(+), 3716 deletions(-) delete mode 100644 docs/tmpl/atk.sgml delete mode 100644 docs/tmpl/atkaction.sgml delete mode 100644 docs/tmpl/atkcomponent.sgml delete mode 100644 docs/tmpl/atkdocument.sgml delete mode 100644 docs/tmpl/atkeditabletext.sgml delete mode 100644 docs/tmpl/atkgobjectaccessible.sgml delete mode 100644 docs/tmpl/atkhyperlink.sgml delete mode 100644 docs/tmpl/atkhyperlinkimpl.sgml delete mode 100644 docs/tmpl/atkhypertext.sgml delete mode 100644 docs/tmpl/atkimage.sgml delete mode 100644 docs/tmpl/atknoopobject.sgml delete mode 100644 docs/tmpl/atknoopobjectfactory.sgml delete mode 100644 docs/tmpl/atkobject.sgml delete mode 100644 docs/tmpl/atkobjectfactory.sgml delete mode 100644 docs/tmpl/atkregistry.sgml delete mode 100644 docs/tmpl/atkrelation.sgml delete mode 100644 docs/tmpl/atkrelationset.sgml delete mode 100644 docs/tmpl/atkselection.sgml delete mode 100644 docs/tmpl/atkstate.sgml delete mode 100644 docs/tmpl/atkstateset.sgml delete mode 100644 docs/tmpl/atkstreamablecontent.sgml delete mode 100644 docs/tmpl/atktable.sgml delete mode 100644 docs/tmpl/atktext.sgml delete mode 100644 docs/tmpl/atkutil.sgml delete mode 100644 docs/tmpl/atkvalue.sgml diff --git a/.gitignore b/.gitignore index f361944..3ce0ef4 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,46 @@ atkversion.h tests/testrelation tests/testrole tests/teststateset +docs/.libs +docs/atk.args +docs/atk.hierarchy +docs/atk.interfaces +docs/atk.prerequisites +docs/atk.signals +docs/html +docs/tmpl/atkaction.sgml +docs/tmpl/atkcomponent.sgml +docs/tmpl/atkdocument.sgml +docs/tmpl/atkhyperlinkimpl.sgml +docs/tmpl/atkobject.sgml +docs/tmpl/atkmisc.sgml +docs/tmpl/atktext.sgml +docs/tmpl/atkplug.sgml +docs/tmpl/atksocket.sgml +docs/tmpl/atkutil.sgml +docs/tmpl/atkversion.sgml +docs/tmpl/atkwindow.sgml +docs/atk.signals +docs/xml +docs/atk-decl-list.txt +docs/atk-decl.txt +docs/atk-undeclared.txt +docs/atk-undocumented.txt +docs/atk-unused.txt +docs/tmpl/atkeditabletext.sgml +docs/tmpl/atkgobjectaccessible.sgml +docs/tmpl/atkhyperlink.sgml +docs/tmpl/atkhypertext.sgml +docs/tmpl/atkimage.sgml +docs/tmpl/atknoopobject.sgml +docs/tmpl/atknoopobjectfactory.sgml +docs/tmpl/atkobjectfactory.sgml +docs/tmpl/atkregistry.sgml +docs/tmpl/atkrelation.sgml +docs/tmpl/atkrelationset.sgml +docs/tmpl/atkselection.sgml +docs/tmpl/atkstate.sgml +docs/tmpl/atkstateset.sgml +docs/tmpl/atkstreamablecontent.sgml +docs/tmpl/atktable.sgml +docs/tmpl/atkvalue.sgml diff --git a/atk/atkaction.c b/atk/atkaction.c index fe27eb1..089a2fd 100755 --- a/atk/atkaction.c +++ b/atk/atkaction.c @@ -19,6 +19,32 @@ #include "atkaction.h" +/** + * SECTION:atkaction + * @Short_description: The ATK interface provided by UI components + * which the user can activate/interact with. + * @Title:AtkAction + * + * #AtkAction should be implemented by instances of #AtkObject classes + * with which the user can interact directly, i.e. buttons, + * checkboxes, scrollbars, e.g. components which are not "passive" + * providers of UI information. + * + * Exceptions: when the user interaction is already covered by another + * appropriate interface such as #AtkEditableText (insert/delete text, + * etc.) or #AtkValue (set value) then these actions should not be + * exposed by #AtkAction as well. + * + * Though most UI interactions on components should be invocable via + * keyboard as well as mouse, there will generally be a close mapping + * between "mouse actions" that are possible on a component and the + * AtkActions. Where mouse and keyboard actions are redundant in + * effect, #AtkAction should expose only one action rather than + * exposing redundant actions if possible. By convention we have been + * using "mouse centric" terminology for #AtkAction names. + * + */ + GType atk_action_get_type (void) { @@ -98,8 +124,8 @@ atk_action_get_n_actions (AtkAction *obj) * * Returns a description of the specified action of the object. * - * Returns a description string, or %NULL - * if @action does not implement this interface. + * Returns: a description string, or %NULL if @action does not + * implement this interface. **/ const gchar* atk_action_get_description (AtkAction *obj, @@ -137,8 +163,8 @@ atk_action_get_description (AtkAction *obj, * i.e. the result of some actions via atk_action_do_action() may be * NIL. * - * Returns a name string, or %NULL - * if @action does not implement this interface. + * Returns: a name string, or %NULL if @action does not implement this + * interface. **/ const gchar* atk_action_get_name (AtkAction *obj, @@ -163,8 +189,8 @@ atk_action_get_name (AtkAction *obj, * * Returns the localized name of the specified action of the object. * - * Returns a name string, or %NULL - * if @action does not implement this interface. + * Returns: a name string, or %NULL if @action does not implement this + * interface. **/ const gchar* atk_action_get_localized_name (AtkAction *obj, @@ -210,8 +236,8 @@ atk_action_get_localized_name (AtkAction *obj, * for the German locale. If, hypothetically, this menu item lacked a mnemonic, * it would be represented by ";;Ctrl+N" and ";;Strg+N" respectively. * - * Returns the keybinding which can be used to activate this action, or %NULL - * if there is no keybinding for this action. + * Returns: the keybinding which can be used to activate this action, + * or %NULL if there is no keybinding for this action. * **/ const gchar* diff --git a/atk/atkcomponent.c b/atk/atkcomponent.c index 3a6b1b4..9a574c7 100755 --- a/atk/atkcomponent.c +++ b/atk/atkcomponent.c @@ -20,6 +20,25 @@ #include "atkcomponent.h" +/** + * SECTION:atkcomponent + * @Short_description: The ATK interface provided by UI components + * which occupy a physical area on the screen. + * which the user can activate/interact with. + * @Title:AtkComponent + * + * #AtkComponent should be implemented by most if not all UI elements + * with an actual on-screen presence, i.e. components which can be + * said to have a screen-coordinate bounding box. Virtually all + * widgets will need to have #AtkComponent implementations provided + * for their corresponding #AtkObject class. In short, only UI + * elements which are *not* GUI elements will omit this ATK interface. + * + * A possible exception might be textual information with a + * transparent background, in which case text glyph bounding box + * information is provided by #AtkText. + */ + enum { BOUNDS_CHANGED, LAST_SIGNAL @@ -80,6 +99,15 @@ atk_component_base_init (AtkComponentIface *class) class->get_position = atk_component_real_get_position; class->get_size = atk_component_real_get_size; + + /** + * AtkComponent::bounds-changed: + * @atkcomponent: the object which received the signal. + * @arg1: The AtkRectangle giving the new position and size. + * + * The 'bounds-changed" signal is emitted when the bposition or + * size of the component changes. + */ atk_component_signals[BOUNDS_CHANGED] = g_signal_new ("bounds_changed", ATK_TYPE_COMPONENT, diff --git a/atk/atkdocument.c b/atk/atkdocument.c index 81e27c5..bf5cc9a 100755 --- a/atk/atkdocument.c +++ b/atk/atkdocument.c @@ -19,6 +19,22 @@ #include "atkdocument.h" +/** + * SECTION:atkdocument + * @Short_description: The ATK interface which represents the toplevel + * container for document content. + * @Title:AtkDocument + * + * The AtkDocument interface should be supported by any object whose + * content is a representation or view of a document. The AtkDocument + * interface should appear on the toplevel container for the document + * content; however AtkDocument instances may be nested (i.e. an + * AtkDocument may be a descendant of another AtkDocument) in those + * cases where one document contains "embedded content" which can + * reasonably be considered a document in its own right. + * + */ + enum { LOAD_COMPLETE, RELOAD, @@ -56,6 +72,20 @@ atk_document_base_init (AtkDocumentIface *class) static gboolean initialized = FALSE; if (!initialized) { + /** + * AtkDocument::load-complete: + * @atkdocument: the object which received the signal. + * + * 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.) + */ atk_document_signals[LOAD_COMPLETE] = g_signal_new ("load_complete", ATK_TYPE_DOCUMENT, @@ -64,6 +94,16 @@ atk_document_base_init (AtkDocumentIface *class) (GSignalAccumulator) NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + /** + * AtkDocument::reload: + * @atkdocument: the object which received the signal. + * + * 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. + */ atk_document_signals[RELOAD] = g_signal_new ("reload", ATK_TYPE_DOCUMENT, @@ -72,6 +112,18 @@ atk_document_base_init (AtkDocumentIface *class) (GSignalAccumulator) NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + + /** + * AtkDocument::load-stopped: + * @atkdocument: 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. + */ atk_document_signals[LOAD_STOPPED] = g_signal_new ("load_stopped", ATK_TYPE_DOCUMENT, diff --git a/atk/atkeditabletext.c b/atk/atkeditabletext.c index 6ff8a97..1ff6ed8 100755 --- a/atk/atkeditabletext.c +++ b/atk/atkeditabletext.c @@ -19,6 +19,22 @@ #include "atkeditabletext.h" +/** + * SECTION:atkeditabletext + * @Short_description: The ATK interface implemented by components + * containing user-editable text content. + * @Title:AtkEditableText + * + * #AtkEditableText should be implemented by UI components which + * contain text which the user can edit, via the #AtkObject + * corresponding to that component (see #AtkObject). + * + * #AtkEditableText is a subclass of #AtkText, and as such, an object + * which implements #AtkEditableText is by definition an #AtkText + * implementor as well. + * + * See also: #AtkText + */ GType atk_editable_text_get_type (void) diff --git a/atk/atkgobjectaccessible.c b/atk/atkgobjectaccessible.c index eb0bf09..4f3a07c 100644 --- a/atk/atkgobjectaccessible.c +++ b/atk/atkgobjectaccessible.c @@ -21,6 +21,17 @@ #include #include +/** + * SECTION:atkgobjectaccessible + * @Short_description: This object class is derived from AtkObject and + * can be used as a basis implementing accessible objects. + * @Title:AtkGObjectAccessible + * + * This object class is derived from AtkObject. It can be used as a + * basis for implementing accessible objects for GObjects which are + * not derived from GtkWidget. One example of its use is in providing + * an accessible object for GnomeCanvasItem in the GAIL library. + */ static void atk_gobject_accessible_class_init (AtkGObjectAccessibleClass *klass); static void atk_real_gobject_accessible_initialize (AtkObject *atk_obj, gpointer data); diff --git a/atk/atkhyperlink.c b/atk/atkhyperlink.c index 6ae605c..e4ce202 100755 --- a/atk/atkhyperlink.c +++ b/atk/atkhyperlink.c @@ -21,6 +21,20 @@ #include "atkhyperlink.h" #include "atkintl.h" +/** + * SECTION:atkhyperlink + * @Short_description: An ATK object which encapsulates a link or set + * of links in a hypertext document. + * @Title:AtkHyperlink + * + * An ATK object which encapsulates a link or set of links (for + * instance in the case of client-side image maps) in a hypertext + * document. It may implement the AtkAction interface. AtkHyperlink + * may also be used to refer to inline embedded content, since it + * allows specification of a start and end offset within the host + * AtkHypertext object. + */ + enum { LINK_ACTIVATED, @@ -132,6 +146,13 @@ atk_hyperlink_class_init (AtkHyperlinkClass *klass) G_MAXINT, 0, G_PARAM_READABLE)); + + /** + * AtkHyperlink::link-activated: + * @atkhyperlink: the object which received the signal. + * + * The signal link-activated is emitted when a link is activated. + */ atk_hyperlink_signals[LINK_ACTIVATED] = g_signal_new ("link_activated", G_TYPE_FROM_CLASS (klass), diff --git a/atk/atkhyperlinkimpl.c b/atk/atkhyperlinkimpl.c index e4ad10f..bdfe6c1 100644 --- a/atk/atkhyperlinkimpl.c +++ b/atk/atkhyperlinkimpl.c @@ -20,6 +20,42 @@ #include #include "atkhyperlinkimpl.h" +/** + * SECTION:atkhyperlinkimpl + * @Short_description: An interface from which the AtkHyperlink + * associated with an AtkObject may be obtained. + * @Title:AtkHyperlinImpl + * + * AtkHyperlinkImpl allows AtkObjects to refer to their associated + * AtkHyperlink instance, if one exists. AtkHyperlinkImpl differs + * from AtkHyperlink in that AtkHyperlinkImpl is an interface, whereas + * AtkHyperlink is a object type. The AtkHyperlinkImpl interface + * allows a client to query an AtkObject for the availability of an + * associated AtkHyperlink instance, and obtain that instance. It is + * thus particularly useful in cases where embedded content or inline + * content within a text object is present, since the embedding text + * object implements AtkHypertext and the inline/embedded objects are + * exposed as children which implement AtkHyperlinkImpl, in addition + * to their being obtainable via AtkHypertext:getLink followed by + * AtkHyperlink:getObject. + * + * The AtkHyperlinkImpl interface should be supported by objects + * exposed within the hierarchy as children of an AtkHypertext + * container which correspond to "links" or embedded content within + * the text. HTML anchors are not, for instance, normally exposed + * this way, but embedded images and components which appear inline in + * the content of a text object are. The AtkHyperlinkIface interface + * allows a means of determining which children are hyperlinks in this + * sense of the word, and for obtaining their corresponding + * AtkHyperlink object, from which the embedding range, URI, etc. can + * be obtained. + * + * To some extent this interface exists because, for historical + * reasons, AtkHyperlink was defined as an object type, not an + * interface. Thus, in order to interact with AtkObjects via + * AtkHyperlink semantics, a new interface was required. + */ + GType atk_hyperlink_impl_get_type (void) { diff --git a/atk/atkhyperlinkimpl.h b/atk/atkhyperlinkimpl.h index 8b92af9..e8e033a 100644 --- a/atk/atkhyperlinkimpl.h +++ b/atk/atkhyperlinkimpl.h @@ -29,23 +29,6 @@ G_BEGIN_DECLS -/* - * The AtkHyperlinkImpl interface should be supported by objects - * exposed within the hierarchy as children of an AtkHypertext container - * which correspond to "links" or embedded content within the text. - * HTML anchors are not, for instance, normally exposed this way, - * but embedded images and components which appear inline in the - * content of a text object are. The AtkHyperlinkIface interface - * allows a means of determining which children are hyperlinks in this - * sense of the word, and for obtaining their corresponding AtkHyperlink - * object, from which the embedding range, URI, etc. can be obtained. - * - * To some extent this interface exists because, for historical - * reasons, AtkHyperlink was defined as an object type, not an interface. - * Thus, in order to interact with AtkObjects via AtkHyperlink semantics, - * a new interface was required. - */ - #define ATK_TYPE_HYPERLINK_IMPL (atk_hyperlink_impl_get_type ()) #define ATK_IS_HYPERLINK_IMPL(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_HYPERLINK_IMPL) #define ATK_HYPERLINK_IMPL(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_HYPERLINK_IMPL, AtkHyperlinkImpl) @@ -53,6 +36,16 @@ G_BEGIN_DECLS #ifndef _TYPEDEF_ATK_HYPERLINK_IMPL_ #define _TYPEDEF_ATK_HYPERLINK_IMPL__ + +/** + * AtkHyperlinkImpl: + * + * A queryable interface which allows AtkHyperlink instances + * associated with an AtkObject to be obtained. AtkHyperlinkImpl + * corresponds to AT-SPI's Hyperlink interface, and differs from + * AtkHyperlink in that AtkHyperlink is an object type, rather than an + * interface, and thus cannot be directly queried. FTW + */ typedef struct _AtkHyperlinkImpl AtkHyperlinkImpl; #endif typedef struct _AtkHyperlinkImplIface AtkHyperlinkImplIface; diff --git a/atk/atkhypertext.c b/atk/atkhypertext.c index 255834c..10448e2 100755 --- a/atk/atkhypertext.c +++ b/atk/atkhypertext.c @@ -19,6 +19,22 @@ #include "atkhypertext.h" +/** + * SECTION:atkhypertext + * @Short_description: The ATK interface which provides standard + * mechanism for manipulating hyperlinks. + * @Title:AtkHypertext + * + * An interface used for objects which implement linking between + * multiple resource or content locations, or multiple 'markers' + * within a single document. A Hypertext instance is associated with + * one or more Hyperlinks, which are associated with particular + * offsets within the Hypertext's included content. While this + * interface is derived from Text, there is no requirement that + * Hypertext instances have textual content; they may implement Image + * as well, and Hyperlinks need not have non-zero text offsets. + */ + enum { LINK_SELECTED, LAST_SIGNAL @@ -56,6 +72,15 @@ atk_hypertext_base_init (AtkHypertextIface *class) if (!initialized) { + /** + * AtkHypertext::link-selected: + * @atkhypertext: the object which received the signal. + * @arg1: the index of the hyperlink which is selected + * + * The "link-selected" signal is emitted by an AtkHyperText + * object when one of the hyperlinks associated with the object + * is selected. + */ atk_hypertext_signals[LINK_SELECTED] = g_signal_new ("link_selected", ATK_TYPE_HYPERTEXT, diff --git a/atk/atkimage.c b/atk/atkimage.c index a2f939c..00a1819 100755 --- a/atk/atkimage.c +++ b/atk/atkimage.c @@ -19,6 +19,27 @@ #include "atkimage.h" +/** + * SECTION:atkimage + * @Short_description: The ATK Interface implemented by components + * which expose image or pixmap content on-screen. + * @Title:AtkImage + * + * #AtkImage should be implemented by #AtkObject subtypes on behalf of + * components which display image/pixmap information onscreen, and + * which provide information (other than just widget borders, etc.) + * via that image content. For instance, icons, buttons with icons, + * toolbar elements, and image viewing panes typically should + * implement #AtkImage. + * + * #AtkImage primarily provides two types of information: coordinate + * information (useful for screen review mode of screenreaders, and + * for use by onscreen magnifiers), and descriptive information. The + * descriptive information is provided for alternative, text-only + * presentation of the most significant information present in the + * image. + */ + GType atk_image_get_type (void) { @@ -189,7 +210,9 @@ atk_image_get_image_position (AtkImage *image, * * Since ATK 1.12 * - * Returns a string corresponding to the POSIX LC_MESSAGES locale used by the image description, or NULL if the image does not specify a locale. + * Returns: a string corresponding to the POSIX LC_MESSAGES locale + * used by the image description, or NULL if the image does not + * specify a locale. * */ const gchar* diff --git a/atk/atknoopobject.c b/atk/atknoopobject.c index 5552ac1..6e670ff 100644 --- a/atk/atknoopobject.c +++ b/atk/atknoopobject.c @@ -20,6 +20,19 @@ #include "atk.h" #include "atknoopobject.h" +/** + * SECTION:atknoopobject + * @Short_description: An AtkObject which purports to implement all ATK interfaces. + * @Title:AtkNoOpObject + * + * An AtkNoOpObject is an AtkObject which purports to implement all + * ATK interfaces. It is the type of AtkObject which is created if an + * accessible object is requested for an object type for which no + * factory type is specified. + * + */ + + static void atk_no_op_object_class_init (AtkNoOpObjectClass *klass); static gpointer parent_class = NULL; diff --git a/atk/atknoopobjectfactory.c b/atk/atknoopobjectfactory.c index 951332f..2b0a90a 100755 --- a/atk/atknoopobjectfactory.c +++ b/atk/atknoopobjectfactory.c @@ -21,6 +21,15 @@ #include "atknoopobject.h" #include "atknoopobjectfactory.h" +/** + * SECTION:atknoopobjectfactory + * @Short_description: The AtkObjectFactory which creates an AtkNoOpObject. + * @Title:AtkNoOpObjectFactory + * + * The AtkObjectFactory which creates an AtkNoOpObject. An instance of + * this is created by an AtkRegistry if no factory type has not been + * specified to create an accessible object of a particular type. + */ static void atk_no_op_object_factory_class_init ( AtkNoOpObjectFactoryClass *klass); diff --git a/atk/atkobject.c b/atk/atkobject.c index 39afb03..e809e48 100755 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -35,6 +35,34 @@ #include "atk-enum-types.h" #include "atkintl.h" +/** + * SECTION:atkobject + * @Short_description: The base object class for the Accessibility Toolkit API. + * @Title:AtkObject + * + * This class is the primary class for accessibility support via the + * Accessibility ToolKit (ATK). Objects which are instances of + * #AtkObject (or instances of AtkObject-derived types) are queried + * for properties which relate basic (and generic) properties of a UI + * component such as name and description. Instances of #AtkObject + * may also be queried as to whether they implement other ATK + * interfaces (e.g. #AtkAction, #AtkComponent, etc.), as appropriate + * to the role which a given UI component plays in a user interface. + * + * All UI components in an application which provide useful + * information or services to the user must provide corresponding + * #AtkObject instances on request (in GTK+, for instance, usually on + * a call to #gtk_widget_get_accessible ()), either via ATK support + * built into the toolkit for the widget class or ancestor class, or + * in the case of custom widgets, if the inherited #AtkObject + * implementation is insufficient, via instances of a new #AtkObject + * subclass. + * + * See also: #AtkObjectFactory, #AtkRegistry. (GTK+ users see also + * #GtkAccessible). + * + */ + static GPtrArray *role_names = NULL; enum @@ -546,6 +574,17 @@ atk_object_class_init (AtkObjectClass *klass) G_MAXINT, 0, G_PARAM_READABLE)); + + /** + * AtkObject::children-changed: + * @atkobject: the object which received the signal. + * @arg1: The index of the added or removed child + * @arg2: A gpointer to the child AtkObject which was added or removed + * + * The signal "children-changed" is emitted when a child is added or + * removed form an object. It supports two details: "add" and + * "remove" + */ atk_object_signals[CHILDREN_CHANGED] = g_signal_new ("children_changed", G_TYPE_FROM_CLASS (klass), @@ -576,6 +615,15 @@ atk_object_class_init (AtkObjectClass *klass) g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN); + /** + * AtkObject::property-change: + * @atkobject: the object which received the signal. + * @arg1: The new value of the property which changed. + * + * The signal "property-change" is emitted when an object's property + * value changes. The detail identifies the name of the property + * whose value has changed. + */ atk_object_signals[PROPERTY_CHANGE] = g_signal_new ("property_change", G_TYPE_FROM_CLASS (klass), @@ -585,6 +633,17 @@ atk_object_class_init (AtkObjectClass *klass) g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); + + /** + * AtkObject::state-change: + * @atkobject: the object which received the signal. + * @arg1: The name of the state which has changed + * @arg2: A boolean which indicates whether the state has been set or unset. + * + * The "state-change" signal is emitted when an object's state + * changes. The detail value identifies the state type which has + * changed. + */ atk_object_signals[STATE_CHANGE] = g_signal_new ("state_change", G_TYPE_FROM_CLASS (klass), @@ -595,6 +654,14 @@ atk_object_class_init (AtkObjectClass *klass) G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_BOOLEAN); + + /** + * AtkObject::visible-data-changed: + * @atkobject: the object which received the signal. + * + * The "visible-data-changed" signal is emitted when the visual + * appearance of the object changed. + */ atk_object_signals[VISIBLE_DATA_CHANGED] = g_signal_new ("visible_data_changed", G_TYPE_FROM_CLASS (klass), @@ -603,6 +670,17 @@ atk_object_class_init (AtkObjectClass *klass) (GSignalAccumulator) NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + + /** + * AtkObject::active-descendant-changed: + * @atkobject: the object which received the signal. + * @arg1: the newly focused object. + * + * 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. + */ atk_object_signals[ACTIVE_DESCENDANT_CHANGED] = g_signal_new ("active_descendant_changed", G_TYPE_FROM_CLASS (klass), @@ -1564,7 +1642,7 @@ atk_role_for_name (const gchar *name) * * Adds a relationship of the specified type with the specified target. * - * Returns TRUE if the relationship is added. + * Returns: TRUE if the relationship is added. **/ gboolean atk_object_add_relationship (AtkObject *object, @@ -1597,7 +1675,7 @@ atk_object_add_relationship (AtkObject *object, * * Removes a relationship of the specified type with the specified target. * - * Returns TRUE if the relationship is removed. + * Returns: TRUE if the relationship is removed. **/ gboolean atk_object_remove_relationship (AtkObject *object, diff --git a/atk/atkobject.h b/atk/atkobject.h index edb0508..262d39b 100755 --- a/atk/atkobject.h +++ b/atk/atkobject.h @@ -372,6 +372,16 @@ struct _AtkPropertyValues typedef struct _AtkPropertyValues AtkPropertyValues; +/** + * AtkFunction: + * @user_data: custom data defined by the user + * + * An AtkFunction is a function definition used for padding which has + * been added to class and interface structures to allow for expansion + * in the future. + * + * Returns: not used + */ typedef gboolean (*AtkFunction) (gpointer user_data); /* * For most properties the old_value field of AtkPropertyValues will @@ -385,6 +395,16 @@ typedef gboolean (*AtkFunction) (gpointer user_data); * received the focus with the new_value containing an AtkState value * corresponding to focused. */ + +/** + * AtkPropertyChangeHandler: + * @obj: atkobject which property changes + * @vals: values changed + * + * An AtkPropertyChangeHandler is a function which is executed when an + * AtkObject's property changes value. It is specified in a call to + * atk_object_connect_property_change_handler(). + */ typedef void (*AtkPropertyChangeHandler) (AtkObject* obj, AtkPropertyValues* vals); @@ -545,6 +565,13 @@ void (* initialize) (AtkObject GType atk_object_get_type (void); +/** + * AtkImplementorIface: + * + * The AtkImplementor interface is implemented by objects for which + * AtkObject peers may be obtained via calls to + * iface->(ref_accessible)(implementor); + */ struct _AtkImplementorIface { GTypeInterface parent; diff --git a/atk/atkobjectfactory.c b/atk/atkobjectfactory.c index cef6692..0741714 100755 --- a/atk/atkobjectfactory.c +++ b/atk/atkobjectfactory.c @@ -20,6 +20,19 @@ #include "atkobjectfactory.h" #include "atknoopobjectfactory.h" +/** + * SECTION:atkobjectfactory + * @Short_description: The base object class for a factory used to + * create accessible objects for objects of a specific GType. + * @Title:AtkObjectFactory + * + * This class is the base object class for a factory used to create an + * accessible object for a specific GType. The function + * atk_registry_set_factory_type() is normally called to store in the + * registry the factory type to be used to create an accessible of a + * particular GType. + */ + static void atk_object_factory_class_init (AtkObjectFactoryClass *klass); static gpointer parent_class = NULL; diff --git a/atk/atkregistry.h b/atk/atkregistry.h index eb16403..e6cf7d6 100644 --- a/atk/atkregistry.h +++ b/atk/atkregistry.h @@ -27,6 +27,21 @@ #include #include "atkobjectfactory.h" +/** + * SECTION:atkobjectregistry + * @Short_description: An object used to store the GType of the + * factories used to create an accessible object for an object of a + * particular GType. + * @Title:AtkObjectRegistry + * + * The AtkRegistry is normally used to create appropriate ATK "peers" + * for user interface components. Application developers usually need + * only interact with the AtkRegistry by associating appropriate ATK + * implementation classes with GObject classes via the + * atk_registry_set_factory_type call, passing the appropriate GType + * for application custom widget classes. + */ + G_BEGIN_DECLS #define ATK_TYPE_REGISTRY (atk_registry_get_type ()) diff --git a/atk/atkrelation.c b/atk/atkrelation.c index cc1807e..b6ba50f 100755 --- a/atk/atkrelation.c +++ b/atk/atkrelation.c @@ -23,6 +23,17 @@ #include "atkrelation.h" #include "atk-enum-types.h" +/** + * SECTION:atkrelation + * @Short_description: An object used to describe a relation between a + * object and one or more other objects. + * @Title:AtkRelation + * + * An AtkRelation describes a relation between an object and one or + * more other objects. The actual relations that an object has with + * other objects are defined as an AtkRelationSet, which is a set of + * AtkRelations. + */ enum { PROP_0, @@ -341,7 +352,7 @@ atk_relation_add_target (AtkRelation *relation, * * Remove the specified AtkObject from the target for the relation. * - * Returns TRUE if the removal is successful. + * Returns: TRUE if the removal is successful. **/ gboolean diff --git a/atk/atkrelationset.c b/atk/atkrelationset.c index f68ed15..835ded5 100755 --- a/atk/atkrelationset.c +++ b/atk/atkrelationset.c @@ -21,6 +21,22 @@ #include "atk.h" +/** + * SECTION:atkrelationset + * @Short_description: A set of AtkRelations, normally the set of + * AtkRelations which an AtkObject has. + * @Title:AtkRelationSet + * + * The AtkRelationSet held by an object establishes its relationships + * with objects beyond the normal "parent/child" hierarchical + * relationships that all user interface objects have. + * AtkRelationSets establish whether objects are labelled or + * controlled by other components, share group membership with other + * components (for instance within a radio-button group), or share + * content which "flows" between them, among other types of possible + * relationships. + */ + static gpointer parent_class = NULL; static void atk_relation_set_class_init (AtkRelationSetClass *klass); diff --git a/atk/atkselection.c b/atk/atkselection.c index 6209aeb..c324a4a 100755 --- a/atk/atkselection.c +++ b/atk/atkselection.c @@ -19,6 +19,25 @@ #include "atkselection.h" +/** + * SECTION:atkselection + * @Short_description: The ATK interface implemented by container + * objects whose #AtkObject children can be selected. + * @Title:AtkSelection + * + * #AtkSelection should be implemented by UI components with children + * which are exposed by #atk_object_ref_child and + * #atk_object_get_n_children, if the use of the parent UI component + * ordinarily involves selection of one or more of the objects + * corresponding to those #AtkObject children - for example, + * selectable lists. + * + * Note that other types of "selection" (for instance text selection) + * are accomplished a other ATK interfaces - #AtkSelection is limited + * to the selection/deselection of children. + */ + + enum { SELECTION_CHANGED, LAST_SIGNAL @@ -55,6 +74,13 @@ atk_selection_base_init (gpointer *g_class) if (! initialized) { + /** + * AtkSelection::selection-changed: + * @atkselection: the object which received the signal. + * + * The "selection-changed" signal is emitted by an object which + * implements AtkSelection interface when the selection changes. + */ atk_selection_signals[SELECTION_CHANGED] = g_signal_new ("selection_changed", ATK_TYPE_SELECTION, diff --git a/atk/atkstate.c b/atk/atkstate.c index 9eee876..cd9c5fe 100755 --- a/atk/atkstate.c +++ b/atk/atkstate.c @@ -22,6 +22,16 @@ #include +/** + * SECTION:atkstate + * @Short_description: An AtkState describes a component's particular state. + * @Title:AtkState + * + * An AtkState describes a component's particular state. The actual + * state of an component is described by its AtkStateSet, which is a + * set of AtkStates. + */ + static guint last_type = ATK_STATE_LAST_DEFINED; #define NUM_POSSIBLE_STATES (sizeof(AtkState)*8) diff --git a/atk/atkstateset.c b/atk/atkstateset.c index 001a980..1497bed 100755 --- a/atk/atkstateset.c +++ b/atk/atkstateset.c @@ -22,6 +22,15 @@ #include "atkobject.h" #include "atkstateset.h" +/** + * SECTION:atkstateset + * @Short_description: An AtkStateSet determines a component's state set. + * @Title:AtkStateSet + * + * An AtkStateSet determines a component's state set. It is composed + * of a set of AtkStates. + */ + #define ATK_STATE(state_enum) ((AtkState)((guint64)1 << ((state_enum)%64))) struct _AtkRealStateSet diff --git a/atk/atkstreamablecontent.c b/atk/atkstreamablecontent.c index 468f79d..4e8399a 100755 --- a/atk/atkstreamablecontent.c +++ b/atk/atkstreamablecontent.c @@ -19,6 +19,30 @@ #include "atkstreamablecontent.h" +/** + * SECTION:atkstreamablecontent + * @Short_description: The ATK interface which provides access to + * streamable content. + * @Title:AtkStreamableContent + * + * An interface whereby an object allows its backing content to be + * streamed to clients. Typical implementors would be images or + * icons, HTML content, or multimedia display/rendering widgets. + * + * Negotiation of content type is allowed. Clients may examine the + * backing data and transform, convert, or parse the content in order + * to present it in an alternate form to end-users. + * + * The AtkStreamableContent interface is particularly useful for + * saving, printing, or post-processing entire documents, or for + * persisting alternate views of a document. If document content + * itself is being serialized, stored, or converted, then use of the + * AtkStreamableContent interface can help address performance + * issues. Unlike most ATK interfaces, this interface is not strongly + * tied to the current user-agent view of the a particular document, + * but may in some cases give access to the underlying model data. + */ + GType atk_streamable_content_get_type (void) { @@ -70,7 +94,7 @@ atk_streamable_content_get_n_mime_types (AtkStreamableContent *streamable) * 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. * - * Returns : a gchar* representing the specified mime type; the caller + * Returns: a gchar* representing the specified mime type; the caller * should not free the character string. **/ const gchar* diff --git a/atk/atktable.c b/atk/atktable.c index 891109b..6371bf3 100755 --- a/atk/atktable.c +++ b/atk/atktable.c @@ -20,6 +20,32 @@ #include "atktable.h" #include "atkmarshal.h" +/** + * SECTION:atktable + * @Short_description: The ATK interface implemented for UI components + * which contain tabular or row/column information. + * @Title:AtkTable + * + * #AtkTable should be implemented by components which present + * elements ordered via rows and columns. It may also be used to + * present tree-structured information if the nodes of the trees can + * be said to contain multiple "columns". Individual elements of an + * #AtkTable are typically referred to as "cells", and these cells are + * exposed by #AtkTable as child #AtkObjects of the #AtkTable. Both + * row/column and child-index-based access to these children is + * provided. + * + * Children of #AtkTable are frequently "lightweight" objects, that + * is, they may not have backing widgets in the host UI toolkit. They + * are therefore often transient. + * Since tables are often very complex, #AtkTable includes provision + * for offering simplified summary information, as well as row and + * column headers and captions. Headers and captions are #AtkObjects + * which may implement other interfaces (#AtkText, #AtkImage, etc.) as + * appropriate. #AtkTable summaries may themselves be (simplified) + * #AtkTables, etc. + */ + enum { ROW_INSERTED, ROW_DELETED, @@ -63,6 +89,15 @@ atk_table_base_init (gpointer *g_class) if (!initialized) { + /** + * AtkTable::row-inserted: + * @atktable: the object which received the signal. + * @arg1: The index of the first row inserted. + * @arg2: The number of rows inserted. + * + * The "row-inserted" signal is emitted by an object which + * implements the AtkTable interface when a row is inserted. + */ atk_table_signals[ROW_INSERTED] = g_signal_new ("row_inserted", ATK_TYPE_TABLE, @@ -72,6 +107,15 @@ atk_table_base_init (gpointer *g_class) atk_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT); + /** + * AtkTable::column-inserted: + * @atktable: the object which received the signal. + * @arg1: The index of the column inserted. + * @arg2: The number of colums inserted. + * + * The "column-inserted" signal is emitted by an object which + * implements the AtkTable interface when a column is inserted. + */ atk_table_signals[COLUMN_INSERTED] = g_signal_new ("column_inserted", ATK_TYPE_TABLE, @@ -81,6 +125,15 @@ atk_table_base_init (gpointer *g_class) atk_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT); + /** + * AtkTable::row-deleted: + * @atktable: the object which received the signal. + * @arg1: The index of the first row deleted. + * @arg2: The number of rows deleted. + * + * The "row-deleted" signal is emitted by an object which + * implements the AtkTable interface when a row is deleted. + */ atk_table_signals[ROW_DELETED] = g_signal_new ("row_deleted", ATK_TYPE_TABLE, @@ -90,6 +143,15 @@ atk_table_base_init (gpointer *g_class) atk_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT); + /** + * AtkTable::column-deleted: + * @atktable: the object which received the signal. + * @arg1: The index of the first column deleted. + * @arg2: The number of columns deleted. + * + * The "column-deleted" signal is emitted by an object which + * implements the AtkTable interface when a column is deleted. + */ atk_table_signals[COLUMN_DELETED] = g_signal_new ("column_deleted", ATK_TYPE_TABLE, @@ -99,6 +161,14 @@ atk_table_base_init (gpointer *g_class) atk_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT); + /** + * AtkTable::row-reordered: + * @atktable: the object which received the signal. + * + * The "row-reordered" signal is emitted by an object which + * implements the AtkTable interface when the rows are + * reordered. + */ atk_table_signals[ROW_REORDERED] = g_signal_new ("row_reordered", ATK_TYPE_TABLE, @@ -108,6 +178,14 @@ atk_table_base_init (gpointer *g_class) g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + /** + * AtkTable::column-reordered: + * @atktable: the object which received the signal. + * + * The "column-reordered" signal is emitted by an object which + * implements the AtkTable interface when the columns are + * reordered. + */ atk_table_signals[COLUMN_REORDERED] = g_signal_new ("column_reordered", ATK_TYPE_TABLE, @@ -117,6 +195,15 @@ atk_table_base_init (gpointer *g_class) g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + + /** + * AtkTable::model-changed: + * @atktable: 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. + */ atk_table_signals[MODEL_CHANGED] = g_signal_new ("model_changed", ATK_TYPE_TABLE, diff --git a/atk/atktext.c b/atk/atktext.c index 34655b5..9cc63b6 100755 --- a/atk/atktext.c +++ b/atk/atktext.c @@ -23,6 +23,33 @@ #include +/** + * SECTION:atktext + * @Short_description: The ATK interface implemented by components + * with text content. + * @Title:AtkText + * + * #AtkText should be implemented by #AtkObjects on behalf of widgets + * that have text content which is either attributed or otherwise + * non-trivial. #AtkObjects whose text content is simple, + * unattributed, and very brief may expose that content via + * #atk_object_get_name instead; however if the text is editable, + * multi-line, typically longer than three or four words, attributed, + * selectable, or if the object already uses the 'name' ATK property + * for other information, the #AtkText interface should be used to + * expose the text content. In the case of editable text content, + * #AtkEditableText (a subtype of the #AtkText interface) should be + * implemented instead. + * + * #AtkText provides not only traversal facilities and change + * notification for text content, but also caret tracking and glyph + * bounding box calculations. Note that the text strings are exposed + * as UTF-8, and are therefore potentially multi-byte, and + * caret-to-byte offset mapping makes no assumptions about the + * character length; also bounding box glyph-to-offset mapping may be + * complex for languages which use ligatures. + */ + static GPtrArray *extra_attributes = NULL; enum { @@ -162,6 +189,18 @@ atk_text_base_init (AtkTextIface *class) class->get_range_extents = atk_text_real_get_range_extents; class->get_bounded_ranges = atk_text_real_get_bounded_ranges; + /** + * AtkText::text-changed: + * @atktext: the object which received the signal. + * @arg1: The position (character offset) of the insertion or deletion. + * @arg2: The length (in characters) of text inserted or deleted. + * + * 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 + */ atk_text_signals[TEXT_CHANGED] = g_signal_new ("text_changed", ATK_TYPE_TEXT, @@ -172,6 +211,16 @@ atk_text_base_init (AtkTextIface *class) G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT); + /** + * AtkText::text-insert: + * @atktext: the object which received the signal. + * @arg1: The position (character offset) of the insertion. + * @arg2: The length (in characters) of text inserted. + * @arg3: The text inserted + * + * The "text-insert" signal is emitted when a new text is + * inserted. + */ atk_text_signals[TEXT_INSERT] = g_signal_new ("text_insert", ATK_TYPE_TEXT, @@ -182,6 +231,16 @@ atk_text_base_init (AtkTextIface *class) G_TYPE_NONE, 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING); + /** + * AtkText::text-remove: + * @atktext: the object which received the signal. + * @arg1: The position (character offset) of the removal. + * @arg2: The length (in characters) of text removed. + * @arg3: The text inserted + * + * The "text-remove" signal is emitted when a new text is + * removed. + */ atk_text_signals[TEXT_REMOVE] = g_signal_new ("text_remove", ATK_TYPE_TEXT, @@ -192,6 +251,17 @@ atk_text_base_init (AtkTextIface *class) G_TYPE_NONE, 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING); + /** + * AtkText::text-update: + * @atktext: the object which received the signal. + * @arg1: unknown + * @arg2: unknown + * @arg3: unknown + * @arg4: unknown + * + * The "text-update" signal is emitted when a new text is + * updated. + */ atk_text_signals[TEXT_UPDATE] = g_signal_new ("text_update", ATK_TYPE_TEXT, @@ -202,6 +272,16 @@ atk_text_base_init (AtkTextIface *class) G_TYPE_NONE, 4, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING); + + /** + * AtkText::text-caret-moved: + * @atktext: the object which received the signal. + * @arg1: The new position of the text caret. + * + * The "text-caret-moved" signal is emitted when the caret + * position of the text of an object which implements AtkText + * changes. + */ atk_text_signals[TEXT_CARET_MOVED] = g_signal_new ("text_caret_moved", ATK_TYPE_TEXT, @@ -211,6 +291,14 @@ atk_text_base_init (AtkTextIface *class) g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); + + /** + * AtkText::text-selection-changed: + * @atktext: the object which received the signal. + * + * The "text-selection-changed" signal is emitted when the + * selected text of an object which implements AtkText changes. + */ atk_text_signals[TEXT_SELECTION_CHANGED] = g_signal_new ("text_selection_changed", ATK_TYPE_TEXT, @@ -219,6 +307,14 @@ atk_text_base_init (AtkTextIface *class) (GSignalAccumulator) NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + /** + * AtkText::text-attributes-changed: + * @atktext: 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. + */ atk_text_signals[TEXT_ATTRIBUTES_CHANGED] = g_signal_new ("text_attributes_changed", ATK_TYPE_TEXT, diff --git a/atk/atkutil.c b/atk/atkutil.c index e45d88f..dd505d9 100755 --- a/atk/atkutil.c +++ b/atk/atkutil.c @@ -21,6 +21,17 @@ #include "atkmarshal.c" #include "config.h" +/** + * SECTION:atkutil + * @Short_description: A set of ATK utility functions for event and toolkit support. + * @Title:AtkUtil + * + * A set of ATK utility functions which are used to support event + * registration of various types, and obtaining the 'root' accessible + * of a process and information about the current ATK implementation + * and toolkit version. + */ + static void atk_util_class_init (AtkUtilClass *klass); static AtkObject *previous_focus_object = NULL; diff --git a/atk/atkvalue.c b/atk/atkvalue.c index f8d3236..2a6b083 100755 --- a/atk/atkvalue.c +++ b/atk/atkvalue.c @@ -20,6 +20,22 @@ #include #include "atkvalue.h" +/** + * SECTION:atkvalue + * @Short_description: The ATK interface implemented by valuators and + * components which display or select a value from a bounded range of + * values. + * @Title:AtkValue + * + * #AtkValue should be implemented for components which either display + * a value from a bounded range, or which allow the user to specify a + * value from a bounded range, or both. For instance, most sliders + * and range controls, as well as dials, should have #AtkObject + * representations which implement #AtkValue on the component's + * behalf. #AtKValues may be read-only, in which case attempts to + * alter the value return FALSE to indicate failure. + */ + GType atk_value_get_type (void) { diff --git a/docs/Makefile.am b/docs/Makefile.am index f83cad7..11ef943 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -8,6 +8,8 @@ DOC_MODULE=atk # The top-level SGML file. DOC_MAIN_SGML_FILE=atk-docs.sgml +# Extra options to supply to gtkdoc-scan +SCAN_OPTIONS=--deprecated-guards=G_DISABLE_DEPRECATED # The directory containing the source code (if it contains documentation). DOC_SOURCE_DIR=../atk diff --git a/docs/atk-sections.txt b/docs/atk-sections.txt index fe10941..e50f673 100644 --- a/docs/atk-sections.txt +++ b/docs/atk-sections.txt @@ -2,6 +2,7 @@ atkaction AtkAction AtkAction +AtkActionIface atk_action_do_action atk_action_get_n_actions atk_action_get_description @@ -10,7 +11,6 @@ atk_action_get_localized_name atk_action_get_keybinding atk_action_set_description -AtkActionIface ATK_ACTION ATK_IS_ACTION ATK_TYPE_ACTION @@ -22,6 +22,9 @@ atk_action_get_type atkcomponent AtkComponent AtkComponent +AtkComponentIface +AtkFocusHandler +AtkRectangle atk_component_add_focus_handler atk_component_contains atk_component_get_extents @@ -37,14 +40,11 @@ atk_component_set_position atk_component_set_size atk_component_get_alpha -AtkComponentIface ATK_COMPONENT ATK_IS_COMPONENT ATK_TYPE_COMPONENT ATK_TYPE_RECTANGLE ATK_COMPONENT_GET_IFACE -AtkFocusHandler -AtkRectangle atk_component_get_type atk_rectangle_get_type @@ -53,6 +53,7 @@ atk_rectangle_get_type atkdocument AtkDocument AtkDocument +AtkDocumentIface atk_document_get_document_type atk_document_get_document atk_document_get_attribute_value @@ -60,7 +61,6 @@ atk_document_set_attribute_value atk_document_get_attributes atk_document_get_locale -AtkDocumentIface ATK_DOCUMENT ATK_IS_DOCUMENT ATK_TYPE_DOCUMENT @@ -392,6 +392,7 @@ atk_table_get_type atktext AtkText AtkText +AtkTextIface AtkTextBoundary AtkTextClipType AtkTextRange @@ -425,7 +426,6 @@ atk_text_attribute_get_name atk_text_attribute_for_name atk_text_attribute_get_value -AtkTextIface ATK_TEXT ATK_IS_TEXT ATK_TYPE_TEXT diff --git a/docs/tmpl/atk.sgml b/docs/tmpl/atk.sgml deleted file mode 100644 index 961a73e..0000000 --- a/docs/tmpl/atk.sgml +++ /dev/null @@ -1,18 +0,0 @@ - -atk - - - - - - - - - - - - - - - - diff --git a/docs/tmpl/atkaction.sgml b/docs/tmpl/atkaction.sgml deleted file mode 100644 index 79ee27e..0000000 --- a/docs/tmpl/atkaction.sgml +++ /dev/null @@ -1,125 +0,0 @@ - -AtkAction - - -The ATK interface provided by UI components which the user can -activate/interact with, - - - -#AtkAction should be implemented by instances of #AtkObject classes with -which the user can interact directly, i.e. buttons, checkboxes, -scrollbars, e.g. components which are not "passive" -providers of UI information. - - -Exceptions: when the user interaction is already covered by -another appropriate interface such as #AtkEditableText (insert/delete -text, etc.) or #AtkValue (set value) then these actions should not be -exposed by #AtkAction as well. - - -Also note that the #AtkAction API is limited in that parameters may not -be passed to the object being activated; thus the action must be -self-contained and specifiable via only a single "verb". Concrete -examples include "press", "release", "click" for buttons, "drag" -(meaning initiate drag) and "drop" for drag sources and drop targets, -etc. - - -Though most UI interactions on components should be invocable via -keyboard as well as mouse, there will generally be a close mapping -between "mouse actions" that are possible on a component and the -AtkActions. Where mouse and keyboard actions are redundant in effect, -#AtkAction should expose only one action rather than exposing redundant -actions if possible. By convention we have been using "mouse centric" -terminology for #AtkAction names. - - - - - - - - - - - - - - - -The AtkAction structure does not contain any fields. - - - - - - - - -@action: -@i: -@Returns: - - - - - - - -@action: -@Returns: - - - - - - - -@action: -@i: -@Returns: - - - - - - - -@action: -@i: -@Returns: - - - - - - - -@action: -@i: -@Returns: - - - - - - - -@action: -@i: -@Returns: - - - - - - - -@action: -@i: -@desc: -@Returns: - - diff --git a/docs/tmpl/atkcomponent.sgml b/docs/tmpl/atkcomponent.sgml deleted file mode 100644 index df7a84a..0000000 --- a/docs/tmpl/atkcomponent.sgml +++ /dev/null @@ -1,199 +0,0 @@ - -AtkComponent - - -The ATK interface provided by UI components which occupy a physical area on -the screen. - - - -#AtkComponent should be implemented by most if not all UI elements with -an actual on-screen presence, i.e. components which can be said to have -a screen-coordinate bounding box. Virtually all widgets will need to -have #AtkComponent implementations provided for their corresponding -#AtkObject class. In short, only UI elements which are *not* GUI -elements will omit this ATK interface. - - -A possible exception might be textual information with a transparent -background, in which case text glyph bounding box information is -provided by #AtkText. - - - - - - - - - - - - - - - -The AtkComponent structure does not contain any fields. - - - - - - -The 'bounds-changed" signal is emitted when the bposition or size of the -a component changes. - - -@atkcomponent: the object which received the signal. -@arg1: The AtkRectangle giving the new position and size. - - - - - - -@component: -@handler: -@Returns: - - - - - - - -@component: -@x: -@y: -@coord_type: -@Returns: - - - - - - - -@component: -@x: -@y: -@width: -@height: -@coord_type: - - - - - - - -@component: -@Returns: - - - - - - - -@component: -@Returns: - - - - - - - -@component: -@x: -@y: -@coord_type: - - - - - - - -@component: -@width: -@height: - - - - - - - -@component: -@Returns: - - - - - - - -@component: -@x: -@y: -@coord_type: -@Returns: - - - - - - - -@component: -@handler_id: - - - - - - - -@component: -@x: -@y: -@width: -@height: -@coord_type: -@Returns: - - - - - - - -@component: -@x: -@y: -@coord_type: -@Returns: - - - - - - - -@component: -@width: -@height: -@Returns: - - - - - - - -@component: -@Returns: - - diff --git a/docs/tmpl/atkdocument.sgml b/docs/tmpl/atkdocument.sgml deleted file mode 100644 index 935ac0c..0000000 --- a/docs/tmpl/atkdocument.sgml +++ /dev/null @@ -1,126 +0,0 @@ - -AtkDocument - - -The ATK interface which represents the toplevel container for document content. - - - -The AtkDocument interface should be supported by any object whose content is a -representation or view of a document. The AtkDocument interface should appear -on the toplevel container for the document content; however AtkDocument -instances may be nested (i.e. an AtkDocument may be a descendant of another -AtkDocument) in those cases where one document contains "embedded content" -which can reasonably be considered a document in its own right. - - - - - - - - - - - - - - - -The AtkDocument structure does not contain any fields. - - - - - - - -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.) - - -@atkdocument: 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. - - -@atkdocument: the object which received the signal. - - - -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. - - -@atkdocument: the object which received the signal. - - - - - - -@document: -@Returns: - - - - - - - -@document: -@Returns: - - - - - - - -@document: -@attribute_name: -@Returns: - - - - - - - -@document: -@attribute_name: -@attribute_value: -@Returns: - - - - - - - -@document: -@Returns: - - - - - - - -@document: -@Returns: - - diff --git a/docs/tmpl/atkeditabletext.sgml b/docs/tmpl/atkeditabletext.sgml deleted file mode 100644 index ed00800..0000000 --- a/docs/tmpl/atkeditabletext.sgml +++ /dev/null @@ -1,106 +0,0 @@ - -AtkEditableText - - -The ATK interface implemented by components containing user-editable text content. - - - -#AtkEditableText should be implemented by UI components which contain -text which the user can edit, via the #AtkObject corresponding to that -component (see #AtkObject). - - -#AtkEditableText is a subclass of #AtkText, and as such, an object which -implements #AtkEditableText is by definition an #AtkText implementor as well. - - - - -#AtkText - - - - - - - - - - -The AtkEditableText structure does not contain any fields. - - - - - - - - - -@text: -@attrib_set: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@string: - - - - - - - -@text: -@string: -@length: -@position: - - - - - - - -@text: -@start_pos: -@end_pos: - - - - - - - -@text: -@start_pos: -@end_pos: - - - - - - - -@text: -@start_pos: -@end_pos: - - - - - - - -@text: -@position: - - diff --git a/docs/tmpl/atkgobjectaccessible.sgml b/docs/tmpl/atkgobjectaccessible.sgml deleted file mode 100644 index baaef5b..0000000 --- a/docs/tmpl/atkgobjectaccessible.sgml +++ /dev/null @@ -1,51 +0,0 @@ - -AtkGObjectAccessible - - -This object class is derived from AtkObject and can be used as a basis -implementing accessible objects. - - - -This object class is derived from AtkObject. It can be used as a basis for -implementing accessible objects for GObjects which are not derived from -GtkWidget. One example of its use is in providing an accessible object -for GnomeCanvasItem in the GAIL library. - - - - - - - - - - - - - - - - -The AtkGObjectAccessible structure should not be accessed directly. - - - - - - - - -@obj: -@Returns: - - - - - - - -@obj: -@Returns: - - diff --git a/docs/tmpl/atkhyperlink.sgml b/docs/tmpl/atkhyperlink.sgml deleted file mode 100644 index edd4855..0000000 --- a/docs/tmpl/atkhyperlink.sgml +++ /dev/null @@ -1,142 +0,0 @@ - -AtkHyperlink - - -An ATK object which encapsulates a link or set of links in a hypertext document. - - - -An ATK object which encapsulates a link or set of links -(for instance in the case of client-side image maps) in a hypertext document. -It may implement the AtkAction interface. AtkHyperlink may also be used -to refer to inline embedded content, since it allows specification of a start -and end offset within the host AtkHypertext object. - - - - - - - - - - - - - - - -The AtkHyperlink structure should not be accessed directly. - - - - - - -The signal link-activated is emitted when a link is activated. - - -@atkhyperlink: the object which received the signal. - - - - - - - - - - - - - - - - - - - - - - - - - - -@ATK_HYPERLINK_IS_INLINE: - - - - - - -@link_: -@i: -@Returns: - - - - - - - -@link_: -@i: -@Returns: - - - - - - - -@link_: -@Returns: - - - - - - - -@link_: -@Returns: - - - - - - - -@link_: -@Returns: - - - - - - - -@link_: -@Returns: - - - - - - - -@link_: -@Returns: - - - - - - - -@link_: -@Returns: -@Deprecated: Please use ATK_STATE_SELECTED to indicate when a hyperlink within a Hypertext container is selected. - - diff --git a/docs/tmpl/atkhyperlinkimpl.sgml b/docs/tmpl/atkhyperlinkimpl.sgml deleted file mode 100644 index 0c80a9c..0000000 --- a/docs/tmpl/atkhyperlinkimpl.sgml +++ /dev/null @@ -1,55 +0,0 @@ - -AtkHyperlinkImpl - - -An interface from which the AtkHyperlink associated with an -AtkObject may be obtained. - - - -AtkHyperlinkImpl allows AtkObjects to -refer to their associated AtkHyperlink instance, if one -exists. AtkHyperlinkImpl differs from AtkHyperlink in that -AtkHyperlinkImpl is an interface, whereas AtkHyperlink is -a object type. The AtkHyperlinkImpl interface allows -a client to query an AtkObject for the availability of -an associated AtkHyperlink instance, and obtain that -instance. It is thus particularly useful in cases where -embedded content or inline content within a text object -is present, since the embedding text object implements -AtkHypertext and the inline/embedded objects are -exposed as children which implement AtkHyperlinkImpl, -in addition to their being obtainable via AtkHypertext:getLink -followed by AtkHyperlink:getObject. - - - - - - - - - - - - - - - -A queryable interface which allows AtkHyperlink instances associated with an -AtkObject to be obtained. AtkHyperlinkImpl corresponds to AT-SPI's -Hyperlink interface, and differs from AtkHyperlink in that AtkHyperlink -is an object type, rather than an interface, and thus cannot be directly -queried. - - - - - - - - -@obj: -@Returns: - - diff --git a/docs/tmpl/atkhypertext.sgml b/docs/tmpl/atkhypertext.sgml deleted file mode 100644 index c3f1c01..0000000 --- a/docs/tmpl/atkhypertext.sgml +++ /dev/null @@ -1,70 +0,0 @@ - -AtkHypertext - - -The ATK interface which provides standard mechanism for manipulating hyperlinks. - - - -An interface used for objects which implement linking between multiple -resource or content locations, or multiple 'markers' within a single -document. A Hypertext instance is associated with one or more Hyperlinks, -which are associated with particular offsets within the Hypertext's included -content. While this interface is derived from Text, there is no requirement that Hypertext instances have textual content; they may implement Image as well, and Hyperlinks need not have non-zero text offsets. - - - - -AtkHyperlink - - - - - - - - - - -The AtkHypertext structure does not contain any fields. - - - - - -The "link-selected" signal is emitted by an AtkHyperText object when one of -the hyperlinks associated with the object is selected. - - -@atkhypertext: the object which received the signal. -@arg1: the index of the hyperlink which is selected - - - - - - -@hypertext: -@link_index: -@Returns: - - - - - - - -@hypertext: -@Returns: - - - - - - - -@hypertext: -@char_index: -@Returns: - - diff --git a/docs/tmpl/atkimage.sgml b/docs/tmpl/atkimage.sgml deleted file mode 100644 index 8a5957b..0000000 --- a/docs/tmpl/atkimage.sgml +++ /dev/null @@ -1,90 +0,0 @@ - -AtkImage - - -The ATK Interface implemented by components which expose image or pixmap -content on-screen. - - - -#AtkImage should be implemented by #AtkObject subtypes on behalf of -components which display image/pixmap information onscreen, and which -provide information (other than just widget borders, etc.) via that -image content. For instance, icons, buttons with icons, toolbar -elements, and image viewing panes typically should implement #AtkImage. - - -#AtkImage primarily provides two types of information: coordinate -information (useful for screen review mode of screenreaders, and for use -by onscreen magnifiers), and descriptive information. The descriptive -information is provided for alternative, text-only presentation of the -most significant information present in the image. - - - - - - - - - - - - - - - -The AtkImage structure does not contain any fields. - - - - - - - - - -@image: -@x: -@y: -@coord_type: - - - - - - - -@image: -@Returns: - - - - - - - -@image: -@description: -@Returns: - - - - - - - -@image: -@width: -@height: - - - - - - - -@image: -@Returns: - - diff --git a/docs/tmpl/atknoopobject.sgml b/docs/tmpl/atknoopobject.sgml deleted file mode 100644 index ab8ffed..0000000 --- a/docs/tmpl/atknoopobject.sgml +++ /dev/null @@ -1,39 +0,0 @@ - -AtkNoOpObject - - -An AtkObject which purports to implement all ATK interfaces. - - - -An AtkNoOpObject is an AtkObject which purports to implement all ATK -interfaces. It is the type of AtkObject which is created if an accessible -object is requested for an object type for which no factory type is specified. - - - - - - - - - - - - - - - -The AtkNoOpObject structure should not be accessed directly. - - - - - - - - -@obj: -@Returns: - - diff --git a/docs/tmpl/atknoopobjectfactory.sgml b/docs/tmpl/atknoopobjectfactory.sgml deleted file mode 100644 index 092ec79..0000000 --- a/docs/tmpl/atknoopobjectfactory.sgml +++ /dev/null @@ -1,40 +0,0 @@ - -AtkNoOpObjectFactory - - -The AtkObjectFactory which creates an AtkNoOpObject. - - - -The AtkObjectFactory which creates an AtkNoOpObject. An instance of this is -created by an AtkRegistry if no factory type has not been specified to -create an accessible object of a particular type. - - - - - - - - - - - - - - - -The AtkNoOpObjectFactory structure should not be accessed directly. - - - - - - - - - -@void: -@Returns: - - diff --git a/docs/tmpl/atkobject.sgml b/docs/tmpl/atkobject.sgml deleted file mode 100644 index 42d1a50..0000000 --- a/docs/tmpl/atkobject.sgml +++ /dev/null @@ -1,581 +0,0 @@ - -AtkObject - - - -The base object class for the Accessibility Toolkit API. - - - -This class is the primary class for accessibility support via -the Accessibility ToolKit (ATK). Objects which are instances -of #AtkObject (or instances of AtkObject-derived types) are -queried for properties which relate basic (and generic) properties of a -UI component such as name and description. Instances of #AtkObject -may also be queried as to whether they implement other ATK interfaces -(e.g. #AtkAction, #AtkComponent, etc.), as appropriate to the role -which a given UI component plays in a user interface. - -All UI components in an application which provide useful -information or services to the user must provide corresponding -#AtkObject instances on request (in GTK+, for instance, usually -on a call to #gtk_widget_get_accessible ()), either via ATK support -built into the toolkit for the widget class or ancestor class, or in -the case of custom widgets, if the inherited #AtkObject implementation -is insufficient, via instances of a new #AtkObject subclass. - - - - -See also: #AtkObjectFactory, #AtkRegistry. -( GTK+ users see also #GtkAccessible). - - - - - - - - - - -The AtkObject structure should not be accessed directly. - - - - - - -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: the object which received the signal. -@arg1: 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" - - -@atkobject: the object which received the signal. -@arg1: The index of the added or removed child -@arg2: A gpointer to the child AtkObject which was added or removed - - - -The signal "focus-event" is emitted when an object gains or loses focus. - - -@atkobject: the object which received the signal. -@arg1: 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. The detail identifies the name of the property whose -value has changed. - - -@atkobject: the object which received the signal. -@arg1: 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. - - -@atkobject: the object which received the signal. -@arg1: The name of the state which has changed -@arg2: 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. - - -@atkobject: the object which received the signal. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@ATK_ROLE_INVALID: -@ATK_ROLE_ACCEL_LABEL: -@ATK_ROLE_ALERT: -@ATK_ROLE_ANIMATION: -@ATK_ROLE_ARROW: -@ATK_ROLE_CALENDAR: -@ATK_ROLE_CANVAS: -@ATK_ROLE_CHECK_BOX: -@ATK_ROLE_CHECK_MENU_ITEM: -@ATK_ROLE_COLOR_CHOOSER: -@ATK_ROLE_COLUMN_HEADER: -@ATK_ROLE_COMBO_BOX: -@ATK_ROLE_DATE_EDITOR: -@ATK_ROLE_DESKTOP_ICON: -@ATK_ROLE_DESKTOP_FRAME: -@ATK_ROLE_DIAL: -@ATK_ROLE_DIALOG: -@ATK_ROLE_DIRECTORY_PANE: -@ATK_ROLE_DRAWING_AREA: -@ATK_ROLE_FILE_CHOOSER: -@ATK_ROLE_FILLER: -@ATK_ROLE_FONT_CHOOSER: -@ATK_ROLE_FRAME: -@ATK_ROLE_GLASS_PANE: -@ATK_ROLE_HTML_CONTAINER: -@ATK_ROLE_ICON: -@ATK_ROLE_IMAGE: -@ATK_ROLE_INTERNAL_FRAME: -@ATK_ROLE_LABEL: -@ATK_ROLE_LAYERED_PANE: -@ATK_ROLE_LIST: -@ATK_ROLE_LIST_ITEM: -@ATK_ROLE_MENU: -@ATK_ROLE_MENU_BAR: -@ATK_ROLE_MENU_ITEM: -@ATK_ROLE_OPTION_PANE: -@ATK_ROLE_PAGE_TAB: -@ATK_ROLE_PAGE_TAB_LIST: -@ATK_ROLE_PANEL: -@ATK_ROLE_PASSWORD_TEXT: -@ATK_ROLE_POPUP_MENU: -@ATK_ROLE_PROGRESS_BAR: -@ATK_ROLE_PUSH_BUTTON: -@ATK_ROLE_RADIO_BUTTON: -@ATK_ROLE_RADIO_MENU_ITEM: -@ATK_ROLE_ROOT_PANE: -@ATK_ROLE_ROW_HEADER: -@ATK_ROLE_SCROLL_BAR: -@ATK_ROLE_SCROLL_PANE: -@ATK_ROLE_SEPARATOR: -@ATK_ROLE_SLIDER: -@ATK_ROLE_SPLIT_PANE: -@ATK_ROLE_SPIN_BUTTON: -@ATK_ROLE_STATUSBAR: -@ATK_ROLE_TABLE: -@ATK_ROLE_TABLE_CELL: -@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: -@ATK_ROLE_HEADER: -@ATK_ROLE_FOOTER: -@ATK_ROLE_PARAGRAPH: -@ATK_ROLE_RULER: -@ATK_ROLE_APPLICATION: -@ATK_ROLE_AUTOCOMPLETE: -@ATK_ROLE_EDITBAR: -@ATK_ROLE_EMBEDDED: -@ATK_ROLE_ENTRY: -@ATK_ROLE_CHART: -@ATK_ROLE_CAPTION: -@ATK_ROLE_DOCUMENT_FRAME: -@ATK_ROLE_HEADING: -@ATK_ROLE_PAGE: -@ATK_ROLE_SECTION: -@ATK_ROLE_REDUNDANT_OBJECT: -@ATK_ROLE_FORM: -@ATK_ROLE_LINK: -@ATK_ROLE_INPUT_METHOD_WINDOW: -@ATK_ROLE_LAST_DEFINED: - - - - - - -@name: -@Returns: - - - - - - -@ATK_LAYER_INVALID: -@ATK_LAYER_BACKGROUND: -@ATK_LAYER_CANVAS: -@ATK_LAYER_WIDGET: -@ATK_LAYER_MDI: -@ATK_LAYER_POPUP: -@ATK_LAYER_OVERLAY: -@ATK_LAYER_WINDOW: - - - -The AtkImplementor interface is implemented by objects for which AtkObject peers may be obtained via calls to iface->(ref_accessible)(implementor); - - - - - -The Atk PropertyValue structure is used when notifying a change in property. -Currently, the only property for which old_value is used is -accessible-state; for instance if there is a focus change the -property change handler will be called for the object which lost the focus -with the old_value containing the AtkState value corresponding to focused -and the property change handler will be called for the object which -received the focus with the new_value containing the AtkState value -corresponding to focused. - - - -@property_name: -@old_value: -@new_value: - - - -An AtkFunction is a function definition used for padding which has been added -to class and interface structures to allow for expansion in the future. - - - -@data: a gpointer to parameter data. -@Returns: Nothing useful, this is only a dummy prototype. - - - - -An AtkPropertyChangeHandler is a function which is executed when an AtkObject's property changes value. It is specified in a call to -atk_object_connect_property_change_handler(). - - -@Param1: an #AtkObject -@Param2: an #AtkPropertyValues - - - - - - - -@implementor: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@i: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@Returns: -@Deprecated: Use atk_component_get_layer instead. - - - - - - - -@accessible: -@Returns: -@Deprecated: Use atk_component_get_mdi_zorder instead. - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@accessible: -@name: - - - - - - - -@accessible: -@description: - - - - - - - -@accessible: -@parent: - - - - - - - -@accessible: -@role: - - - - - - - -@accessible: -@handler: -@Returns: - - - - - - - -@accessible: -@handler_id: - - - - - - - -@accessible: -@state: -@value: - - - - - - - -@accessible: -@data: - - - - - - - -@object: -@relationship: -@target: -@Returns: - - - - - - - -@object: -@relationship: -@target: -@Returns: - - - - - - - -@accessible: -@Returns: - - - - - - - -@role: -@Returns: - - - - - - - -@role: -@Returns: - - - - - - - -@name: -@Returns: - - diff --git a/docs/tmpl/atkobjectfactory.sgml b/docs/tmpl/atkobjectfactory.sgml deleted file mode 100644 index d278c2c..0000000 --- a/docs/tmpl/atkobjectfactory.sgml +++ /dev/null @@ -1,62 +0,0 @@ - -AtkObjectFactory - - -The base object class for a factory used to create accessible objects for -objects of a specific GType. - - - -This class is the base object class for a factory used to create an -accessible object for a specific GType. The function -atk_registry_set_factory_type() is normally called to store -in the registry the factory type to be used to create an accessible of a -particular GType. - - - - -AtkRegistry - - - - - - - - - - - -The AtkObjectFactory structure should not be accessed directly. - - - - - - - - - -@factory: -@obj: -@Returns: - - - - - - - -@factory: -@Returns: - - - - - - - -@factory: - - diff --git a/docs/tmpl/atkregistry.sgml b/docs/tmpl/atkregistry.sgml deleted file mode 100644 index f67e111..0000000 --- a/docs/tmpl/atkregistry.sgml +++ /dev/null @@ -1,73 +0,0 @@ - -AtkRegistry - - -An object used to store the GType of the factories used to create an accessible -object for an object of a particular GType. - - - -The AtkRegistry is normally used to create appropriate ATK "peers" for user -interface components. Application developers usually need only interact with -the AtkRegistry by associating appropriate ATK implementation classes with -GObject classes via the atk_registry_set_factory_type call, passing the -appropriate GType for application custom widget classes. - - - - - - - - - - - - - - - -The AtkRegistry structure should not be accessed directly. - - - - - - - - - -@registry: -@type: -@factory_type: - - - - - - - -@registry: -@type: -@Returns: - - - - - - - -@registry: -@type: -@Returns: - - - - - - - -@void: -@Returns: - - diff --git a/docs/tmpl/atkrelation.sgml b/docs/tmpl/atkrelation.sgml deleted file mode 100644 index d83f1e8..0000000 --- a/docs/tmpl/atkrelation.sgml +++ /dev/null @@ -1,143 +0,0 @@ - -AtkRelation - - -An object used to describe a relation between a object and one or more -other objects. - - - -An AtkRelation describes a relation between an object and one or more -other objects. The actual relations that an object has with other objects -are defined as an AtkRelationSet, which is a set of AtkRelations. - - - - - - - - - - - - - - - - - -The AtkRelation structure should not be accessed directly. - - - - - - - - - - - - - - - - - - - -@ATK_RELATION_NULL: -@ATK_RELATION_CONTROLLED_BY: -@ATK_RELATION_CONTROLLER_FOR: -@ATK_RELATION_LABEL_FOR: -@ATK_RELATION_LABELLED_BY: -@ATK_RELATION_MEMBER_OF: -@ATK_RELATION_NODE_CHILD_OF: -@ATK_RELATION_FLOWS_TO: -@ATK_RELATION_FLOWS_FROM: -@ATK_RELATION_SUBWINDOW_OF: -@ATK_RELATION_EMBEDS: -@ATK_RELATION_EMBEDDED_BY: -@ATK_RELATION_POPUP_FOR: -@ATK_RELATION_PARENT_WINDOW_OF: -@ATK_RELATION_DESCRIBED_BY: -@ATK_RELATION_DESCRIPTION_FOR: -@ATK_RELATION_NODE_PARENT_OF: -@ATK_RELATION_LAST_DEFINED: - - - - - - -@name: -@Returns: - - - - - - - -@type: -@Returns: - - - - - - - -@name: -@Returns: - - - - - - - -@targets: -@n_targets: -@relationship: -@Returns: - - - - - - - -@relation: -@Returns: - - - - - - - -@relation: -@Returns: - - - - - - - -@relation: -@target: - - - - - - - -@relation: -@target: -@Returns: - - diff --git a/docs/tmpl/atkrelationset.sgml b/docs/tmpl/atkrelationset.sgml deleted file mode 100644 index f2f1633..0000000 --- a/docs/tmpl/atkrelationset.sgml +++ /dev/null @@ -1,110 +0,0 @@ - -AtkRelationSet - - -A set of AtkRelations, normally the set of AtkRelations which an AtkObject has. - - - -The AtkRelationSet held by an object establishes its relationships with -objects beyond the normal "parent/child" hierarchical relationships that all -user interface objects have. AtkRelationSets establish whether objects are -labelled or controlled by other components, share group membership with other -components (for instance within a radio-button group), or share content which -"flows" between them, among other types of possible relationships. - - - - - - - - - - - - - - - -The AtkRelationSet structure should not be accessed directly. - - - - - - - - - -@void: -@Returns: - - - - - - - -@set: -@relationship: -@Returns: - - - - - - - -@set: -@relation: - - - - - - - -@set: -@relation: - - - - - - - -@set: -@Returns: - - - - - - - -@set: -@i: -@Returns: - - - - - - - -@set: -@relationship: -@Returns: - - - - - - - -@set: -@relationship: -@target: - - diff --git a/docs/tmpl/atkselection.sgml b/docs/tmpl/atkselection.sgml deleted file mode 100644 index 37fed31..0000000 --- a/docs/tmpl/atkselection.sgml +++ /dev/null @@ -1,115 +0,0 @@ - -AtkSelection - - - -The ATK interface implemented by container objects whose #AtkObject children -can be selected. - - - -#AtkSelection should be implemented by UI components with children which -are exposed by #atk_object_ref_child and #atk_object_get_n_children, if -the use of the parent UI component ordinarily involves selection of one -or more of the objects corresponding to those #AtkObject children - for -example, selectable lists. - - -Note that other types of "selection" (for instance text selection) are -accomplished a other ATK interfaces - #AtkSelection is limited to the -selection/deselection of children. - - - - -#AtkText - - - - - - - - - - -The AtkAction structure does not contain any fields. - - - - - - -The "selection-changed" signal is emitted by an object which implements -AtkSelection interface when the selection changes. - - -@atkselection: the object which received the signal. - - - - - - -@selection: -@i: -@Returns: - - - - - - - -@selection: -@Returns: - - - - - - - -@selection: -@i: -@Returns: - - - - - - - -@selection: -@Returns: - - - - - - - -@selection: -@i: -@Returns: - - - - - - - -@selection: -@i: -@Returns: - - - - - - - -@selection: -@Returns: - - diff --git a/docs/tmpl/atkstate.sgml b/docs/tmpl/atkstate.sgml deleted file mode 100644 index 0e3f771..0000000 --- a/docs/tmpl/atkstate.sgml +++ /dev/null @@ -1,103 +0,0 @@ - -AtkState - - -An AtkState describes a component's particular state. - - - -An AtkState describes a component's particular state. The actual state of -an component is described by its AtkStateSet, which is a set of AtkStates. - - - - - - - - - - - - - - - - - - -@ATK_STATE_INVALID: -@ATK_STATE_ACTIVE: -@ATK_STATE_ARMED: -@ATK_STATE_BUSY: -@ATK_STATE_CHECKED: -@ATK_STATE_DEFUNCT: -@ATK_STATE_EDITABLE: -@ATK_STATE_ENABLED: -@ATK_STATE_EXPANDABLE: -@ATK_STATE_EXPANDED: -@ATK_STATE_FOCUSABLE: -@ATK_STATE_FOCUSED: -@ATK_STATE_HORIZONTAL: -@ATK_STATE_ICONIFIED: -@ATK_STATE_MODAL: -@ATK_STATE_MULTI_LINE: -@ATK_STATE_MULTISELECTABLE: -@ATK_STATE_OPAQUE: -@ATK_STATE_PRESSED: -@ATK_STATE_RESIZABLE: -@ATK_STATE_SELECTABLE: -@ATK_STATE_SELECTED: -@ATK_STATE_SENSITIVE: -@ATK_STATE_SHOWING: -@ATK_STATE_SINGLE_LINE: -@ATK_STATE_STALE: -@ATK_STATE_TRANSIENT: -@ATK_STATE_VERTICAL: -@ATK_STATE_VISIBLE: -@ATK_STATE_MANAGES_DESCENDANTS: -@ATK_STATE_INDETERMINATE: -@ATK_STATE_TRUNCATED: -@ATK_STATE_REQUIRED: -@ATK_STATE_INVALID_ENTRY: -@ATK_STATE_SUPPORTS_AUTOCOMPLETION: -@ATK_STATE_SELECTABLE_TEXT: -@ATK_STATE_DEFAULT: -@ATK_STATE_ANIMATED: -@ATK_STATE_VISITED: -@ATK_STATE_LAST_DEFINED: - - - -The AtkState value should not be referenceed directly. - - - - - - - - - -@name: -@Returns: - - - - - - - -@type: -@Returns: - - - - - - - -@name: -@Returns: - - diff --git a/docs/tmpl/atkstateset.sgml b/docs/tmpl/atkstateset.sgml deleted file mode 100644 index 35ac7a9..0000000 --- a/docs/tmpl/atkstateset.sgml +++ /dev/null @@ -1,136 +0,0 @@ - -AtkStateSet - - -An AtkStateSet determines a component's state set. - - - -An AtkStateSet determines a component's state set. It is composed of a set -of AtkStates. - - - - - - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@set: -@Returns: - - - - - - - -@set: -@type: -@Returns: - - - - - - - -@set: -@types: -@n_types: - - - - - - - -@set: - - - - - - - -@set: -@type: -@Returns: - - - - - - - -@set: -@types: -@n_types: -@Returns: - - - - - - - -@set: -@type: -@Returns: - - - - - - - -@set: -@compare_set: -@Returns: - - - - - - - -@set: -@compare_set: -@Returns: - - - - - - - -@set: -@compare_set: -@Returns: - - diff --git a/docs/tmpl/atkstreamablecontent.sgml b/docs/tmpl/atkstreamablecontent.sgml deleted file mode 100644 index 7135f94..0000000 --- a/docs/tmpl/atkstreamablecontent.sgml +++ /dev/null @@ -1,83 +0,0 @@ - -AtkStreamableContent - - -The ATK interface which provides access to streamable content. - - - -An interface whereby an object allows its backing content to be streamed to -clients. Typical implementors would be images or icons, HTML content, or -multimedia display/rendering widgets. - - -Negotiation of content type is allowed. Clients may examine the backing data -and transform, convert, or parse the content in order to present it in an alternate form to end-users. - - -The AtkStreamableContent interface is particularly useful for saving, -printing, or post-processing entire documents, or for persisting alternate -views of a document. If document content itself is being serialized, -stored, or converted, then use of the AtkStreamableContent interface can help -address performance issues. Unlike most ATK interfaces, -this interface is not strongly tied to the current user-agent view of the -a particular document, but may in some cases give access to the underlying model data. - - - - - - - - - - - - - - - -The AtkStreamableContent structure does not contain any fields. - - - - - - - - - -@streamable: -@Returns: - - - - - - - -@streamable: -@i: -@Returns: - - - - - - - -@streamable: -@mime_type: -@Returns: - - - - - - - -@streamable: -@mime_type: -@Returns: - - diff --git a/docs/tmpl/atktable.sgml b/docs/tmpl/atktable.sgml deleted file mode 100644 index 2eff438..0000000 --- a/docs/tmpl/atktable.sgml +++ /dev/null @@ -1,403 +0,0 @@ - -AtkTable - - -The ATK interface implemented for UI components which contain tabular or -row/column information. - - - -#AtkTable should be implemented by components which present elements -ordered via rows and columns. It may also be used to present -tree-structured information if the nodes of the trees can be said to -contain multiple "columns". Individual elements of an #AtkTable are -typically referred to as "cells", and these cells are exposed by -#AtkTable as child #AtkObjects of the #AtkTable. Both row/column and -child-index-based access to these children is provided. - - -Children of #AtkTable are frequently "lightweight" objects, that is, -they may not have backing widgets in the host UI toolkit. They are -therefore often transient. - - -Since tables are often very complex, #AtkTable includes provision for -offering simplified summary information, as well as row and column -headers and captions. Headers and captions are #AtkObjects which may -implement other interfaces (#AtkText, #AtkImage, etc.) as appropriate. -#AtkTable summaries may themselves be (simplified) #AtkTables, etc. - - - - -#AtkObject, #ATK_STATE_TRANSIENT - - - - - - - - - - -The AtkTable structure does not contain any fields. - - - - - - -The "column-deleted" signal is emitted by an object which implements the -AtkTable interface when a column is deleted. - - -@atktable: the object which received the signal. -@arg1: The index of the first column deleted. -@arg2: The number of columns deleted. - - - -The "column-inserted" signal is emitted by an object which implements the -AtkTable interface when a column is inserted. - - - -@atktable: the object which received the signal. -@arg1: The index of the column inserted. -@arg2: The number of colums inserted. - - - -The "column-reordered" signal is emitted by an object which implements the -AtkTable interface when the columns are reordered. - - -@atktable: 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. - - -@atktable: 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. - - - -@atktable: the object which received the signal. -@arg1: The index of the first row deleted. -@arg2: The number of rows deleted. - - - -The "row-inserted" signal is emitted by an object which implements the -AtkTable interface when a row is inserted. - - -@atktable: the object which received the signal. -@arg1: The index of the first row inserted. -@arg2: The number of rows inserted. - - - -The "row-reordered" signal is emitted by an object which implements the -AtkTable interface when the rows are reordered. - - -@atktable: the object which received the signal. - - - - - - -@table: -@row: -@column: -@Returns: - - - - - - - -@table: -@row: -@column: -@Returns: - - - - - - - -@table: -@index_: -@Returns: - - - - - - - -@table: -@index_: -@Returns: - - - - - - - -@table: -@Returns: - - - - - - - -@table: -@Returns: - - - - - - - -@table: -@row: -@column: -@Returns: - - - - - - - -@table: -@row: -@column: -@Returns: - - - - - - - -@table: -@Returns: - - - - - - - -@table: -@column: -@Returns: - - - - - - - -@table: -@row: -@Returns: - - - - - - - -@table: -@column: -@Returns: - - - - - - - -@table: -@row: -@Returns: - - - - - - - -@table: -@Returns: - - - - - - - -@table: -@caption: - - - - - - - -@table: -@row: -@description: - - - - - - - -@table: -@column: -@description: - - - - - - - -@table: -@row: -@header: - - - - - - - -@table: -@column: -@header: - - - - - - - -@table: -@accessible: - - - - - - - -@table: -@selected: -@Returns: - - - - - - - -@table: -@selected: -@Returns: - - - - - - - -@table: -@column: -@Returns: - - - - - - - -@table: -@row: -@Returns: - - - - - - - -@table: -@row: -@column: -@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 deleted file mode 100644 index af3360e..0000000 --- a/docs/tmpl/atktext.sgml +++ /dev/null @@ -1,474 +0,0 @@ - -AtkText - - -The ATK interface implemented by components with text content. - - - -#AtkText should be implemented by #AtkObjects on behalf of widgets that -have text content which is either attributed or otherwise non-trivial. -#AtkObjects whose text content is simple, unattributed, and very brief -may expose that content via #atk_object_get_name instead; however if the -text is editable, multi-line, typically longer than three or four words, -attributed, selectable, or if the object already uses the 'name' ATK -property for other information, the #AtkText interface should be used -to expose the text content. In the case of editable text content, -#AtkEditableText (a subtype of the #AtkText interface) should be -implemented instead. - - -#AtkText provides not only traversal facilities and change notification -for text content, but also caret tracking and glyph bounding box -calculations. Note that the text strings are exposed as UTF-8, and are -therefore potentially multi-byte, and caret-to-byte offset mapping makes -no assumptions about the character length; also bounding box -glyph-to-offset mapping may be complex for languages which use ligatures. - - - - - - - - - - - - - - - -The AtkText structure does not contain any fields. - - - - - - -The "text-attributes-changed" signal is emitted when the text attributes of -the text of an object which implements AtkText changes. - - -@atktext: 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. - - -@atktext: the object which received the signal. -@arg1: 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 - - -@atktext: the object which received the signal. -@arg1: The position (character offset) of the insertion or deletion. -@arg2: The length (in characters) of text inserted or deleted. - - - - - - -@atktext: the object which received the signal. -@arg1: -@arg2: -@arg3: - - - - - - -@atktext: the object which received the signal. -@arg1: -@arg2: -@arg3: - - - -The "text-selection-changed" signal is emitted when the selected text of -an object which implements AtkText changes. - - - -@atktext: the object which received the signal. - - - - - - -@atktext: the object which received the signal. -@arg1: -@arg2: -@arg3: -@arg4: - - - - - - -@ATK_TEXT_BOUNDARY_CHAR: -@ATK_TEXT_BOUNDARY_WORD_START: -@ATK_TEXT_BOUNDARY_WORD_END: -@ATK_TEXT_BOUNDARY_SENTENCE_START: -@ATK_TEXT_BOUNDARY_SENTENCE_END: -@ATK_TEXT_BOUNDARY_LINE_START: -@ATK_TEXT_BOUNDARY_LINE_END: - - - - - - -@ATK_TEXT_CLIP_NONE: -@ATK_TEXT_CLIP_MIN: -@ATK_TEXT_CLIP_MAX: -@ATK_TEXT_CLIP_BOTH: - - - - - - -@bounds: -@start_offset: -@end_offset: -@content: - - - - - - -@x: -@y: -@width: -@height: - - - - - - -@name: -@value: - - - - - - - - - - - - -@ATK_TEXT_ATTR_INVALID: -@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: -@ATK_TEXT_ATTR_LAST_DEFINED: - - - - - - -@text: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@offset: -@Returns: - - - - - - - -@text: -@offset: -@boundary_type: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@offset: -@boundary_type: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@offset: -@boundary_type: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@Returns: - - - - - - - -@text: -@offset: -@x: -@y: -@width: -@height: -@coords: - - - - - - - -@text: -@offset: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@Returns: - - - - - - - -@text: -@Returns: - - - - - - - -@text: -@x: -@y: -@coords: -@Returns: - - - - - - - -@text: -@rect: -@coord_type: -@x_clip_type: -@y_clip_type: -@Returns: - - - - - - - -@text: -@start_offset: -@end_offset: -@coord_type: -@rect: - - - - - - - -@ranges: - - - - - - - -@text: -@Returns: - - - - - - - -@text: -@selection_num: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@selection_num: -@Returns: - - - - - - - -@text: -@selection_num: -@start_offset: -@end_offset: -@Returns: - - - - - - - -@text: -@offset: -@Returns: - - - - - - - -@attrib_set: - - - - - - - -@name: -@Returns: - - - - - - - -@attr: -@Returns: - - - - - - - -@name: -@Returns: - - - - - - - -@attr: -@index_: -@Returns: - - diff --git a/docs/tmpl/atkutil.sgml b/docs/tmpl/atkutil.sgml deleted file mode 100644 index 6331d36..0000000 --- a/docs/tmpl/atkutil.sgml +++ /dev/null @@ -1,254 +0,0 @@ - -AtkUtil - - -A set of ATK utility functions for event and toolkit support. - - - -A set of ATK utility functions which are used to support event registration of -various types, and obtaining the 'root' accessible of a process and -information about the current ATK implementation and toolkit version. - - - - - - - - - - - - - - - -The AtkUtil struct does not contain any fields. - - - - - - - - -@ATK_XY_SCREEN: -@ATK_XY_WINDOW: - - - - - - -@focus_tracker: -@Returns: - - - - - - - -@tracker_id: - - - - - - - -@init: - - - - - - - -@object: - - - - - - - -@obj: - - - - - - - -@void: - - - - - - - -@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: - - - - - - - -@void: -@Returns: - - - - - - - -@void: -@Returns: - - - - - - - -@void: -@Returns: - - - - - - - -@void: -@Returns: - - - - - - - -@void: -@Returns: - - - - - - - -@TN: -@t_n: -@T_P: - - - - - - - -@TN: -@t_n: -@T_P: -@_f_: -@_C_: - - - - - - - -@TN: -@t_n: -@T_P: -@_C_: - - - - - - - -@TN: -@t_n: -@T_P: - - - - - - - -@TN: -@t_n: -@T_P: -@_C_: - - diff --git a/docs/tmpl/atkvalue.sgml b/docs/tmpl/atkvalue.sgml deleted file mode 100644 index 55ed1fe..0000000 --- a/docs/tmpl/atkvalue.sgml +++ /dev/null @@ -1,82 +0,0 @@ - -AtkValue - - -The ATK interface implemented by valuators and components which display or -select a value from a bounded range of values. - - - -#AtkValue should be implemented for components which either display a -value from a bounded range, or which allow the user to specify a value -from a bounded range, or both. For instance, most sliders and range -controls, as well as dials, should have #AtkObject representations which -implement #AtkValue on the component's behalf. #AtKValues may be -read-only, in which case attempts to alter the value return FALSE to -indicate failure. - - - - - - - - - - - - - - - -The AtkValue structure does not contain any fields. - - - - - - - - - -@obj: -@value: - - - - - - - -@obj: -@value: - - - - - - - -@obj: -@value: - - - - - - - -@obj: -@value: -@Returns: - - - - - - - -@obj: -@value: - - -- 2.7.4