It completely works
This commit is contained in:
parent
ad879dd7a3
commit
cea2c1296f
8 changed files with 698 additions and 58 deletions
31
app_win_2_back.hpp
Normal file
31
app_win_2_back.hpp
Normal file
|
@ -0,0 +1,31 @@
|
|||
#ifndef LEARNGTK4_APP_WIN_2_BACK_HPP
|
||||
#define LEARNGTK4_APP_WIN_2_BACK_HPP
|
||||
|
||||
#include <gtkmm.h>
|
||||
|
||||
namespace learn_gtkmm4 {
|
||||
class HelloWorld;
|
||||
}
|
||||
|
||||
namespace gui_to_app {
|
||||
|
||||
class AppWin2Back final : public Gtk::Application {
|
||||
public:
|
||||
~AppWin2Back() noexcept final = default;
|
||||
|
||||
static Glib::RefPtr<AppWin2Back> create();
|
||||
|
||||
protected:
|
||||
AppWin2Back();
|
||||
|
||||
void on_startup() final;
|
||||
|
||||
void on_activate() final;
|
||||
|
||||
private:
|
||||
learn_gtkmm4::HelloWorld *main_window{ nullptr };
|
||||
};
|
||||
|
||||
} // gui_to_app
|
||||
|
||||
#endif //LEARNGTK4_APP_WIN_2_BACK_HPP
|
Loading…
Add table
Add a link
Reference in a new issue