mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 17:55:41 +00:00
f2774d7879
svn path=/trunk/gtk-sharp/; revision=63369
62 lines
3.1 KiB
XML
62 lines
3.1 KiB
XML
<Type Name="TreeDragDest" FullName="Gtk.TreeDragDest">
|
|
<TypeSignature Language="C#" Maintainer="auto" Value="public interface TreeDragDest : GLib.IWrapper" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gtk-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>2.10.0.0</AssemblyVersion>
|
|
</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>
|
|
<summary>An interface to represent the rows of a tree when something is drag-and-dropped onto them.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
<Interfaces>
|
|
<Interface>
|
|
<InterfaceName>GLib.IWrapper</InterfaceName>
|
|
</Interface>
|
|
</Interfaces>
|
|
<Members>
|
|
<Member MemberName="RowDropPossible">
|
|
<MemberSignature Language="C#" Value="public bool RowDropPossible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="dest_path" Type="Gtk.TreePath" />
|
|
<Parameter Name="selection_data" Type="Gtk.SelectionData" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="dest_path">To be added.</param>
|
|
<param name="selection_data">a <see cref="M:Gtk.SelectionData" />, the data to drop</param>
|
|
<summary>
|
|
Determines whether a drop is possible before the given <paramref name="dest" />, at the same depth as <paramref name="dest" />. i.e., can we drop the data in <paramref name="selection_data" /> at that location. <paramref name="dest" /> does not have to exist; the return value will almost certainly be FALSE if the parent of <paramref name="dest" /> doesn't exist, though.
|
|
</summary>
|
|
<returns>A boolean for whether the drop is possible.</returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DragDataReceived">
|
|
<MemberSignature Language="C#" Value="public bool DragDataReceived (Gtk.TreePath dest, Gtk.SelectionData selection_data);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="dest" Type="Gtk.TreePath" />
|
|
<Parameter Name="selection_data" Type="Gtk.SelectionData" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="dest">To be added.</param>
|
|
<param name="selection_data"> a <see cref="M:Gtk.SelectionData" />, the data to drop</param>
|
|
<summary>
|
|
Asks the TreeDragDest to insert a row before the given <paramref name="dest_path" />, deriving the contents of the row from the given <see cref="M:Gtk.SelectionData" />.
|
|
</summary>
|
|
<returns>A boolean for whether the row was dropped successfully.</returns>
|
|
<remarks>If dest_path is outside the tree so that inserting before it is impossible, FALSE will be returned. Also, FALSE may be returned if the new row cannot be created for some model-specific reason. Should robustly handle a destination path no longer found in the model.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|