-
Notifications
You must be signed in to change notification settings - Fork 5
Button
Philipp Janda edited this page Oct 14, 2015
·
14 revisions
Corresponds to:
Fl_Button
Inherits from:
Widget
fl.Button( i, i, i, i, ns ) ==> u-
fl.Button( t ) ==> u(table constructor syntax) obj:clear() ==> bobj:set() ==> bobj:setonly()- methods defined for the
Widgetuserdata type obj.type [get: s; set: s]obj.value [get: b; set: b]obj.down_box [get: s; set: s]obj.shortcut [get: u; set: isu]obj.down_color [get: u; set: iu]- properties defined for the
Widgetuserdata type
Different behavior for the button can be selected by setting its
type property to one of:
-
"FL_NORMAL_BUTTON"(the default) "FL_TOGGLE_BUTTON""FL_RADIO_BUTTON"