Table of Contents

Class LinkButton

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

Methods

GetGType()

Calls native function gtk_link_button_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetUri(IntPtr)

Calls native method gtk_link_button_get_uri.

public static extern NonNullableUtf8StringUnownedHandle GetUri(IntPtr linkButton)

Parameters

linkButton IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetVisited(IntPtr)

Calls native method gtk_link_button_get_visited.

public static extern bool GetVisited(IntPtr linkButton)

Parameters

linkButton IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle)

Calls native constructor gtk_link_button_new.

public static extern IntPtr New(NonNullableUtf8StringHandle uri)

Parameters

uri NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithLabel(NonNullableUtf8StringHandle, NullableUtf8StringHandle)

Calls native constructor gtk_link_button_new_with_label.

public static extern IntPtr NewWithLabel(NonNullableUtf8StringHandle uri, NullableUtf8StringHandle label)

Parameters

uri NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

label NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: False

SetUri(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_link_button_set_uri.

public static extern void SetUri(IntPtr linkButton, NonNullableUtf8StringHandle uri)

Parameters

linkButton IntPtr

Transfer ownership: None Nullable: False

uri NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetVisited(IntPtr, bool)

Calls native method gtk_link_button_set_visited.

public static extern void SetVisited(IntPtr linkButton, bool visited)

Parameters

linkButton IntPtr

Transfer ownership: None Nullable: False

visited bool

Transfer ownership: None Nullable: False