Method

GtkComboBoxset_focus_on_click

deprecated: 3.20 since: 2.6

Declaration [src]

void
gtk_combo_box_set_focus_on_click (
  GtkComboBox* combo,
  gboolean focus_on_click
)

Description [src]

Sets whether the combo box will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don’t want the keyboard focus removed from the main area of the application.

Available since: 2.6

Deprecated since: 3.20

Use gtk_widget_set_focus_on_click() instead.

Parameters

focus_on_click

Type: gboolean

Whether the combo box grabs focus when clicked with the mouse.