# File FXTreeList.rb, line 45def initialize(text, openIcon=nil, closedIcon=nil, data=nil) # :yields: theItem# Set the focus on this tree item (_focus_ is either +true+ or +false+)def setFocus(focus) ; end# Returns +true+ if this item has the focusdef hasFocus? ; end# Returns +true+ if this item is selecteddef selected? ; end# Returns +true+ if this item is openeddef opened? ; end# Returns +true+ if this item is expandeddef expanded? ; end# Returns +true+ if this item is enableddef enabled? ; end# Returns +true+ if this item is draggabledef draggable? ; end# Returns +true+ if this item owns its iconsdef iconOwned? ; end# Returns the item's textdef to_s
text
end# Get the width of this itemdef getWidth(treeList) ; end# Get the height of this itemdef getHeight(treeList) ; end# Create this tree itemdef create; end# Detach this tree itemdef detach; end# Destroy this tree itemdef destroy; endend