Package: gtk

Accessor gtk-file-chooser-button-focus-on-click

Lambda List

gtk-file-chooser-button-focus-on-click (object)

Syntax

(gtk-file-chooser-button-focus-on-click object) => focus-on-click
(setf (gtk-file-chooser-button-focus-on-click object) focus-on-click)

Arguments

object -- a gtk-file-chooser-button widget to modify
focus-on-click -- a boolean whether the button grabs focus when clicked with the mouse

Details

Accessor of the focus-on-click slot of the gtk-file-chooser-button class.

The slot access function gtk-file-chooser-button-focus-on-click returns whether the button grabs focus when it is clicked with the mouse. The slot access function (setf gtk-file-chooser-button-focus-on-click) sets whether the button 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-file-chooser-button-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

2021-2-5