-
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 textfont
getobj.textfont = int|str textfont
set -
obj.textsize ==> int textsize
getobj.textsize = int textsize
set -
obj.textcolor ==> userdata color
get Fl_Colorobj.textcolor = int|userdata color
set Fl_Color -
obj.hposition ==> int pos
getobj.hposition = int pos
set -
obj.vposition ==> int pos
getobj.vposition = int pos
set
( corresponds toFl_Browser_::position()
) -
obj.scrollbar_size ==> int pixels
getobj.scrollbar_size = int pixels
set -
obj.scrollbar_width ==> int pixels
getobj.scrollbar_width = int pixels
set
( deprecated, useobj.scrollbar_size
instead ) -
obj.has_scrollbar ==> str mode
obj.has_scrollbar = str mode
select mode:"HORIZONTAL"
"VERTICAL"
-
"BOTH"
( default ) "HORIZONTAL_ALWAYS"
"VERTICAL_ALWAYS"
"BOTH_ALWAYS"