| Trees | Indices | Help |
|---|
|
|
object --+
|
baseObject.AutoPropertyObject --+
|
baseObject.ScriptableObject --+
|
EditableText
Provides scripts to report appropriately when moving the caret in editable text fields.
This does not handle the selection change keys.
To have selection changes reported, the object must notify of selection changes.
If the object supports selection but does not notify of selection changes, L{EditableTextWithoutAutoSelectDetection} should be used instead.
If the object notifies of selection changes, the following should be done:
* When the object gains focus, L{initAutoSelectDetection} must be called.
* When the object notifies of a possible selection change, L{detectPossibleSelectionChange} must be called.
* Optionally, if the object notifies of changes to its content, L{hasContentChangedSinceLastSelection} should be set to C{True}.
@ivar hasContentChangedSinceLastSelection: Whether the content has changed since the last selection occurred.
@type hasContentChangedSinceLastSelection: bool
|
|||
|
Inherited from |
|||
|
|||
| tuple |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
shouldFireCaretMovementFailedEvents = False
|
|||
__gestures = {"kb:upArrow": "caret_moveByLine", "kb:downArrow"
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Waits for the caret to move, for a timeout to elapse, or for a new focus event or script to be queued.
|
Initialise automatic detection of selection changes. This should be called when the object gains focus. |
|
|||
__gestures
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 18 17:45:58 2011 | http://epydoc.sourceforge.net |