FixGUI Documentation

Back to summary

import "gui/view";

Global functions

function show_message(window: Window, type: Integer, title: String, message: String): Integer
Shows a modal message dialog. You can optionally provide the parent window.

The type can be one of the following constants:
MSG_OK - there will be OK button
MSG_OK_CANCEL - there will be OK and Cancel buttons
MSG_YES_NO - there will be Yes and No buttons
MSG_YES_NO_CANCEL - there will be Yes, No and Cancel buttons

You can also OR (|) one of the following constants:
MSG_ICON_INFO - the information icon will be used
MSG_ICON_QUESTION - the question icon will be used
MSG_ICON_ERROR - the error icon will be used
MSG_ICON_WARNING - the warning icon will be used