VkErrorDialog(3x)VkErrorDialog(3x)NAMEVkErrorDialog - A dialog manager for error dialogs
INHERITS FROM
VkDialogManager : VkComponent : VkCallbackObject
HEADER FILE
#include <Vk/VkErrorDialog.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkErrorDialog(const char* name);
virtual void ~VkErrorDialog(void);
CLASS DESCRIPTION
This class displays a Motif error dialog, using the caching
facilities of VkDialogManager class. Applications typically use the
globally available dialog theErrorDialog to post their errors.
FUNCTION DESCRIPTIONSVkErrorDialog()
VkErrorDialog(const char* name);
Initializes a VkErrorDialog object. This dialog should not be
instantiated directly, instead use the globally instantiated dialog
theErrorDialog.
~VkErrorDialog()
virtual void ~VkErrorDialog(void);
Frees the storage associated with a VkErrorDialog object. The
global VkErrorDialog object should not be freed.
INHERITED MEMBER FUNCTIONS
Inherited from VkDialogManager
show(), hide(), className(), prepost(), ok(), cancel(), apply(),
setTitle(), setButtonLabels(), unpost(), unpostAll(),
centerOnScreen(), lastPosted(), post(), postModal(), postBlocked(),
postAndWait(), _action, _showOK, _showCancel, _showApply,
_allowMultipleDialogs, _minimizeMultipleDialogs, prepostCallback
Inherited from VkComponent
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), callCallbacks(),
VkComponent(), manage(), unmanage(), baseWidget(), okToQuit(),
_name, _baseWidget, _w, deleteCallback
Page 1
VkErrorDialog(3x)VkErrorDialog(3x)
Inherited from VkCallbackObject
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()VIEWKIT 2.1 CHANGES
In multi-screen enabled applications or components, references to
theErrorDialog will only be valid for the default screen in the
application. The following new function API will return the
VkErrorDialog associated with the appropriate screen and should be used
instead of theErrorDialog;
VkErrorDialog *getAppErrorDialog(VkComponent *comp);
KNOWN DERIVED CLASSES
VkFatalErrorDialog
BUGSSEE ALSO
VkDialogManager, VkComponent
ViewKit Programmer's Guide
The X Window System, DEC Press, Bob Sheifler and Jim Gettys
The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
The OSF/Motif Programmers Reference, Prentice Hall, OSF
Page 2