enum Gtk::ResponseType


Predefined values for use as response ids in gtk_dialog_add_button().

All predefined values are negative; GTK leaves values of 0 or greater for application-defined response ids.

Defined in:


Enum Members

None = -1

Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed

Reject = -2

Generic response id, not used by GTK dialogs

Accept = -3

Generic response id, not used by GTK dialogs

DeleteEvent = -4

Returned if the dialog is deleted

Ok = -5

Returned by OK buttons in GTK dialogs

Cancel = -6

Returned by Cancel buttons in GTK dialogs

Close = -7

Returned by Close buttons in GTK dialogs

Yes = -8

Returned by Yes buttons in GTK dialogs

No = -9

Returned by No buttons in GTK dialogs

Apply = -10

Returned by Apply buttons in GTK dialogs

Help = -11

Returned by Help buttons in GTK dialogs

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.

[View source]

Instance Method Detail

def accept? #

[View source]
def apply? #

[View source]
def cancel? #

[View source]
def close? #

[View source]
def delete_event? #

[View source]
def help? #

[View source]
def no? #

[View source]
def none? #

[View source]
def ok? #

[View source]
def reject? #

[View source]
def yes? #

[View source]