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