gtkmm – example 21

This is part of a more general work dedicated to gtkmm accessible here. This example shows how to create a popup menu (right click contextual menu) inside a drawing Widget (with Cairo). This code can easily be extended to other widgets.