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

📄 atkstate.xml

📁 The ATK library provides a set of interfaces for accessibility.By supporting the ATK interfaces, an
💻 XML
📖 第 1 页 / 共 2 页
字号:
<listitem><simpara> Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-SELECTED:CAPS" role="constant"><term><literal>ATK_STATE_SELECTED</literal></term><listitem><simpara> Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-SENSITIVE:CAPS" role="constant"><term><literal>ATK_STATE_SENSITIVE</literal></term><listitem><simpara> Indicates this object is sensitive, e.g. to user interaction. STATE_SENSITIVE usually accompanies STATE_ENABLED for user-actionable controls,but may be found in the absence of STATE_ENABLED if the current visible state of the control is "disconnected" from the application state.  In such cases, direct user interactioncan often result in the object gaining STATE_SENSITIVE, for instance if a user makes an explicit selection using an object whose current state is ambiguous or undefined.<parameter>see</parameter> STATE_ENABLED, STATE_INDETERMINATE.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-SHOWING:CAPS" role="constant"><term><literal>ATK_STATE_SHOWING</literal></term><listitem><simpara> Indicates this object, the object's parent, the object's parent's parent, and so on, are all 'shown' to the end-user, i.e. subject to "exposure" if blocking or obscuring objects do not interposebetween this object and the top of the window stack.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-SINGLE-LINE:CAPS" role="constant"><term><literal>ATK_STATE_SINGLE_LINE</literal></term><listitem><simpara> Indicates this (text) object can contain only a single line of text</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-STALE:CAPS" role="constant"><term><literal>ATK_STATE_STALE</literal></term><listitem><simpara> Indicates that the information returned for this object may no longer besynchronized with the application state.  This is implied if the object has STATE_TRANSIENT,and can also occur towards the end of the object peer's lifecycle. It can also be used to indicate that the index associated with this object has changed since the user accessed the object (in lieu of"index-in-parent-changed" events).</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-TRANSIENT:CAPS" role="constant"><term><literal>ATK_STATE_TRANSIENT</literal></term><listitem><simpara> Indicates this object is transient, i.e. a snapshot which may not emit events when itsstate changes.  Data from objects with ATK_STATE_TRANSIENT should not be cached, since there may be nonotification given when the cached data becomes obsolete.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-VERTICAL:CAPS" role="constant"><term><literal>ATK_STATE_VERTICAL</literal></term><listitem><simpara> Indicates the orientation of this object is vertical</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-VISIBLE:CAPS" role="constant"><term><literal>ATK_STATE_VISIBLE</literal></term><listitem><simpara> Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-MANAGES-DESCENDANTS:CAPS" role="constant"><term><literal>ATK_STATE_MANAGES_DESCENDANTS</literal></term><listitem><simpara> Indicates that "active-descendant-changed" eventis sent when children become 'active' (i.e. are selected or navigated to onscreen).Used to prevent need to enumerate all children in very large containers, like tables.The presence of STATE_MANAGES_DESCENDANTS is an indication to the client.that the children should not, and need not, be enumerated by the client.Objects implementing this state are expected to provide relevant statenotifications to listening clients, for instance notifications of visibilitychanges and activation of their contained child objects, without the client having previously requested references to those children.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-INDETERMINATE:CAPS" role="constant"><term><literal>ATK_STATE_INDETERMINATE</literal></term><listitem><simpara> Indicates that a check box is in a state other than checked or not checked.This usually means that the boolean value reflected or controlled by the object does not apply consistently to the entire current context.For example, a checkbox for the "Bold" attribute of text may have STATE_INDETERMINATEif the currently selected text contains a mixture of weight attributes.  In many cases interacting with a STATE_INDETERMINATE object will cause the context's corresponding boolean attribute to be homogenized, whereupon the objectwill lose STATE_INDETERMINATE and a corresponding state-changed event will be fired.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-TRUNCATED:CAPS" role="constant"><term><literal>ATK_STATE_TRUNCATED</literal></term><listitem><simpara> Indicates that an object is truncated, e.g. a text value in a speradsheet cell.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-REQUIRED:CAPS" role="constant"><term><literal>ATK_STATE_REQUIRED</literal></term><listitem><simpara> Indicates that explicit user interaction with an object is required by the user interface, e.g. a required field in a "web-form" interface.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-INVALID-ENTRY:CAPS" role="constant"><term><literal>ATK_STATE_INVALID_ENTRY</literal></term><listitem><simpara> Indicates that the object has encountered an error condition due to failure of input validation. For instance, a form control may acquire this state in response to invalid or malformed user input.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-SUPPORTS-AUTOCOMPLETION:CAPS" role="constant"><term><literal>ATK_STATE_SUPPORTS_AUTOCOMPLETION</literal></term><listitem><simpara>  Indicates that the object in question implements some form of ¨typeahead¨ or pre-selection behavior whereby entering the first character of one or more sub-elementscauses those elements to scroll into view or become selected.  Subsequent character inputmay narrow the selection further as long as one or more sub-elements match the string.This state is normally only useful and encountered on objects that implement Selection.In some cases the typeahead behavior may result in full or partial ¨completion¨ of the data in the input field, in which case these input events may trigger text-changedevents from the AtkText interface.  This state supplants <parameter>ATK_ROLE_AUTOCOMPLETE</parameter>.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-SELECTABLE-TEXT:CAPS" role="constant"><term><literal>ATK_STATE_SELECTABLE_TEXT</literal></term><listitem><simpara>Indicates that the object in question supports text selection. It should only be exposed on objects which implement the Text interface, in order to distinguish this state from <parameter>ATK_STATE_SELECTABLE</parameter>, which infers that the object in question is a selectable child of an object which implements Selection. While similar, text selection and subelement selection are distinct operations.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-DEFAULT:CAPS" role="constant"><term><literal>ATK_STATE_DEFAULT</literal></term><listitem><simpara> Indicates that the object is the "default" active component, i.e. the object which is activated by an end-user press of the "Enter" or "Return" key.  Typically a "close" or "submit" button.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-ANIMATED:CAPS" role="constant"><term><literal>ATK_STATE_ANIMATED</literal></term><listitem><simpara> Indicates that the object changes its appearance dynamically as an inherent part of its presentation.  This state may come and go if an object is only temporarily animated on the way to a 'final' onscreen presentation.<parameter>note</parameter> some applications, notably content viewers, may not be able to detectall kinds of animated content.  Therefore the absence of this state should notbe taken as definitive evidence that the object's visual representation isstatic; this state is advisory.</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-VISITED:CAPS" role="constant"><term><literal>ATK_STATE_VISITED</literal></term><listitem><simpara> Indicates that the object (typically a hyperlink) has already been 'activated', and/or its backing data has already been downloaded, rendered, or otherwise "visited".</simpara></listitem></varlistentry><varlistentry id="ATK-STATE-LAST-DEFINED:CAPS" role="constant"><term><literal>ATK_STATE_LAST_DEFINED</literal></term><listitem><simpara> Not a valid state, used for finding end of enumeration</simpara></listitem></varlistentry></variablelist></refsect2><refsect2 id="AtkState" role="typedef"><title>AtkState</title><indexterm zone="AtkState"><primary>AtkState</primary></indexterm><programlisting>typedef guint64      AtkState;</programlisting><para>The AtkState value should not be referenceed directly.</para></refsect2><refsect2 id="atk-state-type-register" role="function"><title>atk_state_type_register ()</title><indexterm zone="atk-state-type-register"><primary>atk_state_type_register</primary></indexterm><programlisting><link linkend="AtkStateType">AtkStateType</link>        atk_state_type_register             (const <link linkend="gchar">gchar</link> *name);</programlisting><para>Register a new object state.</para><para></para><variablelist role="params"><varlistentry><term><parameter>name</parameter>&nbsp;:</term><listitem><simpara> a character string describing the new state.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> an <link linkend="AtkState"><type>AtkState</type></link> value for the new state.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2 id="atk-state-type-get-name" role="function"><title>atk_state_type_get_name ()</title><indexterm zone="atk-state-type-get-name"><primary>atk_state_type_get_name</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>*        atk_state_type_get_name             (<link linkend="AtkStateType">AtkStateType</link> type);</programlisting><para>Gets the description string describing the <link linkend="AtkStateType"><type>AtkStateType</type></link> <parameter>type</parameter>.</para><para></para><variablelist role="params"><varlistentry><term><parameter>type</parameter>&nbsp;:</term><listitem><simpara> The <link linkend="AtkStateType"><type>AtkStateType</type></link> whose name is required</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the string describing the AtkStateType</simpara></listitem></varlistentry></variablelist></refsect2><refsect2 id="atk-state-type-for-name" role="function"><title>atk_state_type_for_name ()</title><indexterm zone="atk-state-type-for-name"><primary>atk_state_type_for_name</primary></indexterm><programlisting><link linkend="AtkStateType">AtkStateType</link>        atk_state_type_for_name             (const <link linkend="gchar">gchar</link> *name);</programlisting><para>Gets the <link linkend="AtkStateType"><type>AtkStateType</type></link> corresponding to the description string <parameter>name</parameter>.</para><para></para><variablelist role="params"><varlistentry><term><parameter>name</parameter>&nbsp;:</term><listitem><simpara> a character string state name</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> an <link linkend="AtkStateType"><type>AtkStateType</type></link> corresponding to <parameter>name</parameter> </simpara></listitem></varlistentry></variablelist></refsect2></refsect1></refentry>

⌨️ 快捷键说明

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