Methods

Widgets can be identified as sources or destinations using these Gtk::Widget methods:

void drag_source_set(const std::vector<Gtk::TargetEntry>& targets,
      Gdk::ModifierType start_button_mask, Gdk::DragAction actions);
void drag_dest_set(const std::vector<Gtk::TargetEntry>& targets,
    Gtk::DestDefaults flags, Gdk::DragAction actions);