update comments

This commit is contained in:
yggverse 2024-11-04 23:10:00 +02:00
parent 998f51e0fc
commit 7ebcbde01b

View File

@ -14,7 +14,9 @@ pub struct Widget {
} }
impl Widget { impl Widget {
// Construct // Constructors
/// Create new `Self`
pub fn new(menu_model: &impl IsA<MenuModel>) -> Self { pub fn new(menu_model: &impl IsA<MenuModel>) -> Self {
// Init gobject // Init gobject
let gobject = TabView::builder().menu_model(menu_model).build(); let gobject = TabView::builder().menu_model(menu_model).build();