19 #ifndef __gtkmm2ext_window_proxy_h__
20 #define __gtkmm2ext_window_proxy_h__
24 #include <glibmm/refptr.h>
25 #include <sigc++/trackable.h>
40 class VisibilityTracker;
57 const std::string&
name()
const {
return _name; }
58 const std::string&
menu_name()
const {
return _menu_name; }
62 Glib::RefPtr<Gtk::Action>
action()
const {
return _action; };
82 operator bool()
const {
return _window != 0; }
sigc::connection map_connection
virtual bool visible() const
virtual bool fully_visible() const
virtual bool delete_event_handler(GdkEventAny *ev)
WindowProxy(const std::string &name, const std::string &menu_name, const XMLNode &)
virtual Gtk::Window * get(bool create=false)=0
sigc::connection delete_connection
bool _visible
true if the window should be visible on startup
void use_window(Gtk::Window &)
Glib::RefPtr< Gtk::Action > action() const
sigc::signal0< void > signal_unmap
WindowProxy(const std::string &name, const std::string &menu_name)
void set_transient_for(Gtk::Window &)
const std::string & menu_name() const
virtual XMLNode & get_state() const
Gtkmm2ext::VisibilityTracker * vistracker
static std::string xml_node_name()
Glib::RefPtr< Gtk::Action > _action
const std::string & name() const
sigc::connection unmap_connection
virtual bool configure_handler(GdkEventConfigure *)
StateMask state_mask() const
void set_state_mask(StateMask)
sigc::connection configure_connection
virtual int set_state(const XMLNode &, int version)
std::string action_name() const
void set_action(Glib::RefPtr< Gtk::Action >)
sigc::signal0< void > signal_map
GtkImageIconNameData name