/** Show this window */
virtual void show () = 0;
+ /** @return true if the configuration for this window should be
+ * global (ie across all sessions), otherwise false if it should
+ * be session-specific.
+ */
+ virtual bool rc_configured () const = 0;
+
virtual Gtk::Window* get_gtk_window () const = 0;
private:
return _window;
}
- /** Set the window and set it up. To be used after initial window creation */
- void set (T* w) {
+ /** Set the window and maybe set it up. To be used after initial window creation */
+ void set (T* w, bool s = true) {
_window = w;
- setup ();
+ if (s) {
+ setup ();
+ }
}
private:
}
}
+ bool rc_configured () const {
+ return true;
+ }
+
private:
std::string _action;
};