GtkFileChooser and case sensitive filters
- From: Luke Biddell <luke biddell gmail com>
- To: gtk-app-devel-list gnome org
- Subject: GtkFileChooser and case sensitive filters
- Date: Sat, 1 Oct 2005 01:08:59 +0100
If there any way to set a GtkFileFilter to be case insensitive?
For example I want users to be able to see .cue, .CUE files etc. Here
is the code I am using:
GtkFileFilter *imagefilter = gtk_file_filter_new();
gtk_file_filter_add_pattern (imagefilter, "*.iso");
gtk_file_filter_add_pattern (imagefilter, "*.toc");
gtk_file_filter_add_pattern (imagefilter, "*.cue");
gtk_file_filter_set_name(imagefilter,_("CD Image files"));
and I only get .cue files in the chooser. My apologies if I've missed
something obvious in the docs, it's getting late here :-)
Thanks
Luke
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]