[gtkmm] documentation inconsistency



Hi,

been playing around with gtkmm-2.0.1 and I have hard time with official documents:

http://gtkmm.sourceforge.net/gtkmm2/docs/tutorial/html/ch14.html for
instance suggests creating of Graphics Contexts object with
Gdk::GC::GC(), which is not possible since the that constructor is not
accessible:

/usr/include/gtkmm-2.0/gdkmm/gc.h: In member function `virtual bool Athila_FileDrawingArea::on_expose_event(GdkEventExpose*)':
/usr/include/gtkmm-2.0/gdkmm/gc.h:378: `Gdk::GC::GC()' is protected
Athila_FileDrawingArea.cc:13: within this context

Where can i find "up to date" docs, since digging through actual
implementation files takes long long time ? Or maybe I'm doing
something wrong, not a c++ wizard really.

Regards
Milos



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]