GtkSharp/Source/OldStuff/doc/en/Gtk/TargetList.xml

345 lines
16 KiB
XML

<Type Name="TargetList" FullName="Gtk.TargetList">
<TypeSignature Language="C#" Maintainer="auto" Value="public class TargetList : GLib.Opaque" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TargetList extends GLib.Opaque" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
</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>
<Base>
<BaseTypeName>GLib.Opaque</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>A list of potential targets for a paste or drag-and-drop operation.</summary>
<remarks />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TargetList ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Basic constructor</summary>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TargetList (Gtk.TargetEntry[] targets);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype Gtk.TargetEntry[] targets) cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="targets" Type="Gtk.TargetEntry[]" />
</Parameters>
<Docs>
<param name="targets">an array of <see cref="T:Gtk.TargetEntry" /></param>
<summary>Constructor</summary>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TargetList (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">a <see cref="T:System.IntPtr" /></param>
<summary>Internal constructor</summary>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (Gdk.Atom target, uint flags, uint info);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Add(class Gdk.Atom target, unsigned int32 flags, unsigned int32 info) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="Gdk.Atom" />
<Parameter Name="flags" Type="System.UInt32" />
<Parameter Name="info" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="target">the target type, as a <see cref="T:Gdk.Atom" /></param>
<param name="flags">target flags (for a drag-and-drop target, this is a <see cref="T:Gtk.TargetFlags" /> value)</param>
<param name="info">application-defined ID for this target type</param>
<summary>Add a target type to the target list</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (string target, uint flags, uint info);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Add(string target, unsigned int32 flags, unsigned int32 info) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="System.String" />
<Parameter Name="flags" Type="System.UInt32" />
<Parameter Name="info" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="target">the target type, as a string</param>
<param name="flags">target flags (for a drag-and-drop target, this is a <see cref="T:Gtk.TargetFlags" /> value)</param>
<param name="info">application-defined ID for this target type</param>
<summary>Add a target type to the target list</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="AddImageTargets">
<MemberSignature Language="C#" Value="public void AddImageTargets (uint info, bool writable);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddImageTargets(unsigned int32 info, bool writable) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="info" Type="System.UInt32" />
<Parameter Name="writable" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="info">application-defined ID for these target types</param>
<param name="writable">if <see langword="true" />, only add the target types for which Gtk knows how to convert a <see cref="T:Gdk.Pixbuf" /> to the format.</param>
<summary>Adds the target types for images to the target list</summary>
<remarks>Appends the image targets supported by <see cref="T:Gtk.Selection" /> to the target list. All targets are
added with the same <paramref name="info" />.</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="AddRichTextTargets">
<MemberSignature Language="C#" Value="public void AddRichTextTargets (uint info, bool deserializable, Gtk.TextBuffer buffer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddRichTextTargets(unsigned int32 info, bool deserializable, class Gtk.TextBuffer buffer) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="info" Type="System.UInt32" />
<Parameter Name="deserializable" Type="System.Boolean" />
<Parameter Name="buffer" Type="Gtk.TextBuffer" />
</Parameters>
<Docs>
<param name="info">an ID to be passed back to the application.</param>
<param name="deserializable">if <see langword="true" />, then deserializable targets will be added, otherwise serializable targets.</param>
<param name="buffer">the text buffer containing the registered targets.</param>
<summary>Appends the rich text targets registered with a text buffer.</summary>
<remarks>See <see cref="M:Gtk.TextBuffer.RegisterSerializeFormat" /> and <see cref="M:Gtk.TextBuffer.RegisterDeserializeFormat" /> for details of registration. </remarks>
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="AddTable">
<MemberSignature Language="C#" Value="public void AddTable (Gtk.TargetEntry[] targets);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddTable(valuetype Gtk.TargetEntry[] targets) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="targets" Type="Gtk.TargetEntry[]" />
</Parameters>
<Docs>
<param name="targets">an array of <see cref="T:Gtk.TargetEntry" /></param>
<summary>Add entries to the target list</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="AddTextTargets">
<MemberSignature Language="C#" Value="public void AddTextTargets (uint info);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddTextTargets(unsigned int32 info) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="info" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="info">application-defined ID for these target types</param>
<summary>Adds the target types for text to the target list</summary>
<remarks>Appends the text targets supported by <see cref="T:Gtk.Selection" /> to the target list. All targets are
added with the same <paramref name="info" />.</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="AddUriTargets">
<MemberSignature Language="C#" Value="public void AddUriTargets (uint info);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddUriTargets(unsigned int32 info) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="info" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="info">application-defined ID for these target types</param>
<summary>Adds the target types for URIs to the target list</summary>
<remarks>Appends the URI targets supported by <see cref="T:Gtk.Selection" /> to the target list. All targets are
added with the same <paramref name="info" />.</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~TargetList ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="Find">
<MemberSignature Language="C#" Value="public bool Find (Gdk.Atom target, out uint info);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Find(class Gdk.Atom target, unsigned int32 info) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="Gdk.Atom" />
<Parameter Name="info" Type="System.UInt32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="target">the target type to find, as a <see cref="T:Gdk.Atom" /></param>
<param name="info">on output, will contain the target's application-defined ID</param>
<summary>Find a given target type</summary>
<returns>
<see langword="true" /> if the target was found</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Find">
<MemberSignature Language="C#" Value="public bool Find (string target, out uint info);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Find(string target, unsigned int32 info) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="System.String" />
<Parameter Name="info" Type="System.UInt32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="target">the target type to find, as a string</param>
<param name="info">on output, will contain the target's application-defined ID</param>
<summary>Find a given target type</summary>
<returns>
<see langword="true" /> if the target was found</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Docs>
<summary>Native GType.</summary>
<value />
<remarks>For internal use by language bindings.</remarks>
<since version="Gtk# 2.10" />
</Docs>
</Member>
<Member MemberName="op_Explicit">
<MemberSignature Language="C#" Value="public static Gtk.TargetEntry[] op_Explicit (Gtk.TargetList list);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype Gtk.TargetEntry[] op_Explicit(class Gtk.TargetList list) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.TargetEntry[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="list" Type="Gtk.TargetList" />
</Parameters>
<Docs>
<param name="list">A <see cref="T:Gtk.TargetList" />.</param>
<summary>Converts a <see cref="T:Gtk.TargetList" /> to an array of <see cref="T:Gtk.TargetEntry" />.</summary>
<returns>An equivalent array of <see cref="T:Gtk.TargetEntry" />.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Ref">
<MemberSignature Language="C#" Value="protected override void Ref (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Ref(native int raw) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (Gdk.Atom target);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Remove(class Gdk.Atom target) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="Gdk.Atom" />
</Parameters>
<Docs>
<param name="target">the target to remove, as a <see cref="T:Gdk.Atom" /></param>
<summary>Remove an entry from the target list</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (string target);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Remove(string target) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="System.String" />
</Parameters>
<Docs>
<param name="target">the target to remove, as a string</param>
<summary>Remove an entry from the target list</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Unref">
<MemberSignature Language="C#" Value="protected override void Unref (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Unref(native int raw) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
</Members>
</Type>