table of contents
other versions
- jessie 1:17.3-dfsg-4+deb8u2
- jessie-backports 1:19.2.1+dfsg-2+deb9u1~bpo8+1
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.5+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0~rc1+dfsg-1
wxTreeCtrl(3erl) | Erlang Module Definition | wxTreeCtrl(3erl) |
NAME¶
wxTreeCtrl - See external documentation: wxTreeCtrl.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)
Equivalent to new(Parent, []).
new(Parent, Option::[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)}
See external documentation.
addRoot(This, Text) -> integer()
Types:
This = wxTreeCtrl()
Text = chardata() (see module unicode)
Equivalent to addRoot(This, Text, []).
addRoot(This, Text, Option::[Option]) -> integer()
Types:
This = wxTreeCtrl()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
See external documentation.
appendItem(This, Parent, Text) -> integer()
Types:
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
Equivalent to appendItem(This, Parent, Text, []).
appendItem(This, Parent, Text, Option::[Option]) -> integer()
Types:
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
See external documentation.
assignImageList(This, ImageList) -> ok
Types:
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
See external documentation.
assignStateImageList(This, ImageList) -> ok
Types:
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
See external documentation.
collapse(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
collapseAndReset(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
create(This, Parent) -> boolean()
Types:
This = wxTreeCtrl()
Parent = wxWindow() (see module wxWindow)
Equivalent to create(This, Parent, []).
create(This, Parent, Option::[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)}
See external documentation.
delete(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
deleteAllItems(This) -> ok
Types:
This = wxTreeCtrl()
See external documentation.
deleteChildren(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
editLabel(This, Item) -> wxTextCtrl() (see module wxTextCtrl)
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
ensureVisible(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
expand(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getBoundingRect(This, Item) -> Result
Types:
Result = {Res::boolean(), Rect::{X::integer(),
Y::integer(), W::integer(), H::integer()}}
This = wxTreeCtrl()
Item = integer()
Equivalent to getBoundingRect(This, Item, []).
getBoundingRect(This, Item, Option::[Option]) -> Result
Types:
Result = {Res::boolean(), Rect::{X::integer(),
Y::integer(), W::integer(), H::integer()}}
This = wxTreeCtrl()
Item = integer()
Option = {textOnly, boolean()}
See external documentation.
getChildrenCount(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
Equivalent to getChildrenCount(This, Item, []).
getChildrenCount(This, Item, Option::[Option]) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
Option = {recursively, boolean()}
See external documentation.
getCount(This) -> integer()
Types:
This = wxTreeCtrl()
See external documentation.
getEditControl(This) -> wxTextCtrl() (see module wxTextCtrl)
Types:
This = wxTreeCtrl()
See external documentation.
getFirstChild(This, Item) -> Result
Types:
Result = {Res::integer(), Cookie::integer()}
This = wxTreeCtrl()
Item = integer()
See external documentation.
getNextChild(This, Item, Cookie) -> Result
Types:
Result = {Res::integer(), Cookie::integer()}
This = wxTreeCtrl()
Item = integer()
Cookie = integer()
See external documentation.
getFirstVisibleItem(This) -> integer()
Types:
This = wxTreeCtrl()
See external documentation.
getImageList(This) -> wxImageList() (see module wxImageList)
Types:
This = wxTreeCtrl()
See external documentation.
getIndent(This) -> integer()
Types:
This = wxTreeCtrl()
See external documentation.
getItemBackgroundColour(This, Item) -> wx_colour4() (see module wx)
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getItemData(This, Item) -> term()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getItemFont(This, Item) -> wxFont() (see module wxFont)
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getItemImage(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getItemImage(This, Item, Option::[Option]) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
Option = {which, wx_enum() (see module wx)}
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()
See external documentation.
getItemTextColour(This, Item) -> wx_colour4() (see module wx)
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getLastChild(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getNextSibling(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getNextVisible(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getItemParent(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getPrevSibling(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getPrevVisible(This, Item) -> integer()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
getRootItem(This) -> integer()
Types:
This = wxTreeCtrl()
See external documentation.
getSelection(This) -> integer()
Types:
This = wxTreeCtrl()
See external documentation.
getSelections(This) -> Result
Types:
Result = {Res::integer(), Val::[integer()]}
This = wxTreeCtrl()
See external documentation.
getStateImageList(This) -> wxImageList() (see module wxImageList)
Types:
This = wxTreeCtrl()
See external documentation.
hitTest(This, Point) -> Result
Types:
Result = {Res::integer(), Flags::integer()}
This = wxTreeCtrl()
Point = {X::integer(), Y::integer()}
See external documentation.
insertItem(This, Parent, Pos, Text) -> integer()
Types:
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()
Types:
This = wxTreeCtrl()
Parent = integer()
Pos = integer()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selImage, integer()} | {data, term()}
See external documentation.
isBold(This, Item) -> boolean()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
isExpanded(This, Item) -> boolean()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
isSelected(This, Item) -> boolean()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
isVisible(This, Item) -> boolean()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
itemHasChildren(This, Item) -> boolean()
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
isTreeItemIdOk(Id) -> boolean()
Types:
Id = integer()
See external documentation.
prependItem(This, Parent, Text) -> integer()
Types:
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
Equivalent to prependItem(This, Parent, Text, []).
prependItem(This, Parent, Text, Option::[Option]) -> integer()
Types:
This = wxTreeCtrl()
Parent = integer()
Text = chardata() (see module unicode)
Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
See external documentation.
scrollTo(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
selectItem(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
selectItem(This, Item, Option::[Option]) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Option = {select, boolean()}
See external documentation.
setIndent(This, Indent) -> ok
Types:
This = wxTreeCtrl()
Indent = integer()
See external documentation.
setImageList(This, ImageList) -> ok
Types:
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
See external documentation.
setItemBackgroundColour(This, Item, Col) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Col = wx_colour() (see module wx)
See external documentation.
setItemBold(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Equivalent to setItemBold(This, Item, []).
setItemBold(This, Item, Option::[Option]) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Option = {bold, boolean()}
See external documentation.
setItemData(This, Item, Data) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Data = term()
See external documentation.
setItemDropHighlight(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Equivalent to setItemDropHighlight(This, Item, []).
setItemDropHighlight(This, Item, Option::[Option]) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Option = {highlight, boolean()}
See external documentation.
setItemFont(This, Item, Font) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Font = wxFont() (see module wxFont)
See external documentation.
setItemHasChildren(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Equivalent to setItemHasChildren(This, Item, []).
setItemHasChildren(This, Item, Option::[Option]) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Option = {has, boolean()}
See external documentation.
setItemImage(This, Item, Image) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Image = integer()
See external documentation.
setItemImage(This, Item, Image, Option::[Option]) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Image = integer()
Option = {which, wx_enum() (see module wx)}
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)
See external documentation.
setItemTextColour(This, Item, Col) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
Col = wx_colour() (see module wx)
See external documentation.
setStateImageList(This, ImageList) -> ok
Types:
This = wxTreeCtrl()
ImageList = wxImageList() (see module wxImageList)
See external documentation.
setWindowStyle(This, Styles) -> ok
Types:
This = wxTreeCtrl()
Styles = integer()
See external documentation.
sortChildren(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
toggle(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
toggleItemSelection(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
unselect(This) -> ok
Types:
This = wxTreeCtrl()
See external documentation.
unselectAll(This) -> ok
Types:
This = wxTreeCtrl()
See external documentation.
unselectItem(This, Item) -> ok
Types:
This = wxTreeCtrl()
Item = integer()
See external documentation.
destroy(This::wxTreeCtrl()) -> ok
Destroys this object, do not use object again
AUTHORS¶
<>wx 1.3.1 |