MessageDialog
From Vendetta Lua
Revision as of 23:23, 25 November 2008 by Chefkoch (Talk | contribs) (New page: A borderless iup dialog with a message and a button. Display with :show() or ShowDialog(). Examples CancelLoadoutPurchaseDialog, [[API_Index#Conne...)
A borderless iup dialog with a message and a button. Display with :show() or ShowDialog(). Examples CancelLoadoutPurchaseDialog, ConnectingDialog, CharCreateFailedDialog, CharSelectFailedDialog
Functions
SetMessage
Definition:
SetMessage(userdata dialog, string message, string buttontitle, function cb) -> nil
Description:
Sets message, title of button and a callback.
Arguments:
dialog this dialog
message message to display in the dialog
buttontitle text to display on button (optional default is "Cancel")
cb function to call on button click (optional)