Window finished for now
This commit is contained in:
parent
46ddac37f5
commit
d18b92f4bc
@ -1,8 +1,7 @@
|
|||||||
#include "hello_world.hpp"
|
#include "hello_world.hpp"
|
||||||
#include <gtkmm/box.h>
|
#include <gtkmm/listbox.h>
|
||||||
|
|
||||||
namespace learn_gtkmm4 {
|
namespace learn_gtkmm4 {
|
||||||
HelloWorld::HelloWorld(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &builder) :
|
HelloWorld::HelloWorld(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &builder) :
|
||||||
Gtk::ApplicationWindow(cobject), m_builder(builder) {
|
Gtk::ApplicationWindow(cobject), m_builder(builder) {}
|
||||||
}
|
|
||||||
} // learn_gtkmm4
|
} // learn_gtkmm4
|
@ -1,12 +1,10 @@
|
|||||||
#ifndef LEARNGTK4_HELLO_WORLD_HPP
|
#ifndef LEARNGTK4_HELLO_WORLD_HPP
|
||||||
#define LEARNGTK4_HELLO_WORLD_HPP
|
#define LEARNGTK4_HELLO_WORLD_HPP
|
||||||
|
|
||||||
|
#include <glibmm/refptr.h>
|
||||||
#include <gtkmm/applicationwindow.h>
|
#include <gtkmm/applicationwindow.h>
|
||||||
#include <gtkmm/builder.h>
|
#include <gtkmm/builder.h>
|
||||||
|
|
||||||
namespace Gtk {
|
|
||||||
class Box;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace learn_gtkmm4 {
|
namespace learn_gtkmm4 {
|
||||||
|
|
||||||
@ -20,7 +18,6 @@ namespace learn_gtkmm4 {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
Glib::RefPtr<Gtk::Builder> m_builder;
|
Glib::RefPtr<Gtk::Builder> m_builder;
|
||||||
Gtk::Box *m_ui_box{ nullptr };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // learn_gtkmm4
|
} // learn_gtkmm4
|
||||||
|
Loading…
Reference in New Issue
Block a user