Package: gtk

Accessor gtk-widget-focus-on-click

Lambda List

gtk-widget-focus-on-click (object)

Syntax

(gtk-widget-expand object) => focus-on-click
(setf (gtk-widget-expand object) focus-on-click)

Arguments

object -- a gtk-widget object

Details

Accessor of the slot focus-on-click of the gtk-widget class.

The generic function (setf gtk-widget-events) sets the event mask for widget.

The generic function gtk-widget-focus-on-click returns t if the widget should grab focus when it is clicked with the mouse.

The generic function (setf gtk-widget-focus-on-click) sets whether the widget should 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.

Since 3.20
 

See also

2019-3-5