From 00bd8204b836f39f697bcd316eebfa488f2bfff2 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 8 Aug 2024 13:33:23 +0300 Subject: [PATCH] init container constructor --- src/app/browser.cpp | 7 +++++++ src/app/browser.h | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/src/app/browser.cpp b/src/app/browser.cpp index 4734a337..9d0bd623 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -19,4 +19,11 @@ Browser::Header::Header() set_show_title_buttons( SHOW_TITLE_BUTTONS ); +} + +Browser::Container::Container() +{ + set_scrollable( + SCROLLABLE + ); } \ No newline at end of file diff --git a/src/app/browser.h b/src/app/browser.h index f5c0acb6..0b66d078 100644 --- a/src/app/browser.h +++ b/src/app/browser.h @@ -28,7 +28,12 @@ namespace app class Container : Gtk::Notebook { + public: + + const bool SCROLLABLE = true; + const bool REORDERABLE = true; + Container(); }; }; }