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);
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)
{
}