Pike v8.1 release 6

Method GTK2.Widget()->is_focus()


Method is_focus

int is_focus()

Description

Determines if the widget is the focus widget within its toplevel. (This does not mean that the HAS_FOCUS flag is necessarily set; HAS_FOCUS will only be set if the toplevel widget additionally has the input focus.