2003-02-12 01:57:20 +00:00
<Type Name= "Selection" FullName= "Atk.Selection" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public interface Selection : GLib.IWrapper" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > atk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-12-09 23:12:49 +00:00
<AssemblyVersion > 2.8.0.0</AssemblyVersion>
2003-02-12 01:57:20 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:42:27 +00:00
<summary >
The ATK interface implemented by container objects whose <see cref= "T:Atk.Object" /> children can be selected.
</summary>
<remarks >
<para >
The ATK interface implemented by container objects whose <see cref= "T:Atk.Object" /> children can be selected.
</para>
<para >
This should be implemented by UI components with children
which are exposed by <see cref= "M:Atk.Object.RefChild" /> and
<see cref= "M:Atk.Object.NChildren" /> , 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.
</para>
<para >
Note that other types of "selection" (for instance text
selection) are accomplished a other ATK interfaces -
<see cref= "T:Atk.Selection" /> is limited to the selection/deselection of
children.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Members >
<Member MemberName= "SelectAllSelection" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SelectAllSelection ();" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-22 19:42:27 +00:00
<summary > Causes every child of the object to be selected if the object supports multiple selections.</summary>
<returns >
<see langword= "true" /> if success, <see langword= "false" /> otherwise.
</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveSelection" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool RemoveSelection (int i);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "i" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:42:27 +00:00
<summary > Removes the specified child of the object from the object's selection.</summary>
<param name= "i" >
A <see langword= "int" /> specifying the index in the selection set. (e.g. the
ith selection as opposed to the ith child).
</param>
<returns >
<see langword= "true" /> if success, <see langword= "false" />
otherwise.
</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "IsChildSelected" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool IsChildSelected (int i);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "i" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:42:27 +00:00
<summary > Determines if the current child of this object is selected.</summary>
<param name= "i" > A <see langword= "int" /> specifying the child index.</param>
<returns > A bool representing the specified child is selected, or 0 if selection does not implement this interface.</returns>
<remarks >
<para >
Callers should not rely on 0 or on a zero value for
indication of whether AtkSelectionIface is implemented, they
should use type checking/interface checking macros or the
atk_get_accessible_value() convenience method.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "ClearSelection" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool ClearSelection ();" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-22 19:42:27 +00:00
<summary > Clears the selection in the object so that no children in the object are selected.</summary>
<returns >
<see langword= "true" /> if success, <see langword= "false" /> otherwise.
</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "AddSelection" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool AddSelection (int i);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "i" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-22 19:42:27 +00:00
<summary > Adds the specified accessible child of the object to the object's selection.</summary>
<param name= "i" > A <see langword= "int" /> specifying the child index.</param>
<returns >
<see langword= "true" /> if success, <see langword= "false" /> otherwise.
</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "RefSelection" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Atk.Object RefSelection (int i);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Atk.Object</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "i" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
<summary > To be added</summary>
<param name= "i" > To be added: an object of type 'int'</param>
<returns > To be added: an object of type 'Atk.Object'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SelectionCount" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public int SelectionCount { get; };" />
2003-02-12 01:57:20 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2004-06-22 19:42:27 +00:00
<summary > Gets the number of accessible children currently selected.</summary>
2005-05-23 20:41:51 +00:00
<value >
2004-06-22 19:42:27 +00:00
A <see langword= "int" /> representing the number of items
selected, or 0 if selection does not implement this
interface.
2005-05-23 20:41:51 +00:00
</value>
2004-06-22 19:42:27 +00:00
<remarks >
<para >
Callers should not rely on 0 or on a zero value for
indication of whether AtkSelectionIface is implemented,
they should use type checking/interface checking macros or
the atk_get_accessible_value() convenience method.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "SelectionChanged" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event EventHandler SelectionChanged;" />
2003-02-12 01:57:20 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
2003-02-12 01:57:20 +00:00
<Parameters />
<Docs >
2005-09-25 17:33:45 +00:00
<summary > Event raised when the selected is changed.</summary>
2004-06-22 19:42:27 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
</Members>
2005-05-23 20:41:51 +00:00
</Type>