-
Notifications
You must be signed in to change notification settings - Fork 5
Browser
Philipp Janda edited this page Oct 16, 2015
·
21 revisions
Corresponds to:
Fl_Browser
Inherits from:
Browser_,
Widget
fl.Browser( i, i, i, i, ns ) ==> u-
fl.Browser( t ) ==> u(table constructor syntax) obj:add( ns )obj:clear()obj:displayed( i ) ==> bobj:hide( [ i ] )obj:insert( i, ns )obj:load( s ) ==> b / (n, s, i)obj:make_visible( i )obj:move( i, i )obj:remove( i )obj:select( i ) ==> bobj:selected( i ) ==> bobj:show( [ i ] )obj:size( i, i )obj:swap( i, i )obj:text( i ) ==> nsobj:text( i, s )obj:visible( i ) ==> b- methods defined for the
Browser_userdata type - methods defined for the
Widgetuserdata type obj.type [get: s; set: s]obj.value [get: i; set: i]-
obj.nitems [get: i; set: -](corresponds toFl_Browser::size()) obj.topline [get: i; set: i]obj.bottomline [get: -; set: i]obj.middleline [get: -; set: i]obj.column_char [get: s; set: -]obj.format_char [get: s; set: -]obj.column_widths [get: t; set: t]- properties defined for the
Browser_userdata type - properties defined for the
Widgetuserdata type
(note: Browser does not inherit the methods and properties of
Group, although Fl_Browser is implemented as a sub-class of
Fl_Group!)
Different behavior for the browser can be selected by setting its
type property to one of:
-
"FL_NORMAL_BROWSER"(the default) "FL_SELECT_BROWSER""FL_HOLD_BROWSER""FL_MULTI_BROWSER"