Method

GtkWidgetset_can_focus

since: 2.18

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

Type: gboolean

Whether or not widget can own the input focus.