Browse Source

init container constructor

CPP-GTK4
yggverse 3 months ago
parent
commit
00bd8204b8
  1. 7
      src/app/browser.cpp
  2. 5
      src/app/browser.h

7
src/app/browser.cpp

@ -19,4 +19,11 @@ Browser::Header::Header() @@ -19,4 +19,11 @@ Browser::Header::Header()
set_show_title_buttons(
SHOW_TITLE_BUTTONS
);
}
Browser::Container::Container()
{
set_scrollable(
SCROLLABLE
);
}

5
src/app/browser.h

@ -28,7 +28,12 @@ namespace app @@ -28,7 +28,12 @@ namespace app
class Container : Gtk::Notebook
{
public:
const bool SCROLLABLE = true;
const bool REORDERABLE = true;
Container();
};
};
}

Loading…
Cancel
Save