set_key_capture_widget


Description:

public void set_key_capture_widget (Widget? widget)

Sets widget as the widget that this will capture key events from.

Key events are consumed by the search entry to start or continue a search.

If the entry is part of a SearchBar, it is preferable to call set_key_capture_widget instead, which will reveal the entry in addition to triggering the search entry.

Parameters:

this

a SearchEntry

widget

a Widget