byond - Modules - Types

code/modules/tgui/tgui_alert.dm

/proc/tgui_alert Creates a TGUI alert window and returns the user's response.
/proc/tgui_alert_async Creates an asynchronous TGUI alert window with an associated callback.
/datum/tgui_modalDatum used for instantiating and using a TGUI-controlled modal that prompts the user with a message and has buttons for responses.
/datum/tgui_modal/asyncAn asynchronous version of tgui_modal to be used with callbacks instead of waiting on user responses.