mod database; mod label; mod page; use database::Database; use label::Label; use page::Page; use sqlite::Transaction; use gtk::{ gio::SimpleAction, glib::{uuid_string_random, GString}, prelude::WidgetExt, Box, GestureClick, }; use std::sync::Arc; pub struct Item { // Auto-generated unique item ID // useful as widget name in GTK actions callback id: GString, // Components label: Arc