Browse Source

init text container

master
yggverse 2 months ago
parent
commit
36a460d0ad
  1. 19
      src/browser/main/tab/page/content/text/mod.rs

19
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
}
}
Loading…
Cancel
Save