The Layout Library: MListView

Derived from: public MView, public BListView

Declared in: <MListView.h>


Overview

An MListView is liblayout's version of a BListView. Please see the BeBook for more information on BListView.


Constructor and Destructor


MListView()

    MListView(list_view_type type=B_SINGLE_SELECTION_LIST,  minimax size=minimax(50,50))
    MListView(BMessage *archive)
Constructs an MListView of the given type and size.

~MListView()

    virtual ~MListView()
Cleans up after the MListView.

Static Functions


Instantiate()

    static BArchivable *Instantiate(BMessage *archive)
Not yet implemented.


Member Functions


Archive()

    virtual long Archive(BMessage *archive, bool deep=true) const
Not yet implemented.


AttachedToWindow()

    virtual void AttachedToWindow()
Implementation detail.


DetachedFromWindow()

    virtual void DetachedFromWindow()
Implementation detail.


MessageReceived()

    virtual void MessageReceived(BMessage*)
Handles font and color drops. If you override this function, be sure to call the inherited version.


reloadfont()

    virtual void reloadfont(BFont *font[])
Handles font changes in the MListView.