| Home | Trees | Index | Help |
|---|
object--+ |EventAware--+ |BaseCursor--+ | Checkbox
| Method Summary | |
|---|---|
Constructor | |
Notifies the handler that it will be doing edits. | |
Build the display string from the user value. | |
handleToggleChkbox(self,
event)
| |
__sanitize_value(self,
value)
| |
__set(self,
value)
| |
__toggle(self)
| |
_addText(self,
event)
| |
Moves the cursor to the specified position optionally selecting the text. | |
_moveCursorLeft(self,
selecting)
| |
_moveCursorRight(self,
selecting)
| |
Moves the cursor to the beginning optionally selecting the text. | |
Moves the cursor to the end optionally selecting the text. | |
| Inherited from BaseCursor | |
Descandants can override this method to introduce autocompletion. | |
| |
| |
| |
| |
| |
Select the entire text of the entry and move the cursor to the end | |
Move the selection cursor to the left one unit | |
Move the selection cursor to the right one unit | |
Select from the current curson position to the beginning of the entry | |
Select from the current curson position to the end of the entry | |
Select an area of text based upon the mouse | |
Called when a widget loses focus or when ENTER is hit. | |
Function to emit an event that will cause forms to update the UI. | |
Descendands can override this method to return a tip which will be displayed in the statusbar if neither the entry nor the field provide such a tip. | |
Return the selected area | |
| |
Set the selection area | |
Update the associated field with the current value of the display handler. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
Return repr(x)... | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Method Details |
|---|
__init__(self,
entry,
eventHandler,
subEventHandler,
displayMask,
inputMask)
Constructor
|
beginEdit(self)Notifies the handler that it will be doing edits. Called when a widget first gets focus. It places the display handler into edit mode, syncs the current value with the GFField associated with this display handler, and creates the string to display in the form.
|
build_display(self, value, editing)Build the display string from the user value.
|
handleToggleChkbox(self, event) |
__sanitize_value(self, value) |
__set(self, value) |
__toggle(self) |
_addText(self, event) |
_moveCursor(self, event, selecting=False)Moves the cursor to the specified position optionally selecting the text.
|
_moveCursorLeft(self, selecting=False) |
_moveCursorRight(self, selecting=False) |
_moveCursorToBegin(self, event, selecting=False)Moves the cursor to the beginning optionally selecting the text.
|
_moveCursorToEnd(self, event, selecting=False)Moves the cursor to the end optionally selecting the text.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Nov 30 23:03:34 2008 | http://epydoc.sf.net |