Package: gtk

Function gtk:tree-view-search-entry

Lambda List

gtk:tree-view-search-entry (view)

Syntax

(gtk:tree-view-search-entry view) => entry
(setf (gtk:tree-view-search-entry view) entry)

Arguments

view -- a gtk:tree-view widget
entry -- a gtk:entry widget the interactive search code of the tree view should use or nil

Details

Accessor of the gtk:entry widget which is currently in use as interactive search entry for the tree view. The gtk:tree-view-search-entry function returns the search entry which is currently in use as interactive search entry for the tree view. In case the built-in entry is being used, nil will be returned. The (setf gtk:tree-view-search-entry) function sets the search entry.

This is useful when you want to provide a search entry in your interface at all time at a fixed position. Passing nil for entry will make the interactive search code use the built-in popup entry again.
 

See also

#2024-3-10