billy-gtk4-interface/hello_world.hpp
2024-10-29 18:01:40 +01:00

26 lines
577 B
C++

#ifndef LEARNGTK4_HELLO_WORLD_HPP
#define LEARNGTK4_HELLO_WORLD_HPP
#include <glibmm/refptr.h>
#include <gtkmm/applicationwindow.h>
#include <gtkmm/builder.h>
namespace learn_gtkmm4 {
class HelloWorld final : public Gtk::ApplicationWindow {
public:
using Gtk::ApplicationWindow::BaseObjectType;
explicit HelloWorld(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &builder);
~HelloWorld() final = default;
protected:
Glib::RefPtr<Gtk::Builder> m_builder;
};
} // learn_gtkmm4
#endif //LEARNGTK4_HELLO_WORLD_HPP