-
Notifications
You must be signed in to change notification settings - Fork 5
Browser_
doyousketch2 edited this page Sep 5, 2019
·
11 revisions
Corresponds to:
Fl_Browser_
-
obj:deselect( *int docallbacks=0 ) ==> bool(1 if state changed, else 0) -
obj:scrollbar_left()(moves vert scrollbar to left side of list) -
obj:scrollbar_right()(moves vert scrollbar to right side of list) -
obj:sort( *str flag )( 'FL_SORT_ASCENDING' or 'FL_SORT_DESCENDING' ) -
obj.textfont ==> str textfontget -
obj.textfont = int|str textfontset -
obj.textsize ==> int textsizeget -
obj.textsize = int textsizeset -
obj.textcolor ==> userdataget -
obj.textcolor = int|userdataset -
obj.hposition ==> int posget -
obj.hposition = int posset -
obj.vposition ==> int posget -
obj.vposition = posset (corresponds toFl_Browser_::position()) -
obj.has_scrollbar ==> str mode(see below) -
obj.has_scrollbar = str mode(see below) -
obj.scrollbar_size ==> int pixelsget -
obj.scrollbar_size = int pixelsset -
obj.scrollbar_width ==> int pixelsget (deprecated, useobj.scrollbar_sizeinstead) -
obj.scrollbar_width = int pixelsset (deprecated, useobj.scrollbar_size =instead)
The has_scrollbar property of browser widgets can be set to one of
the following modes to select which scrollbars are shown:
"HORIZONTAL""VERTICAL"-
"BOTH"(the default) "HORIZONTAL_ALWAYS""VERTICAL_ALWAYS""BOTH_ALWAYS"