A pointer to the parent widget of the dialog (usually a window).
By setting the flags, you can block the parent and/or
position the dialog relative to it.

location

A pointer to a
PhPoint_t
structure that specifies the location of the dialog relative to the
parent or console, depending on the flags.
If location is NULL, the dialog is centered.

title

The title for the dialog.
If you don't want a title bar, set this argument to NULL.

image

A pointer to a
PhImage_t
structure that specifies an icon to display beside the message.
If you don't want an icon, set this argument to NULL.

message

The message to display.

msg_font

The font for the message text; the default is TextFont09.
You should create the font name by calling
PfGenerateFontName().

buttons

A pointer to an array of strings to be displayed in the buttons.
If non-NULL, this array must contain exactly two strings.
The first is for the cancel button, and the second is for the accept button.

All the button-text arguments let you define shortcut keys.
Place an ampersand (&) in front of the character that you
want to be the shortcut.
For example, if you specify &Yes, the Y is
underlined in the button, and you can press y or Y
to select the button.

If buttons is NULL, the function uses
&Cancel and &Ok for the buttons.

btn_fonts

A pointer to an array of strings naming the fonts to be used in the
buttons.
If this argument is NULL, TextFont09 is used
for all the buttons.
Otherwise, this array must contain at least btnCount font names.
You should create the font names by calling
PfGenerateFontName().

text_font

The name of the font to use for the text.
You should create the font name by calling PfGenerateFontName().

validate_f

A pointer to a password-validation function, which is of the form:

int validate( void *data,
char const *password_entered )

The arguments to the validation function are:

data — arbitrary data you need in the function.
It's the validate_data that you pass to
PtPassword().

A multibyte character to replace the characters that the user types.
If NULL, * is used.
Specify "" if you don't want any echoing to take place
(i.e. the text field appears non-interactive but there's no indication of
how many characters the user types, which might be appealing for higher
security restrictions).

flags

Flags that define the behavior for the dialog.
This can be up to one of the following:

Pt_CENTER — center the dialog.

Pt_LEFT — left-align the dialog (the default).

Pt_RIGHT — right-align the dialog.

with any combination of the following:

Pt_BLOCK_ALL — block all of the application's
windows while the dialog is displayed.