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

📄 atkselection.html

📁 linux下图形库开发包atk-1.4.0.tar.gz
💻 HTML
字号:
<!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>AtkSelection</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="AtkRelationSet.html" title="AtkRelationSet"><link rel="next" href="atk-AtkState.html" title="AtkState"></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="AtkRelationSet.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="atk-AtkState.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="AtkSelection"></a><div class="titlepage"></div><div class="refnamediv"><h2>AtkSelection</h2><p>AtkSelection &#8212; The ATK interface implemented by container objects whose <a href="AtkObject.html" title="AtkObject">AtkObject</a> childrencan be selected.</p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id286880"></a>Synopsis</h1></h2><pre class="synopsis">struct      <a href="AtkSelection.html#AtkSelection-struct">AtkSelection</a>;gboolean    <a href="AtkSelection.html#atk-selection-add-selection">atk_selection_add_selection</a>     (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,                                             gint i);gboolean    <a href="AtkSelection.html#atk-selection-clear-selection">atk_selection_clear_selection</a>   (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection);<a href="AtkObject.html" title="AtkObject">AtkObject</a>*  <a href="AtkSelection.html#atk-selection-ref-selection">atk_selection_ref_selection</a>     (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,                                             gint i);gint        <a href="AtkSelection.html#atk-selection-get-selection-count">atk_selection_get_selection_count</a>                                            (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection);gboolean    <a href="AtkSelection.html#atk-selection-is-child-selected">atk_selection_is_child_selected</a> (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,                                             gint i);gboolean    <a href="AtkSelection.html#atk-selection-remove-selection">atk_selection_remove_selection</a>  (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,                                             gint i);gboolean    <a href="AtkSelection.html#atk-selection-select-all-selection">atk_selection_select_all_selection</a>                                            (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection);</pre></div><div class="refsect1"><h2>Object Hierarchy</h2><pre class="synopsis">  GInterface   +----AtkSelection</pre></div><div class="refsect1"><h2>Known Implementations</h2><p>AtkSelection is implemented by <a href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p></div><div class="refsect1"><h2>Signal Prototypes</h2><pre class="synopsis">&quot;<a href="AtkSelection.html#AtkSelection-selection-changed">selection-changed</a>&quot;            void        user_function      (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *atkselection,                                            gpointer user_data);</pre></div><div class="refsect1"><h2>Description</h2><p><a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> should be implemented by UI components with children whichare exposed by atk_object_ref_child and atk_object_get_n_children, ifthe use of the parent UI component ordinarily involves selection of oneor more of the objects corresponding to those <a href="AtkObject.html" title="AtkObject">AtkObject</a> children - forexample, selectable lists.</p><p>Note that other types of &quot;selection&quot; (for instance text selection) areaccomplished a other ATK interfaces - <a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> is limited to theselection/deselection of children.</p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="AtkSelection-struct"></a>struct AtkSelection</h3><a class="indexterm" name="id288662"></a><pre class="programlisting">struct AtkSelection;</pre><p>The AtkAction structure does not contain any fields.</p></div><hr><div class="refsect2"><h3><a name="atk-selection-add-selection"></a>atk_selection_add_selection ()</h3><a class="indexterm" name="id288738"></a><pre class="programlisting">gboolean    atk_selection_add_selection     (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,                                             gint i);</pre><p>Adds the specified accessible child of the object to theobject's selection.</p><p></p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>selection</tt></i>

⌨️ 快捷键说明

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