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