mod database; mod label; mod page; mod widget; use database::Database; use label::Label; use page::Page; use sqlite::Transaction; use widget::Widget; use gtk::{ gio::SimpleAction, glib::{uuid_string_random, GString}, prelude::{ActionExt, WidgetExt}, GestureClick, Notebook, }; use std::{cell::RefCell, collections::HashMap, sync::Arc}; // Common struct for HashMap index pub struct TabItem { label: Arc