DefaultInputMethod Class Reference

#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.
WindowactiveWindow ()
 Returns the method's active window, or 0.
void begin (Control &control)
 Begins a session for control.
void finish ()
 Ends the current session.
Widgetreceiver () 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 WindowonActiveWindow ()
 Returns the active text-entry window, or 0.

Member Function Documentation

◆ begin()

void begin ( Control & control)
inherited

The control remains owned by its caller.