[][src]Trait fltk::enums::WidgetType

pub trait WidgetType {
    pub fn to_int(self) -> i32;
pub fn from_i32(val: i32) -> Self; }

A trait defined for all enums passable to the WidgetExt::set_type() method

Required methods

pub fn to_int(self) -> i32[src]

Get the integral representation of the widget type

pub fn from_i32(val: i32) -> Self[src]

Get the widget type from its integral representation

Loading content...

Implementors

impl WidgetType for BrowserType[src]

impl WidgetType for ButtonType[src]

impl WidgetType for FileDialogOptions[src]

impl WidgetType for FileDialogType[src]

impl WidgetType for LineStyle[src]

impl WidgetType for PackType[src]

impl WidgetType for ScrollType[src]

impl WidgetType for InputType[src]

impl WidgetType for ChartType[src]

impl WidgetType for ClockType[src]

impl WidgetType for CounterType[src]

impl WidgetType for DialType[src]

impl WidgetType for ScrollbarType[src]

impl WidgetType for SliderType[src]

impl WidgetType for WindowType[src]

Loading content...