Allow to pre-seed Tabbable detached state.
This commit is contained in:
parent
15eb6f716d
commit
3ecd5d6f08
@ -42,7 +42,7 @@ class VisibilityTracker;
|
||||
|
||||
class LIBGTKMM2EXT_API Tabbable : public WindowProxy {
|
||||
public:
|
||||
Tabbable (Gtk::Widget&, const std::string&);
|
||||
Tabbable (Gtk::Widget&, const std::string&, bool tabbed_by_default = true);
|
||||
~Tabbable ();
|
||||
|
||||
void add_to_notebook (Gtk::Notebook& notebook, const std::string& tab_title);
|
||||
|
@ -35,11 +35,11 @@ using namespace Gtkmm2ext;
|
||||
using namespace Gtk;
|
||||
using std::string;
|
||||
|
||||
Tabbable::Tabbable (Widget& w, const string& name)
|
||||
Tabbable::Tabbable (Widget& w, const string& name, bool tabbed_by_default)
|
||||
: WindowProxy (name)
|
||||
, _contents (w)
|
||||
, _parent_notebook (0)
|
||||
, tab_requested_by_state (true)
|
||||
, tab_requested_by_state (tabbed_by_default)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user