Table of Contents

Class RecentInfo

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class RecentInfo
Inheritance
RecentInfo
Inherited Members

Methods

CreateAppInfo(RecentInfoHandle, NullableUtf8StringHandle, out ErrorOwnedHandle)

Calls native method gtk_recent_info_create_app_info.

public static extern IntPtr CreateAppInfo(RecentInfoHandle info, NullableUtf8StringHandle appName, out ErrorOwnedHandle error)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

appName NullableUtf8StringHandle

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: True

Exists(RecentInfoHandle)

Calls native method gtk_recent_info_exists.

public static extern bool Exists(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetAdded(RecentInfoHandle)

Calls native method gtk_recent_info_get_added.

public static extern DateTimeUnownedHandle GetAdded(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

DateTimeUnownedHandle

Transfer ownership: None Nullable: False

GetAge(RecentInfoHandle)

Calls native method gtk_recent_info_get_age.

public static extern int GetAge(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetApplications(RecentInfoHandle, out nuint)

Calls native method gtk_recent_info_get_applications.

public static extern Utf8StringArrayNullTerminatedOwnedHandle GetApplications(RecentInfoHandle info, out nuint length)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

length nuint

Transfer ownership: Full Nullable: False

Returns

Utf8StringArrayNullTerminatedOwnedHandle

Transfer ownership: Full Nullable: False

GetDescription(RecentInfoHandle)

Calls native method gtk_recent_info_get_description.

public static extern NonNullableUtf8StringUnownedHandle GetDescription(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetDisplayName(RecentInfoHandle)

Calls native method gtk_recent_info_get_display_name.

public static extern NonNullableUtf8StringUnownedHandle GetDisplayName(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_recent_info_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetGicon(RecentInfoHandle)

Calls native method gtk_recent_info_get_gicon.

public static extern IntPtr GetGicon(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetGroups(RecentInfoHandle, out nuint)

Calls native method gtk_recent_info_get_groups.

public static extern Utf8StringArrayNullTerminatedOwnedHandle GetGroups(RecentInfoHandle info, out nuint length)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

length nuint

Transfer ownership: Full Nullable: False

Returns

Utf8StringArrayNullTerminatedOwnedHandle

Transfer ownership: Full Nullable: False

GetMimeType(RecentInfoHandle)

Calls native method gtk_recent_info_get_mime_type.

public static extern NonNullableUtf8StringUnownedHandle GetMimeType(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetModified(RecentInfoHandle)

Calls native method gtk_recent_info_get_modified.

public static extern DateTimeUnownedHandle GetModified(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

DateTimeUnownedHandle

Transfer ownership: None Nullable: False

GetPrivateHint(RecentInfoHandle)

Calls native method gtk_recent_info_get_private_hint.

public static extern bool GetPrivateHint(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetShortName(RecentInfoHandle)

Calls native method gtk_recent_info_get_short_name.

public static extern NonNullableUtf8StringOwnedHandle GetShortName(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GetUri(RecentInfoHandle)

Calls native method gtk_recent_info_get_uri.

public static extern NonNullableUtf8StringUnownedHandle GetUri(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetUriDisplay(RecentInfoHandle)

Calls native method gtk_recent_info_get_uri_display.

public static extern NullableUtf8StringOwnedHandle GetUriDisplay(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

GetVisited(RecentInfoHandle)

Calls native method gtk_recent_info_get_visited.

public static extern DateTimeUnownedHandle GetVisited(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

DateTimeUnownedHandle

Transfer ownership: None Nullable: False

HasApplication(RecentInfoHandle, NonNullableUtf8StringHandle)

Calls native method gtk_recent_info_has_application.

public static extern bool HasApplication(RecentInfoHandle info, NonNullableUtf8StringHandle appName)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

appName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

HasGroup(RecentInfoHandle, NonNullableUtf8StringHandle)

Calls native method gtk_recent_info_has_group.

public static extern bool HasGroup(RecentInfoHandle info, NonNullableUtf8StringHandle groupName)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

groupName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsLocal(RecentInfoHandle)

Calls native method gtk_recent_info_is_local.

public static extern bool IsLocal(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

LastApplication(RecentInfoHandle)

Calls native method gtk_recent_info_last_application.

public static extern NonNullableUtf8StringOwnedHandle LastApplication(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

Match(RecentInfoHandle, RecentInfoHandle)

Calls native method gtk_recent_info_match.

public static extern bool Match(RecentInfoHandle infoA, RecentInfoHandle infoB)

Parameters

infoA RecentInfoHandle

Transfer ownership: None Nullable: False

infoB RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Ref(RecentInfoHandle)

Calls native method gtk_recent_info_ref.

public static extern RecentInfoOwnedHandle Ref(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False

Returns

RecentInfoOwnedHandle

Transfer ownership: Full Nullable: False

Unref(RecentInfoHandle)

Calls native method gtk_recent_info_unref.

public static extern void Unref(RecentInfoHandle info)

Parameters

info RecentInfoHandle

Transfer ownership: None Nullable: False