Class UriLauncher
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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
parent
IntPtrTransfer ownership: None Nullable: True
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer 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
NullableUtf8StringHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
uri
NullableUtf8StringHandleTransfer ownership: None Nullable: True