Trait fltk::prelude::ButtonExt [−][src]
Defines the methods implemented by all button widgets
Required methods
fn shortcut(&self) -> Shortcut
[src]
Gets the shortcut associated with a button
fn set_shortcut(&mut self, shortcut: Shortcut)
[src]
Sets the shortcut associated with a button
fn clear(&mut self)
[src]
Clears the value of the button. Useful for round, radio, light, toggle and check buttons
fn is_set(&self) -> bool
[src]
Returns whether a button is set or not Useful for round, radio, light, toggle and check buttons
fn set(&mut self, flag: bool)
[src]
Sets whether a button is set or not Useful for round, radio, light, toggle and check buttons
fn set_down_frame(&mut self, f: FrameType)
[src]
Set the down_box of the widget
fn down_frame(&self) -> FrameType
[src]
Get the down frame type of the widget