mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
fix focus grab on response area
This commit is contained in:
parent
42e91cdb7c
commit
5d63f49987
4 changed files with 6 additions and 18 deletions
|
|
@ -23,15 +23,11 @@ impl Input {
|
|||
}
|
||||
|
||||
// Actions
|
||||
pub fn use_default(&self, base: Uri, title: Option<&str>, size_limit: Option<usize>) {
|
||||
pub fn set_default(&self, base: Uri, title: Option<&str>, size_limit: Option<usize>) {
|
||||
self.widget
|
||||
.update(Some(&Default::new_arc(base, title, size_limit).gobject()));
|
||||
}
|
||||
|
||||
pub fn show(&self) {
|
||||
self.widget.show();
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn gobject(&self) -> &Clamp {
|
||||
&self.widget.gobject()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue