Classes | |
class | wxTextAttr |
wxTextAttr represents the character and paragraph attributes, or style, for a range of text in a wxTextCtrl or wxRichTextCtrl. More... | |
class | wxTextCtrl |
A text control allows text to be displayed and edited. More... | |
class | wxTextUrlEvent |
class | wxStreamToTextRedirector |
This class can be used to (temporarily) redirect all output sent to a C++ ostream object to a wxTextCtrl instead. More... | |
Macros | |
#define | wxTE_NO_VSCROLL 0x0002 |
wxTextCtrl style flags More... | |
#define | wxTE_READONLY 0x0010 |
#define | wxTE_MULTILINE 0x0020 |
#define | wxTE_PROCESS_TAB 0x0040 |
#define | wxTE_LEFT 0x0000 |
#define | wxTE_CENTER wxALIGN_CENTER_HORIZONTAL |
#define | wxTE_RIGHT wxALIGN_RIGHT |
#define | wxTE_CENTRE wxTE_CENTER |
#define | wxTE_RICH 0x0080 |
#define | wxTE_PROCESS_ENTER 0x0400 |
#define | wxTE_PASSWORD 0x0800 |
#define | wxTE_AUTO_URL 0x1000 |
#define | wxTE_NOHIDESEL 0x2000 |
#define | wxTE_DONTWRAP wxHSCROLL |
#define | wxTE_CHARWRAP 0x4000 |
#define | wxTE_WORDWRAP 0x0001 |
#define | wxTE_BESTWRAP 0x0000 |
#define | wxTE_RICH2 0x8000 |
#define | wxTEXT_TYPE_ANY 0 |
Typedefs | |
typedef long | wxTextCoord |
wxTextCoord is a line or row number More... | |
Variables | |
wxEventType | wxEVT_TEXT |
wxEventType | wxEVT_TEXT_ENTER |
wxEventType | wxEVT_TEXT_URL |
wxEventType | wxEVT_TEXT_MAXLEN |
#define wxTE_AUTO_URL 0x1000 |
#define wxTE_BESTWRAP 0x0000 |
#define wxTE_CENTER wxALIGN_CENTER_HORIZONTAL |
#define wxTE_CENTRE wxTE_CENTER |
#define wxTE_CHARWRAP 0x4000 |
#define wxTE_DONTWRAP wxHSCROLL |
#define wxTE_LEFT 0x0000 |
#define wxTE_MULTILINE 0x0020 |
#define wxTE_NO_VSCROLL 0x0002 |
wxTextCtrl style flags
#define wxTE_NOHIDESEL 0x2000 |
#define wxTE_PASSWORD 0x0800 |
#define wxTE_PROCESS_ENTER 0x0400 |
#define wxTE_PROCESS_TAB 0x0040 |
#define wxTE_READONLY 0x0010 |
#define wxTE_RICH 0x0080 |
#define wxTE_RICH2 0x8000 |
#define wxTE_RIGHT wxALIGN_RIGHT |
#define wxTE_WORDWRAP 0x0001 |
#define wxTEXT_TYPE_ANY 0 |
typedef long wxTextCoord |
wxTextCoord is a line or row number
enum wxTextAttrAlignment |
One of the following values can be passed to wxTextAttr::SetAlignment to determine paragraph alignment.
Styles for wxTextAttr::SetBulletStyle.
They can be combined together as a bitlist.
enum wxTextAttrEffects |
Styles for wxTextAttr::SetTextEffects().
They can be combined together as a bitlist.
Of these, only wxTEXT_ATTR_EFFECT_CAPITALS, wxTEXT_ATTR_EFFECT_STRIKETHROUGH, wxTEXT_ATTR_EFFECT_SUPERSCRIPT and wxTEXT_ATTR_EFFECT_SUBSCRIPT are implemented.
enum wxTextAttrFlags |
The following values are passed in a bitlist to wxTextAttr::SetFlags() to determine what attributes will be considered when setting the attributes for a text control.
Convenience line spacing values; see wxTextAttr::SetLineSpacing().
Enumerator | |
---|---|
wxTEXT_ATTR_LINE_SPACING_NORMAL | |
wxTEXT_ATTR_LINE_SPACING_HALF | |
wxTEXT_ATTR_LINE_SPACING_TWICE |
Describes the possible return values of wxTextCtrl::HitTest().
The element names correspond to the relationship between the point asked for and the character returned, e.g. wxTE_HT_BEFORE
means that the point is before (leftward or upward) it and so on.
Enumerator | |
---|---|
wxTE_HT_UNKNOWN |
Indicates that wxTextCtrl::HitTest() is not implemented on this platform. |
wxTE_HT_BEFORE |
The point is before the character returned. |
wxTE_HT_ON_TEXT |
The point is directly on the character returned. |
wxTE_HT_BELOW |
The point is below the last line of the control. |
wxTE_HT_BEYOND |
The point is beyond the end of line containing the character returned. |
wxEventType wxEVT_TEXT |
wxEventType wxEVT_TEXT_ENTER |
wxEventType wxEVT_TEXT_MAXLEN |
wxEventType wxEVT_TEXT_URL |