Top |
GtkWidget * | thunar_path_entry_new () |
ThunarFile * | thunar_path_entry_get_current_file () |
void | thunar_path_entry_set_current_file () |
void | thunar_path_entry_set_working_directory () |
gchar * | thunar_path_entry_get_search_query () |
void | thunar_path_entry_cancel_search () |
GtkWidget *
thunar_path_entry_new (void
);
Allocates a new ThunarPathEntry instance.
ThunarFile *
thunar_path_entry_get_current_file (ThunarPathEntry *path_entry
);
Returns the ThunarFile currently being displayed by
path_entry
or NULL
if path_entry
doesn't contain
a valid ThunarFile.
void thunar_path_entry_set_current_file (ThunarPathEntry *path_entry
,ThunarFile *current_file
);
Sets the ThunarFile that should be displayed by
path_entry
to current_file
.
void thunar_path_entry_set_working_directory (ThunarPathEntry *path_entry
,ThunarFile *directory
);
Sets the ThunarFile that should be used as the
working directory for path_entry
.
gchar *
thunar_path_entry_get_search_query (ThunarPathEntry *path_entry
);
Returns a copy of the search query in the text field of the path_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
.
void
thunar_path_entry_cancel_search (ThunarPathEntry *path_entry
);
“current-file”
property“current-file” ThunarFile *
The ThunarFile currently displayed by the path entry or NULL
.
Owner: ThunarPathEntry
Flags: Read / Write