Table of Contents

Class Toast

Namespace
Adw.Internal
Assembly
Adw-1.dll
public class Toast
Inheritance
Toast
Inherited Members

Methods

Dismiss(IntPtr)

Calls native method adw_toast_dismiss.

public static extern void Dismiss(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

GetActionName(IntPtr)

Calls native method adw_toast_get_action_name.

public static extern NullableUtf8StringUnownedHandle GetActionName(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetActionTargetValue(IntPtr)

Calls native method adw_toast_get_action_target_value.

public static extern VariantUnownedHandle GetActionTargetValue(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

VariantUnownedHandle

Transfer ownership: None Nullable: True

GetButtonLabel(IntPtr)

Calls native method adw_toast_get_button_label.

public static extern NullableUtf8StringUnownedHandle GetButtonLabel(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetCustomTitle(IntPtr)

Calls native method adw_toast_get_custom_title. Version: 1.2

[Version("1.2")]
public static extern IntPtr GetCustomTitle(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function adw_toast_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetPriority(IntPtr)

Calls native method adw_toast_get_priority.

public static extern ToastPriority GetPriority(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

ToastPriority

Transfer ownership: None Nullable: False

GetTimeout(IntPtr)

Calls native method adw_toast_get_timeout.

public static extern uint GetTimeout(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetTitle(IntPtr)

Calls native method adw_toast_get_title.

public static extern NullableUtf8StringUnownedHandle GetTitle(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetUseMarkup(IntPtr)

Calls native method adw_toast_get_use_markup. Version: 1.4

[Version("1.4")]
public static extern bool GetUseMarkup(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle)

Calls native constructor adw_toast_new.

public static extern IntPtr New(NonNullableUtf8StringHandle title)

Parameters

title NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetActionName(IntPtr, NullableUtf8StringHandle)

Calls native method adw_toast_set_action_name.

public static extern void SetActionName(IntPtr self, NullableUtf8StringHandle actionName)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

actionName NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetActionTargetValue(IntPtr, VariantHandle)

Calls native method adw_toast_set_action_target_value.

public static extern void SetActionTargetValue(IntPtr self, VariantHandle actionTarget)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

actionTarget VariantHandle

Transfer ownership: None Nullable: True

SetButtonLabel(IntPtr, NullableUtf8StringHandle)

Calls native method adw_toast_set_button_label.

public static extern void SetButtonLabel(IntPtr self, NullableUtf8StringHandle buttonLabel)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

buttonLabel NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetCustomTitle(IntPtr, IntPtr)

Calls native method adw_toast_set_custom_title. Version: 1.2

[Version("1.2")]
public static extern void SetCustomTitle(IntPtr self, IntPtr widget)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: True

SetDetailedActionName(IntPtr, NullableUtf8StringHandle)

Calls native method adw_toast_set_detailed_action_name.

public static extern void SetDetailedActionName(IntPtr self, NullableUtf8StringHandle detailedActionName)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

detailedActionName NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetPriority(IntPtr, ToastPriority)

Calls native method adw_toast_set_priority.

public static extern void SetPriority(IntPtr self, ToastPriority priority)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

priority ToastPriority

Transfer ownership: None Nullable: False

SetTimeout(IntPtr, uint)

Calls native method adw_toast_set_timeout.

public static extern void SetTimeout(IntPtr self, uint timeout)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

timeout uint

Transfer ownership: None Nullable: False

SetTitle(IntPtr, NonNullableUtf8StringHandle)

Calls native method adw_toast_set_title.

public static extern void SetTitle(IntPtr self, NonNullableUtf8StringHandle title)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

title NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetUseMarkup(IntPtr, bool)

Calls native method adw_toast_set_use_markup. Version: 1.4

[Version("1.4")]
public static extern void SetUseMarkup(IntPtr self, bool useMarkup)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

useMarkup bool

Transfer ownership: None Nullable: False