Toplevel.focus
void focus(uint timestamp)Sets keyboard focus to surface.
In most cases, [[gtk.window.Window.presentWithTime]](../gtk4/method.Window.present_with_time.html) should be used on a GtkWindow, rather than calling this function.
Parameters
timestamp | timestamp of the event triggering the surface focus |