VkWarningDialog(3x)VkWarningDialog(3x)NAMEVkWarningDialog - Dialog manager class for warning dialogs
INHERITS FROM
VkDialogManager : VkComponent : VkCallbackObject
HEADER FILE
#include <Vk/VkWarningDialog.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkWarningDialog(const char* name);
virtual void ~VkWarningDialog(void);
CLASS DESCRIPTION
This class displays a Motif warning dialog, using the caching
facilities of VkDialogManager class. Applications typically use the
globally available dialog theWarningDialog to post warnings.
FUNCTION DESCRIPTIONSVkWarningDialog()
VkWarningDialog(const char* name);
Initializes a VkWarningDialog object. This dialog should not be
instantiated directly, instead use the theWarningDialog.
~VkWarningDialog()
virtual ~VkWarningDialog(void);
Frees the storage associated with a VkWarningDialog object. The
global VkWarningDialog object should not be freed.
INHERITED MEMBER FUNCTIONS
Inherited from VkDialogManager
show(), hide(), className(), clearCache(), prepost(), ok(),
cancel(), apply(), setTitle(), setButtonLabels(), unpost(),
unpostAll(), centerOnScreen(), lastPosted(), post(), postModal(),
postBlocked(), postAndWait(), _action, _dialogList, _centerMode,
_showOK, _showCancel, _showApply, _allowMultipleDialogs,
_minimizeMultipleDialogs, prepostCallback,
Inherited from VkComponent
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), manage(), unmanage(),
baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
Page 1
VkWarningDialog(3x)VkWarningDialog(3x)
Inherited from VkCallbackObject
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()VIEWKIT 2.1 CHANGES
In multi-screen enabled applications or components, references to
theWarningDialog will only be valid for the default screen in the
application. The following new function API will return the
VkWarningDialog associated with the appropriate screen and should be used
instead of theWarningDialog;
VkWarningDialog *getAppWarningDialog(VkComponent *comp);
SEE 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