helloworld.h 329 B

1234567891011121314151617181920
  1. #ifndef GTKMM_EXAMPLE_HELLOWORLD_H
  2. #define GTKMM_EXAMPLE_HELLOWORLD_H
  3. #include <gtkmm.h>
  4. class HelloWorld : public Gtk::Window
  5. {
  6. public:
  7. HelloWorld();
  8. virtual ~HelloWorld();
  9. protected:
  10. // Signal handlers:
  11. void on_button_clicked();
  12. // Member widgets:
  13. Gtk::Button m_button;
  14. };
  15. #endif // GTKMM_EXAMPLE_HELLOWORLD_H