pub struct RibbonGroup { /* private fields */ }Expand description
A labeled set of commands inside a page.
Implementations§
Source§impl RibbonGroup
impl RibbonGroup
Sourcepub fn new(title: impl Into<String>) -> RibbonGroup
pub fn new(title: impl Into<String>) -> RibbonGroup
An empty group with this caption.
Sourcepub fn item(self, item: RibbonItem) -> RibbonGroup
pub fn item(self, item: RibbonItem) -> RibbonGroup
Appends a command.
Sourcepub fn dialog_launcher(self, handler: impl Fn() + 'static) -> RibbonGroup
pub fn dialog_launcher(self, handler: impl Fn() + 'static) -> RibbonGroup
The small arrow in the group caption that opens the full dialog.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RibbonGroup
impl !Send for RibbonGroup
impl !Sync for RibbonGroup
impl !UnwindSafe for RibbonGroup
impl Freeze for RibbonGroup
impl Unpin for RibbonGroup
impl UnsafeUnpin for RibbonGroup
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more