gtkFileFilterNew: gtkFileFilterNew

Description Usage Details Value Author(s)

View source: R/gtkFuncs.R

Description

Creates a new GtkFileFilter with no rules added to it. Such a filter doesn't accept any files, so is not particularly useful until you add rules with gtkFileFilterAddMimeType, gtkFileFilterAddPattern, or gtkFileFilterAddCustom. To create a filter that accepts any file, use:

1
2
filter <- gtkFileFilter()
filter$addPattern("*")

Usage

1

Details

Since 2.4

Value

[GtkFileFilter] a new GtkFileFilter

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.