SourceForge.net wxTreeCtrl

wxTreeCtrl

wxTreeCtrl
Creation Parameters

When working with tree items, the id values returned are actually pointers to wxTreeItem pointers. They are not unique ids. The value returned is a new wxTreeItemId, which is a simple wxWidgets object. It is just a pointer to either a windows handle or a custom data pointer. It is the duty of the application to free the wxTreeItemId.

Functions/Procedures
Supertopics
Subtopics

wxTreeCtrl

[func]
add_tree_item
( atom tree, atom parent, sequence text, atom image, atom selimage )

Category: wxTreeCtrl

You must declare tree_imagelist before you can assign any images to image and selimage. If you do not have one declared, use -1 for Image and SelImage

wxTreeCtrl

[func]
add_tree_root
( atom tree, sequence text, atom image, atom selimage )

Category: wxTreeCtrl

You must declare tree_imagelist before you can assign any images to image and selimage. If you do not have a tree_imagelist declared, use -1 for image and selimage.

If you declare tree_imagelist, -1 will become it's first image and all items will have an image beside them.


wxTreeCtrl

[proc]
collapse_all_tree_children
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
collapse_all_tree_items
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
collapse_and_reset_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
collapse_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
delete_tree_children
( atom tree, atom treeitem )

Category: wxTreeCtrl

This goes to a TreeCtrl specified by tree and deletes all children under the specifed item.


wxTreeCtrl

[proc]
delete_tree_item
( atom tree, object item )

Category: wxTreeCtrl

Deletes one or all items from a wxTreeCtrl.
If item is an empty sequence, then all items are deleted, otherwise, item can be either an integer or a sequence of item ids to be deleted.


wxTreeCtrl

[proc]
edit_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
ensure_tree_item_visual
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
expand_all_tree_children
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
expand_tree
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
expand_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_first_tree_child
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_first_visible_tree_item
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_next_tree_child
( atom tree, atom item, atom cookie )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_next_tree_sibling
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_next_visible_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_prev_tree_sibling
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_prev_visible_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_edit_control
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_imagelist
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_indent
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_item_background_color
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_item_bounding_rect
( atom tree, atom item, atom text_only )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_item_children_count
( atom tree, atom item, atom recursively )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_item_count
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_item_font
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_item_image
( atom tree, atom item, atom which )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_item_text_color
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_parent
( atom tree, atom item )

Category: wxTreeCtrl

This returns an integer which serves as a stand_in for the item's actual parent. You can set things to the pointer as if it were the actual wxTreeCtrl item.


wxTreeCtrl

[func]
get_tree_root
( atom tree )

Category: wxTreeCtrl

This returns an integer which serves as a stand_in for the actual tree root. You can set things to the pointer as if it were the actual wxTreeCtrl item.


wxTreeCtrl

[func]
get_tree_selected_text
( atom tree )

Category: wxTreeCtrl

This gets the text of whatever item is currently highlighted in the chosen wxTreeCtrl.


wxTreeCtrl

[func]
get_tree_selection
( atom tree )

Category: wxTreeCtrl

This returns an integer which serves as a stand_in for the actual item. You can set things to the pointer as if it were the actual wxTreeCtrl item.


wxTreeCtrl

[func]
get_tree_selections
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[func]
get_tree_text
( atom tree, atom id )

Category: wxTreeCtrl

This goes to the specified tree and grabs the value of the item, specified by it's ID.


wxTreeCtrl

[func]
insert_tree_item_after
( atom tree, atom parent, atom previous, sequence text, atom image, atom sel_image )

Category: wxTreeCtrl


wxTreeCtrl

[func]
insert_tree_item_before
( atom tree, atom parent, atom before, sequence text, atom image, atom sel_image )

Category: wxTreeCtrl


wxTreeCtrl

[func]
is_tree_empty
( atom tree )

Category: wxTreeCtrl


wxTreeCtrl

[func]
is_tree_item_bold
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
is_tree_item_expanded
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
is_tree_item_selected
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
is_tree_item_visible
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
prepend_tree_item
( atom tree, atom parent, sequence text, atom image, atom sel_image )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
scroll_to_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
select_tree_item
( atom tree, atom treeitem )

Returns atom
Category: wxTreeCtrl

Sets the highlight to the specified tree item by using it's actual id or an integer pointer that goes to it.


wxTreeCtrl

[proc]
set_tree_indent
( atom tree, atom indent )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
set_tree_item_background
( atom tree, atom item, atom color )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
set_tree_item_bold
( atom tree, atom item, atom bold )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
set_tree_item_drop_highlight
( atom tree, atom item, atom highlight )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
set_tree_item_font
( atom tree, atom item, atom font )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
set_tree_item_has_children
( atom tree, atom item, atom has_children )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
set_tree_item_image
( atom tree, atom item, atom image, atom which )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
set_tree_item_text
( atom tree, atom item, sequence text )

Category: wxTreeCtrl

Goes to the specified item inside of the specified wxTreeCtrl and sets the text in it to text.


wxTreeCtrl

[proc]
set_tree_item_text_color
( atom tree, atom item, atom color )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
sort_tree_children
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
toggle_tree_item
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
toggle_tree_item_selection
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[func]
tree_hit_test
( atom tree, atom x, atom y, atom flags )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
tree_imagelist
( atom tree, atom il )

Category: wxTreeCtrl

This sets the wxImagelist to the wxTreeCtrl, allowing the wxTreeCtrl's children to use it's icons.


wxTreeCtrl

[func]
tree_item_has_children
( atom tree, atom item )

Category: wxTreeCtrl


wxTreeCtrl

[proc]
unselect_tree_item
( atom tree, object items )

Category: wxTreeCtrl


wxTreeCtrl

[func]
valid_tree_item
( atom item )

Category: wxTreeCtrl