#include <uedit.hpp>
Inheritance diagram for UEdit:

Public Member Functions | |
| UEdit (bool is_editable=true) | |
| void | setEditable (bool=true) |
| bool | isEditable () const |
| const UStr * | getCaretStr () const |
| const UStr * | getCaretStr (int &pos) const |
| returns the UStr that contains the caret and the position of the caret in this string | |
| void | setCaretStr (UStr *, int pos) |
| sets the UStr that contains the caret and the position of the caret in this string | |
| UStr * | getPreviousStr (UGroup *par) const |
| UStr * | getNextStr (UGroup *par) const |
| virtual void | update () |
| updates graphics. | |
| bool | nextChar (UGroup *par, bool update_views, bool is_flowview) |
| bool | previousChar (UGroup *par, bool update_views, bool is_flowview) |
| void | deletePreviousChar (UGroup *par, bool update_views, bool is_flowview) |
| void | deleteChar () |
| void | setCaretStr (UStr *, int pos, bool update_view, bool no_scrolling) |
| UEdit & | enableReturn (bool=true) |
| OBSOLETE, no effect. | |
Friends | |
| UEdit & | uedit (bool is_editable=true) |
| creator shortcut (same as *new UEdit()). | |
exemple:
UStr& str = ustr("abcd");
UBox& box = ubox(uedit() + str);
will make string 'str' editable inside container 'box'
|
|
returns the UStr that contains the caret and the position of the caret in this string Notes:
|
|
||||||||||||
|
sets the UStr that contains the caret and the position of the caret in this string Notes: |
1.4.1