Class
GdkX11X11DragContext
Instance methods
Methods inherited from GdkDragContext (12)
gdk_drag_context_get_actions
Determines the bitmask of actions proposed by the source if
gdk_drag_context_get_suggested_action()
returns GDK_ACTION_ASK
.
gdk_drag_context_get_dest_window
Returns the destination window for the DND operation.
gdk_drag_context_get_device
Returns the GdkDevice
associated to the drag context.
gdk_drag_context_get_drag_window
Returns the window on which the drag icon should be rendered
during the drag operation. Note that the window may not be
available until the drag operation has begun. GDK will move
the window in accordance with the ongoing drag operation.
The window is owned by context
and will be destroyed when
the drag operation is over.
gdk_drag_context_get_protocol
Returns the drag protocol that is used by this context.
gdk_drag_context_get_selected_action
Determines the action chosen by the drag destination.
gdk_drag_context_get_source_window
Returns the GdkWindow
where the DND operation started.
gdk_drag_context_get_suggested_action
Determines the suggested drag action of the context.
gdk_drag_context_list_targets
Retrieves the list of targets of the context.
gdk_drag_context_manage_dnd
Requests the drag and drop operation to be managed by context
.
When a drag and drop operation becomes managed, the GdkDragContext
will internally handle all input and source-side GdkEventDND
events
as required by the windowing system.
gdk_drag_context_set_device
Associates a GdkDevice
to context
, so all Drag and Drop events
for context
are emitted as if they came from this device.
gdk_drag_context_set_hotspot
Sets the position of the drag window that will be kept under the cursor hotspot. Initially, the hotspot is at the top left corner of the drag window.
Signals
Signals inherited from GdkDragContext (4)
GdkDragContext::action-changed
A new action is being chosen for the drag and drop operation.
GdkDragContext::cancel
The drag and drop operation was cancelled.
GdkDragContext::dnd-finished
The drag and drop operation was finished, the drag destination finished reading all data. The drag source can now free all miscellaneous data.
GdkDragContext::drop-performed
The drag and drop operation was performed on an accepting client.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.