#pragma once #include class MyWin : public Gtk::Window{ public: MyWin(); private: //Child widgets Gtk::Box vbox,hbox,btnbox,*infobox; Gtk::ScrolledWindow sw1,sw2; Glib::RefPtr buffer1; Gtk::TextView textview1; Gtk::Button btn_copy,btn_paste,btn_open,btn_save; Gtk::InfoBar infobar; Gtk::Label label1; //File Dialog Glib::RefPtr dialog; //Signal Handlers void btnopen_clicked(); void opendialog_response(int response); void btnsave_clicked(); void savedialog_response(int response); void btncopy_clicked(); void btnpaste_clicked(); void buffer1_changed(); void clipboard_receive(const Glib::ustring &text); void infobar_response(int response); };