wx.TextSearch¶Search options for wx.TextCtrl.SearchText .
This is a builder class, where property functions can be called during construction. For example:
Added in version 4.3/wxWidgets-3.3.0.
Class Hierarchy¶
Inheritance diagram for class TextSearch:
Methods Summary¶The string to search for. |
|
Whether the search should match case (i.e., be case sensitive). |
|
Whether the search should match the whole word. |
|
Whether the search should go up or down in the text control. |
|
The string to search for. |
|
Where the search should start from. |
Properties Summary¶A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
Class API¶Possible constructors:
TextSearch(text) -> None
Search options for TextCtrl.SearchText().
The string to search for.
text (string)
None
Whether the search should match case (i.e., be case sensitive).
By default, this is false ; search will be case insensitive.
matchCase (bool)
Whether the search should match the whole word.
By default, this is false ; searching will not match by whole word.
matchWholeWord (bool)
Whether the search should go up or down in the text control.
By default, search will go downward.
direction (TextSearch.Direction)
The string to search for.
value (string)
Where the search should start from.
By default, if searching down, then the search will start at 0. If searching up, then will start at the end of control.
startPosition (long)
A public C++ attribute of type Direction .
A public C++ attribute of type bool.
A public C++ attribute of type string.
A public C++ attribute of type long.
A public C++ attribute of type bool.