KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21572/root/usr/share/gtk-doc/html/atk/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/share/gtk-doc/html/atk/AtkSelection.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>AtkSelection</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="ATK - Accessibility Toolkit">
<link rel="up" href="atk.html" title="ATK Library">
<link rel="prev" href="AtkRelationSet.html" title="AtkRelationSet">
<link rel="next" href="atk-AtkState.html" title="AtkState">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="atk.html" title="ATK Library">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in ATK 1.3">
<link rel="index" href="ix04.html" title="Index of new symbols in ATK 1.4">
<link rel="index" href="ix05.html" title="Index of new symbols in ATK 1.6">
<link rel="index" href="ix06.html" title="Index of new symbols in ATK 1.9">
<link rel="index" href="ix07.html" title="Index of new symbols in ATK 1.12">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" 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 - Accessibility Toolkit</th>
<td><a accesskey="n" href="atk-AtkState.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578647" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2578965" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id2578868" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id2578892" class="shortcut">Known Implementations</a>
                  &#160;|&#160;
                  <a href="#id2578915" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="AtkSelection"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2578647"></a><span class="refentrytitle">AtkSelection</span>
</h2>
<p>AtkSelection &#8212; 
The ATK interface implemented by container objects whose <a href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> children
can be selected.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">



            <a href="AtkSelection.html#AtkSelection-struct">AtkSelection</a>;
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="AtkSelection.html#atk-selection-add-selection">atk_selection_add_selection</a>     (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <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,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        <a href="AtkSelection.html#atk-selection-get-selection-count">atk_selection_get_selection_count</a>
                                            (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="AtkSelection.html#atk-selection-is-child-selected">atk_selection_is_child_selected</a> (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="AtkSelection.html#atk-selection-remove-selection">atk_selection_remove_selection</a>  (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <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" lang="en">
<a name="id2578868"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  GInterface
   +----AtkSelection
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2578892"></a><h2>Known Implementations</h2>
<p>
AtkSelection is implemented by
 <a href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2578915"></a><h2>Signals</h2>
<pre class="synopsis">

"<a href="AtkSelection.html#AtkSelection-selection-changed">selection-changed</a>"
            void        user_function      (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *atkselection,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>      user_data)         : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2578965"></a><h2>Description</h2>
<p>
<a href="AtkSelection.html" title="AtkSelection"><span class="type">AtkSelection</span></a> should be implemented by UI components with children which
are exposed by <span class="type">atk_object_ref_child</span> and <span class="type">atk_object_get_n_children</span>, if
the use of the parent UI component ordinarily involves selection of one
or more of the objects corresponding to those <a href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> children - for
example, selectable lists.
</p>
<p>
Note that other types of "selection" (for instance text selection) are
accomplished a other ATK interfaces - <a href="AtkSelection.html" title="AtkSelection"><span class="type">AtkSelection</span></a> is limited to the
selection/deselection of children.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2579034"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2579044"></a><h3>
<a name="AtkSelection-struct"></a>AtkSelection</h3>
<a class="indexterm" name="id2579057"></a><pre class="programlisting">typedef struct _AtkSelection AtkSelection;</pre>
<p>
The AtkAction structure does not contain any fields.

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2579074"></a><h3>
<a name="atk-selection-add-selection"></a>atk_selection_add_selection ()</h3>
<a class="indexterm" name="id2579088"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    atk_selection_add_selection     (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);</pre>
<p>
Adds the specified accessible child of the object to the
object's selection.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>selection</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> instance that implements AtkSelectionIface
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>i</code></em>&#160;:</span></td>
<td> a <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a> specifying the child index.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE if success, FALSE otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2579187"></a><h3>
<a name="atk-selection-clear-selection"></a>atk_selection_clear_selection ()</h3>
<a class="indexterm" name="id2579201"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    atk_selection_clear_selection   (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection);</pre>
<p>
Clears the selection in the object so that no children in the object
are selected.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>selection</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> instance that implements AtkSelectionIface
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE if success, FALSE otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2579272"></a><h3>
<a name="atk-selection-ref-selection"></a>atk_selection_ref_selection ()</h3>
<a class="indexterm" name="id2579286"></a><pre class="programlisting"><a href="AtkObject.html" title="AtkObject">AtkObject</a>*  atk_selection_ref_selection     (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);</pre>
<p>
Gets a reference to the accessible object representing the specified 
selected child of the object.
Note: callers should not rely on <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
<code class="function">atk_get_accessible_value()</code> convenience method.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>selection</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> instance that implements AtkSelectionIface
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>i</code></em>&#160;:</span></td>
<td> a <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a> specifying the index in the selection set.  (e.g. the
ith selection as opposed to the ith child).
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> an <a href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> representing the selected accessible , or <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
if <em class="parameter"><code>selection</code></em> does not implement this interface.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2579436"></a><h3>
<a name="atk-selection-get-selection-count"></a>atk_selection_get_selection_count ()</h3>
<a class="indexterm" name="id2579451"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>        atk_selection_get_selection_count
                                            (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection);</pre>
<p>
Gets the number of accessible children currently selected.
Note: callers should not rely on <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
<code class="function">atk_get_accessible_value()</code> convenience method.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>selection</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> instance that implements AtkSelectionIface
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a gint representing the number of items selected, or 0
if <em class="parameter"><code>selection</code></em> does not implement this interface.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2579553"></a><h3>
<a name="atk-selection-is-child-selected"></a>atk_selection_is_child_selected ()</h3>
<a class="indexterm" name="id2579566"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    atk_selection_is_child_selected (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);</pre>
<p>
Determines if the current child of this object is selected
Note: callers should not rely on <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
<code class="function">atk_get_accessible_value()</code> convenience method.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>selection</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> instance that implements AtkSelectionIface
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>i</code></em>&#160;:</span></td>
<td> a <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a> specifying the child index.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a gboolean representing the specified child is selected, or 0
if <em class="parameter"><code>selection</code></em> does not implement this interface.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2579697"></a><h3>
<a name="atk-selection-remove-selection"></a>atk_selection_remove_selection ()</h3>
<a class="indexterm" name="id2579711"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    atk_selection_remove_selection  (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> i);</pre>
<p>
Removes the specified child of the object from the object's selection.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>selection</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> instance that implements AtkSelectionIface
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>i</code></em>&#160;:</span></td>
<td> a <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a> specifying the index in the selection set.  (e.g. the
ith selection as opposed to the ith child).
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE if success, FALSE otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2579812"></a><h3>
<a name="atk-selection-select-all-selection"></a>atk_selection_select_all_selection ()</h3>
<a class="indexterm" name="id2579826"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    atk_selection_select_all_selection
                                            (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *selection);</pre>
<p>
Causes every child of the object to be selected if the object
supports multiple selections.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>selection</code></em>&#160;:</span></td>
<td> a <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> instance that implements AtkSelectionIface
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE if success, FALSE otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2579899"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2579909"></a><h3>
<a name="AtkSelection-selection-changed"></a>The "selection-changed" signal</h3>
<a class="indexterm" name="id2579920"></a><pre class="programlisting">void        user_function                  (<a href="AtkSelection.html" title="AtkSelection">AtkSelection</a> *atkselection,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>      user_data)         : Run last</pre>
<p>
The "selection-changed" signal is emitted by an object which implements 
AtkSelection interface when the selection changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>atkselection</code></em>&#160;:</span></td>
<td>the object which received the signal.

</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2579993"></a><h2>See Also</h2>
<p>
<a href="AtkText.html" title="AtkText"><span class="type">AtkText</span></a>
</p>
</div>
</div>
</body>
</html>

Anon7 - 2021