dialog_confirm


Description:


public bool dialog_confirm (Window? parent, string stock_id, string? confirm_label, string? secondary_text, string? primary_format, ...)

Runs a questions dialog that has a 'Cancel' and a 'Confirm' button.

The 'Confirm' button text can be set by action if given.

If stock_id is equal to YES, the 'Cancel' button becomes a 'No' button.

Parameters:

parent

transient parent of the dialog, or null.

stock_id

the stock name of the confirm button, for example YES or CLEAR.

confirm_label

if non-null, this text is used on the confirm button together with the stock_id icon.

secondary_text

secondary text in the dialog.

primary_format

the printf-style format for the dialog question.

...

argument list for the primary_format.

Returns:

TRUE if the user confirms, else FALSE.


Namespace: Xfce
Package: libxfce4ui-2