Table of Contents

Class IconPaintable

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

Methods

GetFile(IntPtr)

Calls native method gtk_icon_paintable_get_file.

public static extern IntPtr GetFile(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetGType()

Calls native function gtk_icon_paintable_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetIconName(IntPtr)

Calls native method gtk_icon_paintable_get_icon_name.

public static extern NullablePlatformStringUnownedHandle GetIconName(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullablePlatformStringUnownedHandle

Transfer ownership: None Nullable: True

IsSymbolic(IntPtr)

Calls native method gtk_icon_paintable_is_symbolic.

public static extern bool IsSymbolic(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

NewForFile(IntPtr, int, int)

Calls native constructor gtk_icon_paintable_new_for_file.

public static extern IntPtr NewForFile(IntPtr file, int size, int scale)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

size int

Transfer ownership: None Nullable: False

scale int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False