This commit is contained in:
Pcornat 2024-10-24 11:02:04 +02:00
commit dfe1880c08
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
5 changed files with 125 additions and 0 deletions

30
hello_world.hpp Normal file
View file

@ -0,0 +1,30 @@
//
// 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