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
-
- wxTreeCtrl():
-
-
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.
-
EXPORTS
new() -> wxTreeCtrl()
-
See external documentation.
new(Parent) -> wxTreeCtrl()
-
Types:
-
Parent = wxWindow() (see module wxWindow)
-
Parent = wxWindow() (see module wxWindow)
-
Equivalent to new(Parent, []).
new(Parent, Options::[Option]) -> wxTreeCtrl()
-
Types:
-
Parent = wxWindow() (see module wxWindow)
Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}
-
Parent = wxWindow() (see module wxWindow)
-
See external documentation.
addRoot(This, Text) -> integer()
-
Types:
-
This = wxTreeCtrl()
Text = chardata() (see module unicode)
-
This = wxTreeCtrl()
-
Equivalent to addRoot(This, Text, []).
addRoot(This, Text, Options::[Option]) -> integer()
-
Types:
-
This = wxTreeCtrl()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
-
This = wxTreeCtrl()
-
See external documentation.
appendItem(This, Parent, Text) -> integer()
-
Types:
-
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
-
This = wxTreeCtrl()
-
Equivalent to appendItem(This, Parent, Text, []).
appendItem(This, Parent, Text, Options::[Option]) -> integer()
-
Types:
-
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
-
This = wxTreeCtrl()
-
See external documentation.
assignImageList(This, ImageList) -> ok
-
Types:
-
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
-
This = wxTreeCtrl()
-
See external documentation.
assignStateImageList(This, ImageList) -> ok
-
Types:
-
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
-
This = wxTreeCtrl()
-
See external documentation.
collapse(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
collapseAndReset(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
create(This, Parent) -> boolean()
-
Types:
-
This = wxTreeCtrl()
Parent = wxWindow() (see module wxWindow)
-
This = wxTreeCtrl()
-
Equivalent to create(This, Parent, []).
create(This, Parent, Options::[Option]) -> boolean()
-
Types:
-
This = wxTreeCtrl()
Parent = wxWindow() (see module wxWindow)
Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}
-
This = wxTreeCtrl()
-
See external documentation.
delete(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
deleteAllItems(This) -> ok
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
deleteChildren(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
editLabel(This, Item) -> wxTextCtrl() (see module wxTextCtrl)
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
ensureVisible(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
expand(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getBoundingRect(This, Item) -> Result
-
Types:
-
Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
This = wxTreeCtrl()
Item = integer()
-
Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
-
Equivalent to getBoundingRect(This, Item, []).
getBoundingRect(This, Item, Options::[Option]) -> Result
-
Types:
-
Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
This = wxTreeCtrl()
Item = integer()
Option = {textOnly, boolean()}
-
Result = {Res::boolean(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}}
-
See external documentation.
getChildrenCount(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
Equivalent to getChildrenCount(This, Item, []).
getChildrenCount(This, Item, Options::[Option]) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Option = {recursively, boolean()}
-
This = wxTreeCtrl()
-
See external documentation.
getCount(This) -> integer()
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
getEditControl(This) -> wxTextCtrl() (see module wxTextCtrl)
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
getFirstChild(This, Item) -> Result
-
Types:
-
Result = {Res::integer(), Cookie::integer()}
This = wxTreeCtrl()
Item = integer()
-
Result = {Res::integer(), Cookie::integer()}
-
See external documentation.
getNextChild(This, Item, Cookie) -> Result
-
Types:
-
Result = {Res::integer(), Cookie::integer()}
This = wxTreeCtrl()
Item = integer()
Cookie = integer()
-
Result = {Res::integer(), Cookie::integer()}
-
See external documentation.
getFirstVisibleItem(This) -> integer()
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
getImageList(This) -> wxImageList() (see module wxImageList)
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
getIndent(This) -> integer()
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
getItemBackgroundColour(This, Item) -> wx_colour4() (see module wx)
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getItemData(This, Item) -> term()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getItemFont(This, Item) -> wxFont() (see module wxFont)
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getItemImage(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getItemImage(This, Item, Options::[Option]) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Option = {which, wx_enum() (see module wx)}
-
This = wxTreeCtrl()
-
See external documentation.
Which = ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
getItemText(This, Item) -> charlist() (see module unicode)
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getItemTextColour(This, Item) -> wx_colour4() (see module wx)
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getLastChild(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getNextSibling(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getNextVisible(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getItemParent(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getPrevSibling(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getPrevVisible(This, Item) -> integer()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
getRootItem(This) -> integer()
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
getSelection(This) -> integer()
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
getSelections(This) -> Result
-
Types:
-
Result = {Res::integer(), Val::[integer()]}
This = wxTreeCtrl()
-
Result = {Res::integer(), Val::[integer()]}
-
See external documentation.
getStateImageList(This) -> wxImageList() (see module wxImageList)
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
hitTest(This, Point) -> Result
-
Types:
-
Result = {Res::integer(), Flags::integer()}
This = wxTreeCtrl()
Point = {X::integer(), Y::integer()}
-
Result = {Res::integer(), Flags::integer()}
-
See external documentation.
insertItem(This, Parent, Pos, Text) -> integer()
-
Types:
-
This = wxTreeCtrl()
Parent = integer()
Pos = integer()
Text = chardata() (see module unicode)
-
This = wxTreeCtrl()
-
Equivalent to insertItem(This, Parent, Pos, Text, []).
insertItem(This, Parent, Pos, Text, Options::[Option]) -> integer()
-
Types:
-
This = wxTreeCtrl()
Parent = integer()
Pos = integer()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selImage, integer()} | {data, term()}
-
This = wxTreeCtrl()
-
See external documentation.
isBold(This, Item) -> boolean()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
isExpanded(This, Item) -> boolean()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
isSelected(This, Item) -> boolean()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
isVisible(This, Item) -> boolean()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
itemHasChildren(This, Item) -> boolean()
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
isTreeItemIdOk(Id) -> boolean()
-
Types:
-
Id = integer()
-
Id = integer()
-
See external documentation.
prependItem(This, Parent, Text) -> integer()
-
Types:
-
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
-
This = wxTreeCtrl()
-
Equivalent to prependItem(This, Parent, Text, []).
prependItem(This, Parent, Text, Options::[Option]) -> integer()
-
Types:
-
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
-
This = wxTreeCtrl()
-
See external documentation.
scrollTo(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
selectItem(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
selectItem(This, Item, Options::[Option]) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Option = {select, boolean()}
-
This = wxTreeCtrl()
-
See external documentation.
setIndent(This, Indent) -> ok
-
Types:
-
This = wxTreeCtrl()
Indent = integer()
-
This = wxTreeCtrl()
-
See external documentation.
setImageList(This, ImageList) -> ok
-
Types:
-
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
-
This = wxTreeCtrl()
-
See external documentation.
setItemBackgroundColour(This, Item, Col) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Col = wx_colour() (see module wx)
-
This = wxTreeCtrl()
-
See external documentation.
setItemBold(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
Equivalent to setItemBold(This, Item, []).
setItemBold(This, Item, Options::[Option]) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Option = {bold, boolean()}
-
This = wxTreeCtrl()
-
See external documentation.
setItemData(This, Item, Data) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Data = term()
-
This = wxTreeCtrl()
-
See external documentation.
setItemDropHighlight(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
Equivalent to setItemDropHighlight(This, Item, []).
setItemDropHighlight(This, Item, Options::[Option]) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Option = {highlight, boolean()}
-
This = wxTreeCtrl()
-
See external documentation.
setItemFont(This, Item, Font) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Font = wxFont() (see module wxFont)
-
This = wxTreeCtrl()
-
See external documentation.
setItemHasChildren(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
Equivalent to setItemHasChildren(This, Item, []).
setItemHasChildren(This, Item, Options::[Option]) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Option = {has, boolean()}
-
This = wxTreeCtrl()
-
See external documentation.
setItemImage(This, Item, Image) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Image = integer()
-
This = wxTreeCtrl()
-
See external documentation.
setItemImage(This, Item, Image, Options::[Option]) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Image = integer()
Option = {which, wx_enum() (see module wx)}
-
This = wxTreeCtrl()
-
See external documentation.
Which = ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
setItemText(This, Item, Text) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Text = chardata() (see module unicode)
-
This = wxTreeCtrl()
-
See external documentation.
setItemTextColour(This, Item, Col) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
Col = wx_colour() (see module wx)
-
This = wxTreeCtrl()
-
See external documentation.
setStateImageList(This, ImageList) -> ok
-
Types:
-
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
-
This = wxTreeCtrl()
-
See external documentation.
setWindowStyle(This, Styles) -> ok
-
Types:
-
This = wxTreeCtrl()
Styles = integer()
-
This = wxTreeCtrl()
-
See external documentation.
sortChildren(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
toggle(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
toggleItemSelection(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
unselect(This) -> ok
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
unselectAll(This) -> ok
-
Types:
-
This = wxTreeCtrl()
-
This = wxTreeCtrl()
-
See external documentation.
unselectItem(This, Item) -> ok
-
Types:
-
This = wxTreeCtrl()
Item = integer()
-
This = wxTreeCtrl()
-
See external documentation.
destroy(This::wxTreeCtrl()) -> ok
-
Destroys this object, do not use object again
AUTHORS
<>