# File FXTreeList.rb, line 219 def 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 width def getItemWidth(item); end # Return item height def 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_ visible def makeItemVisible(item); end # Change item's text def setItemText(item, text); end # Return item's text def getItemText(item); end # Change item's open icon def setItemOpenIcon(item, openIcon); end # Return item's open icon def getItemOpenIcon(item); end # Change item's closed icon def setItemClosedIcon(item, closedIcon); end # Return item's closed icon def getItemClosedIcon(item); end # Change item's user data def setItemData(item, data); end # Return item's user data def getItemData(item); end # Return +true+ if item is selected def itemSelected?(item); end # Return +true+ if item is current def itemCurrent?(item); end # Return +true+ if item is visible def itemVisible?(item); end # Return +true+ if item opened def itemOpened?(item); end # Return +true+ if item expanded def itemExpanded?(item); end # Return +true+ if item is a leaf-item, i.e. has no children def itemLeaf?(item); end # Return +true+ if item is enabled def itemEnabled?(item); end # Return item hit code: 0 outside, 1 icon, 2 text, 3 box def hitItem(item, x, y); end # Repaint item def updateItem(item); end # Enable item def enableItem(item); end # Disable item def 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 items def sortItems(); end # Sort children of _item_ def sortChildItems(item); end end