Skip to content

Commit

Permalink
Docstring for MenuState
Browse files Browse the repository at this point in the history
  • Loading branch information
sor-ca committed May 27, 2024
1 parent 73d8a2d commit 1195457
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/egui/src/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ impl SubMenu {
}
}

///Components of menu state, public for advanced usage. Usually you don't need to use it directly
pub struct MenuState {
/// The opened sub-menu and its [`Id`]
sub_menu: Option<(Id, Arc<RwLock<MenuState>>)>,
Expand Down

0 comments on commit 1195457

Please sign in to comment.