Table of Contents

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 bool
constructArguments ConstructArgument[]

FileFilter(IntPtr, bool)

protected FileFilter(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

NamePropertyDefinition

public static readonly Property<string?, FileFilter> NamePropertyDefinition

Field Value

Property<string, FileFilter>

Properties

Name

public string? Name { get; set; }

Property Value

string

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

string

GetGType()

public static Type GetGType()

Returns

Type

GetName()

public string? GetName()

Returns

string

New()

public static FileFilter New()

Returns

FileFilter

NewFromGvariant(Variant)

public static FileFilter NewFromGvariant(Variant variant)

Parameters

variant Variant

Returns

FileFilter

SetName(string?)

public void SetName(string? name)

Parameters

name string

ToGvariant()

public Variant ToGvariant()

Returns

Variant