# File FXTreeList.rb, line 219def removeItem(item, notify=false);
# Remove items in range [_fromItem_, _toItem_] inclusively.# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message# target before each item is removed.def removeItems(fromItem, toItem, notify=false); end# Remove all items from the list.# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message# target before each item is removed.def clearItems(notify=false); end# Return item widthdef getItemWidth(item); end# Return item heightdef getItemHeight(item); end# Search items for item by _text_, starting from _startItem_; the# _flags_ argument controls the search direction, and case sensitivity.# Returns a reference to the matching item, or +nil+ if no match is found.def findItem(text, startItem=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end# Scroll the list to make _item_ visibledef makeItemVisible(item); end# Change item's textdef setItemText(item, text); end# Return item's textdef getItemText(item); end# Change item's open icondef setItemOpenIcon(item, openIcon); end# Return item's open icondef getItemOpenIcon(item); end# Change item's closed icondef setItemClosedIcon(item, closedIcon); end# Return item's closed icondef getItemClosedIcon(item); end# Change item's user datadef setItemData(item, data); end# Return item's user datadef getItemData(item); end# Return +true+ if item is selecteddef itemSelected?(item); end# Return +true+ if item is currentdef itemCurrent?(item); end# Return +true+ if item is visibledef itemVisible?(item); end# Return +true+ if item openeddef itemOpened?(item); end# Return +true+ if item expandeddef itemExpanded?(item); end# Return +true+ if item is a leaf-item, i.e. has no childrendef itemLeaf?(item); end# Return +true+ if item is enableddef itemEnabled?(item); end# Return item hit code: 0 outside, 1 icon, 2 text, 3 boxdef hitItem(item, x, y); end# Repaint itemdef updateItem(item); end# Enable itemdef enableItem(item); end# Disable itemdef disableItem(item); end# Select item.# If _notify_ is +true+, a +SEL_SELECTED+ message is sent to the list's# message target after the item is selected.def selectItem(item, notify=false); end# Deselect item.# If _notify_ is +true+, a +SEL_DESELECTED+ message is sent to the list's# message target after the item is deselected.def deselectItem(item, notify=false); end# Toggle item selection.# If _notify_ is +true+, a +SEL_SELECTED+ or +SEL_DESELECTED+ message is# sent to the list's message target to indicate the change.def toggleItem(item, notify=false); end# Open item.# If _notify_ is +true+, a +SEL_OPENED+ message is sent to the list's# message target after the item is opened.def openItem(item, notify=false); end# Close item.# If _notify_ is +true+, a +SEL_CLOSED+ message is sent to the list's# message target after the item is closed.def closeItem(item, notify=false); end# Collapse sub-tree rooted at _tree_.# If _notify_ is +true+, a +SEL_COLLAPSED+ message is sent to the list's# message target after the sub-tree is collapsed.def collapseTree(tree, notify=false); end# Expand sub-tree rooted at _tree_.# If _notify_ is +true+, a +SEL_EXPANDED+ message is sent to the list's# message target after the sub-tree is expanded.def expandTree(tree, notify=false); end# Reparent _item_ under _parentItem_.def reparentItem(item, parentItem); end# Change current item.# If _notify_ is +true+, a +SEL_CHANGED+ message is sent to the list's# message target after the current item changes.def setCurrentItem(item, notify=false); end# Extend selection from anchor item to _item_.# If _notify_ is +true+, a series of +SEL_SELECTED+ and +SEL_DESELECTED+# messages may be sent to the list's message target, indicating the changes.def extendSelection(item, notify=false); end# Deselect all items.# If _notify_ is +true+, +SEL_DESELECTED+ messages will be sent to the list's# message target indicating the affected items.def killSelection(notify=false); end# Sort root itemsdef sortItems(); end# Sort children of _item_def sortChildItems(item); endend