Class: Gtk::NativeDialog
- Inherits:
-
Object
- Object
- Gtk::NativeDialog
- Defined in:
- (unknown)
Overview
Class structure for GtkNativeDialog.
Direct Known Subclasses
Instance Method Summary collapse
-
#destroy ⇒ nil
Destroys a dialog.
-
#hide ⇒ nil
Hides the dialog if it is visible, aborting any interaction.
-
#modal ⇒ Boolean
Returns whether the dialog is modal.
-
#modal=(modal) ⇒ Boolean
Whether the window should be modal with respect to its transient parent.
-
#modal? ⇒ Boolean
Whether the window should be modal with respect to its transient parent.
-
#show ⇒ nil
Shows the dialog on the display.
-
#title ⇒ String
The title of the dialog window.
-
#title=(title) ⇒ String
The title of the dialog window.
-
#transient_for ⇒ Gtk::Window
The transient parent of the dialog, or nil for none.
-
#transient_for=(transient_for) ⇒ Gtk::Window
The transient parent of the dialog, or nil for none.
-
#visible ⇒ Boolean
Determines whether the dialog is visible.
-
#visible=(visible) ⇒ Boolean
Whether the window is currently visible.
-
#visible? ⇒ Boolean
Whether the window is currently visible.
Instance Method Details
#destroy ⇒ nil
Destroys a dialog.
When a dialog is destroyed, it will break any references it holds to other objects.
If it is visible it will be hidden and any underlying window system resources will be destroyed.
Note that this does not release any reference to the object (as opposed
to destroying a GtkWindow) because there is no reference from the
windowing system to the GtkNativeDialog.
#hide ⇒ nil
Hides the dialog if it is visible, aborting any interaction.
Once this is called the [signalGtk.NativeDialog::response] signal will not be emitted until after the next call to [methodGtk.NativeDialog.show].
If the dialog is not visible this does nothing.
#modal ⇒ Boolean
Returns whether the dialog is modal.
#modal=(modal) ⇒ Boolean
Whether the window should be modal with respect to its transient parent.
#modal? ⇒ Boolean
Whether the window should be modal with respect to its transient parent.
#show ⇒ nil
Shows the dialog on the display.
When the user accepts the state of the dialog the dialog will be automatically hidden and the [signalGtk.NativeDialog::response] signal will be emitted.
Multiple calls while the dialog is visible will be ignored.
#title ⇒ String
The title of the dialog window
#title=(title) ⇒ String
The title of the dialog window
#transient_for ⇒ Gtk::Window
The transient parent of the dialog, or nil for none.
#transient_for=(transient_for) ⇒ Gtk::Window
The transient parent of the dialog, or nil for none.
#visible ⇒ Boolean
Determines whether the dialog is visible.
#visible=(visible) ⇒ Boolean
Whether the window is currently visible.
#visible? ⇒ Boolean
Whether the window is currently visible.