2021-09-10 21:35:21 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gtkmm.h>
|
|
|
|
|
|
|
|
class MyWin : public Gtk::Window{
|
|
|
|
public:
|
|
|
|
static MyWin * create();
|
|
|
|
MyWin(BaseObjectType *cobject,const Glib::RefPtr<Gtk::Builder>& builder);
|
|
|
|
private:
|
2021-09-11 11:18:23 +08:00
|
|
|
//Child Widgets
|
2021-09-10 21:35:21 +08:00
|
|
|
Glib::RefPtr<Gtk::Builder> ref_builder;
|
|
|
|
Glib::RefPtr<Gio::Settings> m_settings;
|
2021-09-11 11:18:23 +08:00
|
|
|
Gtk::Button* btnprefs;
|
|
|
|
|
|
|
|
//Signal Handlers
|
|
|
|
void btnprefs_clicked();
|
|
|
|
void on_hide_window(Gtk::Window* window);
|
2021-09-10 21:35:21 +08:00
|
|
|
};
|