Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Enum Gdk.DragAction

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-2.0.gir
C documentation: GdkDragAction
Enum : DragAction
  Show / Hide Inherited methods, properties and signals
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
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.
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_set (Widget widget, DestDefaults flags, Array targets, Number n_targets, DragAction actions) : none
Sets a widget as a potential drop destination, and adds default behaviors.
Gtk
Method
Gtk.drag_source_set (Widget widget, ModifierType start_button_mask, Array targets, Number n_targets, DragAction actions) : none
Sets up a widget so that GTK+ will start a drag operation when the user clicks and drags on the widget.
Gtk.Entry
Method
set_icon_drag_source (EntryIconPosition icon_pos, TargetList target_list, DragAction actions) : none
Sets up the icon at the given position so that GTK+ will start a drag operation when the user clicks and drags the icon.
Gtk.IconView
Method
enable_model_drag_source (ModifierType start_button_mask, TargetEntry targets, Number n_targets, DragAction actions) : none
Turns icon_view into a drag source for automatic DND.
Gtk.IconView
Method
enable_model_drag_dest (TargetEntry targets, Number n_targets, DragAction actions) : none
Turns icon_view into a drop destination for automatic DND.
Gtk.ToolPalette
Method
add_drag_dest (Widget widget, DestDefaults flags, ToolPaletteDragTargets targets, DragAction actions) : none
Sets palette as drag source (see gtk_tool_palette_set_drag_source()) and sets widget as a drag destination for drags from palette.
Gtk.TreeView
Method
enable_model_drag_source (ModifierType start_button_mask, TargetEntry targets, Number n_targets, DragAction actions) : none
Turns tree_view into a drag source for automatic DND.
Gtk.TreeView
Method
enable_model_drag_dest (TargetEntry targets, Number n_targets, DragAction actions) : none
Turns tree_view into a drop destination for automatic DND.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:26 GMT+0800 (HKT)