#include <FXFoldingList.h>
Tree list Item.
See also:
Enumerator |
---|
SELECTED |
|
FOCUS |
Selected.
|
DISABLED |
Focus.
|
OPENED |
Disabled.
|
EXPANDED |
Opened.
|
HASITEMS |
Expanded.
|
DRAGGABLE |
Has virtual subitems.
|
OPENICONOWNED |
Draggable.
|
CLOSEDICONOWNED |
Open icon owned by item.
|
virtual FX::FXFoldingItem::~FXFoldingItem |
( |
| ) |
|
|
virtual |
Destroy item and free icons if owned.
Get previous sibling item.
Get item below this one in list.
Get item above this one in list.
FXint FX::FXFoldingItem::getNumChildren |
( |
| ) |
const |
Get number of children of item.
virtual void FX::FXFoldingItem::setText |
( |
const FXString & |
txt | ) |
|
|
virtual |
const FXString& FX::FXFoldingItem::getText |
( |
| ) |
const |
|
inline |
Change open icon, deleting old icon if it was owned.
FXIcon* FX::FXFoldingItem::getOpenIcon |
( |
| ) |
const |
|
inline |
Change closed icon, deleting old icon if it was owned.
FXIcon* FX::FXFoldingItem::getClosedIcon |
( |
| ) |
const |
|
inline |
void FX::FXFoldingItem::setData |
( |
void * |
ptr | ) |
|
|
inline |
void* FX::FXFoldingItem::getData |
( |
| ) |
const |
|
inline |
virtual void FX::FXFoldingItem::setFocus |
( |
FXbool |
focus | ) |
|
|
virtual |
Make item draw as focused.
FXbool FX::FXFoldingItem::hasFocus |
( |
| ) |
const |
|
inline |
Return true if item has focus.
virtual void FX::FXFoldingItem::setSelected |
( |
FXbool |
selected | ) |
|
|
virtual |
FXbool FX::FXFoldingItem::isSelected |
( |
| ) |
const |
|
inline |
Return true if this item is selected.
virtual void FX::FXFoldingItem::setOpened |
( |
FXbool |
opened | ) |
|
|
virtual |
FXbool FX::FXFoldingItem::isOpened |
( |
| ) |
const |
|
inline |
Return true if this item is open.
virtual void FX::FXFoldingItem::setExpanded |
( |
FXbool |
expanded | ) |
|
|
virtual |
FXbool FX::FXFoldingItem::isExpanded |
( |
| ) |
const |
|
inline |
Return true if this item is expanded into sub items.
virtual void FX::FXFoldingItem::setEnabled |
( |
FXbool |
enabled | ) |
|
|
virtual |
FXbool FX::FXFoldingItem::isEnabled |
( |
| ) |
const |
|
inline |
Return true if this item is enabled.
virtual void FX::FXFoldingItem::setDraggable |
( |
FXbool |
draggable | ) |
|
|
virtual |
FXbool FX::FXFoldingItem::isDraggable |
( |
| ) |
const |
|
inline |
Return true if this item is draggable.
FXbool FX::FXFoldingItem::hasItems |
( |
| ) |
const |
|
inline |
Return TRUE if subitems, real or imagined.
void FX::FXFoldingItem::setHasItems |
( |
FXbool |
flag | ) |
|
Return true if descendent of parent item.
Return true if ancestor of child item.
Return width of item as drawn in list.
Return height of item as drawn in list.
virtual void FX::FXFoldingItem::create |
( |
| ) |
|
|
virtual |
Create server-side resources.
virtual void FX::FXFoldingItem::detach |
( |
| ) |
|
|
virtual |
Detach server-side resources.
virtual void FX::FXFoldingItem::destroy |
( |
| ) |
|
|
virtual |
Destroy server-side resources.
virtual void FX::FXFoldingItem::save |
( |
FXStream & |
store | ) |
const |
|
virtual |
virtual void FX::FXFoldingItem::load |
( |
FXStream & |
store | ) |
|
|
virtual |