mod form; use form::Form; use adw::{ prelude::{AdwDialogExt, AlertDialogExt, AlertDialogExtManual}, AlertDialog, ResponseAppearance, }; use gtk::prelude::IsA; use std::rc::Rc; // Defaults const HEADING: &str = "Ident"; const BODY: &str = "Select identity certificate"; // Response variants const RESPONSE_APPLY: (&str, &str) = ("apply", "Apply"); const RESPONSE_CANCEL: (&str, &str) = ("cancel", "Cancel"); // const RESPONSE_MANAGE: (&str, &str) = ("manage", "Manage"); // Select options pub struct Widget { pub form: Rc