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 bool SetFocus(XObject *__Object)
Sets the focus to the current object
[more]virtual void SetState(unsigned long __Mask, bool __BoolValue)
Sets the object's state
[more]virtual void SetTitle(const char *__Title)
Set the dialog title

Protected Fields

[more]XtWindow* Wnd
Associated window


Inherited from XtDialog:

Public Methods

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

Protected Fields

oXObject* CurrentFocusedClient


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 bool ProcessEvent(XEvent *__Event)
ovirtual void RegisterClient(XObject *__Client)
ovirtual void Resize(XPoint __delta)
ovirtual void SetPalette(char *__Pal, unsigned __PalLen)
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 ProcessCommand(XMessage *__Event)
ovirtual bool ProcessSignal(XEvent *__Event)
ovirtual bool ProcessBroadcast(XEvent *__Event)


Inherited from XEventListener:


Documentation

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

ovirtual ~XtDialogBox()
Destructs the object's instance

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

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

ovirtual 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)

ovirtual bool ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events

ovirtual bool ProcessMouseEvent(XMouseEvent *__Event)
Process mouse events

ovirtual bool SetFocus(XObject *__Object)
Sets the focus to the current object

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

ovirtual void SetTitle(const char *__Title)
Set the dialog title

oXtWindow* Wnd
Associated window


Direct child classes:
XtMessageBox

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++.