Method

GtkSearchBarconnect_entry

since: 3.10

Declaration [src]

void
gtk_search_bar_connect_entry (
  GtkSearchBar* bar,
  GtkEntry* entry
)

Description [src]

Connects the GtkEntry widget passed as the one to be used in this search bar. The entry should be a descendant of the search bar. This is only required if the entry isn’t the direct child of the search bar (as in our main example).

Available since: 3.10

Parameters

entry

Type: GtkEntry

A GtkEntry.

The data is owned by the caller of the method.