Libraries:Gtk:Gdk:DragContext
Types
T
Inherits from:Constants
Nil : T
Functions
GetType() : Gtk.GObject.Type.T
New() : Gtk.Gdk.DragContext.T
Warning
gdk_drag_context_new has been deprecated since version 2.24 and should not be used in newly-written code. This function is not useful, you always obtain drag contexts by Gtk.Gdk.Drag.Begin or similar.
Methods
:GetActions(self @ T) : Std.Integer.SmallT
Determines the bitmask of actions proposed by the source if gdk_drag_context_suggested_action() returns GDK_ACTION_ASK.
context | a T |
Returns | the Gtk.Gdk.DragAction.T flags |
:GetDestWindow(self @ T) : Gtk.Gdk.Window.T
:GetProtocol(self @ T) : Gtk.Gdk.DragProtocol.T
:GetSelectedAction(self @ T) : Std.Integer.SmallT
Determines the action chosen by the drag destination.
context | a T |
Returns | a Gtk.Gdk.DragAction.T value |
:GetSourceWindow(self @ T) : Gtk.Gdk.Window.T
Returns the Gtk.Gdk.Window.T where the DND operation started.
context | a T |
Returns | a Gtk.Gdk.Window.T. [transfer none] |
:GetSuggestedAction(self @ T) : Std.Integer.SmallT
Determines the suggested drag action of the context.
context | a T |
Returns | a Gtk.Gdk.DragAction.T value |
:ListTargets(self @ T) : Std.Object.T
Retrieves the list of targets of the context.
context | a T |
Returns | a GList of targets. [transfer none][element-type GdkAtom] |
:Ref(self @ T) : Std.Object.T
Warning
Ref has been deprecated since version 2.2 and should not be used in newly-written code. Use g_object_ref() instead.
:Unref(self @ T) : Std.Object.T
Warning
Unref has been deprecated since version 2.2 and should not be used in newly-written code. Use g_object_unref() instead.