Shaped windows in gtkmm

How do I create shaped windows in Gtkmm. The shape must be defined using cairomm.