Fl_Browser_ Binding Map

Back to Index
Package name
Fl_Browser_ FLTK.Widgets.Groups.Browsers

Note:

This Browser type should really be abstract but cannot be for technical binding reasons. If you try to use it directly you will get exceptions. Either extend it or use types already extended from it.

Types
Fl_Browser_ Browser
  Browser_Reference
enum mode Scrollbar_Mode
void * Item_Cursor
int flags Sort_Order
Attributes
Fl_Scrollbar hscrollbar;
function H_Bar
       (This : in out Browser)
    return Valuators.Sliders.Scrollbars.Scrollbar_Reference;
Fl_Scrollbar scrollbar;
function V_Bar
       (This : in out Browser)
    return Valuators.Sliders.Scrollbars.Scrollbar_Reference;
Constructors
Fl_Browser_(int X, int Y, int W, int H, const char *L=0);
function Create
       (X, Y, W, H : in Integer;
        Text       : in String := "")
    return Browser;
Functions and Procedures
int deselect(int docallbacks=0);
function Deselect
       (This         : in out Browser;
        Do_Callbacks : in     Boolean := False)
    return Boolean;

procedure Deselect
       (This         : in out Browser;
        Do_Callbacks : in     Boolean := False);
void display(void *item);
procedure Display
       (This : in out Browser;
        Item : in     Item_Cursor);
int handle(int event);
function Handle
       (This  : in out Browser;
        Event : in     Event_Kind)
    return Event_Outcome;
uchar has_scrollbar() const;
function Get_Scrollbar_Mode
       (This : in Browser)
    return Scrollbar_Mode;
void has_scrollbar(uchar mode);
procedure Set_Scrollbar_Mode
       (This : in out Browser;
        Mode : in     Scrollbar_Mode);
int hposition() const;
function Get_H_Position
       (This : in Browser)
    return Integer;
void hposition(int);
procedure Set_H_Position
       (This  : in out Browser;
        Value : in     Integer);
int position() const;
function Get_V_Position
       (This : in Browser)
    return Integer;
void position(int pos);
procedure Set_V_Position
       (This  : in out Browser;
        Value : in     Integer);
void resize(int X, int Y, int W, int H);
procedure Resize
       (This       : in out Browser;
        X, Y, W, H : in     Integer);
void scrollbar_left();
procedure Set_Vertical_Left
       (This : in out Browser);
void scrollbar_right();
procedure Set_Vertical_Right
       (This : in out Browser);
int scrollbar_size() const;
function Get_Scrollbar_Size
       (This : in Browser)
    return Integer;
void scrollbar_size(int newSize);
procedure Set_Scrollbar_Size
       (This  : in out Browser;
        Value : in     Integer);
int scrollbar_width() const;
Deprecated, see scrollbar_size();
void scrollbar_width(int width);
Deprecated, see scrollbar_size(int width);
int select(void *item, int val=1, int docallbacks=0);
function Set_Select
       (This         : in out Browser;
        Item         : in     Item_Cursor;
        State        : in     Boolean := True;
        Do_Callbacks : in     Boolean := False)
    return Boolean;

procedure Set_Select
       (This         : in out Browser;
        Item         : in     Item_Cursor;
        State        : in     Boolean := True;
        Do_Callbacks : in     Boolean := False);
int select_only(void *item, int docallbacks=0);
function Select_Only
       (This         : in out Browser;
        Item         : in     Item_Cursor;
        Do_Callbacks : in     Boolean := False)
    return Boolean;

procedure Select_Only
       (This         : in out Browser;
        Item         : in     Item_Cursor;
        Do_Callbacks : in     Boolean := False);
void sort(int flags=0);
procedure Sort
       (This  : in out Browser;
        Order : in     Sort_Order);
Fl_Color textcolor() const;
function Get_Text_Color
       (This : in Browser)
    return Color;
void textcolor(Fl_Color col);
procedure Set_Text_Color
       (This  : in out Browser;
        Value : in     Color);
Fl_Font textfont() const;
function Get_Text_Font
       (This : in Browser)
    return Font_Kind;
void textfont(Fl_Font font);
procedure Set_Text_Font
       (This : in out Browser;
        Font : in     Font_Kind);
Fl_Fontsize textsize() const;
function Get_Text_Size
       (This : in Browser)
    return Font_Size;
void textsize(Fl_Fontsize newSize);
procedure Set_Text_Size
       (This : in out Browser;
        Size : in     Font_Size);
Protected Functions and Procedures
void bbox(int &X, int &Y, int &W, int &H) const;
procedure Bounding_Box
       (This       : in     Browser;
        X, Y, W, H :    out Integer);
void deleting(void *item);
procedure Deleting
       (This : in out Browser;
        Item : in     Item_Cursor);
int displayed(void *item) const;
function Is_Displayed
       (This : in Browser;
        Item : in Item_Cursor)
    return Boolean;
void draw();
procedure Draw
       (This : in out Browser);
void * find_item(int ypos);
function Find_Item
       (This  : in Browser;
        Y_Pos : in Integer)
    return Item_Cursor;
virtual int full_height() const;
function Full_List_Height
       (This : in Browser)
    return Integer;
virtual int full_width() const;
function Full_List_Width
       (This : in Browser)
    return Integer;
virtual int incr_height() const;
function Average_Item_Height
       (This : in Browser)
    return Integer;
void inserting(void *a, void *b);
procedure Inserting
       (This : in out Browser;
        A, B : in     Item_Cursor);
virtual void * item_at(int index) const;
function Item_At
       (This  : in Browser;
        Index : in Positive)
    return Item_Cursor;
virtual void item_draw(void *item,
    int X, int Y, int W, int H) const =0;
procedure Item_Draw
       (This       : in Browser;
        Item       : in Item_Cursor;
        X, Y, W, H : in Integer);
virtual void * item_first() const =0;
function Item_First
       (This : in Browser)
    return Item_Cursor;
virtual int item_height(void *item) const =0;
function Item_Height
       (This : in Browser;
        Item : in Item_Cursor)
    return Integer;
virtual void * item_last() const;
function Item_Last
       (This : in Browser)
    return Item_Cursor;
virtual void * item_next(void *item) const =0;
function Item_Next
       (This : in Browser;
        Item : in Item_Cursor)
    return Item_Cursor;
virtual void * item_prev(void *item) const =0;
function Item_Previous
       (This : in Browser;
        Item : in Item_Cursor)
    return Item_Cursor;
virtual int item_quick_height(void *item) const;
function Item_Quick_Height
       (This : in Browser;
        Item : in Item_Cursor)
    return Integer;
virtual void item_select(void *item, int val=1);
procedure Item_Select
       (This  : in out Browser;
        Item  : in     Item_Cursor;
        State : in     Boolean := True);
virtual int item_selected(void *item) const;
function Item_Selected
       (This : in Browser;
        Item : in Item_Cursor)
    return Boolean;
virtual void item_swap(void *a, void *b);
procedure Item_Swap
       (This : in out Browser;
        A, B : in     Item_Cursor);
virtual const char * item_text(void *item) const;
function Item_Text
       (This : in Browser;
        Item : in Item_Cursor)
    return String;
virtual int item_width(void *item) const =0;
function Item_Width
       (This : in Browser;
        Item : in Item_Cursor)
    return Integer;
int leftedge() const;
function Left_Edge
       (This : in Browser)
    return Integer;
void new_list();
procedure New_List
       (This : in out Browser);
void redraw_line(void *item);
procedure Redraw_Line
       (This : in out Browser;
        Item : in     Item_Cursor);
void redraw_lines();
procedure Redraw_List
       (This : in out Browser);
void replacing(void *a, void *b);
procedure Replacing
       (This : in out Browser;
        A, B : in     Item_Cursor);
void * selection() const;
function Current_Selection
       (This : in Browser)
    return Item_Cursor;
void swapping(void *a, void *b);
procedure Swapping
       (This : in out Browser;
        A, B : in     Item_Cursor);
void * top() const;
function Top_Item
       (This : in Browser)
    return Item_Cursor;