Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
itasca::IGUIInput Class Referenceabstract

The interface to graphics user interface input functionality. More...

#include <iguiinput.h>

Public Member Functions

virtual int64 notify (int64 arg1, int64 arg2, const string &arg3)=0
 Notifies kernel. This function blocks and may throw a quit exception.
 
virtual int messageBox (const string &caption, const string &text, int type)=0
 
virtual string inputBox (const string &message, const string &starting)=0
 
virtual void saveProject (const string &filename, bool interactive, bool autoSave)=0
 If filename is null, use the current project file name.
 
virtual void restoreProject (const string &filename, bool interactive, const string &doc)=0
 
virtual StringList getProjectMasterFileNames ()=0
 

Detailed Description

The interface to graphics user interface input functionality.

Member Function Documentation

◆ inputBox()

virtual string itasca::IGUIInput::inputBox ( const string & message,
const string & starting )
pure virtual

Used to ask user to enter a value

Parameters
messagethe prompt messsage
startingReturns user output. This function blocks and may throw a quit exception.

◆ messageBox()

virtual int itasca::IGUIInput::messageBox ( const string & caption,
const string & text,
int type )
pure virtual

Displays a message box to the user.

Parameters
captionmessage box caption
texttext that will be displayed to user
typemessage box type Returns the type chosen by user. This function blocks and may throw a quit exception.

The documentation for this class was generated from the following file: