#include <inputbox.h>
Inheritance diagram for CL_InputBox:


Public Methods | |
| CL_InputBox (const CL_ComponentOptions &options, CL_Component *parent, CL_StyleManager *style=NULL) | |
| Construction:. | |
| CL_InputBox (const CL_Rect &pos, const std::string &text, CL_Component *parent, CL_StyleManager *style=NULL) | |
| virtual | ~CL_InputBox () |
| const std::string& | get_text () const |
| Attributes:. | |
| int | get_length () const |
| const std::string& | get_marked_text () const |
| bool | has_marked_text () const |
| int | get_selection_start () const |
| int | get_selection_length () const |
| int | get_max_length () const |
| bool | in_password_mode () const |
| bool | is_read_only () const |
| int | get_cursor_position () const |
| bool | is_edited () const |
| void | set_text (const std::string &text) |
| Operations:. | |
| void | set_max_length (int length) |
| void | set_password_mode (bool enable=true) |
| void | set_read_only (bool enable=true) |
| void | select_all () |
| void | deselect () |
| void | set_selection (int start, int length) |
| void | set_cursor_position (int pos) |
| void | clear () |
| void | backspace () |
| void | del () |
| void | cut () |
| void | move_cursor (int delta, bool mark=false) |
| void | move_cursor_word (int delta, bool mark=false) |
| void | home (bool mark=false) |
| void | end (bool mark=false) |
| void | set_edited (bool on=true) |
| CL_Signal_v1<const std::string &>& | sig_changed () |
| Signals:. | |
| CL_Signal_v1<const std::string &>& | sig_return_pressed () |
| param: const std::string & - Contains the new string. | |
Private Methods | |
| CL_InputBox (const CL_InputBox ©) | |
| param: const std::string & - Contains the inputfield string.Implementation:. | |
Private Attributes | |
| class CL_InputBox_Generic* | impl |
| Implementation:. | |
Definition at line 16 of file inputbox.h.
|
|
Construction:.
|
|
|
|
|
|
|
|
|
param: const std::string & - Contains the inputfield string.Implementation:.
Definition at line 148 of file inputbox.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes:.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Operations:.
|
|
|
Signals:.
|
|
|
param: const std::string & - Contains the new string.
|
|
|
Implementation:.
Reimplemented from CL_Component. Definition at line 149 of file inputbox.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001