<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_TreeItem - 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_TreeItem</h1> <p> TreeView_Item component <a href="#description">More...</a></p> <p>Derived from: <a href="CL_Component.html">CL_Component</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_TreeItem__CL_TreeItem.html">CL_TreeItem</a></p></td><td valign=top><p> TreeView Item 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_TreeItem__get_text.html">get_text</a></p></td><td valign=top><p> Returns the item text for a specified column.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__get_component.html">get_component</a></p></td><td valign=top><p> Returns the item component for a specified column.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__get_node.html">get_node</a></p></td><td valign=top><p> Returns the TreeView node this component is used in.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__get_icon.html">get_icon</a></p></td><td valign=top><p> Return the icon.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__get_text_margin.html">get_text_margin</a></p></td><td valign=top><p> Get the margin between the start of the item and start of the text.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__get_custom_height.html">get_custom_height</a></p></td><td valign=top><p> Return the height.</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TreeItem__set_text.html">set_text</a></p></td><td valign=top><p> Sets the text for a specified column.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__set_checkbox.html">set_checkbox</a></p></td><td valign=top><p> Adds a checkbox to a specified column.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__set_component.html">set_component</a></p></td><td valign=top><p> Adds a component for a specified column.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__set_icon.html">set_icon</a></p></td><td valign=top><p> Sets the items icon.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__set_text_margin.html">set_text_margin</a></p></td><td valign=top><p> Set the margin between the start of the item and start of the text. Use this to set a margin if you have no icon on this item, but on others.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TreeItem__set_custom_height.html">set_custom_height</a></p></td><td valign=top><p> Sets the height.</p></td></tr></table> <p><b>Signals:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TreeItem__sig_clicked.html">sig_clicked</a></p></td><td valign=top><p> This signal is emitted when the item is clicked on.</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 -->