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 gtk:combo-box-focus-on-click function returns whether the combo box grabs focus when it is clicked with the mouse. The (setf gtk:combo-box-focus-on-click) function 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 gtk:combo-box-focus-on-click function has been deprecated since version 3.20 and should not be used in newly written code. Use the gtk:widget-focus-on-click function instead.
 

See also

#2023-3-17