file: searchentry.aus

class: GtkSearchEntryNextmatchCallback

[603:7] extends: object

Generated low-level callback wrapper for GIR callback next-match.

Members

Methods

class: GtkSearchEntryMeta

[953:14] static extends: object

Generated metadata helpers for SearchEntry class surfaces.

Methods

class: GtkSearchEntrySearchstartedCallback

[813:7] extends: object

Generated low-level callback wrapper for GIR callback search-started.

Members

Methods

class: GtkSearchEntry

[40:7] extends: object

A single-line text entry widget for use as a search entry. The main API for interacting with a GtkSearchEntry as entry is the GtkEditable interface. An example GtkSearchEntry 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 entry text immediately, but only after a short delay. To support this, GtkSearchEntry emits the [signal@Gtk.SearchEntry::search-changed] signal which can be used instead of the [signal@Gtk.Editable::changed] signal. The [signal@Gtk.SearchEntry::previous-match], [signal@Gtk.SearchEntry::next-match] and [signal@Gtk.SearchEntry::stop-search] signals can be used to implement moving between search results and ending the search. Often, GtkSearchEntry will be fed events by means of being placed inside a [class@Gtk.SearchBar]. If that is not the case, you can use [method@Gtk.SearchEntry.set_key_capture_widget] to let it capture key input from another widget. GtkSearchEntry provides only minimal API and should be used with the [iface@Gtk.Editable] API. ## Shortcuts and Gestures The following signals have default keybindings: - [signal@Gtk.SearchEntry::activate] - [signal@Gtk.SearchEntry::next-match] - [signal@Gtk.SearchEntry::previous-match] - [signal@Gtk.SearchEntry::stop-search] ## CSS Nodes entry.search ╰── text GtkSearchEntry has a single CSS node with name entry that carries a .search style class, and the text node is a child of that. ## Accessibility GtkSearchEntry uses the [enum@Gtk.AccessibleRole.search_box] role.

Members

Methods

class: GtkSearchEntrySearchchangedCallback

[743:7] extends: object

Generated low-level callback wrapper for GIR callback search-changed.

Members

Methods

class: GtkSearchEntryStopsearchCallback

[883:7] extends: object

Generated low-level callback wrapper for GIR callback stop-search.

Members

Methods

class: GtkSearchEntryPreviousmatchCallback

[673:7] extends: object

Generated low-level callback wrapper for GIR callback previous-match.

Members

Methods

class: GtkSearchEntryActivateCallback

[533:7] extends: object

Generated low-level callback wrapper for GIR callback activate.

Members

Methods