emit a new signal when a ProcessorElement is added to the selection inside a DnDVBox<ProcessorEntry>
This commit is contained in:
parent
ad1377abb5
commit
83984a7884
@ -251,6 +251,7 @@ public:
|
|||||||
sigc::signal<void, DnDVBox*, T*, Glib::RefPtr<Gdk::DragContext> const & > DropFromAnotherBox;
|
sigc::signal<void, DnDVBox*, T*, Glib::RefPtr<Gdk::DragContext> const & > DropFromAnotherBox;
|
||||||
sigc::signal<void, Gtk::SelectionData const &, T*, Glib::RefPtr<Gdk::DragContext> const & > DropFromExternal;
|
sigc::signal<void, Gtk::SelectionData const &, T*, Glib::RefPtr<Gdk::DragContext> const & > DropFromExternal;
|
||||||
sigc::signal<void> SelectionChanged;
|
sigc::signal<void> SelectionChanged;
|
||||||
|
sigc::signal<void,T&> SelectionAdded;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
@ -632,6 +633,7 @@ private:
|
|||||||
}
|
}
|
||||||
_selection.push_back (child);
|
_selection.push_back (child);
|
||||||
setup_child_state (child);
|
setup_child_state (child);
|
||||||
|
SelectionAdded (*child); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
|
|
||||||
void remove_from_selection (T* child)
|
void remove_from_selection (T* child)
|
||||||
|
Loading…
Reference in New Issue
Block a user