Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > f48941b2df41f17d4c9519d16b753438 > files > 353

ClanLib06-devel-0.6.5-16.fc13.x86_64.rpm


<html>
<head><title>ClanLib Reference: CL_InputBox</title></head>
<body text=black link=blue vlink=#800080 bgcolor=white topmargin=0 leftmargin=0>
<table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td><img border=0 src="../images/eyeheader-main-purple-a.gif" alt="ClanSoft logo" width=525 height=96></td></tr>
<tr bgcolor=#dadada><td align=left valign=top><img border=0 src="../images/eyeheader-main-purple-b.gif" alt="ClanSoft logo" width=190 height=14></td><td align=right valign=top><img border=0 src="../images/clanlib_light.gif" width=42 height=14></td></tr></table>
<table align=center border=0 cellspacing=10> <tr>
<td><a href="entire_class_index.html">Entire Class Index</a></td>
<td><a href="class_index.html">Main Class Index</a></td>
<td><a href="cross_index.html">Cross Index</a></td>
<td><a href="global_index.html">Global Index</a></td>
</table><h1 align=center>Class CL_InputBox</h1><p>
<b>  Inputbox component</b><br>
Contained in: <a href="global_index.html">global</a><br>
Derived from:
<a href="CL_Component.html">CL_Component</a>
<br>
Derived by:
<i>none</i>
<br>Group: GUI (Controls)
<p>
#include &lt;ClanLib/gui.h&gt;
<p>
<hr noshade>
<table border=0>
<tr><td colspan=3><h3>public function member index:</h3></td>
<tr valign=top><td align=left><h3>Construction:</h3></td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="CL_InputBox.html#3031"><tt><font color=blue><b>CL_InputBox</b></font></tt></a></td><td><tt>(<a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;</td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="CL_InputBox.html#3032"><tt><font color=blue><b>CL_InputBox</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>std::string</font></tt>& <tt><font color=blue>text</font></tt>, <a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;</td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="CL_InputBox.html#3033"><tt><font color=blue><b>CL_InputBox</b></font></tt></a></td><td><tt>(<tt>const</tt> <a href="CL_Rect.html"><tt><font color=navy><b>CL_Rect</b></font></tt></a>& <tt><font color=blue>pos</font></tt>, <a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;</td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="CL_InputBox.html#3034"><tt><font color=blue><b>CL_InputBox</b></font></tt></a></td><td><tt>(<tt>const</tt> <a href="CL_Rect.html"><tt><font color=navy><b>CL_Rect</b></font></tt></a>& <tt><font color=blue>pos</font></tt>, <tt>const</tt> <tt><font color=navy>std::string</font></tt>& <tt><font color=blue>text</font></tt>, <a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;</td>
<tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="CL_InputBox.html#3035"><tt><font color=blue><b>~CL_InputBox</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=left><h3>Attributes:</h3></td>
<tr valign=top><td align=right><tt><tt>const</tt> <tt><font color=navy>std::string</font></tt>&</tt> </td><td align=right><a href="CL_InputBox.html#3036"><tt><font color=blue><b>get_text</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>int</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3037"><tt><font color=blue><b>get_length</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt>const</tt> <tt><font color=navy>std::string</font></tt>&</tt> </td><td align=right><a href="CL_InputBox.html#3038"><tt><font color=blue><b>get_marked_text</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3039"><tt><font color=blue><b>has_marked_text</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>int</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3040"><tt><font color=blue><b>get_selection_start</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>int</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3041"><tt><font color=blue><b>get_selection_length</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>int</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3042"><tt><font color=blue><b>get_max_length</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3043"><tt><font color=blue><b>in_password_mode</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3044"><tt><font color=blue><b>is_read_only</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>int</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3045"><tt><font color=blue><b>get_cursor_position</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3046"><tt><font color=blue><b>is_edited</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=left><h3>Operations:</h3></td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3047"><tt><font color=blue><b>set_text</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>std::string</font></tt>& <tt><font color=blue>text</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3048"><tt><font color=blue><b>set_text</b></font></tt></a></td><td><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>number</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3049"><tt><font color=blue><b>set_text</b></font></tt></a></td><td><tt>(<tt><font color=purple>double</font></tt> <tt><font color=blue>number</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3050"><tt><font color=blue><b>set_max_length</b></font></tt></a></td><td><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>length</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3051"><tt><font color=blue><b>set_password_mode</b></font></tt></a></td><td><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>enable</font></tt> = true)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3052"><tt><font color=blue><b>set_read_only</b></font></tt></a></td><td><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>enable</font></tt> = true)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3053"><tt><font color=blue><b>select_all</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3054"><tt><font color=blue><b>deselect</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3055"><tt><font color=blue><b>set_selection</b></font></tt></a></td><td><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>start</font></tt>, <tt><font color=purple>int</font></tt> <tt><font color=blue>length</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3056"><tt><font color=blue><b>set_cursor_position</b></font></tt></a></td><td><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>pos</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3057"><tt><font color=blue><b>clear</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3058"><tt><font color=blue><b>backspace</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3059"><tt><font color=blue><b>del</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3060"><tt><font color=blue><b>cut</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3061"><tt><font color=blue><b>move_cursor</b></font></tt></a></td><td><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>delta</font></tt>, <tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3062"><tt><font color=blue><b>move_cursor_word</b></font></tt></a></td><td><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>delta</font></tt>, <tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3063"><tt><font color=blue><b>home</b></font></tt></a></td><td><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3064"><tt><font color=blue><b>end</b></font></tt></a></td><td><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="CL_InputBox.html#3065"><tt><font color=blue><b>set_edited</b></font></tt></a></td><td><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>on</font></tt> = true)</tt>;</td>
<tr valign=top><td align=left><h3>Signals:</h3></td>
<tr valign=top><td align=right><tt><tt><font color=navy>CL_Signal_v1</font></tt><<tt>const</tt> <tt><font color=navy>std::string</font></tt>& >&</tt> </td><td align=right><a href="CL_InputBox.html#3066"><tt><font color=blue><b>sig_changed</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><a href="CL_Signal_v0.html"><tt><font color=navy><b>CL_Signal_v0</b></font></tt></a>&</tt> </td><td align=right><a href="CL_InputBox.html#3067"><tt><font color=blue><b>sig_return_pressed</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><a href="CL_Signal_v0.html"><tt><font color=navy><b>CL_Signal_v0</b></font></tt></a>&</tt> </td><td align=right><a href="CL_InputBox.html#3068"><tt><font color=blue><b>sig_activity</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr><td>&nbsp;</td><tr><td colspan=3><h3>private function member index:</h3></td>
<tr valign=top><td align=left><h3>Implementation:</h3></td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="CL_InputBox.html#3069"><tt><font color=blue><b>CL_InputBox</b></font></tt></a></td><td><tt>(<tt>const</tt> <a href="CL_InputBox.html#3069"><tt><font color=blue><b>CL_InputBox</b></font></tt></a>& <tt><font color=blue>copy</font></tt>)</tt>;</td>
<tr><td>&nbsp;</td></table>
<hr noshade>
<h2>Description:</h2>
<p>
<hr noshade>
<h2>Function Member Descriptions:</h2>
<a name="3031"><font size=+1><b>CL_InputBox::CL_InputBox</b></font></a> -   InputBox Constructor<br><tt></tt> <a href="CL_InputBox.html#3031"><tt><font color=blue><b>CL_InputBox</b></font></tt></a><tt>(<a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3032"><font size=+1><b>CL_InputBox::CL_InputBox</b></font></a> -   InputBox Constructor<br><tt></tt> <a href="CL_InputBox.html#3032"><tt><font color=blue><b>CL_InputBox</b></font></tt></a><tt>(<tt>const</tt> <tt><font color=navy>std::string</font></tt>& <tt><font color=blue>text</font></tt>, <a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3033"><font size=+1><b>CL_InputBox::CL_InputBox</b></font></a> -   InputBox Constructor<br><tt></tt> <a href="CL_InputBox.html#3033"><tt><font color=blue><b>CL_InputBox</b></font></tt></a><tt>(<tt>const</tt> <a href="CL_Rect.html"><tt><font color=navy><b>CL_Rect</b></font></tt></a>& <tt><font color=blue>pos</font></tt>, <a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3034"><font size=+1><b>CL_InputBox::CL_InputBox</b></font></a> -   InputBox Constructor<br><tt></tt> <a href="CL_InputBox.html#3034"><tt><font color=blue><b>CL_InputBox</b></font></tt></a><tt>(<tt>const</tt> <a href="CL_Rect.html"><tt><font color=navy><b>CL_Rect</b></font></tt></a>& <tt><font color=blue>pos</font></tt>, <tt>const</tt> <tt><font color=navy>std::string</font></tt>& <tt><font color=blue>text</font></tt>, <a href="CL_Component.html"><tt><font color=navy><b>CL_Component</b></font></tt></a>* <tt><font color=blue>parent</font></tt>, <a href="CL_StyleManager.html"><tt><font color=navy><b>CL_StyleManager</b></font></tt></a>* <tt><font color=blue>style</font></tt> = NULL)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3058"><font size=+1><b>CL_InputBox::backspace</b></font></a> -   Deletes the character to the left of the text cursor and moves the cursor one position to the left.<br>  If a text has been marked, the cursor will be put at the beginning of the marked text<br>  and the marked text will be removed.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3058"><tt><font color=blue><b>backspace</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3057"><font size=+1><b>CL_InputBox::clear</b></font></a> -   Syntactic sugar for set_text("").<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3057"><tt><font color=blue><b>clear</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3060"><font size=+1><b>CL_InputBox::cut</b></font></a> -   Cut the selected text if any.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3060"><tt><font color=blue><b>cut</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3059"><font size=+1><b>CL_InputBox::del</b></font></a> -   Deletes the character on the right side of the text cursor.<br>  If a text has been marked, the cursor will be put at the beginning of the marked text and the marked<br>  text will be removed.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3059"><tt><font color=blue><b>del</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3054"><font size=+1><b>CL_InputBox::deselect</b></font></a> -   Deselects all text (i.e. removes marking) and leaves the cursor at the current position. <br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3054"><tt><font color=blue><b>deselect</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3064"><font size=+1><b>CL_InputBox::end</b></font></a> -   Moves the text cursor to the right end of the line.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3064"><tt><font color=blue><b>end</b></font></tt></a><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;<br><blockquote>  If mark is true, text will be marked towards the last position<br>  If mark is false, any marked text will be unmarked if the cursor is moved. </blockquote>
<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3045"><font size=+1><b>CL_InputBox::get_cursor_position</b></font></a> -   Returns the current cursor position.<br><tt><tt><font color=purple>int</font></tt></tt> <a href="CL_InputBox.html#3045"><tt><font color=blue><b>get_cursor_position</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3037"><font size=+1><b>CL_InputBox::get_length</b></font></a> -   Returns the length of the inputfield text.<br><tt><tt><font color=purple>int</font></tt></tt> <a href="CL_InputBox.html#3037"><tt><font color=blue><b>get_length</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3038"><font size=+1><b>CL_InputBox::get_marked_text</b></font></a> -   Returns the marked text from the inputfield.<br><tt><tt>const</tt> <tt><font color=navy>std::string</font></tt>&</tt> <a href="CL_InputBox.html#3038"><tt><font color=blue><b>get_marked_text</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3042"><font size=+1><b>CL_InputBox::get_max_length</b></font></a> -   Returns the maximum permitted length of the text.<br><tt><tt><font color=purple>int</font></tt></tt> <a href="CL_InputBox.html#3042"><tt><font color=blue><b>get_max_length</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3041"><font size=+1><b>CL_InputBox::get_selection_length</b></font></a> -   Returns the length of current selection.<br><tt><tt><font color=purple>int</font></tt></tt> <a href="CL_InputBox.html#3041"><tt><font color=blue><b>get_selection_length</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3040"><font size=+1><b>CL_InputBox::get_selection_start</b></font></a> -   Returns the position where the selection starts.<br><tt><tt><font color=purple>int</font></tt></tt> <a href="CL_InputBox.html#3040"><tt><font color=blue><b>get_selection_start</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3036"><font size=+1><b>CL_InputBox::get_text</b></font></a> -   Returns the inputfield text.<br><tt><tt>const</tt> <tt><font color=navy>std::string</font></tt>&</tt> <a href="CL_InputBox.html#3036"><tt><font color=blue><b>get_text</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3039"><font size=+1><b>CL_InputBox::has_marked_text</b></font></a> -   Returns true if part of the text has been marked by the user.<br><tt><tt><font color=purple>bool</font></tt></tt> <a href="CL_InputBox.html#3039"><tt><font color=blue><b>has_marked_text</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3063"><font size=+1><b>CL_InputBox::home</b></font></a> -   Moves the text cursor to the left end of the line.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3063"><tt><font color=blue><b>home</b></font></tt></a><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;<br><blockquote>  If mark is true, text will be marked towards the first position<br>  If mark is false, any marked text will be unmarked if the cursor is moved. </blockquote>
<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3043"><font size=+1><b>CL_InputBox::in_password_mode</b></font></a> -   Returns true if password mode is enabled, false othewise.<br><tt><tt><font color=purple>bool</font></tt></tt> <a href="CL_InputBox.html#3043"><tt><font color=blue><b>in_password_mode</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3046"><font size=+1><b>CL_InputBox::is_edited</b></font></a> -   Returns true if the contents has been edited.<br><tt><tt><font color=purple>bool</font></tt></tt> <a href="CL_InputBox.html#3046"><tt><font color=blue><b>is_edited</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3044"><font size=+1><b>CL_InputBox::is_read_only</b></font></a> -   Returns whether the inputfield is read-only. <br><tt><tt><font color=purple>bool</font></tt></tt> <a href="CL_InputBox.html#3044"><tt><font color=blue><b>is_read_only</b></font></tt></a><tt>() <tt>const</tt></tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3061"><font size=+1><b>CL_InputBox::move_cursor</b></font></a> -   Moves the cursor position.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3061"><tt><font color=blue><b>move_cursor</b></font></tt></a><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>delta</font></tt>, <tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;<br><blockquote>  If delta is positive, the cursor is moved forward.<br>  If delta is negative, the cursor is moved backward.<br>  If mark is true, the text is marked.</blockquote>
<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3062"><font size=+1><b>CL_InputBox::move_cursor_word</b></font></a> -   Moves the cursor by word.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3062"><tt><font color=blue><b>move_cursor_word</b></font></tt></a><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>delta</font></tt>, <tt><font color=purple>bool</font></tt> <tt><font color=blue>mark</font></tt> = false)</tt>;<br><blockquote>  If delta is positive, the cursor is moved forward.<br>  If delta is negative, the cursor is moved backward.<br>  If mark is true, the text is marked.</blockquote>
<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3053"><font size=+1><b>CL_InputBox::select_all</b></font></a> -   Selects all text, and moves the cursor to the end.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3053"><tt><font color=blue><b>select_all</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3056"><font size=+1><b>CL_InputBox::set_cursor_position</b></font></a> -   Sets the cursor position to pos. <br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3056"><tt><font color=blue><b>set_cursor_position</b></font></tt></a><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>pos</font></tt>)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3065"><font size=+1><b>CL_InputBox::set_edited</b></font></a> -   Sets the edited flag to on. <br>  The edited flag is changed to true whenever the user changes its contents. <br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3065"><tt><font color=blue><b>set_edited</b></font></tt></a><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>on</font></tt> = true)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3050"><font size=+1><b>CL_InputBox::set_max_length</b></font></a> -   Set the maximum length of the text in the editor.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3050"><tt><font color=blue><b>set_max_length</b></font></tt></a><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>length</font></tt>)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3051"><font size=+1><b>CL_InputBox::set_password_mode</b></font></a> -   If enable is true, display asterisks instead of the characters actually entered.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3051"><tt><font color=blue><b>set_password_mode</b></font></tt></a><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>enable</font></tt> = true)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3052"><font size=+1><b>CL_InputBox::set_read_only</b></font></a> -   Enables or disables read-only mode.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3052"><tt><font color=blue><b>set_read_only</b></font></tt></a><tt>(<tt><font color=purple>bool</font></tt> <tt><font color=blue>enable</font></tt> = true)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3055"><font size=+1><b>CL_InputBox::set_selection</b></font></a> -   Sets the marked area at start and be length characters long. <br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3055"><tt><font color=blue><b>set_selection</b></font></tt></a><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>start</font></tt>, <tt><font color=purple>int</font></tt> <tt><font color=blue>length</font></tt>)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3047"><font size=+1><b>CL_InputBox::set_text</b></font></a> -   Sets the line edit text to text, clears the selection and moves the cursor to the end of the line.<br>  If necessary the text is truncated to get_max_length().<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3047"><tt><font color=blue><b>set_text</b></font></tt></a><tt>(<tt>const</tt> <tt><font color=navy>std::string</font></tt>& <tt><font color=blue>text</font></tt>)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3048"><font size=+1><b>CL_InputBox::set_text</b></font></a> -   Sets the line edit contents to a plain text containing the printed value of num.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3048"><tt><font color=blue><b>set_text</b></font></tt></a><tt>(<tt><font color=purple>int</font></tt> <tt><font color=blue>number</font></tt>)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3049"><font size=+1><b>CL_InputBox::set_text</b></font></a> -   Sets the line edit contents to a plain text containing the printed value of num.<br><tt><tt><font color=purple>void</font></tt></tt> <a href="CL_InputBox.html#3049"><tt><font color=blue><b>set_text</b></font></tt></a><tt>(<tt><font color=purple>double</font></tt> <tt><font color=blue>number</font></tt>)</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3068"><font size=+1><b>CL_InputBox::sig_activity</b></font></a> -   This signal is emitted whenever some character is changed/added/removed, cursor moved etc.<br><tt><a href="CL_Signal_v0.html"><tt><font color=navy><b>CL_Signal_v0</b></font></tt></a>&</tt> <a href="CL_InputBox.html#3068"><tt><font color=blue><b>sig_activity</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3066"><font size=+1><b>CL_InputBox::sig_changed</b></font></a> -   This signal is emitted whenever text is changed in the inputfield.<br><tt><tt><font color=navy>CL_Signal_v1</font></tt><<tt>const</tt> <tt><font color=navy>std::string</font></tt>& >&</tt> <a href="CL_InputBox.html#3066"><tt><font color=blue><b>sig_changed</b></font></tt></a><tt>()</tt>;<br><blockquote>  const std::string &amp; - Contains the new string.</blockquote>
<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3067"><font size=+1><b>CL_InputBox::sig_return_pressed</b></font></a> -   This signal is emitted when enter is pressed in the inputfield.<br><tt><a href="CL_Signal_v0.html"><tt><font color=navy><b>CL_Signal_v0</b></font></tt></a>&</tt> <a href="CL_InputBox.html#3067"><tt><font color=blue><b>sig_return_pressed</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<a name="3035"><font size=+1><b>CL_InputBox::~CL_InputBox</b></font></a> -   InputBox Destructor<br><tt><tt>virtual</tt> </tt> <a href="CL_InputBox.html#3035"><tt><font color=blue><b>~CL_InputBox</b></font></tt></a><tt>()</tt>;<hr size="1" width="70%" align="left" noshade="noshade"><br><br>
<hr noshade>
<h2>Variable Member Descriptions:</h2>
<hr noshade>
</body>
</html>