Module: Gtk::TreeDragSource

Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#drag_data_delete(drag_source, path) ⇒ TrueClass

Returns true if the row was successfully deleted.

Parameters:

  • drag_source (Gtk::TreeDragSource)

    a Gtk::TreeDragSource

  • path (Gtk::TreePath)

    row that was being dragged

Returns:

  • (TrueClass)

    true if the row was successfully deleted

#drag_data_get(drag_source, path, selection_data) ⇒ TrueClass

Returns true if data of the required type was provided.

Parameters:

  • drag_source (Gtk::TreeDragSource)

    a Gtk::TreeDragSource

  • path (Gtk::TreePath)

    row that was dragged

  • selection_data (Gtk::SelectionData)

    a Gtk::SelectionData to fill with data from the dragged row

Returns:

  • (TrueClass)

    true if data of the required type was provided

#row_draggable(drag_source, path) ⇒ TrueClass

Returns true if the row can be dragged.

Parameters:

  • drag_source (Gtk::TreeDragSource)

    a Gtk::TreeDragSource

  • path (Gtk::TreePath)

    row on which user is initiating a drag

Returns:

  • (TrueClass)

    true if the row can be dragged