wxTreeCtrl

See external documentation: wxTreeCtrl.

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.

Functions


new() -> wxTreeCtrl()

See external documentation.

new(Parent::wxWindow() (see module wxWindow)) -> wxTreeCtrl()

Equivalent to new(Parent, []).

new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxTreeCtrl()

  • Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)}

See external documentation.

addRoot(This::wxTreeCtrl(), Text::string()) -> integer()

Equivalent to addRoot(This, Text, []).

addRoot(This::wxTreeCtrl(), Text::string(), Options::[Option]) -> integer()

  • Option = {image, integer()} | {selectedImage, integer()} | {data, term()}

See external documentation.

appendItem(This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer()

appendItem(This::wxTreeCtrl(), Parent::integer(), Text::string(), Options::[Option]) -> integer()

  • Option = {image, integer()} | {selectedImage, integer()} | {data, term()}

See external documentation.

assignImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok

See external documentation.

assignStateImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok

See external documentation.

collapse(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

collapseAndReset(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

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()

  • Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx() (see module wx)}

See external documentation.

delete(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

deleteAllItems(This::wxTreeCtrl()) -> ok

See external documentation.

deleteChildren(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

editLabel(This::wxTreeCtrl(), Item::integer()) -> wxTextCtrl() (see module wxTextCtrl)

See external documentation.

ensureVisible(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

expand(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

getBoundingRect(This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool()

getBoundingRect(This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, Options::[Option]) -> bool()

  • Option = {textOnly, bool()}

See external documentation.

getChildrenCount(This::wxTreeCtrl(), Item::integer()) -> integer()

getChildrenCount(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> integer()

  • Option = {recursively, bool()}

See external documentation.

getCount(This::wxTreeCtrl()) -> integer()

See external documentation.

getEditControl(This::wxTreeCtrl()) -> wxTextCtrl() (see module wxTextCtrl)

See external documentation.

getFirstChild(This::wxTreeCtrl(), Item::integer()) -> {integer(), Cookie::integer()}

See external documentation.

getNextChild(This::wxTreeCtrl(), Item::integer(), Cookie::integer()) -> {integer(), Cookie::integer()}

See external documentation.

getFirstVisibleItem(This::wxTreeCtrl()) -> integer()

See external documentation.

getImageList(This::wxTreeCtrl()) -> wxImageList() (see module wxImageList)

See external documentation.

getIndent(This::wxTreeCtrl()) -> integer()

See external documentation.

getItemBackgroundColour(This::wxTreeCtrl(), Item::integer()) -> colour() (see module wx)

See external documentation.

getItemData(This::wxTreeCtrl(), Item::integer()) -> term()

See external documentation.

getItemFont(This::wxTreeCtrl(), Item::integer()) -> wxFont() (see module wxFont)

See external documentation.

getItemImage(This::wxTreeCtrl(), Item::integer()) -> integer()

See external documentation.

getItemImage(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> integer()

  • Option = {which, WxTreeItemIcon}
  • WxTreeItemIcon = integer()

See external documentation.
WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max

getItemText(This::wxTreeCtrl(), Item::integer()) -> string()

See external documentation.

getItemTextColour(This::wxTreeCtrl(), Item::integer()) -> colour() (see module wx)

See external documentation.

getLastChild(This::wxTreeCtrl(), Item::integer()) -> integer()

See external documentation.

getNextSibling(This::wxTreeCtrl(), Item::integer()) -> integer()

See external documentation.

getNextVisible(This::wxTreeCtrl(), Item::integer()) -> integer()

See external documentation.

getItemParent(This::wxTreeCtrl(), Item::integer()) -> integer()

See external documentation.

getPrevSibling(This::wxTreeCtrl(), Item::integer()) -> integer()

See external documentation.

getPrevVisible(This::wxTreeCtrl(), Item::integer()) -> integer()

See external documentation.

getRootItem(This::wxTreeCtrl()) -> integer()

See external documentation.

getSelection(This::wxTreeCtrl()) -> integer()

See external documentation.

getSelections(This::wxTreeCtrl()) -> {integer(), Val::[integer()]}

See external documentation.

getStateImageList(This::wxTreeCtrl()) -> wxImageList() (see module wxImageList)

See external documentation.

hitTest(This::wxTreeCtrl(), Point::{X::integer(), Y::integer()}) -> integer()

See external documentation.

insertItem(This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string()) -> integer()

insertItem(This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string(), Options::[Option]) -> integer()

  • Option = {image, integer()} | {selImage, integer()} | {data, term()}

See external documentation.

isBold(This::wxTreeCtrl(), Item::integer()) -> bool()

See external documentation.

isExpanded(This::wxTreeCtrl(), Item::integer()) -> bool()

See external documentation.

isSelected(This::wxTreeCtrl(), Item::integer()) -> bool()

See external documentation.

isVisible(This::wxTreeCtrl(), Item::integer()) -> bool()

See external documentation.

itemHasChildren(This::wxTreeCtrl(), Item::integer()) -> bool()

See external documentation.

prependItem(This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer()

prependItem(This::wxTreeCtrl(), Parent::integer(), Text::string(), Options::[Option]) -> integer()

  • Option = {image, integer()} | {selectedImage, integer()} | {data, term()}

See external documentation.

scrollTo(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

selectItem(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

selectItem(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok

  • Option = {select, bool()}

See external documentation.

setIndent(This::wxTreeCtrl(), Indent::integer()) -> ok

See external documentation.

setImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok

See external documentation.

setItemBackgroundColour(This::wxTreeCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok

See external documentation.

setItemBold(This::wxTreeCtrl(), Item::integer()) -> ok

setItemBold(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok

  • Option = {bold, bool()}

See external documentation.

setItemData(This::wxTreeCtrl(), Item::integer(), Data::term()) -> ok

See external documentation.

setItemDropHighlight(This::wxTreeCtrl(), Item::integer()) -> ok

setItemDropHighlight(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok

  • Option = {highlight, bool()}

See external documentation.

setItemFont(This::wxTreeCtrl(), Item::integer(), Font::wxFont() (see module wxFont)) -> ok

See external documentation.

setItemHasChildren(This::wxTreeCtrl(), Item::integer()) -> ok

setItemHasChildren(This::wxTreeCtrl(), Item::integer(), Options::[Option]) -> ok

  • Option = {has, bool()}

See external documentation.

setItemImage(This::wxTreeCtrl(), Item::integer(), Image::integer()) -> ok

See external documentation.

setItemImage(This::wxTreeCtrl(), Item::integer(), Image::integer(), Options::[Option]) -> ok

  • Option = {which, WxTreeItemIcon}
  • WxTreeItemIcon = integer()

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

See external documentation.

setItemTextColour(This::wxTreeCtrl(), Item::integer(), Col::colour() (see module wx)) -> ok

See external documentation.

setStateImageList(This::wxTreeCtrl(), ImageList::wxImageList() (see module wxImageList)) -> ok

See external documentation.

setWindowStyle(This::wxTreeCtrl(), Styles::integer()) -> ok

See external documentation.

sortChildren(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

toggle(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

toggleItemSelection(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

unselect(This::wxTreeCtrl()) -> ok

See external documentation.

unselectAll(This::wxTreeCtrl()) -> ok

See external documentation.

unselectItem(This::wxTreeCtrl(), Item::integer()) -> ok

See external documentation.

destroy(This::wxTreeCtrl()) -> ok

Destroys this object, do not use object again

View Functions