billy-gtk4-interface/hello_world.hpp
2024-10-24 11:02:04 +02:00

31 lines
579 B
C++

//
// Created by postaron on 27/09/24.
//
#ifndef LEARNGTK4_HELLO_WORLD_HPP
#define LEARNGTK4_HELLO_WORLD_HPP
#include <gtkmm/button.h>
#include <gtkmm/glarea.h>
#include <gtkmm/box.h>
#include <gtkmm/applicationwindow.h>
namespace learn_gtkmm4 {
class HelloWorld : public Gtk::ApplicationWindow {
public:
HelloWorld();
~HelloWorld() override = default;
protected:
void on_button_clicked();
Gtk::Box m_VBox;
Gtk::Button m_button;
Gtk::GLArea gl_area;
};
} // learn_gtkmm4
#endif //LEARNGTK4_HELLO_WORLD_HPP