Home | Trees | Indices | Help |
|
---|
|
Single/Multi-Line editable text field widget for libavg textarea module provides two classes: 1. TextArea This is the implementation of the widget. Every instantiated TextArea represents an editable text field, which can be set up with several styles and behaviors. 2. FocusContext This helps to easily route the events that comes from keyboards to an appropriate TextArea instance, cycling focuses and dispatching events on the selected field.
Classes | |
FocusContext This class helps to group TextArea elements |
|
TextArea TextArea class is a libavg widget to create editable text fields |
Functions | |||
|
|||
|
|||
|
Function Details |
Initialization routine for the module This method should be called immediately after avg file load (Player.loadFile())
|
Tell the module what FocusContext is presently active Only one FocusContext at once can be set 'active' and therefore prepared to receive the flow of user events from keyboard.
|
Set a callback that is called at every keyboard's keypress If a callback of user interaction is needed (eg: resetting idle timeout) just pass a function to this method, which is going to be called at each user intervention (keydown, keyup). Active focusContext will be passed as argument |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jan 8 16:08:59 2010 | http://epydoc.sourceforge.net |