Package: gtk

Accessor gtk-combo-box-focus-on-click

Lambda List

gtk-combo-box-focus-on-click (object)

Syntax

(gtk-combo-box-focus-on-click object) => focus-on-click
(setf (gtk-combo-box-focus-on-click object) focus-on-click)

Arguments

object -- a gtk-combo-box widget
focus-on-click -- a boolean whether the combo box grabs focus when clicked with the mouse

Details

Accessor of the focus-on-click slot of the gtk-combo-box class.

The slot access function gtk-combo-box-focus-on-click returns whether the combo box grabs focus when it is clicked with the mouse. The slot access function (setf gtk-combo-box-focus-on-click) sets whether the combo box will grab focus.

Making mouse clicks not grab focus is useful in places like toolbars where you do not want the keyboard focus removed from the main area of the application.

Warning

The function gtk-combo-box-focus-on-click has been deprecated since version 3.20 and should not be used in newly written code. Use the function gtk-widget-focus-on-click instead.
 

See also

2021-3-12