⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atkobject.html

📁 linux下图形库开发包atk-1.4.0.tar.gz
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"><title>AtkObject</title><meta name="generator" content="DocBook XSL Stylesheets V1.48"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">        .synopsis, .classsynopsis {            background: #eeeeee;            border: solid 1px #aaaaaa;            padding: 0.5em;        }        .programlisting {            background: #eeeeff;            border: solid 1px #aaaaff;            padding: 0.5em;        }        .variablelist {            padding: 4px;            margin-left: 3em;        }        .navigation {            background: #ffeeee;            border: solid 1px #ffaaaa;            margin-top: 0.5em;            margin-bottom: 0.5em;        }        .navigation a {            color: #770000;        }        .navigation a:visited {            color: #550000;        }        .navigation .title {            font-size: 200%;        }      </style><link rel="home" href="index.html" title="ATK Library Reference Manual"><link rel="up" href="atk.html" title="ATK Library"><link rel="previous" href="AtkNoOpObjectFactory.html" title="AtkNoOpObjectFactory"><link rel="next" href="AtkObjectFactory.html" title="AtkObjectFactory"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="AtkNoOpObjectFactory.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="atk.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">ATK Library Reference Manual</th><td><a accesskey="n" href="AtkObjectFactory.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="AtkObject"></a><div class="titlepage"></div><div class="refnamediv"><h2>AtkObject</h2><p>AtkObject &#8212; The base object class for the Accessibility Toolkit API.</p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id273453"></a>Synopsis</h1></h2><pre class="synopsis">struct      <a href="AtkObject.html#AtkObject-struct">AtkObject</a>;enum        <a href="AtkObject.html#AtkRole">AtkRole</a>;<a href="AtkObject.html#AtkRole">AtkRole</a>     <a href="AtkObject.html#atk-role-register">atk_role_register</a>               (const gchar *name);enum        <a href="AtkObject.html#AtkLayer">AtkLayer</a>;struct      <a href="AtkObject.html#AtkImplementor">AtkImplementor</a>;struct      <a href="AtkObject.html#AtkPropertyValues">AtkPropertyValues</a>;gboolean    (<a href="AtkObject.html#AtkFunction">*AtkFunction</a>)                  (gpointer data);void        (<a href="AtkObject.html#AtkPropertyChangeHandler">*AtkPropertyChangeHandler</a>)     (<a href="AtkObject.html" title="AtkObject">AtkObject</a>*,                                             <a href="AtkObject.html#AtkPropertyValues">AtkPropertyValues</a>*);<a href="AtkObject.html" title="AtkObject">AtkObject</a>*  <a href="AtkObject.html#atk-implementor-ref-accessible">atk_implementor_ref_accessible</a>  (<a href="AtkObject.html#AtkImplementor">AtkImplementor</a> *implementor);G_CONST_RETURN gchar* <a href="AtkObject.html#atk-object-get-name">atk_object_get_name</a>   (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);G_CONST_RETURN gchar* <a href="AtkObject.html#atk-object-get-description">atk_object_get_description</a>                                            (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);<a href="AtkObject.html" title="AtkObject">AtkObject</a>*  <a href="AtkObject.html#atk-object-get-parent">atk_object_get_parent</a>           (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);gint        <a href="AtkObject.html#atk-object-get-n-accessible-children">atk_object_get_n_accessible_children</a>                                            (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);<a href="AtkObject.html" title="AtkObject">AtkObject</a>*  <a href="AtkObject.html#atk-object-ref-accessible-child">atk_object_ref_accessible_child</a> (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             gint i);<a href="AtkRelationSet.html" title="AtkRelationSet">AtkRelationSet</a>* <a href="AtkObject.html#atk-object-ref-relation-set">atk_object_ref_relation_set</a> (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);<a href="AtkObject.html#AtkLayer">AtkLayer</a>    <a href="AtkObject.html#atk-object-get-layer">atk_object_get_layer</a>            (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);gint        <a href="AtkObject.html#atk-object-get-mdi-zorder">atk_object_get_mdi_zorder</a>       (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);<a href="AtkObject.html#AtkRole">AtkRole</a>     <a href="AtkObject.html#atk-object-get-role">atk_object_get_role</a>             (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);<a href="AtkStateSet.html" title="AtkStateSet">AtkStateSet</a>* <a href="AtkObject.html#atk-object-ref-state-set">atk_object_ref_state_set</a>       (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);gint        <a href="AtkObject.html#atk-object-get-index-in-parent">atk_object_get_index_in_parent</a>  (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible);void        <a href="AtkObject.html#atk-object-set-name">atk_object_set_name</a>             (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             const gchar *name);void        <a href="AtkObject.html#atk-object-set-description">atk_object_set_description</a>      (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             const gchar *description);void        <a href="AtkObject.html#atk-object-set-parent">atk_object_set_parent</a>           (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             <a href="AtkObject.html" title="AtkObject">AtkObject</a> *parent);void        <a href="AtkObject.html#atk-object-set-role">atk_object_set_role</a>             (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             <a href="AtkObject.html#AtkRole">AtkRole</a> role);guint       <a href="AtkObject.html#atk-object-connect-property-change-handler">atk_object_connect_property_change_handler</a>                                            (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             <a href="AtkObject.html#AtkPropertyChangeHandler">AtkPropertyChangeHandler</a> *handler);void        <a href="AtkObject.html#atk-object-remove-property-change-handler">atk_object_remove_property_change_handler</a>                                            (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             guint handler_id);void        <a href="AtkObject.html#atk-object-notify-state-change">atk_object_notify_state_change</a>  (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             <a href="atk-AtkState.html#AtkState">AtkState</a> state,                                             gboolean value);void        <a href="AtkObject.html#atk-object-initialize">atk_object_initialize</a>           (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *accessible,                                             gpointer data);gboolean    <a href="AtkObject.html#atk-object-add-relationship">atk_object_add_relationship</a>     (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *object,                                             <a href="AtkRelation.html#AtkRelationType">AtkRelationType</a> relationship,                                             <a href="AtkObject.html" title="AtkObject">AtkObject</a> *target);gboolean    <a href="AtkObject.html#atk-object-remove-relationship">atk_object_remove_relationship</a>  (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *object,                                             <a href="AtkRelation.html#AtkRelationType">AtkRelationType</a> relationship,                                             <a href="AtkObject.html" title="AtkObject">AtkObject</a> *target);G_CONST_RETURN gchar* <a href="AtkObject.html#atk-role-get-name">atk_role_get_name</a>     (<a href="AtkObject.html#AtkRole">AtkRole</a> role);G_CONST_RETURN gchar* <a href="AtkObject.html#atk-role-get-localized-name">atk_role_get_localized_name</a>                                            (<a href="AtkObject.html#AtkRole">AtkRole</a> role);<a href="AtkObject.html#AtkRole">AtkRole</a>     <a href="AtkObject.html#atk-role-for-name">atk_role_for_name</a>               (const gchar *name);</pre></div><div class="refsect1"><h2>Object Hierarchy</h2><pre class="synopsis">  GObject   +----AtkObject         +----<a href="AtkGObjectAccessible.html" title="AtkGObjectAccessible">AtkGObjectAccessible</a>         +----<a href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a></pre></div><div class="refsect1"><h2>Properties</h2><pre class="synopsis">  &quot;<a href="AtkObject.html#AtkObject--accessible-component-layer">accessible-component-layer</a>&quot; gint                 : Read  &quot;<a href="AtkObject.html#AtkObject--accessible-component-mdi-zorder">accessible-component-mdi-zorder</a>&quot; gint                 : Read  &quot;<a href="AtkObject.html#AtkObject--accessible-description">accessible-description</a>&quot; gchararray           : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-name">accessible-name</a>&quot;      gchararray           : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-parent">accessible-parent</a>&quot;    <a href="AtkObject.html" title="AtkObject">AtkObject</a>            : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-role">accessible-role</a>&quot;      gint                 : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-table-caption">accessible-table-caption</a>&quot; gchararray           : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-table-caption-object">accessible-table-caption-object</a>&quot; <a href="AtkObject.html" title="AtkObject">AtkObject</a>            : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-table-column-description">accessible-table-column-description</a>&quot; gchararray           : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-table-column-header">accessible-table-column-header</a>&quot; <a href="AtkObject.html" title="AtkObject">AtkObject</a>            : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-table-row-description">accessible-table-row-description</a>&quot; gchararray           : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-table-row-header">accessible-table-row-header</a>&quot; <a href="AtkObject.html" title="AtkObject">AtkObject</a>            : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-table-summary">accessible-table-summary</a>&quot; <a href="AtkObject.html" title="AtkObject">AtkObject</a>            : Read / Write  &quot;<a href="AtkObject.html#AtkObject--accessible-value">accessible-value</a>&quot;     gdouble              : Read / Write</pre></div><div class="refsect1"><h2>Signal Prototypes</h2><pre class="synopsis">&quot;<a href="AtkObject.html#AtkObject-active-descendant-changed">active-descendant-changed</a>&quot;            void        user_function      (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *atkobject,                                            gpointer arg1,                                            gpointer user_data);&quot;<a href="AtkObject.html#AtkObject-children-changed">children-changed</a>&quot;            void        user_function      (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *atkobject,                                            guint arg1,                                            gpointer arg2,                                            gpointer user_data);&quot;<a href="AtkObject.html#AtkObject-focus-event">focus-event</a>&quot;            void        user_function      (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *atkobject,                                            gboolean arg1,                                            gpointer user_data);&quot;<a href="AtkObject.html#AtkObject-property-change">property-change</a>&quot;            void        user_function      (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *atkobject,                                            gpointer arg1,                                            gpointer user_data);&quot;<a href="AtkObject.html#AtkObject-state-change">state-change</a>&quot;            void        user_function      (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *atkobject,                                            gchar *arg1,                                            gboolean arg2,                                            gpointer user_data);&quot;<a href="AtkObject.html#AtkObject-visible-data-changed">visible-data-changed</a>&quot;            void        user_function      (<a href="AtkObject.html" title="AtkObject">AtkObject</a> *atkobject,                                            gpointer user_data);</pre></div><div class="refsect1"><h2>Description</h2><p>This class is the primary class for accessibility support viathe Accessibility ToolKit (ATK).  Objects which are instancesof <a href="AtkObject.html" title="AtkObject">AtkObject</a> (or instances of AtkObject-derived types) arequeried for properties which relate basic (and generic) properties of aUI component such as name and description.  Instances of <a href="AtkObject.html" title="AtkObject">AtkObject</a>may also be queried as to whether they implement other ATK interfaces(e.g. <a href="AtkAction.html" title="AtkAction">AtkAction</a>, <a href="AtkComponent.html" title="AtkComponent">AtkComponent</a>, etc.), as appropriate to the rolewhich a given UI component plays in a user interface.</p><p>All UI components in an application which provide usefulinformation or services to the user must provide corresponding<a href="AtkObject.html" title="AtkObject">AtkObject</a> instances on request (in GTK+, for instance, usuallyon a call to #<tt>gtk_widget_get_accessible()</tt>), either via ATK supportbuilt into the toolkit for the widget class or ancestor class, or inthe case of custom widgets, if the inherited <a href="AtkObject.html" title="AtkObject">AtkObject</a> implementationis insufficient, via instances of a new <a href="AtkObject.html" title="AtkObject">AtkObject</a> subclass. </p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="AtkObject-struct"></a>struct AtkObject</h3><a class="indexterm" name="id275636"></a><pre class="programlisting">struct AtkObject;</pre><p>The AtkObject structure should not be accessed directly.</p></div><hr><div class="refsect2"><h3><a name="AtkRole"></a>enum AtkRole</h3><a class="indexterm" name="id275683"></a><pre class="programlisting">typedef enum{  ATK_ROLE_INVALID = 0,   ATK_ROLE_ACCEL_LABEL,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -