class XtDialogBox: public XtDialog

Dialog window containing multiple objects

Inheritance:

XtDialogBox - XtDialog - XObject - XEventBroker


Public Methods

[more]XtDialogBox(XRect __r, char *__Title)
Constructs a new dialog window with the specified bounds and title
[more]virtual ~XtDialogBox()
Destructs the object's instance
[more]virtual void Draw()
Draws the dialog window and all the registered clients
[more]virtual void MoveTo(XPoint __p)
Move the dialog's origin to the specified point
[more]virtual int Run()
"Runs" the dialog
[more]virtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events
[more]virtual bool ProcessMouseEvent(XMouseEvent *__Event)
Process mouse events
[more]virtual void SetState(unsigned long __Mask, bool __BoolValue)
Sets the object's state

Protected Fields

[more]XtWindow* Wnd
Associated window

Inherited from XtDialog:

Public Methods

virtual void HandleEvent(XEvent *__Event)
virtual bool ProcessMessage(XMessage *__Event)

Protected Fields

XObject* CurrentFocusedClient

Inherited from XObject:

Public Methods

virtual void CalculateBounds()
XRect GetBounds()
virtual XEvent* GetEvent()
unsigned long GetId()
char* GetObjClass()
XPoint GetOrigin()
virtual char* GetPalette()
virtual unsigned GetPalEntry(unsigned __Index)
XPoint GetSize()
unsigned long GetState()
virtual bool GetState(unsigned long __Mask)
virtual bool ProcessEvent(XEvent *__Event)
virtual void RegisterClient(XObject *__Client)
virtual void Resize(XPoint __delta)
virtual void SetPalette(char *__Pal, unsigned __PalLen)
virtual void UnregisterClient(XObject *__Client)

Protected Fields

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

Protected Methods

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

Inherited from XEventBroker:

Public Methods

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

Protected Fields

Map __map

Inherited from XObjectEventListener:

Public Methods

virtual bool ProcessCommand(XMessage *__Event)
virtual bool ProcessSignal(XEvent *__Event)
virtual bool ProcessBroadcast(XEvent *__Event)

Inherited from XEventListener:


Documentation

Dialog window containing multiple objects
XtDialogBox(XRect __r, char *__Title)
Constructs a new dialog window with the specified bounds and title

virtual ~XtDialogBox()
Destructs the object's instance

virtual void Draw()
Draws the dialog window and all the registered clients

virtual void MoveTo(XPoint __p)
Move the dialog's origin to the specified point

virtual int Run()
"Runs" the dialog. Listens for events, process them, until the dialog is closed (e.g. the CM_CLOSE or CM_OK command is received)

virtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events

virtual bool ProcessMouseEvent(XMouseEvent *__Event)
Process mouse events

virtual void SetState(unsigned long __Mask, bool __BoolValue)
Sets the object's state

XtWindow* Wnd
Associated window


Direct child classes:
XtMessageBox

Go to the hierarchy of classes.


Copyright ©1998-99 Dragos Acostachioaie
Last update on March 9, 1999

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