-
Notifications
You must be signed in to change notification settings - Fork 5
Browser_
doyousketch2 edited this page Sep 13, 2019
·
11 revisions
Corresponds to:
Fl_Browser_
Functions
-
obj:deselect( *int docallbacks=0 ) ==> bool( 1 if state changed, else 0 )
-
obj:scrollbar_left()( moves vert scrollbar left of list )
-
obj:scrollbar_right()( moves vert scrollbar right of list )
-
obj:sort( *str flag )(
"FL_SORT_ASCENDING"or"FL_SORT_DESCENDING")
Properties
-
obj.textfont ==> str textfontgetobj.textfont = int|str textfontset -
obj.textsize ==> int textsizegetobj.textsize = int textsizeset -
obj.textcolor ==> userdata colorget Fl_Colorobj.textcolor = int|userdata colorset Fl_Color -
obj.hposition ==> int posgetobj.hposition = int posset -
obj.vposition ==> int posgetobj.vposition = int posset
( corresponds toFl_Browser_::position()) -
obj.scrollbar_size ==> int pixelsgetobj.scrollbar_size = int pixelsset -
obj.scrollbar_width ==> int pixelsgetobj.scrollbar_width = int pixelsset
( deprecated, useobj.scrollbar_sizeinstead ) -
obj.has_scrollbar ==> str modeobj.has_scrollbar = str mode
select mode:"HORIZONTAL""VERTICAL"-
"BOTH"( default ) "HORIZONTAL_ALWAYS""VERTICAL_ALWAYS""BOTH_ALWAYS"