Ardour  9.0-pre0-582-g084a23a80d
gdkdnd.h File Reference
#include <gdk/gdktypes.h>
Include dependency graph for gdkdnd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GdkDragContext
 
struct  _GdkDragContextClass
 

Macros

#define GDK_TYPE_DRAG_CONTEXT   (gdk_drag_context_get_type ())
 
#define GDK_DRAG_CONTEXT(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAG_CONTEXT, GdkDragContext))
 
#define GDK_DRAG_CONTEXT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass))
 
#define GDK_IS_DRAG_CONTEXT(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAG_CONTEXT))
 
#define GDK_IS_DRAG_CONTEXT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAG_CONTEXT))
 
#define GDK_DRAG_CONTEXT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass))
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GdkDragContext GdkDragContext
 
typedef struct _GdkDragContextClass GdkDragContextClass
 

Enumerations

enum  GdkDragAction {
  GDK_ACTION_DEFAULT = 1 << 0 , GDK_ACTION_COPY = 1 << 1 , GDK_ACTION_MOVE = 1 << 2 , GDK_ACTION_LINK = 1 << 3 ,
  GDK_ACTION_PRIVATE = 1 << 4 , GDK_ACTION_ASK = 1 << 5
}
 
enum  GdkDragProtocol {
  GDK_DRAG_PROTO_MOTIF , GDK_DRAG_PROTO_XDND , GDK_DRAG_PROTO_ROOTWIN , GDK_DRAG_PROTO_NONE ,
  GDK_DRAG_PROTO_WIN32_DROPFILES , GDK_DRAG_PROTO_OLE2 , GDK_DRAG_PROTO_LOCAL
}
 

Functions

GType gdk_drag_context_get_type (void) G_GNUC_CONST
 
GdkDragContextgdk_drag_context_new (void)
 
GList * gdk_drag_context_list_targets (GdkDragContext *context)
 
GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context)
 
GdkDragAction gdk_drag_context_get_suggested_action (GdkDragContext *context)
 
GdkDragAction gdk_drag_context_get_selected_action (GdkDragContext *context)
 
GdkWindowgdk_drag_context_get_source_window (GdkDragContext *context)
 
GdkWindowgdk_drag_context_get_dest_window (GdkDragContext *context)
 
GdkDragProtocol gdk_drag_context_get_protocol (GdkDragContext *context)
 
void gdk_drag_context_ref (GdkDragContext *context)
 
void gdk_drag_context_unref (GdkDragContext *context)
 
void gdk_drag_status (GdkDragContext *context, GdkDragAction action, guint32 time_)
 
void gdk_drop_reply (GdkDragContext *context, gboolean ok, guint32 time_)
 
void gdk_drop_finish (GdkDragContext *context, gboolean success, guint32 time_)
 
GdkAtom gdk_drag_get_selection (GdkDragContext *context)
 
GdkDragContextgdk_drag_begin (GdkWindow *window, GList *targets)
 
GdkNativeWindow gdk_drag_get_protocol_for_display (GdkDisplay *display, GdkNativeWindow xid, GdkDragProtocol *protocol)
 
void gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow *drag_window, GdkScreen *screen, gint x_root, gint y_root, GdkWindow **dest_window, GdkDragProtocol *protocol)
 
GdkNativeWindow gdk_drag_get_protocol (GdkNativeWindow xid, GdkDragProtocol *protocol)
 
void gdk_drag_find_window (GdkDragContext *context, GdkWindow *drag_window, gint x_root, gint y_root, GdkWindow **dest_window, GdkDragProtocol *protocol)
 
gboolean gdk_drag_motion (GdkDragContext *context, GdkWindow *dest_window, GdkDragProtocol protocol, gint x_root, gint y_root, GdkDragAction suggested_action, GdkDragAction possible_actions, guint32 time_)
 
void gdk_drag_drop (GdkDragContext *context, guint32 time_)
 
void gdk_drag_abort (GdkDragContext *context, guint32 time_)
 
gboolean gdk_drag_drop_succeeded (GdkDragContext *context)
 

Macro Definition Documentation

◆ GDK_DRAG_CONTEXT

#define GDK_DRAG_CONTEXT (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAG_CONTEXT, GdkDragContext))

Definition at line 69 of file gdkdnd.h.

◆ GDK_DRAG_CONTEXT_CLASS

#define GDK_DRAG_CONTEXT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass))

Definition at line 70 of file gdkdnd.h.

◆ GDK_DRAG_CONTEXT_GET_CLASS

#define GDK_DRAG_CONTEXT_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass))

Definition at line 73 of file gdkdnd.h.

◆ GDK_IS_DRAG_CONTEXT

#define GDK_IS_DRAG_CONTEXT (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAG_CONTEXT))

Definition at line 71 of file gdkdnd.h.

◆ GDK_IS_DRAG_CONTEXT_CLASS

#define GDK_IS_DRAG_CONTEXT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAG_CONTEXT))

Definition at line 72 of file gdkdnd.h.

◆ GDK_TYPE_DRAG_CONTEXT

#define GDK_TYPE_DRAG_CONTEXT   (gdk_drag_context_get_type ())

Definition at line 68 of file gdkdnd.h.

Typedef Documentation

◆ GdkDragContext

typedef typedefG_BEGIN_DECLS struct _GdkDragContext GdkDragContext

Definition at line 36 of file gdkdnd.h.

◆ GdkDragContextClass

Definition at line 36 of file gdkdnd.h.

Enumeration Type Documentation

◆ GdkDragAction

Enumerator
GDK_ACTION_DEFAULT 
GDK_ACTION_COPY 
GDK_ACTION_MOVE 
GDK_ACTION_LINK 
GDK_ACTION_PRIVATE 
GDK_ACTION_ASK 

Definition at line 40 of file gdkdnd.h.

◆ GdkDragProtocol

Enumerator
GDK_DRAG_PROTO_MOTIF 
GDK_DRAG_PROTO_XDND 
GDK_DRAG_PROTO_ROOTWIN 
GDK_DRAG_PROTO_NONE 
GDK_DRAG_PROTO_WIN32_DROPFILES 
GDK_DRAG_PROTO_OLE2 
GDK_DRAG_PROTO_LOCAL 

Definition at line 50 of file gdkdnd.h.

Function Documentation

◆ gdk_drag_abort()

void gdk_drag_abort ( GdkDragContext context,
guint32  time_ 
)

◆ gdk_drag_begin()

GdkDragContext* gdk_drag_begin ( GdkWindow window,
GList *  targets 
)

◆ gdk_drag_context_get_actions()

GdkDragAction gdk_drag_context_get_actions ( GdkDragContext context)

◆ gdk_drag_context_get_dest_window()

GdkWindow* gdk_drag_context_get_dest_window ( GdkDragContext context)

◆ gdk_drag_context_get_protocol()

GdkDragProtocol gdk_drag_context_get_protocol ( GdkDragContext context)

◆ gdk_drag_context_get_selected_action()

GdkDragAction gdk_drag_context_get_selected_action ( GdkDragContext context)

◆ gdk_drag_context_get_source_window()

GdkWindow* gdk_drag_context_get_source_window ( GdkDragContext context)

◆ gdk_drag_context_get_suggested_action()

GdkDragAction gdk_drag_context_get_suggested_action ( GdkDragContext context)

◆ gdk_drag_context_get_type()

GType gdk_drag_context_get_type ( void  )

◆ gdk_drag_context_list_targets()

GList* gdk_drag_context_list_targets ( GdkDragContext context)

◆ gdk_drag_context_new()

GdkDragContext* gdk_drag_context_new ( void  )

◆ gdk_drag_context_ref()

void gdk_drag_context_ref ( GdkDragContext context)

◆ gdk_drag_context_unref()

void gdk_drag_context_unref ( GdkDragContext context)

◆ gdk_drag_drop()

void gdk_drag_drop ( GdkDragContext context,
guint32  time_ 
)

◆ gdk_drag_drop_succeeded()

gboolean gdk_drag_drop_succeeded ( GdkDragContext context)

◆ gdk_drag_find_window()

void gdk_drag_find_window ( GdkDragContext context,
GdkWindow drag_window,
gint  x_root,
gint  y_root,
GdkWindow **  dest_window,
GdkDragProtocol protocol 
)

◆ gdk_drag_find_window_for_screen()

void gdk_drag_find_window_for_screen ( GdkDragContext context,
GdkWindow drag_window,
GdkScreen screen,
gint  x_root,
gint  y_root,
GdkWindow **  dest_window,
GdkDragProtocol protocol 
)

◆ gdk_drag_get_protocol()

GdkNativeWindow gdk_drag_get_protocol ( GdkNativeWindow  xid,
GdkDragProtocol protocol 
)

◆ gdk_drag_get_protocol_for_display()

GdkNativeWindow gdk_drag_get_protocol_for_display ( GdkDisplay display,
GdkNativeWindow  xid,
GdkDragProtocol protocol 
)

◆ gdk_drag_get_selection()

GdkAtom gdk_drag_get_selection ( GdkDragContext context)

◆ gdk_drag_motion()

gboolean gdk_drag_motion ( GdkDragContext context,
GdkWindow dest_window,
GdkDragProtocol  protocol,
gint  x_root,
gint  y_root,
GdkDragAction  suggested_action,
GdkDragAction  possible_actions,
guint32  time_ 
)

◆ gdk_drag_status()

void gdk_drag_status ( GdkDragContext context,
GdkDragAction  action,
guint32  time_ 
)

◆ gdk_drop_finish()

void gdk_drop_finish ( GdkDragContext context,
gboolean  success,
guint32  time_ 
)

◆ gdk_drop_reply()

void gdk_drop_reply ( GdkDragContext context,
gboolean  ok,
guint32  time_ 
)