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(Parent::wxWindow() (see module wxWindow)) -> wxTreeCtrl()
Equivalent to new(Parent, []).
new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxTreeCtrl()
Types:
addRoot(This::wxTreeCtrl(), Text::string()) -> integer()
Equivalent to addRoot(This, Text, []).
addRoot(This::wxTreeCtrl(), Text::string(), Options::[Option]) -> integer()
Types:
appendItem(This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer()
Equivalent to appendItem(This, Parent, Text, []).
appendItem(This::wxTreeCtrl(), Parent::integer(), Text::string(), Options::[Option]) -> integer()
Types:
assignImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok
assignStateImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok
collapse(This::wxTreeCtrl(), Item::integer()) -> ok
collapseAndReset(This::wxTreeCtrl(), Item::integer()) -> ok
create(This::wxTreeCtrl(), Parent::wxWindow() (see module wxWindow)) -> bool()
Equivalent to create(This, Parent, []).
create(This::wxTreeCtrl(), Parent::wxWindow() (see module wxWindow), Options::[Option]) -> bool()
Types:
delete(This::wxTreeCtrl(), Item::integer()) -> ok
deleteAllItems(This::wxTreeCtrl()) -> ok
deleteChildren(This::wxTreeCtrl(), Item::integer()) -> ok
editLabel(This::wxTreeCtrl(), Item::integer()) -> wxTextCtrl() (see module wxTextCtrl)
ensureVisible(This::wxTreeCtrl(), Item::integer()) -> ok
expand(This::wxTreeCtrl(), Item::integer()) -> ok
Equivalent to getBoundingRect(This, Item, Rect, []).
Types:
getChildrenCount(This::wxTreeCtrl(), Item::integer()) -> integer()
Equivalent to getChildrenCount(This, Item, []).
getChildrenCount(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> integer()
Types:
getCount(This::wxTreeCtrl()) -> integer()
getEditControl(This::wxTreeCtrl()) -> wxTextCtrl() (see module wxTextCtrl)
getFirstChild(This::wxTreeCtrl(), Item::integer()) -> {integer(), Cookie::integer()}
getFirstVisibleItem(This::wxTreeCtrl()) -> integer()
getImageList(This::wxTreeCtrl()) -> wxImageList() (see module wxImageList)
getIndent(This::wxTreeCtrl()) -> integer()
getItemBackgroundColour(This::wxTreeCtrl(), Item::integer()) -> colour() (see module wx)
getItemData(This::wxTreeCtrl(), Item::integer()) -> term()
getItemFont(This::wxTreeCtrl(), Item::integer()) -> wxFont() (see module wxFont)
getItemImage(This::wxTreeCtrl(), Item::integer()) -> integer()
getItemImage(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> integer()
Types:
See external documentation.
WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
getItemText(This::wxTreeCtrl(), Item::integer()) -> string()
getItemTextColour(This::wxTreeCtrl(), Item::integer()) -> colour() (see module wx)
getLastChild(This::wxTreeCtrl(), Item::integer()) -> integer()
getNextSibling(This::wxTreeCtrl(), Item::integer()) -> integer()
getNextVisible(This::wxTreeCtrl(), Item::integer()) -> integer()
getItemParent(This::wxTreeCtrl(), Item::integer()) -> integer()
getPrevSibling(This::wxTreeCtrl(), Item::integer()) -> integer()
getPrevVisible(This::wxTreeCtrl(), Item::integer()) -> integer()
getRootItem(This::wxTreeCtrl()) -> integer()
getSelection(This::wxTreeCtrl()) -> integer()
getSelections(This::wxTreeCtrl()) -> {integer(), Val::[integer()]}
getStateImageList(This::wxTreeCtrl()) -> wxImageList() (see module wxImageList)
hitTest(This::wxTreeCtrl(), Point::{X::integer(), Y::integer()}) -> integer()
insertItem(This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string()) -> integer()
Equivalent to insertItem(This, Parent, Pos, Text, []).
Types:
isBold(This::wxTreeCtrl(), Item::integer()) -> bool()
isExpanded(This::wxTreeCtrl(), Item::integer()) -> bool()
isSelected(This::wxTreeCtrl(), Item::integer()) -> bool()
isVisible(This::wxTreeCtrl(), Item::integer()) -> bool()
itemHasChildren(This::wxTreeCtrl(), Item::integer()) -> bool()
prependItem(This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer()
Equivalent to prependItem(This, Parent, Text, []).
prependItem(This::wxTreeCtrl(), Parent::integer(), Text::string(), Options::[Option]) -> integer()
Types:
scrollTo(This::wxTreeCtrl(), Item::integer()) -> ok
selectItem(This::wxTreeCtrl(), Item::integer()) -> ok
selectItem(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok
Types:
setIndent(This::wxTreeCtrl(), Indent::integer()) -> ok
setImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok
setItemBackgroundColour(This::wxTreeCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok
setItemBold(This::wxTreeCtrl(), Item::integer()) -> ok
Equivalent to setItemBold(This, Item, []).
setItemBold(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok
Types:
setItemData(This::wxTreeCtrl(), Item::integer(), Data::term()) -> ok
setItemDropHighlight(This::wxTreeCtrl(), Item::integer()) -> ok
Equivalent to setItemDropHighlight(This, Item, []).
setItemDropHighlight(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok
Types:
setItemFont(This::wxTreeCtrl(), Item::integer(), Font::wxFont() (see module wxFont)) -> ok
setItemHasChildren(This::wxTreeCtrl(), Item::integer()) -> ok
Equivalent to setItemHasChildren(This, Item, []).
setItemHasChildren(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok
Types:
setItemImage(This::wxTreeCtrl(), Item::integer(), Image::integer()) -> ok
setItemImage(This::wxTreeCtrl(), Item::integer(), Image::integer(), Options::[Option]) -> ok
Types:
See external documentation.
WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
setItemText(This::wxTreeCtrl(), Item::integer(), Text::string()) -> ok
setItemTextColour(This::wxTreeCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok
setStateImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok
setWindowStyle(This::wxTreeCtrl(), Styles::integer()) -> ok
sortChildren(This::wxTreeCtrl(), Item::integer()) -> ok
toggle(This::wxTreeCtrl(), Item::integer()) -> ok
toggleItemSelection(This::wxTreeCtrl(), Item::integer()) -> ok
unselect(This::wxTreeCtrl()) -> ok
unselectAll(This::wxTreeCtrl()) -> ok