Just one more:

4) Should child widgets be stored as pointers as in glyph.h or directly as in text-edit.h?

Tomek


On Wed, May 21, 2014 at 6:39 PM, Tomasz Boczkowski <penginsbacon@...1857...00...> wrote:
Hi!

I started porting inkscape widgets to gtkmm and c++ and have a few questions:

1) There are two directories src/widgets and src/ui/widget. Is the former deprecated? 
2) Should I move classes to src/ui/widget after c++-sification? 
3) What is the proper macro to differentiate between gtk versions? GTK_CHECK_VERSION(3,0,0) or WITH_GTKMM_3_0?

Regards,
  Tomek