<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_MenuNode - 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_MenuNode</h1> <p> MenuNode 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_MenuNode__CL_MenuNode.html">CL_MenuNode</a></p></td><td valign=top><p> CL_MenuNode 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_MenuNode__get_data.html">get_data</a></p></td><td valign=top><p> Returns a pointer to the CL_Component which is this MenuNodes MenuItem.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__has_mouse_in_submenus.html">has_mouse_in_submenus</a></p></td><td valign=top><p> Returns true if the mouse is in the submenus of this node.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__has_mouse_over.html">has_mouse_over</a></p></td><td valign=top><p> Returns true if the mouse is on this component or it's MenuItem This overrides CL_Component's has_mouse_over()</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__has_submenu.html">has_submenu</a></p></td><td valign=top><p> Returns true if the node has a submenu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__has_open_submenu.html">has_open_submenu</a></p></td><td valign=top><p> Returns true if the node has an open submenu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__get_submenu.html">get_submenu</a></p></td><td valign=top><p> Returns the nodes submenu, or NULL if the node has no submenu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__get_parent_menu.html">get_parent_menu</a></p></td><td valign=top><p> Returns the nodes parent menu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__get_name.html">get_name</a></p></td><td valign=top><p> Returns the name of the menu node. A menu nodes name forms a part of the path used by the CL_Menu::get_<menu/node/item>(std::string path) functions.</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_MenuNode__set_submenu.html">set_submenu</a></p></td><td valign=top><p> Set the nodes submenu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__set_parent_menu.html">set_parent_menu</a></p></td><td valign=top><p> Set the nodes parent menu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__set_close_on_click.html">set_close_on_click</a></p></td><td valign=top><p> Set whether the menus should collapse when an node is clicked</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__collapse.html">collapse</a></p></td><td valign=top><p> Close the nodes submenu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__open_submenu.html">open_submenu</a></p></td><td valign=top><p> Open the nodes submenu.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__reposition_submenus.html">reposition_submenus</a></p></td><td valign=top><p> Start the repositioning of the nodes submenus.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__set_name.html">set_name</a></p></td><td valign=top><p> Set the name of the node. This forms a part of the path used in adressing menu components.</p></td></tr></table> <p><b>Signals:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_MenuNode__sig_reposition.html">sig_reposition</a></p></td><td valign=top><p> Emitted when repositioning of the menus is requested.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_MenuNode__sig_clicked.html">sig_clicked</a></p></td><td valign=top><p> Emitted when a menu node is clicked.</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 -->