Gtk.Widget.Activate Method
For widgets that can be "activated" (buttons, menu items, etc.) this method activates them.

Syntax

public bool Activate ()

Returns

Returns true if the widget was activatable.

Remarks

Activation is what happens when you press Enter on a widget during key navigation; clicking a button, selecting a menu item, etc. If the widget isn't activatable, the method returns false.

Requirements

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