Method

GntWidgetset_focus

Declaration [src]

gboolean
gnt_widget_set_focus (
  GntWidget* widget,
  gboolean set
)

Description [src]

Give or remove focus to a widget.

Parameters

set

Type: gboolean

TRUE if focus should be given to the widget, FALSE if focus should be removed.

Return value

Type: gboolean

TRUE if the focus has been changed, FALSE otherwise.