init
This commit is contained in:
commit
dfe1880c08
5 changed files with 125 additions and 0 deletions
30
hello_world.hpp
Normal file
30
hello_world.hpp
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue