mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
implement page reload on request auto-routed
This commit is contained in:
parent
c31cf21149
commit
cdf3dbcf04
3 changed files with 25 additions and 5 deletions
|
|
@ -37,6 +37,15 @@ impl Request {
|
|||
// @TODO animate progress fraction
|
||||
}
|
||||
|
||||
// Setters
|
||||
pub fn set_text(&self, value: &GString, activate: bool) {
|
||||
self.widget.set_text(value);
|
||||
|
||||
if activate {
|
||||
self.widget.activate();
|
||||
}
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn widget(&self) -> &Entry {
|
||||
&self.widget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue