Module: Gtk::TreeDragDest

Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#drag_data_received(drag_dest, dest, selection_data) ⇒ TrueClass

Returns whether a new row was created before position dest.

Parameters:

  • drag_dest (Gtk::TreeDragDest)

    a Gtk::TreeDragDest

  • dest (Gtk::TreePath)

    row to drop in front of

  • selection_data (Gtk::SelectionData)

    data to drop

Returns:

  • (TrueClass)

    whether a new row was created before position dest

#row_drop_possible(drag_dest, dest_path, selection_data) ⇒ TrueClass

Returns true if a drop is possible before dest_path.

Parameters:

  • drag_dest (Gtk::TreeDragDest)

    a Gtk::TreeDragDest

  • dest_path (Gtk::TreePath)

    destination row

  • selection_data (Gtk::SelectionData)

    the data being dragged

Returns:

  • (TrueClass)

    true if a drop is possible before dest_path