What type of widget should I use to create right click menu in GTK 3 to be easily upgradable to GTK 4?

Hi,

Recently I read that GTKMenu widget is no more available in GTK 4, but I need in my GTK 3 menu when clicking with right mouse button at tree view items.

What type of widget should I use?

You can use a GtkPopover and populate it with a GMenu.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.