I am starting to try out some gui libs with c++ interface.
Actually I try some examples with gtkmm. Simple examples work, but now I search for a canvas. I found libgnomecanvasmm with seems to be part of libgnomemm with seems to be usable under gtkmm I hope!
But I have not found a simple example how I can add the libgnomecanvas with the gtkmm interface.
Could someone help me with a simple prog with draw a single line in a window with contains only the canvas as an example.
It seems terrible hard to get any real working examples. There seems to be only the class diagrams without any documentation. I am searching for days now but couldn’t find any usable code.
Edit:
Ok, I will check for goocanvasmm. The packages I could install have no example code. Also the net did not offer an example!? Can anyone point me to one? The documentation I found is nearly empty, only the doxygen generated class hierarchy is in. Functions without descriptions are very helpful 🙂
libgnomecanvas and libgnomecanvasmm are deprecated and have not been maintained for years. There is still no official replacement, but goocanvas (wrapped by goocanvasmm) is fairly popular and sane.
However, there are examples in the libgnomecanvasmm tarball. But I wouldn’t touch it now (I once maintained it).