wxTreeCtrl
MODULE
MODULE SUMMARY
DESCRIPTION
See external documentation: wxTreeCtrl.
Note: The representation of treeItemId() have changed from the original class implementation to be an semi-opaque type,Equality between TreeItemId's can be tested and zero means that the TreeItem is invalid.
DATA TYPES
EXPORTS
new() -> wxTreeCtrl()
new(Parent) -> wxTreeCtrl()
Types:
Equivalent to new(Parent, []).
new(Parent, Options::[Option]) -> wxTreeCtrl()
Types:
addRoot(This, Text) -> integer()
Equivalent to addRoot(This, Text, []).
addRoot(This, Text, Options::[Option]) -> integer()
Types:
appendItem(This, Parent, Text) -> integer()
Equivalent to appendItem(This, Parent, Text, []).
appendItem(This, Parent, Text, Options::[Option]) -> integer()
Types:
assignImageList(This, ImageList) -> ok
assignStateImageList(This, ImageList) -> ok
collapseAndReset(This, Item) -> ok
create(This, Parent) -> boolean()
Equivalent to create(This, Parent, []).
create(This, Parent, Options::[Option]) -> boolean()
Types:
Types:
deleteChildren(This, Item) -> ok
editLabel(This, Item) -> wxTextCtrl:wxTextCtrl()
ensureVisible(This, Item) -> ok
getBoundingRect(This, Item) -> Result
Types:
Equivalent to getBoundingRect(This, Item, []).
getBoundingRect(This, Item, Options::[Option]) -> Result
Types:
getChildrenCount(This, Item) -> integer()
Equivalent to getChildrenCount(This, Item, []).
getChildrenCount(This, Item, Options::[Option]) -> integer()
Types:
getEditControl(This) -> wxTextCtrl:wxTextCtrl()
Types:
getFirstChild(This, Item) -> Result
getNextChild(This, Item, Cookie) -> Result
Types:
getFirstVisibleItem(This) -> integer()
Types:
getImageList(This) -> wxImageList:wxImageList()
Types:
Types:
getItemBackgroundColour(This, Item) -> wx:wx_colour4()
getItemData(This, Item) -> term()
getItemFont(This, Item) -> wxFont:wxFont()
getItemImage(This, Item) -> integer()
getItemImage(This, Item, Options::[Option]) -> integer()
See external documentation.
Which = ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
getItemText(This, Item) -> unicode:charlist()
getItemTextColour(This, Item) -> wx:wx_colour4()
getLastChild(This, Item) -> integer()
getNextSibling(This, Item) -> integer()
getNextVisible(This, Item) -> integer()
getItemParent(This, Item) -> integer()
getPrevSibling(This, Item) -> integer()
getPrevVisible(This, Item) -> integer()
getRootItem(This) -> integer()
Types:
getSelection(This) -> integer()
Types:
getStateImageList(This) -> wxImageList:wxImageList()
Types:
hitTest(This, Point) -> Result
Types:
insertItem(This, Parent, Pos, Text) -> integer()
Equivalent to insertItem(This, Parent, Pos, Text, []).
insertItem(This, Parent, Pos, Text, Options::[Option]) -> integer()
Types:
isBold(This, Item) -> boolean()
isExpanded(This, Item) -> boolean()
isSelected(This, Item) -> boolean()
isVisible(This, Item) -> boolean()
itemHasChildren(This, Item) -> boolean()
isTreeItemIdOk(Id) -> boolean()
Types:
prependItem(This, Parent, Text) -> integer()
Equivalent to prependItem(This, Parent, Text, []).
prependItem(This, Parent, Text, Options::[Option]) -> integer()
Types:
selectItem(This, Item, Options::[Option]) -> ok
setImageList(This, ImageList) -> ok
setItemBackgroundColour(This, Item, Col) -> ok
Equivalent to setItemBold(This, Item, []).
setItemBold(This, Item, Options::[Option]) -> ok
setItemData(This, Item, Data) -> ok
setItemDropHighlight(This, Item) -> ok
Equivalent to setItemDropHighlight(This, Item, []).
setItemDropHighlight(This, Item, Options::[Option]) -> ok
setItemFont(This, Item, Font) -> ok
setItemHasChildren(This, Item) -> ok
Equivalent to setItemHasChildren(This, Item, []).
setItemHasChildren(This, Item, Options::[Option]) -> ok
setItemImage(This, Item, Image) -> ok
setItemImage(This, Item, Image, Options::[Option]) -> ok
See external documentation.
Which = ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
setItemText(This, Item, Text) -> ok
setItemTextColour(This, Item, Col) -> ok
setStateImageList(This, ImageList) -> ok
setWindowStyle(This, Styles) -> ok
sortChildren(This, Item) -> ok
toggleItemSelection(This, Item) -> ok
Types:
Types:
unselectItem(This, Item) -> ok
destroy(This::wxTreeCtrl()) -> ok