Table of Contents

Class WindowControls

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

Methods

GetDecorationLayout(IntPtr)

Calls native method gtk_window_controls_get_decoration_layout.

public static extern NullableUtf8StringUnownedHandle GetDecorationLayout(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetEmpty(IntPtr)

Calls native method gtk_window_controls_get_empty.

public static extern bool GetEmpty(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_window_controls_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetSide(IntPtr)

Calls native method gtk_window_controls_get_side.

public static extern PackType GetSide(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

PackType

Transfer ownership: None Nullable: False

New(PackType)

Calls native constructor gtk_window_controls_new.

public static extern IntPtr New(PackType side)

Parameters

side PackType

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

SetDecorationLayout(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_window_controls_set_decoration_layout.

public static extern void SetDecorationLayout(IntPtr self, NullableUtf8StringHandle layout)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

layout NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetSide(IntPtr, PackType)

Calls native method gtk_window_controls_set_side.

public static extern void SetSide(IntPtr self, PackType side)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

side PackType

Transfer ownership: None Nullable: False