mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update navigation request on middle click the link
This commit is contained in:
parent
ee92777039
commit
6ccaf9d4c5
3 changed files with 19 additions and 2 deletions
|
|
@ -195,6 +195,11 @@ impl Item {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
// Setters
|
||||
pub fn set_page_navigation_request_text(&self, value: &str) {
|
||||
self.page.set_navigation_request_text(value);
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn id(&self) -> GString {
|
||||
self.id.clone()
|
||||
|
|
|
|||
|
|
@ -522,6 +522,11 @@ impl Page {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
// Setters
|
||||
pub fn set_navigation_request_text(&self, value: &str) {
|
||||
self.navigation.set_request_text(value);
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn progress_fraction(&self) -> Option<f64> {
|
||||
// Interpret status to progress fraction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue