Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Struct Gtk.SelectionData

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkSelectionData
Struct : SelectionData
  Show / Hide Inherited methods, properties and signals
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Gtk.SelectionData ()
Create a new Gtk.SelectionData
Create a new Gtk.SelectionData
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk
Method
Gtk.tree_get_row_drag_data (SelectionData selection_data, TreeModel tree_model, TreePath path) : Boolean
Obtains a tree_model and path from selection data of target type GTK_TREE_MODEL_ROW.
Gtk
Method
Gtk.tree_set_row_drag_data (SelectionData selection_data, TreeModel tree_model, TreePath path) : Boolean
Sets selection data of target type GTK_TREE_MODEL_ROW.
Gtk.Clipboard
Method
wait_for_contents (Atom target) : Gtk.SelectionData
Requests the contents of the clipboard using the given target.
Gtk.ToolPalette
Method
get_drag_item (SelectionData selection) : Gtk.Widget
Get the dragged item from the selection.
Gtk.TreeDragDest
Method
drag_data_received (TreePath dest, SelectionData selection_data) : Boolean
Asks the GtkTreeDragDest to insert a row before the path dest, deriving the contents of the row from selection_data.
Gtk.TreeDragDest
Method
row_drop_possible (TreePath dest_path, SelectionData selection_data) : Boolean
Determines whether a drop is possible before the given dest_path, at the same depth as dest_path.
Gtk.TreeDragSource
Method
drag_data_get (TreePath path, SelectionData selection_data) : Boolean
Asks the GtkTreeDragSource to fill in selection_data with a representation of the row at path.
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
selection_get (Widget self, SelectionData data, Number info, Number time) : none
Gtk.Widget
Signal
selection_received (Widget self, SelectionData data, Number time) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:40 GMT+0800 (HKT)