-
Notifications
You must be signed in to change notification settings - Fork 5
Value_Input
doyousketch2 edited this page Sep 13, 2019
·
5 revisions
Corresponds to:
Fl_Value_Input
Inherits from:
Valuator
,
Widget
Constructors
fl.Value_Input( int X, int Y, int W, int H, *str label ) ==> userdata Widget
-
fl.Value_Input{ table entries } ==> userdata Widget
( table constructor syntax )
Functions
Properties
- properties defined for
Valuator
userdata type - properties defined for
Widget
userdata type -
obj.soft ==> bool draggable
obj.soft = bool draggable
allowed to drag value outside range -
obj.input userdata
get ( Fl_Input ) -
obj.shortcut ==> userdata key
get( 'key code', or 0 if last event was not a key )
-
obj.shortcut = int|str|userdata key
setsee differences in Lua-vs-Cpp for adding key combinations
-
obj.textfont ==> str index
get ( Fl_Font index )obj.textfont = int|str font
set ( Fl_Font index or name ) -
obj.textsize ==> int size
get ( in pixels )obj.textsize = int size
set ( in pixels ) -
obj.textcolor ==> userdata color
get ( Fl_color )obj.textcolor = int|userdata color
set ( Fl_color ) -
obj.cursor_color ==> userdata color
get ( Fl_color )obj.cursor_color = int|userdata color
set ( Fl_color )