Table of Contents

Class ShortcutLabel

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

Methods

GetAccelerator(IntPtr)

Calls native method gtk_shortcut_label_get_accelerator.

public static extern NullableUtf8StringUnownedHandle GetAccelerator(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetDisabledText(IntPtr)

Calls native method gtk_shortcut_label_get_disabled_text.

public static extern NullableUtf8StringUnownedHandle GetDisabledText(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_shortcut_label_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle)

Calls native constructor gtk_shortcut_label_new.

public static extern IntPtr New(NonNullableUtf8StringHandle accelerator)

Parameters

accelerator NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

SetAccelerator(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_shortcut_label_set_accelerator.

public static extern void SetAccelerator(IntPtr self, NonNullableUtf8StringHandle accelerator)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

accelerator NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetDisabledText(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_shortcut_label_set_disabled_text.

public static extern void SetDisabledText(IntPtr self, NonNullableUtf8StringHandle disabledText)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

disabledText NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False