Jonathon Jongsma has just updated the DrawingArea chapter of the gtkmm book to describe use of Cairo via cairomm, as used by gtkmm 2.9 (only in CVS for now), with several examples. This is good stuff.
4 thoughts on “Cairo with gtkmm: documentation”
Comments are closed.
Interesting: this is the second C++ wrapper for Cairo that I’ve heard of. (The first was being done by the Mozilla folk.)
I have one too :D, but my clock was made with pygtk, and pycairo, but i made ir with the old API of cairo, because with de new API it dosn’t work ok.
Bye.
http://eric.blackxog.com/files/python-cairo/
http://eric.blackxog.com/files/python-cairo/ClockGladeApp-new_API/
Thanks Murray. Glad to help out. I didn’t realize that mozilla had a C++ wrapper for Cairo. Apparently it’s called Thebes (http://lxr.mozilla.org/seamonkey/source/gfx/thebes/) and isn’t (yet?) offered as a standalone library. Just from a quick look at the Mozilla wrapper, I think I prefer the cairomm approach, though.