Class FileFilter
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class FileFilter : Filter, IObject, INotifyPropertyChanged, IDisposable, Buildable, IHandle, GTypeProvider
- Inheritance
-
FileFilter
- Implements
- Inherited Members
Constructors
FileFilter(bool, params ConstructArgument[])
protected FileFilter(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
FileFilter(IntPtr, bool)
protected FileFilter(IntPtr ptr, bool ownedRef)
Parameters
Fields
NamePropertyDefinition
public static readonly Property<string?, FileFilter> NamePropertyDefinition
Field Value
Properties
Name
public string? Name { get; set; }
Property Value
Methods
AddMimeType(string)
public void AddMimeType(string mimeType)
Parameters
mimeType
string
AddPattern(string)
public void AddPattern(string pattern)
Parameters
pattern
string
AddPixbufFormats()
public void AddPixbufFormats()
AddSuffix(string)
[Version("4.4")]
public void AddSuffix(string suffix)
Parameters
suffix
string
GetAttributes()
public string[] GetAttributes()
Returns
- string[]
GetBuildableId()
public string? GetBuildableId()
Returns
GetGType()
public static Type GetGType()
Returns
GetName()
public string? GetName()
Returns
New()
public static FileFilter New()
Returns
NewFromGvariant(Variant)
public static FileFilter NewFromGvariant(Variant variant)
Parameters
variant
Variant
Returns
SetName(string?)
public void SetName(string? name)
Parameters
name
string
ToGvariant()
public Variant ToGvariant()