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

Menu_Button:

  • fl.Menu_Button( i, i, i, i, ns ) ==> u
  • fl.Menu_Button( t ) ==> u (table constructor syntax)
  • methods defined for the Menu userdata type
  • methods defined for the Widget userdata type
  • obj.type [get: s; set: s]
  • properties defined for the Menu userdata type
  • properties defined for the Widget userdata type

The type property of menu button widgets can be set to one of the following values to select the mouse button(s) that activate the menu:

  • "NOPOPUP"
  • "POPUP1"
  • "POPUP2"
  • "POPUP12"
  • "POPUP3" (usually what you want)
  • "POPUP13"
  • "POPUP23"
  • "POPUP123"
Clone this wiki locally