-
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
Valuatoruserdata type - properties defined for
Widgetuserdata type -
obj.soft ==> bool draggableobj.soft = bool draggable
allowed to drag value outside range -
obj.input userdataget ( Fl_Input ) -
obj.shortcut ==> userdata keyget( 'key code', or 0 if last event was not a key )
-
obj.shortcut = int|str|userdata keysetsee differences in Lua-vs-Cpp for adding key combinations
-
obj.textfont ==> str indexget ( Fl_Font index )obj.textfont = int|str fontset ( Fl_Font index or name ) -
obj.textsize ==> int sizeget ( in pixels )obj.textsize = int sizeset ( in pixels ) -
obj.textcolor ==> userdata colorget ( Fl_color )obj.textcolor = int|userdata colorset ( Fl_color ) -
obj.cursor_color ==> userdata colorget ( Fl_color )obj.cursor_color = int|userdata colorset ( Fl_color )