| Class | Fox::FXFoldingItem |
| In: |
rdoc-sources/FXFoldingList.rb
lib/fox16/iterators.rb |
| Parent: | FXObject |
An FXFoldingItem is an item in an FXFoldingList widget.
| above | [R] | Item logically above this item [FXFoldingItem] |
| below | [R] | Item logically below this item [FXFoldingItem] |
| closedIcon | [RW] | Closed icon [FXIcon] |
| data | [RW] | User data [Object] |
| draggable | [W] | Indicates whether the item is draggable [Boolean] |
| enabled | [W] | Indicates whether the item is enabled [Boolean] |
| expanded | [W] | Indicates whether the item is expanded [Boolean] |
| first | [R] | First child item [FXFoldingItem] |
| last | [R] | Last child item [FXFoldingItem] |
| next | [R] | Next sibling item [FXFoldingItem] |
| numChildren | [R] | Number of child items [Integer] |
| openIcon | [RW] | Open icon [FXIcon] |
| opened | [W] | Indicates whether the item is opened [Boolean] |
| parent | [R] | Parent item [FXFoldingItem] |
| prev | [R] | Previous sibling item [FXFoldingItem] |
| selected | [W] | Indicates whether the item is selected [Boolean] |
| text | [RW] | Item text [String] |
Calls block once for each child of this folding list item, passing a reference to that child item as a parameter.
Change closed icon to icn, deleting old icon if it was owned. If owned is true, mark icn as owned by this folding item.