Gtk.Dialog.GetResponseForWidget Method
Gets the response id associated with an action area Widget.

Syntax

public int GetResponseForWidget (Widget widget)

Parameters

widget
A Gtk.Widget in the action area of the dialog.

Returns

an int representing the response id or Response.None if the widget has no response id set.

Remarks

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.8