*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Vk/VkPromptDialog (3)              
Title
Content
Arch
Section
 

Contents


VkPromptDialog(3x)					    VkPromptDialog(3x)


NAME    [Toc]    [Back]

     VkPromptDialog - A	dialog manager for prompt dialogs

INHERITS FROM    [Toc]    [Back]

     VkDialogManager : VkComponent : VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkPromptDialog.h>


PUBLIC PROTOCOL	SUMMARY
   Constructor/Destructor
	   VkPromptDialog(const	char*);
	   virtual ~VkPromptDialog(void);


   Information    [Toc]    [Back]
	  const	char* text(void);


   Setting Information    [Toc]    [Back]
	  void setText(const char *text);


PROTECTED PROTOCOL SUMMARY    [Toc]    [Back]

   Protected Data Members
	  char*	_text;


X RESOURCES ASSOCIATED WITH THIS CLASS    [Toc]    [Back]

	  No new X resources are added by this class.


CLASS DESCRIPTION    [Toc]    [Back]

     This class	displays a Motif prompt	dialog,	using the caching facilities
     of	VkDialogManager	class.	Applications typically use the globally
     available dialog thePromptDialog to post their errors.


FUNCTION DESCRIPTIONS    [Toc]    [Back]

   VkPromptDialog()
	  VkPromptDialog(const char*);







									Page 1






VkPromptDialog(3x)					    VkPromptDialog(3x)



	  Initialize a VkPromptDialog.	VkPromptDialog is not normally
	  instantiated by applications.	 Use the globally-instantiated
	  thePromptDialog instead.


   ~VkPromptDialog()
	  virtual ~VkPromptDialog(void);


	  Free memory used by the VkPromptDialog class.	 The global instance
	  should not be	deleted.


   void	setText()
	  void setText(const char *text);


	  Sets the initial contents of the text	field.	This will be the text
	  that is returned, unless the user edits it.


   char* text()
	  const	char* text(void);


	  Returns the last text	the user entered.

DATA MEMBER DESCRIPTIONS    [Toc]    [Back]

   char* _text;
	  char*	_text;


	  Pointer to the last text the user entered.

INHERITED MEMBER FUNCTIONS    [Toc]    [Back]

   Inherited from VkDialogManager
	  _action, _allowMultipleDialogs, _minimizeMultipleDialogs,
	  _showApply, _showCancel, _showOK,

	  apply(), cancel(), centerOnScreen(), className(), hide(),
	  lastPosted(),	post(),	postAndWait(), postBlocked(), postModal(),
	  prepost(), prepostCallback, setButtonLabels(), setTitle(),
	  setUpWindowManagerProperties(), show(), unpost(), unpostAll(),
	  waitForDialog()


   Inherited from VkComponent    [Toc]    [Back]
	  _baseWidget, _extension, _name, _w,
	  afterRealizeHook(), attributeList(), baseWidget(), deleteCallback,
	  getAttribute(), getResources(), installDestroyHandler(),



									Page 2






VkPromptDialog(3x)					    VkPromptDialog(3x)



	  isComponent(), loadObject(), manage(), name(), okToQuit(),
	  realize(), removeDestroyHandler(), setAttribute(),
	  setDefaultResources(), unmanage(), widgetDestroyed(),	Widget()


   Inherited from VkCallbackObject    [Toc]    [Back]
	  addCallback(), callCallbacks(), cloneCallback(), cloneCallbacks(),
	  getMethodArgType(), getMethods(), hasCallbacks(), invokeMethod(),
	  loadObject(),	registerLoadedObject(),	removeAllCallbacks(),
	  removeCallback()



VIEWKIT	2.1 CHANGES
     In	multi-screen enabled applications or components, references to
     thePromptDialog will only be valid	for the	default	screen in the
     application.  The following new function API will return the
     VkPromptDialog associated with the	appropriate screen and should be used
     instead of	thePromptDialog;


	   VkPromptDialog *getAppPromptDialog(VkComponent *comp);


CLASSES	USED BY	THIS CLASS
     VkDialogManager

KNOWN CLASSES THAT USE THIS CLASS    [Toc]    [Back]

     VkLicense

SEE ALSO    [Toc]    [Back]

      
      
     VkCallbackObject, VkComponent, VkDialogManager, VkLicense


									PPPPaaaaggggeeee 3333
[ Back ]
 Similar pages
Name OS Title
VkInfoDialog IRIX A dialog manager for information dialogs
VkErrorDialog IRIX A dialog manager for error dialogs
VkWarningDialog IRIX Dialog manager class for warning dialogs
VkQuestionDialog IRIX Dialog Manager class for question dialogs
VkFileSelectionDialog IRIX Dialog manager for file selection dialogs
VkColorChooserDialog IRIX A dialog manager for color chooser dialogs
VkProgressDialog IRIX A dialog manager supporting interruptible dialogs with a progress indicator
VkFatalErrorDialog IRIX Simple manager for fatal error dialogs
VkDialogManager IRIX An abstract manager class that caches and supports Motif dialogs
VkInterruptDialog IRIX A dialog manager that support interrupts
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service