Skip to content
doyousketch2 edited this page Sep 12, 2019 · 5 revisions

Menu_Button:

Corresponds to: Fl_Menu_Button

Inherits from: Menu, Widget

Constructors

  • fl.Menu_Button( int X, int Y, int W, int H, *str label ) ==> userdata Widget
  • fl.Menu_Button{ table entries } ==> userdata Widget (table constructor syntax)

Functions

  • methods defined for the Menu userdata type
  • methods defined for the Widget userdata type

Properties

  • properties defined for the Menu userdata type
  • properties defined for the Widget userdata type
  • obj.type ==> str mode get ( see below )
  • obj.type = str mode set ( see below )

The type property / mode 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