Class PopoverMenuBar
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
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer ownership: None Nullable: False
id
NonNullableUtf8StringHandleTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer 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)