Table of Contents

Class RecentManager

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class RecentManager : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
RecentManager
Implements
Inherited Members

Constructors

RecentManager(bool, params ConstructArgument[])

protected RecentManager(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

RecentManager(IntPtr, bool)

protected RecentManager(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<RecentManager> ChangedSignal

Field Value

Signal<RecentManager>

FilenamePropertyDefinition

public static readonly Property<string?, RecentManager> FilenamePropertyDefinition

Field Value

Property<string, RecentManager>

SizePropertyDefinition

public static readonly Property<int, RecentManager> SizePropertyDefinition

Field Value

Property<int, RecentManager>

Properties

Filename

public string? Filename { get; }

Property Value

string

Size

public int Size { get; }

Property Value

int

Methods

AddFull(string, RecentData)

public bool AddFull(string uri, RecentData recentData)

Parameters

uri string
recentData RecentData

Returns

bool

AddItem(string)

public bool AddItem(string uri)

Parameters

uri string

Returns

bool

GetDefault()

public static RecentManager GetDefault()

Returns

RecentManager

GetGType()

public static Type GetGType()

Returns

Type

GetItems()

public List GetItems()

Returns

List

HasItem(string)

public bool HasItem(string uri)

Parameters

uri string

Returns

bool

LookupItem(string)

public RecentInfo? LookupItem(string uri)

Parameters

uri string

Returns

RecentInfo

MoveItem(string, string?)

public bool MoveItem(string uri, string? newUri)

Parameters

uri string
newUri string

Returns

bool

New()

public static RecentManager New()

Returns

RecentManager

PurgeItems()

public int PurgeItems()

Returns

int

RemoveItem(string)

public bool RemoveItem(string uri)

Parameters

uri string

Returns

bool

Events

OnChanged

public event SignalHandler<RecentManager> OnChanged

Event Type

SignalHandler<RecentManager>