begin window actions group implementation

This commit is contained in:
yggverse 2024-11-10 08:51:08 +02:00
parent 5f280efaf3
commit 36b86ef5cf
15 changed files with 145 additions and 63 deletions

View file

@ -33,25 +33,25 @@ impl Input {
// Setters
pub fn set_new_response(
&self,
tab_action: Rc<TabAction>,
action: Rc<TabAction>,
base: Uri,
title: Option<&str>,
size_limit: Option<usize>,
) {
self.widget.update(Some(
Response::new_rc(tab_action, base, title, size_limit).gobject(),
Response::new_rc(action, base, title, size_limit).gobject(),
));
}
pub fn set_new_sensitive(
&self,
tab_action: Rc<TabAction>,
action: Rc<TabAction>,
base: Uri,
title: Option<&str>,
max_length: Option<i32>,
) {
self.widget.update(Some(
Sensitive::new_rc(tab_action, base, title, max_length).gobject(),
Sensitive::new_rc(action, base, title, max_length).gobject(),
));
}