set_focus_on_click


Description:

public void set_focus_on_click (bool focus_on_click)

Sets whether the combo box will grab focus when it is clicked with the mouse.

Note:

Use gtk_widget_set_focus_on_click instead

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.

Parameters:

this

a ComboBox

focus_on_click

whether the combo box grabs focus when clicked with the mouse