Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gdk.DragContext

Class 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
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gdk
Method
Gdk.drag_abort (DragContext context, Number time_) : none
Aborts a drag without dropping.
Gdk
Method
Gdk.drag_drop (DragContext context, Number time_) : none
Drops on the current destination.
Gdk
Method
Gdk.drag_drop_succeeded (DragContext context) : Boolean
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
Gdk.drag_get_selection (DragContext context) : Gdk.Atom
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
Gdk.drag_status (DragContext context, DragAction action, Number time_) : none
Selects one of the actions offered by the drag source.
Gdk
Method
Gdk.drop_finish (DragContext context, Boolean success, Number time_) : none
Ends the drag operation after a drop.
Gdk
Method
Gdk.drop_reply (DragContext context, Boolean ok, Number time_) : none
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
Gtk.drag_dest_find_target (Widget widget, DragContext context, TargetList target_list) : Gdk.Atom
Looks for a match between context->targets and the returning GDK_NONE.
Gtk
Method
Gtk.drag_finish (DragContext context, Boolean success, Boolean del, Number time_) : none
Gtk
Method
Gtk.drag_get_data (Widget widget, DragContext context, Atom target, Number time_) : none
Gtk
Method
Gtk.drag_get_source_widget (DragContext context) : Gtk.Widget
Gtk
Method
Gtk.drag_set_icon_default (DragContext context) : none
Sets the icon for a particular drag to the default icon.
Gtk
Method
Gtk.drag_set_icon_name (DragContext context, String icon_name, Number hot_x, Number hot_y) : none
Sets the icon for a given drag from a named themed icon.
Gtk
Method
Gtk.drag_set_icon_pixbuf (DragContext context, Pixbuf pixbuf, Number hot_x, Number hot_y) : none
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
Gtk.drag_set_icon_stock (DragContext context, String stock_id, Number hot_x, Number hot_y) : none
Sets the icon for a given drag from a stock ID.
Gtk
Method
Gtk.drag_set_icon_widget (DragContext context, Widget widget, Number hot_x, Number hot_y) : none
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
drag_drop (Widget self, DragContext drag_context, Number x, Number y, Number time) : Boolean
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
drag_failed (Widget self, DragContext drag_context, DragResult result) : Boolean
The ::drag-failed signal is emitted on the drag source when a drag has failed.
Gtk.Widget
Signal
drag_leave (Widget self, DragContext drag_context, Number time) : none
The ::drag-leave signal is emitted on the drop site when the cursor leaves the widget.
Gtk.Widget
Signal
drag_motion (Widget self, DragContext drag_context, Number x, Number y, Number time) : Boolean
The drag-motion signal is emitted on the drop site when the user moves the cursor over the widget during a drag.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:23 GMT+0800 (HKT)