Facilitate callbacks when Tab is detached/attached

This commit is contained in:
Robin Gareus 2021-02-04 19:12:22 +01:00
parent d5a105e777
commit f91cb13cce
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 10 additions and 1 deletions

View file

@ -68,6 +68,7 @@ public:
bool tabbed() const;
bool tabbed_by_default () const;
Gtk::Window* current_toplevel () const;
Gtk::Notebook* tab_root_drop ();
@ -82,6 +83,8 @@ public:
protected:
bool delete_event_handler (GdkEventAny *ev);
sigc::signal1<void, bool> signal_tabbed_changed;
private:
Gtk::Widget& _contents;
Gtk::Notebook _own_notebook;