summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8acfeed..6c61f5c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -29,6 +29,7 @@ mod widget;
mod win_main;
mod window;
mod hbox;
+mod tabview;
use window::Window;
@@ -40,8 +41,10 @@ fn main() {
let filebrowser = crate::file_browser::FileBrowser::new().unwrap();
+ let mut tabview = crate::tabview::TabView::new();
+ tabview.push_widget(filebrowser);
- let mut win = Window::new(filebrowser);
+ let mut win = Window::new(tabview);
win.draw();
win.handle_input();