| 123456789101112131415161718192021222324252627 |
- #include <gtkmm/box.h>
- #include <gtkmm/label.h>
- #include <gtkmm/orientable.h>
- #include "welcome.hpp"
- #include "strings.hpp"
- namespace cx_light {
- welcome::welcome() {
- this->set_orientation(Gtk::Orientation::VERTICAL);
- this->info = new Gtk::Label(__(WELCOME_TEXT));
- this->info->set_max_width_chars(1);
- this->info->set_wrap();
- this->info->set_hexpand();
- this->info->set_use_markup();
- this->info->set_justify(Gtk::Justification::FILL);
- this->append(*this->info);
- }
- welcome::~welcome() {
- this->remove(*this->info);
- delete this->info;
- }
- }
|