Window.focus

void focus(uint timestamp)

Sets keyboard focus to window. In most cases, [gtk.window.Window.presentWithTime] should be used on a #GtkWindow, rather than calling this function.

Parameters

timestamptimestamp of the event triggering the window focus