2003-02-12 02:00:12 +00:00
<Type Name= "SelectionData" FullName= "Gtk.SelectionData" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class SelectionData : GLib.Opaque" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 02:00:12 +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 02:00:12 +00:00
<Docs >
2004-08-19 04:03:05 +00:00
<summary > A type to represent data that's selected as part of a drag-and-drop or clipboard operation.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
2005-02-15 21:53:03 +00:00
<BaseTypeName > GLib.Opaque</BaseTypeName>
2003-02-12 02:00:12 +00:00
</Base>
<Interfaces />
<Members >
<Member MemberName= "Free" >
<MemberSignature Language= "C#" Value= "public void Free ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-19 04:03:05 +00:00
<summary > Releases memory that was used by this object.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Gtk.SelectionData Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.SelectionData</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Copy the object by value.</summary>
2004-10-05 14:17:03 +00:00
<returns > a <see cref= "T:Gtk.SelectionData" /> </returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "TargetsIncludeText" >
<MemberSignature Language= "C#" Value= "public bool TargetsIncludeText ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-17 17:52:22 +00:00
<summary >
Assuming that this selection data object holds a list
of targets, determines if any of the targets in can be used to
provide text.</summary>
2005-01-12 19:22:43 +00:00
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-10-05 14:17:03 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-01-09 01:32:46 +00:00
<Member MemberName= "Text" >
<MemberSignature Language= "C#" Value= "public string Text { set; get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2004-01-09 01:32:46 +00:00
<ReturnType > System.String</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-29 08:58:39 +00:00
<summary > The text stored in the selection.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.String" /> .</value>
2004-10-05 14:17:03 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-01-09 01:32:46 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2004-01-09 01:32:46 +00:00
<ReturnType > GLib.GType</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
2004-01-09 01:32:46 +00:00
<Parameters />
2003-02-12 02:00:12 +00:00
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.SelectionData" /> .</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-01-09 01:32:46 +00:00
<Member MemberName= "Format" >
<MemberSignature Language= "C#" Value= "public int Format { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2004-01-09 01:32:46 +00:00
<ReturnType > System.Int32</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
2004-01-09 01:32:46 +00:00
<Parameters />
2003-02-12 02:00:12 +00:00
<Docs >
2005-01-12 19:22:43 +00:00
<summary > The unit length of the data in bits.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-12-17 17:52:22 +00:00
<remarks > On most systems, this is 8 for a string and 32 for
an integer.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-01-09 01:32:46 +00:00
<Member MemberName= "Length" >
<MemberSignature Language= "C#" Value= "public int Length { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2004-01-09 01:32:46 +00:00
<ReturnType > System.Int32</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
2004-01-09 01:32:46 +00:00
<Parameters />
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-29 08:58:39 +00:00
<summary > The length of the selected data.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-10-05 14:17:03 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-01-09 01:32:46 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public SelectionData (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-10-28 00:48:23 +00:00
<Parameters >
2004-01-09 01:32:46 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
2003-10-28 00:48:23 +00:00
</Parameters>
<Docs >
2004-08-29 08:58:39 +00:00
<summary > Constructor.</summary>
<param name= "raw" > a <see cref= "T:System.IntPtr" /> , pointer to the underlying C data.</param>
2004-10-05 14:17:03 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "Data" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public byte[] Data { get; };" />
2004-02-26 18:46:28 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-29 08:58:39 +00:00
<summary > The data as a sequence of bytes.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Byte[]" /> </value>
2004-10-05 14:17:03 +00:00
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Set" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void Set (Gdk.Atom type, int format, byte[] data, int length);" />
2004-02-26 18:46:28 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2004-05-27 19:02:19 +00:00
<ReturnType > System.Void</ReturnType>
2004-02-26 18:46:28 +00:00
</ReturnValue>
<Parameters >
<Parameter Name= "type" Type= "Gdk.Atom" />
<Parameter Name= "format" Type= "System.Int32" />
2004-05-27 19:02:19 +00:00
<Parameter Name= "data" Type= "System.Byte[]" />
2004-02-26 18:46:28 +00:00
<Parameter Name= "length" Type= "System.Int32" />
</Parameters>
<Docs >
2005-01-12 19:22:43 +00:00
<summary > Stores new data into this <see cref= "T:Gtk.SelectionData" /> object. Should only be called from a selection handler callback.</summary>
<param name= "type" > type of selection data (expressed via a <see cref= "T:Gdk.Atom" /> )</param>
<param name= "format" > format (number of bits in a unit) - set this to 8 and encode your data as UTF-8</param>
<param name= "data" > a <see cref= "T:System.Byte" /> array containing the data to send to this selection object - use
<see cref= "P:System.Text.Encoding.UTF8" /> .GetBytes(string) to encode string data as UTF-8 before passing it here
</param>
<param name= "length" > length of the data in bytes</param>
<remarks > The version <see cref= "M:Gtk.SelectionData.Set(Gdk.Atom,System.Int32,System.Byte[])" /> auto-calculates the length for you.</remarks>
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
<Member MemberName= "Set" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void Set (Gdk.Atom type, int format, byte[] data);" />
2004-05-27 19:02:19 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "type" Type= "Gdk.Atom" />
<Parameter Name= "format" Type= "System.Int32" />
<Parameter Name= "data" Type= "System.Byte[]" />
</Parameters>
<Docs >
2005-01-12 19:22:43 +00:00
<summary > Stores new data into this <see cref= "T:Gtk.SelectionData" /> object. Should only be called from a selection handler callback.</summary>
<param name= "type" > type of selection data (expressed via a <see cref= "T:Gdk.Atom" /> )</param>
<param name= "format" > format (number of bits in a unit) - set this to 8 and encode your data as UTF-8
</param>
<param name= "data" > a <see cref= "T:System.Byte" /> array containing the data to send to this selection object - use
<see cref= "P:System.Text.Encoding.UTF8" /> .GetBytes(string) to encode string data as UTF-8 before passing it here</param>
2004-10-05 14:17:03 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= "Selection" >
<MemberSignature Language= "C#" Value= "public Gdk.Atom Selection { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Atom</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-17 17:52:22 +00:00
<summary > The selected data.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Atom" /> </value>
2005-01-12 19:22:43 +00:00
<remarks >
</remarks>
2004-10-05 14:17:03 +00:00
</Docs>
</Member>
<Member MemberName= "Target" >
<MemberSignature Language= "C#" Value= "public Gdk.Atom Target { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Atom</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-17 17:52:22 +00:00
<summary > The type of target being used.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Atom" /> </value>
2004-12-17 17:52:22 +00:00
<remarks > XXX: Add a list of useful strings for target types.</remarks>
2004-10-05 14:17:03 +00:00
</Docs>
</Member>
<Member MemberName= "Targets" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Atom[] Targets { get; };" />
2004-10-05 14:17:03 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Atom[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-17 17:52:22 +00:00
<summary > Gets the selection data as an array of targets.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Atom[]" /> </value>
2005-01-12 19:22:43 +00:00
<remarks >
</remarks>
2004-10-05 14:17:03 +00:00
</Docs>
</Member>
<Member MemberName= "Type" >
<MemberSignature Language= "C#" Value= "public Gdk.Atom Type { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Atom</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-17 17:52:22 +00:00
<summary > The type of selection data</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Atom" /> </value>
2004-12-17 17:52:22 +00:00
<remarks > XXX: elaborate on the possible values here.</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "Pixbuf" >
<MemberSignature Language= "C#" Value= "public Gdk.Pixbuf Pixbuf { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixbuf</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Pixbuf" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "Uris" >
<MemberSignature Language= "C#" Value= "public string Uris { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "SetPixbuf" >
<MemberSignature Language= "C#" Value= "public bool SetPixbuf (Gdk.Pixbuf pixbuf);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "pixbuf" Type= "Gdk.Pixbuf" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "pixbuf" > a <see cref= "T:Gdk.Pixbuf" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "SetUris" >
<MemberSignature Language= "C#" Value= "public bool SetUris (string uris);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uris" Type= "System.String" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "uris" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "TargetsIncludeImage" >
<MemberSignature Language= "C#" Value= "public bool TargetsIncludeImage (bool writable);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "writable" Type= "System.Boolean" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "writable" > a <see cref= "T:System.Boolean" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
2006-08-07 17:00:55 +00:00
<Member MemberName= "TargetsIncludeUri" >
<MemberSignature Language= "C#" Value= "public bool TargetsIncludeUri ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Indicates if any targets provide a URI list.</summary>
<returns > a <see cref= "T:System.Boolean" /> .</returns>
<remarks />
<since version= "Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName= "TargetsIncludeRichText" >
<MemberSignature Language= "C#" Value= "public bool TargetsIncludeRichText (Gtk.TextBuffer buffer);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "buffer" Type= "Gtk.TextBuffer" />
</Parameters>
<Docs >
<param name= "buffer" > To be added.</param>
<summary > Indicates if any targets provide rich text.</summary>
<returns >
<see cref= "T:System.Boolean" /> .</returns>
<remarks />
<since version= "Gtk# 2.10" />
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>