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 gtk:search-bar-show-close-button function returns whether the Close button is shown. The (setf gtk:search-bar-show-close-button) function 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

2024-4-20