update comments

This commit is contained in:
yggverse 2024-11-04 18:38:56 +02:00
parent 35491c3ef6
commit 377f743cca

View File

@ -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)),