Re: FileFilter combinations



Hi Kjell

Your suddestion works!

Thank You
  Jody

On Fri, Jan 4, 2013 at 11:18 AM, Kjell Ahlstedt
<kjell ahlstedt bredband net> wrote:
> Have you tried to call Gtk::FileFilter::add_pattern() twice?
>
> filePattern.add_pattern("*.ico");
> filePattern.add_pattern("*.ltc");
>
> 2013-01-03 20:29, jody skrev:
>
>> Hi
>> Is there a possibility to make a Gtk::FileFilter which captures two
>> different masks?
>>
>> Example: i want to create a FileFilter for the FileChooserDialog so
>> that it shows all *.ico and *.ltc (and only those).
>>
>> (A feeble workaround is "*[il][ct][oc]", but here i can get more than
>> i want, e.g. *.lto, *.icc  etc.)
>>
>> I tried "*.ic *.ltc" but this doesn't work....
>>
>> Thank You
>>    Jody
>>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]