Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXComposeContext Class Reference

Compose Context manages the state of an input method if input method support is enabled. More...

#include <FXComposeContext.h>

Inheritance diagram for FX::FXComposeContext:
FX::FXId FX::FXObject

Public Member Functions

 FXComposeContext (FXApp *a, FXWindow *win=nullptr, FXSelector sel=0)
 Construct compose context for given window.
 
virtual void create ()
 Create resource.
 
virtual void destroy ()
 Destroy resource.
 
void focusIn ()
 Focus in.
 
void focusOut ()
 Focus out.
 
void setFont (FXFont *fnt)
 Set the font.
 
void setSpot (FXint x, FXint y)
 Set the spot.
 
void setArea (FXint x, FXint y, FXint w, FXint h)
 Set the area.
 
FXString translateEvent (FXRawEvent &event)
 Translate key event.
 
virtual ~FXComposeContext ()
 Destructor.
 
- Public Member Functions inherited from FX::FXId
FXAppgetApp () const
 Get application.
 
FXID id () const
 Get XID handle.
 
virtual void detach ()
 Detach resource.
 
void setUserData (FXptr ptr)
 Set user data pointer.
 
FXptr getUserData () const
 Get user data pointer.
 
virtual void save (FXStream &store) const
 Save object to stream.
 
virtual void load (FXStream &store)
 Load object from stream.
 
virtual ~FXId ()
 Destructor.
 
- Public Member Functions inherited from FX::FXObject
const FXchar * getClassName () const
 Get class name of some object.
 
FXbool isMemberOf (const FXMetaClass *metaclass) const
 Check if object is member of metaclass.
 
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
 Try handle message safely, catching certain exceptions.
 
virtual long onDefault (FXObject *, FXSelector, void *)
 Called for unhandled messages.
 
virtual ~FXObject ()
 Virtual destructor.
 

Protected Attributes

FXWindowwindow
 
FXSelector message
 
- Protected Attributes inherited from FX::FXId
FXID xid
 

Additional Inherited Members

- Protected Member Functions inherited from FX::FXId
 FXId (FXApp *a)
 

Detailed Description

Compose Context manages the state of an input method if input method support is enabled.


The documentation for this class was generated from the following file:

Copyright © 1997-2022 Jeroen van der Zijp