The virtual function table of mListItem, which derived from mItemManagerClass.
More...
#include <mlistitem.h>
The virtual function table of mListItem, which derived from mItemManagerClass.
- void (*setBackground)(mListItem self, int index, int color);
Set the background of the specified index item. If the specfied index is invalid, it will set the item's background. When color is NULL, it will cancel previous setting.
- void (*setForeground)(mListItem self, int index, int color);
Set the foreground of the specified index item. If the specfied index is invalid, it will set the item's background. When color is NULL, it will cancel previous setting.
- int (*getBackground)(mListItem self, int index, int color);
Get the background of the specified index item. If the specified index is invalid, it will return the item's background.
- int (*getForeground)(mListItem self, int index, int color);
Get the foreground of the specified index item. If the specified index is invalid, it will return the item's foreground.
- mListItem* (*getParent)(mListItem *self);
Get the pointer to parent.
- int (*getChildCount)(mListItem *self);
Get the number of children.
- int (*getDepth)(mListItem *self);
Get depth.
- BOOL (*isFold)(mListItem *self);
Get whether folded or not.
- BOOL (*setFold)(mListItem *self, BOOL fold);
Fold item.
- BOOL (*addChild)(mListItem *self, mListItem *child);
Add the specified child.
- BOOL (*delChild)(mListItem *self, mListItem *child);
Delete the specified child.
The documentation for this struct was generated from the following file: