Enum fltk::menu::MenuFlag [−][src]
#[repr(i32)]
pub enum MenuFlag {
Normal,
Inactive,
Toggle,
Value,
Radio,
Invisible,
SubmenuPointer,
Submenu,
MenuDivider,
MenuHorizontal,
}
Expand description
Defines the menu flag for any added menu items using the add() method
Variants
Normal item
Inactive item
Item is a checkbox toggle (shows checkbox for on/off state)
The on/off state for checkbox/radio buttons (if set, state is ‘on’)
Item is a radio button
Invisible item
Indicates user_data() is a pointer to another menu array (unused with Rust)
Menu item is a submenu
Menu divider
Horizontal menu (actually reserved for future use)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MenuFlag
impl UnwindSafe for MenuFlag
Blanket Implementations
Mutably borrows from an owned value. Read more