Gtk.Dialog Members

The members of Gtk.Dialog are listed below.

See Also: Inherited members from Gtk.Window

Public Constructors

Creates a new dialog box.
Internal constructor
Creates a new dialog box.

Protected Constructors

Protected Constructor.

Public Properties

[read-only]
ActionAreaHButtonBox. The area of the Dialog where the action widgets are placed.
[write-only]
AlternativeButtonOrderint[]. AlternativeButtonOrder property.
[write-only]
DefaultResponseResponseType. Sets the default response_id.
[read-only]
static
GTypeGLib.GType. GType Property.
HasSeparatorbool. Whether to display a Gtk.HSeperator.
[read-only]
VBoxVBox. The Gtk.VBox that contains other widgets in this dialog.

Public Methods

AddActionWidget(Widget, ResponseType)
Adds an activatable widget to the Gtk.Dialog.ActionArea of a Gtk.Dialog.
AddActionWidget(Widget, int)
Adds an activatable widget to the Gtk.Dialog.ActionArea of a Gtk.Dialog.
AddButton(string, ResponseType) : Widget
Adds a new response button to the dialog.
AddButton(string, int) : Widget
Adds a Gtk.Button with the given text.
GetResponseForWidget(Widget) : int
Gets the response id associated with an action area Widget.
Respond(ResponseType)
Activate one of the responses.
Respond(int)
Emits the Dialog.Response event with the given response ID.
Run() : int
Waits for the Dialog.Response event or the Gtk.Dialog to be destroyed.
SetAlternativeButtonOrderFromArray(int) : int
Documentation for this section has not yet been entered.
SetResponseSensitive(ResponseType, bool)
A convenient way to sensitize/desensitize dialog buttons.

Protected Methods

OnClose()
Default handler for the Dialog.Close event.
OnResponse(ResponseType)
Default handler for the Dialog.Response event.

Public Events

CloseEmitted when the dialog is closed.
Response Emitted when an action widget is clicked, the Gtk.Dialog receives a delete event, or the application programmer calls Dialog.Respond(int).