Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Enum Gdk.DragAction

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-3.0.gir
C documentation: GdkDragAction
Enum : DragAction
Used in GdkDragContext to indicate what the destination
should do with the dropped data.
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, gint32 x_root, gint32 y_root, DragAction suggested_action, DragAction possible_actions, guint32 time_) : gboolean
Updates the drag context when the pointer moves or the
set of actions changes.
Gdk
Method
Gdk.drag_status (DragContext context, DragAction action, guint32 time_) : none
Selects one of the actions offered by the drag source.
Gdk.DragContext
Method
get_actions () : Gdk.DragAction
Determines the bitmask of actions proposed by the source if
gdk_drag_context_get_suggested_action() returns GDK_ACTION_ASK.
Gdk.DragContext
Method
get_selected_action () : Gdk.DragAction
Determines the action chosen by the drag destination.
Gdk.DragContext
Method
get_suggested_action () : Gdk.DragAction
Determines the suggested drag action of the context.
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_dest (Array targets, gint32 n_targets, DragAction actions) : none
Turns icon_view into a drop destination for automatic DND.
Gtk.IconView
Method
enable_model_drag_source (ModifierType start_button_mask, Array targets, gint32 n_targets, DragAction actions) : none
Turns icon_view into a drag source 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_dest (Array targets, gint32 n_targets, DragAction actions) : none
Turns tree_view into a drop destination for automatic DND.
Gtk.TreeView
Method
enable_model_drag_source (ModifierType start_button_mask, Array targets, gint32 n_targets, DragAction actions) : none
Turns tree_view into a drag source for automatic DND.
Gtk.Widget
Method
drag_begin (TargetList targets, DragAction actions, gint32 button, Event event) : Gdk.DragContext
Initiates a drag on the source side.
Gtk.Widget
Method
drag_dest_set (DestDefaults flags, Array targets, gint32 n_targets, DragAction actions) : none
Sets a widget as a potential drop destination, and adds default behaviors.
Gtk.Widget
Method
drag_source_set (ModifierType start_button_mask, Array targets, gint32 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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:59 GMT+0800 (HKT)