connectAskQuestion

fun connectAskQuestion(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (message: String, choices: List<String>) -> Unit): <Error class: unknown class>

Emitted when asking the user a question and gives a list of choices for the user to choose from.

If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a #GtkMessageDialog.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: message string containing a message to display to the user.; choices an array of strings for each possible choice.