Method

GtkWidgetset_can_focus

Declaration [src]

void
gtk_widget_set_can_focus (
  GtkWidget* widget,
  gboolean can_focus
)

Description [src]

Specifies whether widget can own the input focus. See gtk_widget_grab_focus() for actually setting the input focus on a widget.

Available since:2.18
Sets propertyGtk.Widget:can-focus

Parameters

can_focus gboolean
 

Whether or not widget can own the input focus.