wxDataViewTreeStore
Implements methods from the following classes
wxDataViewModel
Methods
wxDataViewTreeStore
Constructor.
AppendContainer
Append a container.
AppendItem
Append an item.
DeleteAllItems
Delete all item in the model.
DeleteChildren
Delete all children of the item, but not the item itself.
DeleteItem
Delete this item.
GetChildCount
Return the number of children of item.
GetItemData
Returns the client data associated with the item.
GetItemExpandedIcon
Returns the icon to display in expanded containers.
GetItemIcon
Returns the icon of the item.
GetItemText
Returns the text of the item.
GetNthChild
Returns the nth child item of item.
InsertContainer
Inserts a container after previous.
InsertItem
Inserts an item after previous.
PrependContainer
Inserts a container before the first child item or parent.
PrependItem
Inserts an item before the first child item or parent.
SetItemData
Sets the client data associated with the item.
SetItemExpandedIcon
Sets the expanded icon for the item.
SetItemIcon
Sets the icon for the item.
Static Methods
wxDataViewTreeStore
wxDataViewTreeStore
( )
Constructor.
AppendContainer
wxDataViewItem
AppendContainer
(
wxDataViewItem
$parent
,
string
$text
,
wxIcon
$icon
=
wxNullIcon
,
wxIcon
$expanded
=
wxNullIcon
,
wxClientData
&
$data
=
NULL
)
Append a container.
AppendItem
wxDataViewItem
AppendItem
(
wxDataViewItem
$parent
,
string
$text
,
wxIcon
$icon
=
wxNullIcon
,
wxClientData
&
$data
=
NULL
)
Append an item.
DeleteAllItems
DeleteAllItems
( )
Delete all item in the model.
DeleteChildren
DeleteChildren
(
wxDataViewItem
$item
)
Delete all children of the item, but not the item itself.
DeleteItem
DeleteItem
(
wxDataViewItem
$item
)
Delete this item.
GetChildCount
integer
GetChildCount
(
wxDataViewItem
$parent
)
Return the number of children of item.
GetItemData
wxClientData
&
GetItemData
(
wxDataViewItem
$item
)
Returns the client data associated with the item.
GetItemExpandedIcon
wxIcon
GetItemExpandedIcon
(
wxDataViewItem
$item
)
Returns the icon to display in expanded containers.
GetItemIcon
wxIcon
GetItemIcon
(
wxDataViewItem
$item
)
Returns the icon of the item.
GetItemText
string
GetItemText
(
wxDataViewItem
$item
)
Returns the text of the item.
GetNthChild
wxDataViewItem
GetNthChild
(
wxDataViewItem
$parent
,
integer
$pos
)
Returns the nth child item of item.
InsertContainer
wxDataViewItem
InsertContainer
(
wxDataViewItem
$parent
,
wxDataViewItem
$previous
,
string
$text
,
wxIcon
$icon
=
wxNullIcon
,
wxIcon
$expanded
=
wxNullIcon
,
wxClientData
&
$data
=
NULL
)
Inserts a container after previous.
InsertItem
wxDataViewItem
InsertItem
(
wxDataViewItem
$parent
,
wxDataViewItem
$previous
,
string
$text
,
wxIcon
$icon
=
wxNullIcon
,
wxClientData
&
$data
=
NULL
)
Inserts an item after previous.
PrependContainer
wxDataViewItem
PrependContainer
(
wxDataViewItem
$parent
,
string
$text
,
wxIcon
$icon
=
wxNullIcon
,
wxIcon
$expanded
=
wxNullIcon
,
wxClientData
&
$data
=
NULL
)
Inserts a container before the first child item or parent.
PrependItem
wxDataViewItem
PrependItem
(
wxDataViewItem
$parent
,
string
$text
,
wxIcon
$icon
=
wxNullIcon
,
wxClientData
&
$data
=
NULL
)
Inserts an item before the first child item or parent.
SetItemData
SetItemData
(
wxDataViewItem
$item
,
wxClientData
&
$data
)
Sets the client data associated with the item.
SetItemExpandedIcon
SetItemExpandedIcon
(
wxDataViewItem
$item
,
wxIcon
$icon
)
Sets the expanded icon for the item.
SetItemIcon
SetItemIcon
(
wxDataViewItem
$item
,
wxIcon
$icon
)
Sets the icon for the item.