Gtk.SearchEntry.new

function new():Gtk.Widget {
    // Gjs wrapper for gtk_search_entry_new()
}

Creates a Gtk.SearchEntry, with a find icon when the search field is empty, and a clear icon when it isn't.

Since 3.6

Returns

a new Gtk.SearchEntry