Navigation

Operators and Keywords

Function List:

C++ API

Function File: zenity_message (text, type)

Displays a graphical message dialog. The variable text sets the message of the dialog, and the optional variable type sets the type of the message. type must be one of the following strings error, info, question, and warning. The default value of type is info. Retuns the value status which is 0 for 'Ok' and 1 for 'Cancel' button selection; a value of -1 indicates a failure of dialog box.