Skip to content
doyousketch2 edited this page Sep 13, 2019 · 11 revisions

Browser_ (abstract):

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 get

    obj.textfont = int|str textfont set

  • obj.textsize ==> int textsize get

    obj.textsize = int textsize set

  • obj.textcolor ==> userdata color get Fl_Color

    obj.textcolor = int|userdata color set Fl_Color

  • obj.hposition ==> int pos get

    obj.hposition = int pos set

  • obj.vposition ==> int pos get

    obj.vposition = int pos set
    ( corresponds to Fl_Browser_::position() )

  • obj.scrollbar_size ==> int pixels get

    obj.scrollbar_size = int pixels set

  • obj.scrollbar_width ==> int pixels get

    obj.scrollbar_width = int pixels set
    ( deprecated, use obj.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"
Clone this wiki locally