Table of Contents

Class HeaderBar

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

Methods

GetDecorationLayout(IntPtr)

Calls native method gtk_header_bar_get_decoration_layout.

public static extern NullableUtf8StringUnownedHandle GetDecorationLayout(IntPtr bar)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_header_bar_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetShowTitleButtons(IntPtr)

Calls native method gtk_header_bar_get_show_title_buttons.

public static extern bool GetShowTitleButtons(IntPtr bar)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetTitleWidget(IntPtr)

Calls native method gtk_header_bar_get_title_widget.

public static extern IntPtr GetTitleWidget(IntPtr bar)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

New()

Calls native constructor gtk_header_bar_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

PackEnd(IntPtr, IntPtr)

Calls native method gtk_header_bar_pack_end.

public static extern void PackEnd(IntPtr bar, IntPtr child)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

PackStart(IntPtr, IntPtr)

Calls native method gtk_header_bar_pack_start.

public static extern void PackStart(IntPtr bar, IntPtr child)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

Remove(IntPtr, IntPtr)

Calls native method gtk_header_bar_remove.

public static extern void Remove(IntPtr bar, IntPtr child)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

SetDecorationLayout(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_header_bar_set_decoration_layout.

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

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

layout NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetShowTitleButtons(IntPtr, bool)

Calls native method gtk_header_bar_set_show_title_buttons.

public static extern void SetShowTitleButtons(IntPtr bar, bool setting)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

setting bool

Transfer ownership: None Nullable: False

SetTitleWidget(IntPtr, IntPtr)

Calls native method gtk_header_bar_set_title_widget.

public static extern void SetTitleWidget(IntPtr bar, IntPtr titleWidget)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

titleWidget IntPtr

Transfer ownership: None Nullable: True