begin multi-driver page client implementation

This commit is contained in:
yggverse 2025-01-21 15:04:31 +02:00
parent df8dea9534
commit 0c08a0fb2f
39 changed files with 741 additions and 1712 deletions

View file

@ -1,6 +1,5 @@
mod response;
mod sensitive;
mod titan;
mod widget;
use super::TabAction;
@ -8,7 +7,6 @@ use gtk::glib::Uri;
use response::Response;
use sensitive::Sensitive;
use std::rc::Rc;
use titan::Titan;
use widget::Widget;
pub struct Input {
@ -64,13 +62,4 @@ impl Input {
.g_box,
));
}
pub fn set_new_titan(
&self,
titan: super::client::response::input::Titan,
callback: impl Fn(Result<super::client::Response, ()>) + 'static,
) {
self.widget
.update(Some(&Titan::build(titan, callback).widget.g_box));
}
}