Method

GntWidgetset_has_focus

since: 2.14

Declaration [src]

void
gnt_widget_set_has_focus (
  GntWidget* widget,
  gboolean has_focus
)

Description [src]

Sets the has-focus flag on a widget. Note, setting this flag does not necessarily mean the widget will have focus.

This is mostly for internal use; you probably want to use gnt_widget_set_focus() instead.

Available since: 2.14

Parameters

has_focus

Type: gboolean

Whether or not the widget has focus.