class Flv_List


Class Hierarchy

Include Files

Description

The Flv_List widget is designed to display a list of items.  These items can be of any complexity.  For instance, the Flv_Table widget is just a list with a bunch of columns.  Below is an example of the list using dynamic styles for row backgrounds.

The Flv_List widget has the following features:

Methods

  • Flv_List
  • add_selection_style
  • *draw_row
  • feature
  • full_resize
  • get_default_style
  • get_row
  • get_style
  • handle
  • has_scrollbar
  • multi_select
  • persist_select
  • row
  • rows
  • rows_per_page
  • row_divider
  • row_footer
  • row_header
  • row_height
  • row_offset
  • row_resizable
  • row_selected
  • row_width
  • scrollbar_width
  • select_start_row
  • top_row
  • global_style
  • row_style
  • Flv_List( int X, int Y, int W, int H, const char *l=0 )
    ~Flv_List()

    void add_selection_style( Flv_Style &s, int R, int C=0 )

    virtual void draw_row( int Offset, int X, int Y, int W, int H, int R )

    Flv_Feature feature(void)
    Flv_Feature feature(Flv_Feature v)
    Flv_Feature feature_add(Flv_Feature v)
    Flv_Feature feature_remove(Flv_Feature v)
    bool feature_test(Flv_Feature v)

    bool full_resize(void)

    void get_default_style( Flv_Style &s )

    int get_row( int x, int y )

    virtual void get_style(Flv_Style &s, int R, int C=0)

    int handle(int event)

    Flv_ShowScrollbar has_scrollbar(void)
    Flv_ShowScrollbar has_scrollbar( Flv_ShowScrollbar v )

    bool multi_select(void)

    bool persist_select(void)

    int row(void)
    int row(int n)

    int rows(void)
    int rows(int n)

    int rows_per_page(void)
    int rows_per_page( int n )

    bool row_divider(void)

    bool row_footer(void)

    bool row_header(void)

    virtual int row_height( int n )
    virtual int row_height( int n, int R )

    int row_offset(void)
    int row_offset( int n )

    bool row_resizable( int r )
    bool row_resizable( bool n, int r )

    bool row_selected(int n)

    int row_width(void)
    int row_width( int n )

    int scrollbar_width(void)
    int scrollbar_width(int n)

    int select_start_row(void)
    int select_start_row(int n)

    int top_row(void)

    Flv_Style global_style

    Flv_Style_List row_style