ListBoxState Class Reference

#include <Pt/Forms/ListBoxStyler.h>

Transient visual state of a list box. More...

Public Member Functions

 ListBoxState ()
 Constructs an empty list box state.
 
bool isEnabled () const
 Returns true if the list is currently enabled.
 
void setEnabled (bool value)
 Sets whether the list is enabled.
 
bool isFocused () const
 Returns true if the list currently has focus.
 
void setFocused (bool value)
 Sets whether the list has focus.
 

Detailed Description

ListBoxState is the snapshot a ListBox passes to measure, layout, and paint. It is not the application model. Enabled and focused describe the look of one paint pass.