Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkDestDefaults |
Enum : | DestDefaults |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gtk.DestDefaults.ALL : 7
|
|
Number Gtk.DestDefaults.DROP : 4
|
|
Number Gtk.DestDefaults.HIGHLIGHT : 2
|
|
Number Gtk.DestDefaults.MOTION : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
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.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.
|