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

The accessor for the show-close-button slot of the gtk:search-bar class gets or sets whether the Close button is shown.

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

2025-08-11