I use a collection of toolbar helper methods in all of my activities. It is proposed to make these utils part of the toolkit. It makes it easier for me both to manage the details of creating toolbar items and for managing the slight differences between primary and secondary toolbars. Also, since it is only in the utils that I directly reference the GTK classes, the conversion from GTK2 to GTK3 can be made essentially transparent to my activities from at least the toolbar perspective. And it makes my code much more compact (and arguably easier to read). | I use a collection of toolbar helper methods in all of my activities. It is proposed to make these utils part of the toolkit. It makes it easier for me both to manage the details of creating toolbar items and for managing the slight differences between primary and secondary toolbars. Also, since it is only in the utils that I directly reference the GTK classes, the conversion from GTK2 to GTK3 can be made essentially transparent to my activities from at least the toolbar perspective. And it makes my code much more compact (and arguably easier to read). |