Method GTK2.Window()->has_toplevel_focus()

class GTK2.Window

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.