#include "clientlib.h"Functions | |
| pghandle | pgDialogBox (const char *title) |
| Create a dialog box with title. | |
| int | pgMessageDialogFmt (const char *title, u32 flags, const char *fmt,...) |
| Create a message dialog box, with formatting. | |
| void | dlgbtn (pghandle tb, u32 payload, int textproperty, int iconproperty, int key) |
| void | dlgicon (pghandle at, int prop) |
| int | pgMessageDialog (const char *title, const char *text, u32 flags) |
| Create a message dialog box. | |
| int | pgMenuFromString (char *items) |
| Create a popup menu from a string. | |
| int | pgMenuFromArray (pghandle *items, int numitems) |
| Create a popup menu from string handles. | |
| pghandle | pgInputDialog (const char *title, const char *message, pghandle deftxt) |
| Allow the user to edit a one-line string. | |
|
||||||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
Create a dialog box with title. This helpful function creates a centered, automatically sized dialog box equivalent to "pgNewPopup(PGDEFAULT,PGDEFAULT)" and creates a title widget with the given text.
|
|
||||||||||||||||
|
Allow the user to edit a one-line string.
|
|
||||||||||||
|
Create a popup menu from string handles.
items array, call pgEnterContext. After pgMenuFromArray returns, call pgLeaveContext to free the string handles and destroy the popup menu. Note that the popup menu will not disappear until the call to pgLeaveContext. This means it is possible to delay calling pgLeaveContext to display other popups on top of the menu, for example to create a tree of popup menus.
|
|
|
Create a popup menu from a string.
|
|
||||||||||||||||
|
Create a message dialog box.
flags is zero, a simple dialog with only an "Ok" button is created. Possible PG_MSGBTN_* flags include:
|
|
||||||||||||||||||||
|
Create a message dialog box, with formatting. This function is equivalent to pgMessage, with support for printf-style formatting
|
1.3-rc3