Window.focus

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

class Window
void
focus
()

Parameters

timestamp uint

timestamp of the event triggering the window focus