Gnome.CanvasItem.GrabFocus Method
Makes the specified item take the keyboard focus, so all keyboard events will be sent to it. If the canvas widget itself did not have the focus, it grabs it as well.

Syntax

public void GrabFocus ()

Remarks

Requirements

Namespace: Gnome
Assembly: gnome-sharp (in gnome-sharp.dll)