-
Notifications
You must be signed in to change notification settings - Fork 5
Check_Browser
doyousketch2 edited this page Sep 6, 2019
·
11 revisions
Corresponds to:
Fl_Check_Browser
Inherits from:
Browser_,
Widget
fl.Check_Browser( int X, int Y, int W, int H, *str label ) ==> userdata Widget-
fl.Check_Browser{ table } ==> userdata Widget(table constructor syntax)
-
obj:add( str text, *bool checked )( Add line to browser, set checkbox status ) obj:check_all()obj:check_none()-
obj:checked( int line# ) ==> bool checkedget checkbox status -
obj:checked( int line#, bool checked )set checkbox status obj:clear()obj:remove( int line# ) ==> int #lines left-
obj:set_checked( int line# )( same asobj:checked( line#, 1 )) obj:text( int line# ) ==> *str line text- methods defined for the
Browser_userdata type - methods defined for the
Widgetuserdata type obj.value ==> int current line#obj.nitems ==> int #linesobj.nchecked ==> #lines checked- properties defined for the
Browser_userdata type - properties defined for the
Widgetuserdata type
(note: Check_Browser does not inherit the methods and properties of
Group, although Fl_Check_Browser is implemented as a sub-class of
Fl_Group!)