W
WoodHacker
Can anyone explain to me how the Gtk::FileFilter work in a
FileChooserDialog? If I do the following, it works:
filter.add_pattern("*.rb")
However, if I try: filter.add_pattern("*.{rb, txt}") it does not
work. (As does nothing else I try)
And in the cases where it works (i.e. "*.rb") it gets a dropdown on the
FileChooser that's labeled "Untitled filter". Pressing it does nothing.
Obviously, I should be able to set the filter to rows labeled "All
Files, Ruby Files, Text Files", etc., with a default of say Ruby files
to start with.
Thanks in advanced...
Bill
FileChooserDialog? If I do the following, it works:
filter.add_pattern("*.rb")
However, if I try: filter.add_pattern("*.{rb, txt}") it does not
work. (As does nothing else I try)
And in the cases where it works (i.e. "*.rb") it gets a dropdown on the
FileChooser that's labeled "Untitled filter". Pressing it does nothing.
Obviously, I should be able to set the filter to rows labeled "All
Files, Ruby Files, Text Files", etc., with a default of say Ruby files
to start with.
Thanks in advanced...
Bill