Pike v8.1 release 6

Method GTK2.Window()->has_toplevel_focus()


Method has_toplevel_focus

int has_toplevel_focus()

Description

Returns whether the input focus is within this window. For real toplevel windows, this is identical to is_active(), but for embedded windows, like W(Plug), the results will differ.