Skip to content
Philipp Janda edited this page Oct 10, 2015 · 7 revisions

Input:

  • fl.Input( i, i, i, i, ns ) ==> u
  • fl.Input( t ) ==> u (table constructor syntax)
  • obj:copy( i ) ==> b
  • obj:copy_cuts() ==> b
  • obj:cut( [i [, i]] ) ==> b
  • obj:index( i ) ==> i
  • obj:insert( s ) ==> b
  • obj:replace( i, i, ns ) ==> b
  • obj:size( i, i )
  • obj:undo()
  • methods defined for the Widget userdata type
  • obj.mark [get: i; set: i]
  • obj.type [get: s; set: s]
  • obj.wrap [get: b; set: b]
  • obj.value [get: s; set: s]
  • obj.tab_nav [get: b; set: b]
  • obj.position [get: i; set: i]
  • obj.readonly [get: b; set: b]
  • obj.shortcut [get: u; set: isu]
  • obj.textfont [get: s; set: is]
  • obj.textsize [get: i; set: i]
  • obj.textcolor [get: u; set: iu]
  • obj.value_size [get: i; set: -] (corresponds to Fl_Input_::size())
  • obj.cursor_color [get: u; set: iu]
  • obj.maximum_size [get: i; set: i]
  • properties defined for the Widget userdata type

The type property of input widgets can be set to one of the following values:

  • "FL_NORMAL_INPUT" (the default)
  • "FL_FLOAT_INPUT"
  • "FL_INT_INPUT"
  • "FL_HIDDEN_INPUT"
  • "FL_MULTILINE_INPUT"
  • "FL_SECRET_INPUT"
  • "FL_NORMAL_OUTPUT"
  • "FL_MULTILINE_OUTPUT"
  • "FL_MULTILINE_INPUT_WRAP"
  • "FL_MULTILINE_OUTPUT_WRAP"

Clone this wiki locally