mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update comments
This commit is contained in:
parent
35491c3ef6
commit
377f743cca
1 changed files with 2 additions and 2 deletions
|
|
@ -55,13 +55,13 @@ impl Widget {
|
|||
} // @TODO remove as deprecated
|
||||
|
||||
/// Get **keyword** for page position, `None` for selected page
|
||||
/// * return `None` if requested page not found
|
||||
/// * return `None` if requested page or selected not found
|
||||
pub fn page_keyword(&self, position: Option<i32>) -> Option<GString> {
|
||||
self.page(position)?.keyword()
|
||||
}
|
||||
|
||||
/// Get tab page by position, `None` for selected page
|
||||
/// * return `None` if requested page not found
|
||||
/// * return `None` if requested or selected page not found
|
||||
pub fn page(&self, position: Option<i32>) -> Option<TabPage> {
|
||||
match position {
|
||||
Some(value) => Some(self.gobject.nth_page(value)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue