Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Aug 29, 2023
1 parent cff777d commit d24a48a
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 18 deletions.
4 changes: 3 additions & 1 deletion core/tauri/src/menu/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

use crate::{menu::MenuId, resources::Resource, run_main_thread, AppHandle, Manager, Runtime};

/// A menu item inside a [`Menu`] or [`Submenu`] and contains only text.
/// A menu item inside a [`Menu`] or [`Submenu`]
/// and usually contains a text and a check mark or a similar toggle
/// that corresponds to a checked and unchecked states.
///
/// [`Menu`]: super::Menu
/// [`Submenu`]: super::Submenu
Expand Down
3 changes: 2 additions & 1 deletion core/tauri/src/menu/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use crate::{
menu::MenuId, resources::Resource, run_main_thread, AppHandle, Icon, Manager, Runtime,
};

/// A menu item inside a [`Menu`] or [`Submenu`] and contains only text.
/// A menu item inside a [`Menu`] or [`Submenu`]
/// and usually contains an icon and a text.
///
/// [`Menu`]: super::Menu
/// [`Submenu`]: super::Submenu
Expand Down
Loading

0 comments on commit d24a48a

Please sign in to comment.