#include <Pt/Forms/InputMethod.h>
Provides the application-owned default input method.
Inherits InputMethod, and Connectable.
Public Member Functions | |
| DefaultInputMethod () | |
| Creates the default input method. | |
| ~DefaultInputMethod () | |
| Destructor. | |
| bool | isVisible () const |
| Returns true when the method is showing UI. | |
| Window * | activeWindow () |
| Returns the method's active window, or 0. | |
| void | begin (Control &control) |
| Begins a session for control. More... | |
| void | finish () |
| Ends the current session. | |
| Widget * | receiver () const |
| Returns the current receiver, or 0. | |
| void | sendEvent (const KeyEvent &ev) |
| Sends ev to the current receiver. | |
Protected Member Functions | |
| virtual void | onBegin () |
| Starts the platform or custom text-entry session. | |
| virtual void | onFinish () |
| Finishes the platform or custom text-entry session. | |
| virtual Window * | onActiveWindow () |
| Returns the active text-entry window, or 0. | |
|
inherited |
The control remains owned by its caller.