2003-07-17 06:35:10 +00:00
<Type Name= "Selection" FullName= "Gtk.Selection" >
<TypeSignature Language= "C#" Value= "public class Selection" Maintainer= "auto" />
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-09-03 04:11:38 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
2003-07-17 06:35:10 +00:00
</AssemblyInfo>
<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>
<Docs >
2004-08-28 01:45:27 +00:00
<summary > Object to represent a selection.</summary>
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members >
<Member MemberName= "AddTargets" >
<MemberSignature Language= "C#" Value= "public static void AddTargets (Gtk.Widget widget, Gdk.Atom selection, Gtk.TargetEntry targets, uint ntargets);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "selection" Type= "Gdk.Atom" />
<Parameter Name= "targets" Type= "Gtk.TargetEntry" />
<Parameter Name= "ntargets" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Add targets for this widget.</summary>
2003-07-17 06:35:10 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "selection" > a <see cref= "T:Gdk.Atom" /> </param>
<param name= "targets" > a <see cref= "T:Gtk.TargetEntry" /> </param>
<param name= "ntargets" > a <see cref= "T:System.UInt32" /> </param>
2004-11-05 21:25:40 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "ClearTargets" >
<MemberSignature Language= "C#" Value= "public static void ClearTargets (Gtk.Widget widget, Gdk.Atom selection);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "selection" Type= "Gdk.Atom" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<summary > Remove all targets registered for the given selection for the widget.</summary>
2003-07-17 06:35:10 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
2004-09-06 14:51:09 +00:00
<param name= "selection" > a <see cref= "T:Gdk.Atom" /> representing the selection.</param>
2004-11-05 21:25:40 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveAll" >
<MemberSignature Language= "C#" Value= "public static void RemoveAll (Gtk.Widget widget);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<summary > Removes all handlers and unsets ownership of all
selections for a widget. Called when widget is being
destroyed.</summary>
2003-07-17 06:35:10 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
2004-11-05 21:25:40 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "Clear" >
<MemberSignature Language= "C#" Value= "public static bool Clear (Gtk.Widget widget, Gdk.EventSelection evnt);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "evnt" Type= "Gdk.EventSelection" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-11-05 21:25:40 +00:00
<summary > The default handler for the <see cref= "E:Gtk.Widget.SelectionClearEvent" /> event. Instead of calling this function, chain up from your <see cref= "Gtk.SelectionClearEventHandler" /> . Calling this function from any other context is illegal.</summary>
2003-07-17 06:35:10 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "evnt" > a <see cref= "T:Gdk.EventSelection" /> </param>
2004-09-06 14:51:09 +00:00
<returns > a <see cref= "T:System.Boolean" /> , true if the event was handled, otherwise false</returns>
<remarks > This function will be deprecated in future versions of GTK+ and GTK#.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "Convert" >
<MemberSignature Language= "C#" Value= "public static bool Convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint time_);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "selection" Type= "Gdk.Atom" />
<Parameter Name= "target" Type= "Gdk.Atom" />
<Parameter Name= "time_" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<summary > Request the contents of a selection. When received,
2004-11-05 21:25:40 +00:00
a <see cref= "E:Gtk.Widget.SelectionReceived" /> event will
2004-09-06 14:51:09 +00:00
be generated. </summary>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> , the requesting widget</param>
<param name= "selection" > a <see cref= "T:Gdk.Atom" /> , the selection to get</param>
<param name= "target" > a <see cref= "T:Gdk.Atom" /> , the form of the information ("STRING" for example) (TODO: elaborate possible options)</param>
<param name= "time_" > a <see cref= "T:System.UInt32" /> , the time the request is being made</param>
<returns > a <see cref= "T:System.Boolean" /> , true if the request succeeded, false if it couldn't be processed.</returns>
2004-11-05 21:25:40 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "AddTarget" >
<MemberSignature Language= "C#" Value= "public static void AddTarget (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "selection" Type= "Gdk.Atom" />
<Parameter Name= "target" Type= "Gdk.Atom" />
<Parameter Name= "info" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-09-06 14:51:09 +00:00
<summary > Add the specified target to the list of supported targets for this selection.</summary>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> , the widget for which this target applies</param>
<param name= "selection" > a <see cref= "T:Gdk.Atom" /> , the selection data</param>
2003-07-17 06:35:10 +00:00
<param name= "target" > a <see cref= "T:Gdk.Atom" /> </param>
<param name= "info" > a <see cref= "T:System.UInt32" /> </param>
2004-09-06 14:51:09 +00:00
<remarks > TODO: this could be better-explained.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "OwnerSet" >
<MemberSignature Language= "C#" Value= "public static bool OwnerSet (Gtk.Widget widget, Gdk.Atom selection, uint time_);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "selection" Type= "Gdk.Atom" />
<Parameter Name= "time_" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-11-05 21:25:40 +00:00
<summary > Claims ownership of a given selection for a particular widget, or if <paramref name= "widget" /> is <see langword= "null" /> , release ownership of the selection.</summary>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> or <see langword= "null" /> </param>
2004-09-06 14:51:09 +00:00
<param name= "selection" > a <see cref= "T:Gdk.Atom" /> representing the selection to claim.</param>
<param name= "time_" > a <see cref= "T:System.UInt32" /> , a timestamp to use in claiming the selection.</param>
<returns > a <see cref= "T:System.Boolean" /> , true if the operation succeeded.</returns>
2004-11-05 21:25:40 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "OwnerSetForDisplay" >
<MemberSignature Language= "C#" Value= "public static bool OwnerSetForDisplay (Gdk.Display display, Gtk.Widget widget, Gdk.Atom selection, uint time_);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "display" Type= "Gdk.Display" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "selection" Type= "Gdk.Atom" />
<Parameter Name= "time_" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-11-05 21:25:40 +00:00
<summary > Claims ownership of a given selection on a given display for a particular widget, or if <paramref name= "widget" /> is <see langword= "null" /> , release ownership of the selection.</summary>
2004-09-06 14:51:09 +00:00
<param name= "display" > a <see cref= "T:Gdk.Display" /> , the display where the selection is set.</param>
2004-11-05 21:25:40 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> or <see langword= "null" /> </param>
2004-09-06 14:51:09 +00:00
<param name= "selection" > a <see cref= "T:Gdk.Atom" /> representing the selection to claim.</param>
<param name= "time_" > a <see cref= "T:System.UInt32" /> , a timestamp to use in claiming the selection.</param>
<returns > a <see cref= "T:System.Boolean" /> , true if the operation succeeded.</returns>
2004-11-05 21:25:40 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Selection ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Public constructor.</summary>
2004-11-05 21:25:40 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
</Members>
2005-05-23 20:41:51 +00:00
</Type>