Table of Contents

Class PopoverMenuBar

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

Methods

AddChild(IntPtr, IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_popover_menu_bar_add_child.

public static extern bool AddChild(IntPtr bar, IntPtr child, NonNullableUtf8StringHandle id)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

id NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_popover_menu_bar_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMenuModel(IntPtr)

Calls native method gtk_popover_menu_bar_get_menu_model.

public static extern IntPtr GetMenuModel(IntPtr bar)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

NewFromModel(IntPtr)

Calls native constructor gtk_popover_menu_bar_new_from_model.

public static extern IntPtr NewFromModel(IntPtr model)

Parameters

model IntPtr

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: False

RemoveChild(IntPtr, IntPtr)

Calls native method gtk_popover_menu_bar_remove_child.

public static extern bool RemoveChild(IntPtr bar, IntPtr child)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetMenuModel(IntPtr, IntPtr)

Calls native method gtk_popover_menu_bar_set_menu_model.

public static extern void SetMenuModel(IntPtr bar, IntPtr model)

Parameters

bar IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: True