See: https://developer.gnome.org/gtk3/stable/GtkDialog.html
gtk :: GtkDialog :: defaultinit
gtk :: GtkWindow :: activate_default
Activates the default widget for the windowgtk :: GtkWindow :: activate_focus
Activates the current focused widget within the window.core :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkWindow :: connect_destroy_signal_to_quit
Connect the "destroy" signal toquit_gtk
gtk :: GtkWindow :: decorated=
Try to convince the window manage to decorate or not this windowgtk :: GtkWindow :: default_size
Windows can't actually be 0x0 in size, they must be at least 1x1gtk :: GtkBin :: defaultinit
gtk :: GtkWidget :: defaultinit
gtk :: GtkDialog :: defaultinit
gtk :: GtkContainer :: defaultinit
gtk :: GtkWindow :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
gtk :: GtkWindow :: fullscreen
gtk :: GtkWindow :: get_default_widget
gtk :: GtkWindow :: has_toplevel_focus
Returns whether the input focus is within this GtkWindow. For real toplevel windows, this is identical to gtk_window_is_active(), but for embedded windows, like GtkPlug, the results will differ.core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
gtk :: GtkWindow :: keep_above=
gtk :: GtkWindow :: keep_below=
core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkWindow :: resizable=
gtk :: GtkContainer :: resize_mode
Get the resize mode of the containergtk :: GtkContainer :: resize_mode=
Set the resize mode of the containergtk :: GtkWidget :: sensitive=
Sets the sensitivity of a widget. sensitive -> the user can interact with it.gtk :: GtkWindow :: set_default_widget
gtk :: GtkWidget :: set_size_request
Set the minimum dimension of this widgetgtk :: GtkWidget :: signal_connect
gtk :: GtkWindow :: unfullscreen
gtk :: GtkWindow :: unmaximize
# Create popup windows
# See: https://developer.gnome.org/gtk3/stable/GtkDialog.html
extern class GtkDialog `{GtkDialog *`}
super GtkWindow
new `{
return (GtkDialog *)gtk_dialog_new();
`}
new with_buttons(title: String, parent: GtkWindow, flags: GtkDialogFlags)
import String.to_cstring `{
return (GtkDialog *)gtk_dialog_new_with_buttons(
String_to_cstring(title), parent, flags, "", NULL);
`}
fun run `{
gtk_dialog_run(self);
`}
end
lib/gtk/v3_4/gtk_dialogs.nit:26,1--44,3