GtkSharp/doc/en/Gdk/Drag.xml

204 lines
11 KiB
XML
Raw Normal View History

<Type Name="Drag" FullName="Gdk.Drag">
<TypeSignature Language="C#" Value="public class Drag" Maintainer="auto" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Drag extends System.Object" />
<AssemblyInfo>
<AssemblyName>gdk-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>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Drag ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Abort">
<MemberSignature Language="C#" Value="public static void Abort (Gdk.DragContext context, uint time_);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Abort(class Gdk.DragContext context, unsigned int32 time_) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="time_">the timestamp for this operation.</param>
<summary>Aborts a drag without dropping.</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="BeginForDevice">
<MemberSignature Language="C#" Value="public static Gdk.DragContext BeginForDevice (Gdk.Window window, Gdk.Device device, GLib.List targets);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Gdk.DragContext BeginForDevice(class Gdk.Window window, class Gdk.Device device, class GLib.List targets) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.DragContext</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="window" Type="Gdk.Window" />
<Parameter Name="device" Type="Gdk.Device" />
<Parameter Name="targets" Type="GLib.List" />
</Parameters>
<Docs>
<param name="window">To be added.</param>
<param name="device">To be added.</param>
<param name="targets">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="Drop">
<MemberSignature Language="C#" Value="public static void Drop (Gdk.DragContext context, uint time_);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Drop(class Gdk.DragContext context, unsigned int32 time_) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="time_">the timestamp for this operation.</param>
<summary>Drops on the current destination.</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="DropSucceeded">
<MemberSignature Language="C#" Value="public static bool DropSucceeded (Gdk.DragContext context);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool DropSucceeded(class Gdk.DragContext context) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
</Parameters>
<Docs>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<summary>To be added</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="FindWindowForScreen">
<MemberSignature Language="C#" Value="public static void FindWindowForScreen (Gdk.DragContext context, Gdk.Window drag_window, Gdk.Screen screen, int x_root, int y_root, out Gdk.Window dest_window, out Gdk.DragProtocol protocol);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void FindWindowForScreen(class Gdk.DragContext context, class Gdk.Window drag_window, class Gdk.Screen screen, int32 x_root, int32 y_root, class Gdk.Window dest_window, valuetype Gdk.DragProtocol protocol) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="drag_window" Type="Gdk.Window" />
<Parameter Name="screen" Type="Gdk.Screen" />
<Parameter Name="x_root" Type="System.Int32" />
<Parameter Name="y_root" Type="System.Int32" />
<Parameter Name="dest_window" Type="Gdk.Window&amp;" RefType="out" />
<Parameter Name="protocol" Type="Gdk.DragProtocol&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="drag_window">a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon.</param>
<param name="screen">the screen where the destination window is sought.</param>
<param name="x_root">the x position of the pointer in root coordinates.</param>
<param name="y_root">the y position of the pointer in root coordinates.</param>
<param name="dest_window">location to store the destination window in.</param>
<param name="protocol">location to store the DND protocol in. </param>
<summary>Finds the destination window and DND protocol to use at the given pointer position.</summary>
<remarks>This function is called by the drag source to obtain the dest_window and protocol parameters for <see cref="M:Gdk.Drag.Motion" />.</remarks>
</Docs>
</Member>
<Member MemberName="GetSelection">
<MemberSignature Language="C#" Value="public static Gdk.Atom GetSelection (Gdk.DragContext context);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Gdk.Atom GetSelection(class Gdk.DragContext context) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Atom</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
</Parameters>
<Docs>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<summary>Returns the selection atom for the current source window.</summary>
<returns>the selection atom.</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Motion">
<MemberSignature Language="C#" Value="public static bool Motion (Gdk.DragContext context, Gdk.Window dest_window, Gdk.DragProtocol protocol, int x_root, int y_root, Gdk.DragAction suggested_action, Gdk.DragAction possible_actions, uint time_);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Motion(class Gdk.DragContext context, class Gdk.Window dest_window, valuetype Gdk.DragProtocol protocol, int32 x_root, int32 y_root, valuetype Gdk.DragAction suggested_action, valuetype Gdk.DragAction possible_actions, unsigned int32 time_) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="dest_window" Type="Gdk.Window" />
<Parameter Name="protocol" Type="Gdk.DragProtocol" />
<Parameter Name="x_root" Type="System.Int32" />
<Parameter Name="y_root" Type="System.Int32" />
<Parameter Name="suggested_action" Type="Gdk.DragAction" />
<Parameter Name="possible_actions" Type="Gdk.DragAction" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="dest_window"> the new destination window, obtained by <see cref="M:Gdk.Drag.FindWindow" />.</param>
<param name="protocol">the DND protocol in use, obtained by <see cref="M:Gdk.Drag.FindWindow" />.</param>
<param name="x_root">the x position of the pointer in root coordinates.</param>
<param name="y_root">the y position of the pointer in root coordinates. </param>
<param name="suggested_action">the suggested action.</param>
<param name="possible_actions">the possible actions.</param>
<param name="time_">the timestamp for this operation.</param>
<summary>Updates the drag context when the pointer moves or the set of actions changes.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>This function is called by the drag source.</remarks>
</Docs>
</Member>
<Member MemberName="Status">
<MemberSignature Language="C#" Value="public static void Status (Gdk.DragContext context, Gdk.DragAction action, uint time_);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Status(class Gdk.DragContext context, valuetype Gdk.DragAction action, unsigned int32 time_) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="action" Type="Gdk.DragAction" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="action">the selected action which will be taken when a drop happens, or 0 to indicate that a drop will not be accepted.</param>
<param name="time_">the timestamp for this operation. </param>
<summary>Selects one of the actions offered by the drag source.</summary>
<remarks>This function is called by the drag destination in response to <see cref="M:Gdk.Drag.Motion" /> called by the drag source.</remarks>
</Docs>
</Member>
</Members>
</Type>