Index

Package: Dnd

Description

package Gdk.Dnd is

Types

Gdk_Atom_Array

type Gdk_Atom_Array is array (Natural range <>) of Gdk.Types.Gdk_Atom;

Drag_Protocol

subtype Drag_Protocol is Gdk.Drag_Contexts.Gdk_Drag_Protocol;

Constants & Global variables

Action_Any (Drag_Action)

Action_Any     : constant Drag_Action := 2 ** 8 - 1;

Subprograms & Entries

Get_Targets

function Get_Targets 
(Context: Drag_Context) return Gdk_Atom_Array;
Return the list of targets supported by this context.

Drag_Status

procedure Drag_Status 
(Context: Drag_Context;
Action: Drag_Action;
Time: Guint32);

Drop_Reply

procedure Drop_Reply 
(Context: Drag_Context;
Ok: Boolean;
Time: Guint32);

Drop_Finish

procedure Drop_Finish 
(Context: Drag_Context;
Success: Boolean;
Time: Guint32);
Clean up from the drag, and display snapback, if necessary.

Drag_Get_Selection

function Drag_Get_Selection 
(Context: Drag_Context) return Gdk_Atom;

Drag_Begin

function Drag_Begin 
(Window: Gdk.Gdk_Window;
Targets: Gtk.Target_List.Gtk_Target_List) return Drag_Context;

Drag_Context_Get_Protocol

function Drag_Context_Get_Protocol 
(Context: Drag_Context;
Protocol: Drag_Protocol) return Drag_Protocol;
Return which drag protocol is recognized by a given context.

Drag_Find_Window_For_Screen

procedure Drag_Find_Window_For_Screen 
(Context: Drag_Context;
Drag_Window: Gdk.Gdk_Window;
Screen: Gdk.Screen.Gdk_Screen;
X_Root: Gint;
Y_Root: Gint;
Dest_Window: Gdk.Gdk_Window;
Protocol: Drag_Protocol);

Drag_Motion

function Drag_Motion 
(Context: Drag_Context;
Dest_Window: Gdk.Gdk_Window;
Protocol: Drag_Protocol;
X_Root: Gint;
Y_Root: Gint;
Suggested_Action: Drag_Action;
Possible_Actions: Drag_Action;
Time: Guint32) return Boolean;

Drag_Drop

procedure Drag_Drop 
(Context: Drag_Context;
Time: Guint32);

Drag_Abort

procedure Drag_Abort 
(Context: Drag_Context;
Time: Guint32);