Gtk.Widget.HasDefault Property
true when the widget currently is receiving the default action.

Syntax

[GLib.Property("has-default")]
public bool HasDefault { set; get; }

Value

Evaluates to trueif the widget currently is receiving the default action.

Remarks

When the widget is focused will receive the default action, and HasDefault will be true even if there is a different widget set as default.

Requirements

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