|
Ipelib
|
Service provider for Ipelets. More...
#include <ipelet.h>
Service provider for Ipelets.
C++ Ipelets can ask Ipe to perform various services and request information using this class.
| anonymous enum |
| IpeletHelper::~IpeletHelper | ( | ) | [pure virtual] |
Pure virtual destructor.
| virtual void ipe::IpeletHelper::message | ( | const char * | msg | ) | [pure virtual] |
Show a message in the status bar.
| virtual int ipe::IpeletHelper::messageBox | ( | const char * | text, |
| const char * | details, | ||
| int | buttons | ||
| ) | [pure virtual] |
Pop up a modal message box.
The details can be null.
Choose one of EOkButton, EOkCancelButtons, EYesNoCancelButtons, EDiscardCancelButtons, ESaveDiscardCancelButtons for buttons.
Returns 1 for Ok or Yes, 0 for No, -1 for Cancel.
| virtual bool ipe::IpeletHelper::getString | ( | const char * | prompt, |
| String & | str | ||
| ) | [pure virtual] |
Pop up a modal dialog asking the user to enter a string. Returns true if the user didn't cancel the dialog.