mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
update comments
This commit is contained in:
parent
35491c3ef6
commit
377f743cca
@ -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…
x
Reference in New Issue
Block a user