diff --git a/src/browser/main/tab/page/content/text/mod.rs b/src/browser/main/tab/page/content/text/mod.rs new file mode 100644 index 00000000..3289ed6c --- /dev/null +++ b/src/browser/main/tab/page/content/text/mod.rs @@ -0,0 +1,19 @@ +use gtk::{Orientation, ScrolledWindow}; + +pub struct Text { + widget: ScrolledWindow, +} + +impl Text { + // Construct + pub fn new() -> Text { + Self { + widget: ScrolledWindow::builder().build(), + } + } + + // Getters + pub fn widget(&self) -> &Box { + &self.widget + } +}