Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-2.0.gir |
C documentation: | GdkDragAction |
Enum : | DragAction |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gdk.DragAction.ASK : 32
|
|
Number Gdk.DragAction.COPY : 2
|
|
Number Gdk.DragAction.DEFAULT : 1
|
|
Number Gdk.DragAction.LINK : 8
|
|
Number Gdk.DragAction.MOVE : 4
|
|
Number Gdk.DragAction.PRIVATE : 16
|
None |
None |
None |
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 |
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 |
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 |
Turns tree_view into a drop destination for automatic DND.
|