Documentation.
This commit is contained in:
parent
6494eb386b
commit
74cdc9ad9e
1 changed files with 2 additions and 2 deletions
4
file.go
4
file.go
|
@ -71,8 +71,8 @@ func Filename(filename string) Option {
|
||||||
// and only supports filtering by extension
|
// and only supports filtering by extension
|
||||||
// (or "uniform type identifiers").
|
// (or "uniform type identifiers").
|
||||||
//
|
//
|
||||||
// Patterns may use the GTK syntax on all platforms:
|
// Patterns may use the fnmatch syntax on all platforms:
|
||||||
// https://developer.gnome.org/pygtk/stable/class-gtkfilefilter.html#method-gtkfilefilter--add-pattern
|
// https://docs.python.org/3/library/fnmatch.html
|
||||||
type FileFilter struct {
|
type FileFilter struct {
|
||||||
Name string // display string that describes the filter (optional)
|
Name string // display string that describes the filter (optional)
|
||||||
Patterns []string // filter patterns for the display string
|
Patterns []string // filter patterns for the display string
|
||||||
|
|
Loading…
Reference in a new issue