Table of Contents

Class UriLauncher

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

Methods

GetGType()

Calls native function gtk_uri_launcher_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetUri(IntPtr)

Calls native method gtk_uri_launcher_get_uri. Version: 4.10

[Version("4.10")]
public static extern NullableUtf8StringUnownedHandle GetUri(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

Launch(IntPtr, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method gtk_uri_launcher_launch. Version: 4.10

[Version("4.10")]
public static extern void Launch(IntPtr self, IntPtr parent, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

parent IntPtr

Transfer ownership: None Nullable: True

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

LaunchFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method gtk_uri_launcher_launch_finish. Version: 4.10

[Version("4.10")]
public static extern bool LaunchFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

New(NullableUtf8StringHandle)

Calls native constructor gtk_uri_launcher_new. Version: 4.10

[Version("4.10")]
public static extern IntPtr New(NullableUtf8StringHandle uri)

Parameters

uri NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetUri(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_uri_launcher_set_uri. Version: 4.10

[Version("4.10")]
public static extern void SetUri(IntPtr self, NullableUtf8StringHandle uri)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

uri NullableUtf8StringHandle

Transfer ownership: None Nullable: True