<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_TreeView - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_TreeView</h1> <p> TreeView component <a href="#description">More...</a></p> <p>Derived from: <a href="CL_Component.html">CL_Component</a> <a href="CL_TreeNode.html">CL_TreeNode</a> <br> Derived by: <i>none</i> <br>Group: GUI (Controls)</p> <p> #include <ClanLib/gui.h> <p> <table border=0 width=100%> </table> <p><b>Construction:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TreeView__CL_TreeView.html">CL_TreeView</a></p></td><td valign=top><p> TreeView Constructor</p></td></tr></table> <p><b>Attributes:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TreeView__get_column_count.html">get_column_count</a></p></td><td valign=top><p> Returns the column count.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__get_column_width.html">get_column_width</a></p></td><td valign=top><p> Returns the column width at index. Index starts at 0.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__get_column_name.html">get_column_name</a></p></td><td valign=top><p> Returns the column name at index. Index starts at 0.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__is_root_decoration_visible.html">is_root_decoration_visible</a></p></td><td valign=top><p> Returns if root decoration is visible or not.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__is_header_visible.html">is_header_visible</a></p></td><td valign=top><p> Returns if header is visible or not.</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TreeView__add_column.html">add_column</a></p></td><td valign=top><p> Add a column.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__show_root_decoration.html">show_root_decoration</a></p></td><td valign=top><p> Show or hide root decoration for items.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__show_header.html">show_header</a></p></td><td valign=top><p> Show or hide columns.</p></td></tr></table> <p><b>Signals:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TreeView__sig_selection_changed.html">sig_selection_changed</a></p></td><td valign=top><p> This signal is emitted when the selection set of a tree changes.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_item_clicked.html">sig_item_clicked</a></p></td><td valign=top><p> This signal is emitted when an item is clicked / selected.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_item_added.html">sig_item_added</a></p></td><td valign=top><p> This signal is emitted when a new item is added to the treeview.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_item_removed.html">sig_item_removed</a></p></td><td valign=top><p> This signal is emitted when an item is removed from the treeview.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_item_collapsed.html">sig_item_collapsed</a></p></td><td valign=top><p> This signal is emitted when an item is collapsed.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_item_expanded.html">sig_item_expanded</a></p></td><td valign=top><p> This signal is emitted when an item is collapsed.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_column_added.html">sig_column_added</a></p></td><td valign=top><p> This signal is emitted when a new column is added to the treeview.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_column_removed.html">sig_column_removed</a></p></td><td valign=top><p> This signal is emitted when an column is removed from the treeview.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_clear.html">sig_clear</a></p></td><td valign=top><p> This signal is emitted when the treeview is cleared.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__sig_paint_node.html">sig_paint_node</a></p></td><td valign=top><p> Draws the node (used by styles).</p></td></tr></table> <p><b>Implementation:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TreeView__.html"></a></p></td><td valign=top><p></p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__add_node_to_delete_list.html">add_node_to_delete_list</a></p></td><td valign=top><p></p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__clear_delete_list.html">clear_delete_list</a></p></td><td valign=top><p></p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeView__node_delete_list.html">node_delete_list</a></p></td><td valign=top><p></p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> !group=GUI/Controls! !header=gui.h! <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->