mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +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
|
} // @TODO remove as deprecated
|
||||||
|
|
||||||
/// Get **keyword** for page position, `None` for selected page
|
/// 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> {
|
pub fn page_keyword(&self, position: Option<i32>) -> Option<GString> {
|
||||||
self.page(position)?.keyword()
|
self.page(position)?.keyword()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get tab page by position, `None` for selected page
|
/// 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> {
|
pub fn page(&self, position: Option<i32>) -> Option<TabPage> {
|
||||||
match position {
|
match position {
|
||||||
Some(value) => Some(self.gobject.nth_page(value)),
|
Some(value) => Some(self.gobject.nth_page(value)),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue