begin identity dialog implementation

This commit is contained in:
yggverse 2024-11-17 16:28:45 +02:00
parent 12b4d441ca
commit 14c31734fd
18 changed files with 439 additions and 72 deletions

View file

@ -0,0 +1,27 @@
mod widget;
use widget::Widget;
use gtk::prelude::IsA;
use std::rc::Rc;
pub struct Unsupported {
widget: Rc<Widget>,
}
impl Unsupported {
// Construct
/// Create new `Self`
pub fn new() -> Self {
Self {
widget: Rc::new(Widget::new()),
}
}
// Actions
/// Show dialog for given parent
pub fn present(&self, parent: Option<&impl IsA<gtk::Widget>>) {
self.widget.present(parent)
}
}