Blocks in a recursive main loop until self emits the
#GtkNativeDialog::response signal. It then returns the response ID
from the ::response signal emission.
Note that even though the recursive main loop gives the effect of a
modal dialog (it prevents the user from interacting with other
windows in the same window group while the dialog is run), callbacks
such as timeouts, IO channel watches, DND drops, etc, will
be triggered during a gtk.native_dialog.NativeDialog.run call.
Blocks in a recursive main loop until self emits the #GtkNativeDialog::response signal. It then returns the response ID from the ::response signal emission.
Before entering the recursive main loop, gtk.native_dialog.NativeDialog.run calls gtk.native_dialog.NativeDialog.show on the dialog for you.
After gtk.native_dialog.NativeDialog.run returns, then dialog will be hidden.
Typical usage of this function might be:
Note that even though the recursive main loop gives the effect of a modal dialog (it prevents the user from interacting with other windows in the same window group while the dialog is run), callbacks such as timeouts, IO channel watches, DND drops, etc, will be triggered during a gtk.native_dialog.NativeDialog.run call.