26 lines
577 B
C++
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
|