Gtk.ResponseType Enumeration
This enumeration contains the response signals that are emitted by a Gtk.Dialog.

Syntax

[GLib.GType(typeof(Gtk.ResponseTypeGType))]
public enum ResponseType

Remarks

When a button in a Gtk.Dialog is pressed, a response signal is emitted with a response ID. While positive responses are entirely user-defined, the Gtk.ResponseType enumeration (all the members have values less than zero) could be also be used instead for convience.

Members

Member NameDescription
None This is returned if a response widget has no response ID, or has been programmatically hidden or destroyed.
Reject Convenience response type to be used in the constructors of the Gtk.Dialog class.
Accept Convenience response type to be used in the constructors of the Gtk.Dialog class.
DeleteEventThis is returned when the dialog is deleted.
Ok Convenience response type to be used in the constructors of the Gtk.Dialog class.
Cancel Convenience response type to be used in the constructors of the Gtk.Dialog class.
Close Convenience response type to be used in the constructors of the Gtk.Dialog class.
Yes Convenience response type to be used in the constructors of the Gtk.Dialog class.
No Convenience response type to be used in the constructors of the Gtk.Dialog class.
Apply Convenience response type to be used in the constructors of the Gtk.Dialog class.
Help Convenience response type to be used in the constructors of the Gtk.Dialog class.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0