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);
>
>
>
>

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to