#pragma once #include class MyWin : public Gtk::Window{ public: static MyWin * create(); MyWin(BaseObjectType *cobject,const Glib::RefPtr& builder); private: //Child Widgets Glib::RefPtr ref_builder; Glib::RefPtr m_settings; Gtk::Button* btnprefs; //Signal Handlers void btnprefs_clicked(); void on_hide_window(Gtk::Window* window); };