VkQuestionDialog(3x)VkQuestionDialog(3x)NAMEVkQuestionDialog - Dialog Manager class for question dialogs
INHERITS FROM
VkDialogManager : VkComponent : VkCallbackObject
HEADER FILE
#include <Vk/VkQuestionDialog.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkQuestionDialog(const char* name);
virtual ~VkQuestionDialog(void);
CLASS DESCRIPTION
This class displays a Motif question dialog, using the caching
facilities of VkDialogManager class. Applications typically use the
globally available dialog theQuestionDialog to post questions.
FUNCTION DESCRIPTIONSVkQuestionDialog()
VkQuestionDialog(const char* name);
Initialize a VkQuestionDialog. VkQuestionDialog is not normally
instantiated by applications. Just refer to theQuestionDialog
instead.
~VkQuestionDialog()
virtual ~VkQuestionDialog(void);
Free memory used by a VkQuestionDialog object. The global instance
should not be deleted.
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, _showOK, _showCancel,
_showApply, _allowMultipleDialogs, _minimizeMultipleDialogs,
prepostCallback
Inherited from VkComponent
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), manage(), unmanage(),
baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
Page 1
VkQuestionDialog(3x)VkQuestionDialog(3x)
Inherited from VkCallbackObject
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()VIEWKIT 2.1 CHANGES
In multi-screen enabled applications or components, references to
theQuestionDialog will only be valid for the default screen in the
application. The following new function API will return the
VkQuestionDialog associated with the appropriate screen and should be
used instead of theQuestionDialog;
VkQuestionDialog *getAppQuestionDialog(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