Xterminal Home Page Main page

class XtApplication : public XtDesktop

Full-featured application

Inheritance:

XtApplication - XtDesktop - XtBackground - XObject - XEventBroker


Public Methods

virtual void Draw()
Draws the object
virtual void Idle()
Function that gets called when no events ocurrs
virtual void InitMenuBar()
Initializes the application's menu bar
virtual void InitStatusLine()
Initializes the application's status line
virtual void RegisterClient(XObject *__NewClient)
Registers the specified XObject as client
virtual void Run()
Waits for events, process them, until the CM_QUIT command is received
XtApplication()
Constructs a new XtApplication, using the entire screen
~XtApplication()
Destructs the object instance

Protected Fields

XtMenu* Menu
Application's associated pull-down menu
XtStatusLine* StatusLine
Application's associated status line

Inherited from XtDesktop:


Inherited from XtBackground:

Public Methods

chtype GetPattern()
virtual void SetPattern(chtype __Pattern)

Inherited from XObject:

Public Methods

virtual void CalculateBounds()
XRect GetBounds()
virtual XEvent* GetEvent()
unsigned long GetId()
char* GetObjClass()
XPoint GetOrigin()
virtual unsigned GetPalEntry(unsigned __Index)
virtual char* GetPalette()
XPoint GetSize()
unsigned long GetState()
virtual unsigned GetState(unsigned long __Mask)
virtual void HandleEvent(XEvent *__Ev)
virtual void MoveTo(XPoint __p)
virtual void SetPalette(char *__Pal, unsigned __PalLen)
virtual void SetState(unsigned long __Mask, unsigned __BoolValue)

Protected Fields

XRect Bounds
SLList < XObject * > Clients
XPoint Cursor
unsigned long Id
char ObjClass[40]
XPoint Origin
char Pal[80]
unsigned PalLen
XObject* Server
XPoint Size
unsigned long State

Protected Methods

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

Inherited from XEventBroker:

Public Methods

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

Protected Fields

Map __map

Inherited from XObjectEventListener:

Public Methods

virtual int ProcessBroadcast(XEvent *__Event)
virtual int ProcessCommand(XMessage *__Event)
virtual int ProcessEvent(XEvent *__Event)
virtual int ProcessKeyboardEvent(XKeyboardEvent *__Event)
virtual int ProcessMessage(XMessage *__Event)
virtual int ProcessMouseEvent(XMouseEvent *__Event)
virtual int ProcessSignal(XEvent *__Event)

Inherited from XEventListener:


Documentation

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

~XtApplication()
Destructs the object instance

virtual void Draw()
Draws the object

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

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

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

virtual void RegisterClient(XObject *__NewClient)
Registers the specified XObject as client

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

XtMenu* Menu
Application's associated pull-down menu

XtStatusLine* StatusLine
Application's associated status line


This class has no child classes.

Go to the hierarchy of classes.


Copyright ©1998 Dragos Acostachioaie
Last update on June 10, 1998

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