Method

GntWidgethas_focus

Declaration [src]

gboolean
gnt_widget_has_focus (
  GntWidget* widget
)

Description [src]

Check whether a widget has focus.

Return value

Type: gboolean

TRUE if the widget has the current focus, FALSE otherwise.