Package: gtk
Class gtk-search-bar
Superclassesgtk-bin, gtk-container, gtk-widget, gtk-buildable, g-object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails gtk-search-bar is a container made to have a search entry built-in,
possibly with additional connex widgets, such as drop-down menus, or
buttons.
The search bar would appear when a search is started through typing on the
keyboard, or the application’s search mode is toggled on. For keyboard presses to start a search, events will need to be forwarded from the toplevel window that contains the search bar. See the gtk-search-bar-handle-event function for example code. Common shortcuts such as the Ctrl+F should be handled as an application action, or through the menu items. You will also need to tell the search bar about which entry you are using as your search entry using the function gtk-search-bar-connect-entry. The following example shows you how to create a more complex search entry. CSS nodesExample#include <gtk/gtk.h> | Slot Access FunctionsInherited Slot Access Functions |
2020-6-1