Package: gtk

Accessor gtk-search-bar-show-close-button

Lambda List

gtk-search-bar-show-close-button (object)

Syntax

(gtk-search-bar-show-close-button object) => visible
(setf (gtk-search-bar-show-close-button object) visible)

Arguments

object -- a gtk-search-bar widget
visible -- a boolean whether the Close button will be shown or not

Details

Accessor of the show-close-button slot of the gtk-search-bar class.

The function gtk-search-bar-show-close-button returns whether the close button is shown. The function (setf gtk-search-bar-show-close-button shows or hides the Close button.

Applications that already have a "search" toggle button should not show a Close button in their search bar, as it duplicates the role of the toggle button.
 

See also

2020-6-1