Enum fltk::menu::MenuButtonType
source · #[repr(i32)]pub enum MenuButtonType {
Popup1 = 1,
Popup2 = 2,
Popup12 = 3,
Popup3 = 4,
Popup13 = 5,
Popup23 = 6,
Popup123 = 7,
}
Expand description
Defines the menu button types, which can be changed dynamically using the set_type()
.
Variants§
Popup1 = 1
pops up with the mouse 1st button.
Popup2 = 2
pops up with the mouse 2nd button.
Popup12 = 3
pops up with the mouse 1st or 2nd buttons.
Popup3 = 4
pops up with the mouse 3rd button.
Popup13 = 5
pops up with the mouse 1st or 3rd buttons.
Popup23 = 6
pops up with the mouse 2nd or 3rd buttons.
Popup123 = 7
pops up with any mouse button.
Trait Implementations§
source§impl Clone for MenuButtonType
impl Clone for MenuButtonType
source§fn clone(&self) -> MenuButtonType
fn clone(&self) -> MenuButtonType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MenuButtonType
impl Debug for MenuButtonType
source§impl PartialEq for MenuButtonType
impl PartialEq for MenuButtonType
source§fn eq(&self, other: &MenuButtonType) -> bool
fn eq(&self, other: &MenuButtonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl WidgetType for MenuButtonType
impl WidgetType for MenuButtonType
impl Copy for MenuButtonType
impl Eq for MenuButtonType
impl StructuralEq for MenuButtonType
impl StructuralPartialEq for MenuButtonType
Auto Trait Implementations§
impl RefUnwindSafe for MenuButtonType
impl Send for MenuButtonType
impl Sync for MenuButtonType
impl Unpin for MenuButtonType
impl UnwindSafe for MenuButtonType
Blanket Implementations§
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