Re: Location entry in GtkFileChooser
- From: Carlos Pereira <jose carlos pereira ist utl pt>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Location entry in GtkFileChooser
- Date: Tue, 15 Apr 2008 12:39:31 +0100
Martin (OPENGeoMap) wrote:
Hullo,
In a GTkFilechooser, how can I acess the information
on the Location entry? I only find functions to get
the full filename and uri but not the actual short
filename...
I don´t understand well??
are you talking about filters???
No,
I am talking about the GtkEntry that is next to the GtkLabel that
says "Location:", the place where the file shortname is written.
So if I write foo.xml, I want to get that shortname back, not just the
fullname,
Carlos
Something like this??
GtkFileFilter *filter;
filter = gtk_file_filter_new ();
gtk_file_filter_add_pattern (filter, "*.doc");
gtk_file_filter_set_name (filter, "microsoft word");
gtk_file_chooser_add_filter (dialog,filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]