The GtkMessageDialog class is the class for message box dialogs.
This class subclasses the Object REXX Object class so all of its methods are also available to this class.
The class heirarchy
Object +---GtkMessageDialog |
The methods for the GtkMessageDialog class are documented below.
This method creates and initializes the dialog widget.
This is a example of how to create a message dialog widget.
parent = 0 boxtype = 'GTK_MESSAGE_INFO' buttons = 'GTK_BUTTONS_OK' message = 'This is my message' mymsgdialog = .GtkMessageDialog~new(parent, boxtype, buttons, message) |
The new GtkMessageDialog object.
This method runs the message dialog.
This is a example of how to run a message dialog.
mymsgdialog~run() |
None.
A result string. It will be one of the following strings.
GTK_RESPONSE_NONE
GTK_RESPONSE_REJECT
GTK_RESPONSE_ACCEPT
GTK_RESPONSE_DELETE_EVENT
GTK_RESPONSE_OK
GTK_RESPONSE_CANCEL
GTK_RESPONSE_CLOSE
GTK_RESPONSE_YES
GTK_RESPONSE_NO
GTK_RESPONSE_APPLY
GTK_RESPONSE_HELP