API msgdlgtemplate1aDone
msgdlgtemplate1aDone
Definition:
msgdlgtemplate1aDone(function button_cb, string msg, size, posx, posy, userdata control, string bgcolor) -> userdata dialog
Description:
Same as msgdlgtemplate1a but with a "Close" button
Arguments:
nutton_cb function called on clicking "Close"
msg dialog message
size iup size of dialog
posx iup horizontal position
posy iup vertical position
control control to unmask
bgcolor iup background color
Returns:
dialog message dialog
Example:
<source lang="lua">
local d
local function button_cb()
HideDialog(d)
end
-- with unmasked control
d = msgdlgtemplate1aDone(button_cb, "bla", "200x200", 10, 10, StationLaunchButton)
d:show_all()
-- without unmasked control
-- local d = msgdlgtemplate1aNext("bla", "200x200", 10, 10)
-- ShowDialog(d)
</source>