Package: gtk
Class gtk:search-entry
Superclassesgtk:widget, gobject:initially-unowned, gtk:accessible, gtk:buildable, gtk:constraint-target, gtk:editable, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:search-entry widget is a text entry that has been tailored
for use as a search entry. The main API for interacting with a gtk:search-entry widget as entry is the gtk:editable interface. ![]() It will show an inactive symbolic find icon when the search entry is empty, and a symbolic clear icon when there is text. Clicking on the clear icon will empty the search entry. To make filtering appear more reactive, it is a good idea to not react to every change in the search entry text immediately, but only after a short delay. To support this, the gtk:search-entry widget emits the "search-changed" signal which can be used instead of the "changed" signal. The "previous-match", "next-match" and "stop-search" signals can be used to implement moving between search results and ending the search. Often, the gtk:search-entry widget will be fed events by means of being placed inside a gtk:search-bar widget. If that is not the case, you can use the gtk:search-entry-key-capture-widget function to let it capture key input from another widget. CSS Nodesentry.search ╰── textThe gtk:search-entry implementation has a single CSS node with name entry that carries a .search style class, and the text node is a child of that. AccessibilitySignal DetailsThe "activate" signallambda (entry) :action
The "next-match" signallambda (entry) :action
The "previous-match" signallambda (entry) :action
The "search-changed" signallambda (entry) :run-last
The "stop-search" signallambda (entry) :action
| Returned bySlot Access Functions
Inherited Slot Access FunctionsSee also |
2024-5-26