class XtApplication: public XtDesktop

Full-featured application

Inheritance:

XtApplication - XtDesktop - XtBackground - XObject - XEventBroker


Public Methods

[more] XtApplication()
Constructs a new XtApplication, using the entire screen
[more] ~XtApplication()
Destructs the object's instance
[more]virtual void Draw()
Draws the object
[more]virtual void HandleEvent(XEvent *__Event)
Handles the object passed as argument, by calling ProcessEvent for all registered clients
[more]virtual void Idle()
Function that gets called when no events ocurrs
[more]virtual void InitMenuBar()
Initializes the application's menu bar
[more]virtual void InitStatusLine()
Initializes the application's status line
[more]virtual bool ProcessCommand(XMessage *__Event)
Process commands
[more]virtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events
[more]virtual void RegisterClient(XObject *__Client)
Registers the specified XObject as client
[more]virtual void Run()
Waits for events, process them, until the CM_QUIT command is received
[more]virtual void RunClient(XObject *__Client)
Puts the specified client on top of the desktop; waits for events, provides them to the client, until the CM_CLOSE command is received

Protected Fields

[more]XtMenu* Menu
Application's associated pull-down menu
[more]XtStatusLine* StatusLine
Application's associated status line
[more]XObject* CurrentFocusedClient
The client that currently own the focus


Inherited from XtDesktop:


Inherited from XtBackground:

Public Methods

ochtype GetPattern()
ovirtual void SetPattern(chtype __Pattern)


Inherited from XObject:

Public Methods

ovirtual void CalculateBounds()
oXRect GetBounds()
ovirtual XEvent* GetEvent()
ounsigned long GetId()
ochar* GetObjClass()
oXPoint GetOrigin()
ovirtual char* GetPalette()
ovirtual unsigned GetPalEntry(unsigned __Index)
oXPoint GetSize()
ounsigned long GetState()
ovirtual bool GetState(unsigned long __Mask)
ovirtual void MoveTo(XPoint __p)
ovirtual bool ProcessEvent(XEvent *__Event)
ovirtual void Resize(XPoint __delta)
ovirtual void SetPalette(char *__Pal, unsigned __PalLen)
ovirtual void SetState(unsigned long __Mask, bool __BoolValue)
ovirtual void UnregisterClient(XObject *__Client)

Protected Fields

ounsigned long Id
ounsigned long State
oXPoint Origin
oXPoint Size
oXPoint Cursor
oXRect Bounds
ochar ObjClass[40]
ochar Pal[80]
ounsigned PalLen
oXObject* Server
oClientList Clients

Protected Methods

obool SendMessage(unsigned long __Receiver, unsigned long __Class, long __Message)
obool SendMessage(unsigned long __Receiver, unsigned long __Class, void *__Body, unsigned long __Size)


Inherited from XEventBroker:

Public Methods

ovirtual void AddListener(unsigned long __Listener, unsigned __Class)
ovirtual void DelListener(unsigned long __Listener, unsigned __Class)
ovirtual void DelListener(unsigned long __Listener)

Protected Fields

oMap __map


Inherited from XObjectEventListener:

Public Methods

ovirtual bool ProcessMouseEvent(XMouseEvent *__Event)
ovirtual bool ProcessMessage(XMessage *__Event)
ovirtual bool ProcessSignal(XEvent *__Event)
ovirtual bool ProcessBroadcast(XEvent *__Event)


Inherited from XEventListener:


Documentation

Full-featured application
o XtApplication()
Constructs a new XtApplication, using the entire screen

o ~XtApplication()
Destructs the object's instance

ovirtual void Draw()
Draws the object

ovirtual void HandleEvent(XEvent *__Event)
Handles the object passed as argument, by calling ProcessEvent for all registered clients

ovirtual void Idle()
Function that gets called when no events ocurrs

ovirtual void InitMenuBar()
Initializes the application's menu bar

ovirtual void InitStatusLine()
Initializes the application's status line

ovirtual bool ProcessCommand(XMessage *__Event)
Process commands

ovirtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events

ovirtual void RegisterClient(XObject *__Client)
Registers the specified XObject as client

ovirtual void Run()
Waits for events, process them, until the CM_QUIT command is received

ovirtual void RunClient(XObject *__Client)
Puts the specified client on top of the desktop; waits for events, provides them to the client, until the CM_CLOSE command is received

oXtMenu* Menu
Application's associated pull-down menu

oXtStatusLine* StatusLine
Application's associated status line

oXObject* CurrentFocusedClient
The client that currently own the focus


This class has no child classes.

Go to the hierarchy of classes.


Copyright ©1998-2001 Dragos Acostachioaie
Last update on October 27, 2001

This page was generated with the help of DOC++.