Search code examples
gtkglade

Create popover using glade


I want to create some popover widget using only glade: is it possible?

By popover I mean some window that shows when clicking on a button and that disappears when clicking elsewhere.


Solution

  • Glade 3.20 adds support for GtkPopover, which itself was added in GTK+ 3.12. You'll have to be careful about making sure your generated .ui files are backward compatible (which includes going in and checking the header of the file).