Table of Contents

Class ButtonContent

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

Methods

GetCanShrink(IntPtr)

Calls native method adw_button_content_get_can_shrink. Version: 1.4

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function adw_button_content_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetIconName(IntPtr)

Calls native method adw_button_content_get_icon_name.

public static extern NonNullableUtf8StringUnownedHandle GetIconName(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetLabel(IntPtr)

Calls native method adw_button_content_get_label.

public static extern NonNullableUtf8StringUnownedHandle GetLabel(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetUseUnderline(IntPtr)

Calls native method adw_button_content_get_use_underline.

public static extern bool GetUseUnderline(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor adw_button_content_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

SetCanShrink(IntPtr, bool)

Calls native method adw_button_content_set_can_shrink. Version: 1.4

[Version("1.4")]
public static extern void SetCanShrink(IntPtr self, bool canShrink)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

canShrink bool

Transfer ownership: None Nullable: False

SetIconName(IntPtr, NonNullableUtf8StringHandle)

Calls native method adw_button_content_set_icon_name.

public static extern void SetIconName(IntPtr self, NonNullableUtf8StringHandle iconName)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

iconName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetLabel(IntPtr, NonNullableUtf8StringHandle)

Calls native method adw_button_content_set_label.

public static extern void SetLabel(IntPtr self, NonNullableUtf8StringHandle label)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

label NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetUseUnderline(IntPtr, bool)

Calls native method adw_button_content_set_use_underline.

public static extern void SetUseUnderline(IntPtr self, bool useUnderline)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

useUnderline bool

Transfer ownership: None Nullable: False