mod database; mod label; mod page; mod widget; use database::Database; use label::Label; use page::Page; use sqlite::{Connection, 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, RwLock}, }; // Common struct for HashMap index struct TabItem { label: Arc