NativeDialogImpl

class NativeDialogImpl(pointer: <Error class: unknown class><<Error class: unknown class>>) : NativeDialog

The NativeDialogImpl type represents a native instance of the abstract NativeDialog class.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Creates a new instance of NativeDialog for the provided CPointer.

Properties

Link copied to clipboard
val gtkNativeDialogPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var modal: Boolean

Whether the window should be modal with respect to its transient parent.

Link copied to clipboard
open var transientFor: Window?

The transient parent of the dialog, or null for none.

Link copied to clipboard
open val visible: Boolean

Whether the window is currently visible.

Functions

Link copied to clipboard
open fun destroy()

Destroys a dialog.

Link copied to clipboard
fun emitResponse(responseId: <Error class: unknown class>)

Emits the "response" signal. See onResponse.

Link copied to clipboard
open fun getTitle(): String?

Gets the title of the GtkNativeDialog.

Link copied to clipboard
open fun hide()

Hides the dialog if it is visible, aborting any interaction.

Link copied to clipboard
fun onResponse(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Unit): <Error class: unknown class>

Emitted when the user responds to the dialog.

Link copied to clipboard
open fun setTitle(title: String)

Sets the title of the GtkNativeDialog.

Link copied to clipboard
open fun show()

Shows the dialog on the display.