mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
begin multi-driver page client implementation
This commit is contained in:
parent
df8dea9534
commit
0c08a0fb2f
39 changed files with 741 additions and 1712 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue