Module: Gtk::TreeDragDest

Defined in:
(unknown)

Overview

Interface for Drag-and-Drop destinations in GtkTreeView.

Instance Method Summary collapse

Instance Method Details

#drag_data_received(drag_dest, dest, value) ⇒ Boolean

Returns whether a new row was created before position dest.

Parameters:

  • drag_dest (Gtk::TreeDragDest)

    a GtkTreeDragDest

  • dest (Gtk::TreePath)

    row to drop in front of

  • value (GObject::Value)

    data to drop

Returns:

  • (Boolean)

    whether a new row was created before position dest

#row_drop_possible(drag_dest, dest_path, value) ⇒ Boolean

Returns true if a drop is possible before dest_path.

Parameters:

  • drag_dest (Gtk::TreeDragDest)

    a GtkTreeDragDest

  • dest_path (Gtk::TreePath)

    destination row

  • value (GObject::Value)

    the data being dropped

Returns:

  • (Boolean)

    true if a drop is possible before dest_path