I have a GtkPopoverMenuBar, and the custom attribute in the menu model works only for the first submenu (submenus that the menu bar buttons drop down). When the I try adding a custom widget for a menu item in a nested submenu (below the menubar submenus), gtk_popover_menu_bar_add_child() returns FALSE.
I have tried debugging and it seems that the GtkMenuSectionBox in gtk_menu_section_box_add_custom() is not the same as the one the custom attribute was added to in gtk_menu_section_box_insert_func()at the gtk_menu_tracker_item_get_custom (item) branch
Is this a bug or am I missing something? Thanks