Trait fltk::prelude::WidgetType[][src]

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

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

Required methods

fn to_i32(self) -> i32[src]

Get the integral representation of the widget type

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

Get the widget type from its integral representation

Implementors