Top |
GtkWidget * | thunar_location_bar_new () |
void | thunar_location_bar_request_entry () |
void | thunar_location_bar_cancel_search () |
gchar * | thunar_location_bar_get_search_query () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── ThunarLocationBar
void thunar_location_bar_request_entry (ThunarLocationBar *bar
,const gchar *initial_text
,gboolean temporary_till_focus_lost
);
Makes the location bar display an entry with the given text and places the cursor accordingly. If the currently displayed location widget is a path bar, it will be temporarily swapped for an entry widget and swapped back once the user completed (or aborted) the input.
void
thunar_location_bar_cancel_search (ThunarLocationBar *bar
);
Cancels the search for the location bar and its children.
gchar *
thunar_location_bar_get_search_query (ThunarLocationBar *entry
);
Returns a copy of the search query in the text field of entry
or "" if the path_entry doesn't contain
a search query.
It's the responsibility of the caller to free the returned string using g_free
.
“entry-done”
signalvoid user_function (ThunarLocationBar *location_bar, gpointer user_data)
Emitted by location_bar
exactly once after an entry has been requested using
thunar_location_bar_request_entry and the user has finished editing the entry.
Flags: Action