GObject.Object
Gdk.DragContext
Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-2.0.gir |
C documentation: | GdkDragContext |
Class : | DragContext |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
action : Gdk.DragAction
read only
|
Gdk.DragContext | |
actions : Gdk.DragAction
read only
|
Gdk.DragContext | |
dest_window : Gdk.Window
read only
|
Gdk.DragContext | |
is_source : Boolean
read only
|
Gdk.DragContext | |
parent_instance : GObject.Object
read only
|
Gdk.DragContext | |
protocol : Gdk.DragProtocol
read only
|
Gdk.DragContext | |
source_window : Gdk.Window
read only
|
Gdk.DragContext | |
start_time : Number
read only
|
Gdk.DragContext | |
suggested_action : Gdk.DragAction
read only
|
Gdk.DragContext | |
targets : Array
read only
|
Gdk.DragContext | |
windowing_data : void*
read only
|
Gdk.DragContext |
Method / Constructor | Defined By | |
---|---|---|
new Gdk.DragContext
(Object properties)
Create a new Gdk.DragContext
Create a new Gdk.DragContext
|
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk
Method |
Aborts a drag without dropping.
|
Gdk
Method |
Drops on the current destination.
|
Gdk
Method |
Returns whether the dropped data has been successfully transferred.
|
Gdk
Method |
Gdk.drag_find_window
(DragContext context, Window drag_window, Number x_root, Number y_root)
:
Object
Finds the destination window and DND protocol to use at the given pointer position.
|
Gdk
Method |
Gdk.drag_find_window_for_screen
(DragContext context, Window drag_window, Screen screen, Number x_root, Number y_root)
:
Object
Finds the destination window and DND protocol to use at the given pointer position.
|
Gdk
Method |
Returns the selection atom for the current source window.
|
Gdk
Method |
Gdk.drag_motion
(DragContext context, Window dest_window, DragProtocol protocol, Number x_root, Number y_root, DragAction suggested_action, DragAction possible_actions, Number time_)
:
Boolean
Updates the drag context when the pointer moves or the set of actions changes.
|
Gdk
Method |
Selects one of the actions offered by the drag source.
|
Gdk
Method |
Ends the drag operation after a drop.
|
Gdk
Method |
Accepts or rejects a drop.
|
Gtk
Method |
Gtk.drag_begin
(Widget widget, TargetList targets, DragAction actions, Number button, Event event)
:
Gdk.DragContext
Initiates a drag on the source side.
|
Gtk
Method |
Looks for a match between context->targets and the returning GDK_NONE.
|
Gtk
Method |
|
Gtk
Method |
|
Gtk
Method |
|
Gtk
Method |
Gtk.drag_set_icon_default
(DragContext context)
:
none
Sets the icon for a particular drag to the default icon.
|
Gtk
Method |
Sets the icon for a given drag from a named themed icon.
|
Gtk
Method |
Sets pixbuf as the icon for a given drag.
|
Gtk
Method |
Gtk.drag_set_icon_pixmap
(DragContext context, Colormap colormap, Pixmap pixmap, Bitmap mask, Number hot_x, Number hot_y)
:
none
Sets pixmap as the icon for a given drag.
|
Gtk
Method |
Sets the icon for a given drag from a stock ID.
|
Gtk
Method |
Changes the icon for a widget to a given widget.
|
Gtk.Widget
Signal |
drag_begin
(Widget self, DragContext drag_context)
:
none
The ::drag-begin signal is emitted on the drag source when a drag is started.
|
Gtk.Widget
Signal |
drag_data_delete
(Widget self, DragContext drag_context)
:
none
The ::drag-data-delete signal is emitted on the drag source when a drag with the action GDK_ACTION_MOVE is successfully completed.
|
Gtk.Widget
Signal |
drag_data_get
(Widget self, DragContext drag_context, SelectionData data, Number info, Number time)
:
none
The ::drag-data-get signal is emitted on the drag source when the drop site requests the data which is dragged.
|
Gtk.Widget
Signal |
drag_data_received
(Widget self, DragContext drag_context, Number x, Number y, SelectionData data, Number info, Number time)
:
none
The ::drag-data-received signal is emitted on the drop site when the dragged data has been received.
|
Gtk.Widget
Signal |
The ::drag-drop signal is emitted on the drop site when the user drops the data onto the widget.
|
Gtk.Widget
Signal |
drag_end
(Widget self, DragContext drag_context)
:
none
The ::drag-end signal is emitted on the drag source when a drag is finished.
|
Gtk.Widget
Signal |
The ::drag-failed signal is emitted on the drag source when a drag has failed.
|
Gtk.Widget
Signal |
The ::drag-leave signal is emitted on the drop site when the cursor leaves the widget.
|
Gtk.Widget
Signal |
The drag-motion signal is emitted on the drop site when the user moves the cursor over the widget during a drag.
|