Predefined values for use as response ids in gtk_dialog_add_button(). See: https://developer.gnome.org/gtk3/stable/GtkDialog.html#GtkResponseType
gtk :: GtkResponseType :: accept
Generic response id, not used by GTK+ dialogsgtk :: GtkResponseType :: cancel
Returned by Cancel buttons in GTK+ dialogs.gtk :: GtkResponseType :: defaultinit
gtk :: GtkResponseType :: delete_event
Returned if the dialog is deletedgtk :: GtkResponseType :: none
Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed.gtk :: GtkResponseType :: reject
Generic response id, not used by GTK+ dialogs.gtk $ GtkResponseType :: SELF
Type of this instance, automatically specialized in every classgtk :: GtkResponseType :: accept
Generic response id, not used by GTK+ dialogscore :: Pointer :: address_is_null
Is the address behind this Object at NULL?gtk :: GtkResponseType :: cancel
Returned by Cancel buttons in GTK+ dialogs.core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkResponseType :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
gtk :: GtkResponseType :: delete_event
Returned if the dialog is deletedcore :: 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 :: GtkResponseType :: none
Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed.core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkResponseType :: reject
Generic response id, not used by GTK+ dialogs.
# enum GtkResponseType
# Predefined values for use as response ids in gtk_dialog_add_button().
# See: https://developer.gnome.org/gtk3/stable/GtkDialog.html#GtkResponseType
extern class GtkResponseType `{GtkResponseType`}
# Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed.
new none `{ return GTK_RESPONSE_NONE; `}
# Generic response id, not used by GTK+ dialogs.
new reject `{ return GTK_RESPONSE_REJECT; `}
# Generic response id, not used by GTK+ dialogs
new accept `{ return GTK_RESPONSE_ACCEPT; `}
# Returned if the dialog is deleted
new delete_event `{ return GTK_RESPONSE_DELETE_EVENT; `}
# Returned by OK buttons in GTK+ dialogs.
new ok `{ return GTK_RESPONSE_OK; `}
# Returned by Cancel buttons in GTK+ dialogs.
new cancel `{ return GTK_RESPONSE_CANCEL; `}
# Returned by OK Close in GTK+ dialogs.
new close `{ return GTK_RESPONSE_CLOSE; `}
# Returned by OK Yes in GTK+ dialogs.
new yes `{ return GTK_RESPONSE_YES; `}
# Returned by OK No in GTK+ dialogs.
new no `{ return GTK_RESPONSE_NO; `}
# Returned by OK Apply in GTK+ dialogs.
new apply `{ return GTK_RESPONSE_APPLY; `}
# Returned by OK Help in GTK+ dialogs.
new help `{ return GTK_RESPONSE_HELP; `}
end
lib/gtk/v3_4/gtk_dialogs.nit:302,1--337,3