Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXFoldingList.h>
Inheritance diagram for FX::FXFoldingList:
Subtrees can be collapsed or expanded by double-clicking on an item or by clicking on the optional plus button in front of the item. Each item may have a text and optional open-icon as well as a closed-icon. The items may be connected by optional lines to show the hierarchical relationship. When an item's selected state changes, the folding list emits a SEL_SELECTED or SEL_DESELECTED message. If an item is opened or closed, a message of type SEL_OPENED or SEL_CLOSED is sent. When the subtree under an item is expanded, a SEL_EXPANDED or SEL_COLLAPSED message is issued. A change of the current item is signified by the SEL_CHANGED message. In addition, the folding list sends SEL_COMMAND messages when the user clicks on an item, and SEL_CLICKED, SEL_DOUBLECLICKED, and SEL_TRIPLECLICKED when the user clicks once, twice, or thrice, respectively. When items are added or removed, the folding list sends messages of the type SEL_INSERTED or SEL_DELETED. In each of these cases, a pointer to the item, if any, is passed in the 3rd argument of the message.
See also:
|
Construct a folding list; the folding list is initially empty.
|
|
Destructor.
|
|
|
|
|
|
|
|
|
|
Create server-side resources.
Reimplemented from FX::FXComposite. |
|
Detach server-side resources.
Reimplemented from FX::FXComposite. |
|
Perform layout.
Reimplemented from FX::FXScrollArea. |
|
Return default width.
Reimplemented from FX::FXScrollArea. |
|
Return default height.
Reimplemented from FX::FXScrollArea. |
|
Compute and return content width.
Reimplemented from FX::FXScrollArea. |
|
Return content height.
Reimplemented from FX::FXScrollArea. |
|
Recalculate layout.
Reimplemented from FX::FXWindow. |
|
Tree list can receive focus.
Reimplemented from FX::FXWindow. |
|
Move the focus to this window.
Reimplemented from FX::FXWindow. |
|
Remove the focus from this window.
Reimplemented from FX::FXWindow. |
|
Return header control.
|
|
Set headers from array of strings.
|
|
Set headers from newline separated strings.
|
|
Append header with given text and optional icon.
|
|
Remove header at index.
|
|
Change text of header at index.
|
|
Return text of header at index.
|
|
Change icon of header at index.
|
|
Return icon of header at index.
|
|
Change size of header at index.
|
|
Return width of header at index.
|
|
Return number of headers.
|
|
Return number of items.
|
|
Return number of visible items.
|
|
Change number of visible items.
|
|
Return first root item.
|
|
Return last root item.
|
|
Fill list by appending items from array of strings.
|
|
Fill list by appending items from newline separated strings.
|
|
Insert [possibly subclassed] item under father before other item.
|
|
Insert item with given text and optional icons, and user-data pointer under father before other item.
|
|
Append [possibly subclassed] item as last child of father.
|
|
Append item with given text and optional icons, and user-data pointer as last child of father.
|
|
Prepend [possibly subclassed] item as first child of father.
|
|
Prepend item with given text and optional icons, and user-data pointer as first child of father.
|
|
Move item under father before other item.
|
|
Extract item.
|
|
Remove item.
|
|
Remove items in range [fm, to] inclusively.
|
|
Remove all items from list.
|
|
Return item width.
|
|
Return item height.
|
|
Get item at x,y, if any.
|
|
Search items by name, beginning from item start. If the start item is NULL the search will start at the first, top-most item in the list. Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the search direction; this can be combined with SEARCH_NOWRAP or SEARCH_WRAP to control whether the search wraps at the start or end of the list. The option SEARCH_IGNORECASE causes a case-insensitive match. Finally, passing SEARCH_PREFIX causes searching for a prefix of the item name. Return NULL if no matching item is found. |
|
Search items by associated user data, beginning from item start. If the start item is NULL the search will start at the first, top-most item in the list. Flags may be SEARCH_FORWARD or SEARCH_BACKWARD to control the search direction; this can be combined with SEARCH_NOWRAP or SEARCH_WRAP to control whether the search wraps at the start or end of the list. |
|
Scroll to make item visible.
|
|
Change item's text.
|
|
Return item's text.
|
|
Change item's open icon, deleting old icon if it was owned.
|
|
Return item's open icon.
|
|
Chance item's closed icon, deleting old icon if it was owned.
|
|
Return item's closed icon.
|
|
Change item user-data pointer.
|
|
Return item user-data pointer.
|
|
Return TRUE if item is selected.
|
|
Return TRUE if item is current.
|
|
Return TRUE if item is visible.
|
|
Return TRUE if item opened.
|
|
Return TRUE if item expanded.
|
|
Return TRUE if item is a leaf-item, i.e. has no children.
|
|
Return TRUE if item is enabled.
|
|
Return item hit code: 0 outside, 1 icon, 2 text, 3 box.
|
|
Repaint item.
|
|
Enable item.
|
|
Disable item.
|
|
Select item.
|
|
Deselect item.
|
|
Toggle item selection.
|
|
Extend selection from anchor item to item.
|
|
Deselect all items.
|
|
Open item.
|
|
Close item.
|
|
Collapse tree.
|
|
Expand tree.
|
|
Change current item.
|
|
Return current item, if any.
|
|
Change anchor item.
|
|
Return anchor item, if any.
|
|
Return item under cursor, if any.
|
|
Sort all items recursively.
|
|
Sort root items.
|
|
Sort children of item.
|
|
Return sort function.
|
|
Change sort function.
|
|
Change text font.
|
|
Return text font.
|
|
Change parent-child indent amount.
|
|
Return parent-child indent amount.
|
|
Return normal text color.
|
|
Change normal text color.
|
|
Return selected text background.
|
|
Change selected text background.
|
|
Return selected text color.
|
|
Change selected text color.
|
|
Return line color.
|
|
Change line color.
|
|
Return list style.
|
|
Change list style.
|
|
Set the status line help text for this list.
|
|
Get the status line help text for this list.
|
|
Save object to a stream.
Reimplemented from FX::FXWindow. |
|
Load object from a stream.
Reimplemented from FX::FXWindow. |
Copyright © 1997-2005 Jeroen van der Zijp |