28 Sep
2005
28 Sep
'05
7:56 a.m.
On Sep 28, 2005, at 12:44 AM, Ralf Stephan wrote:
mental:
Okay, whoever decided to derive a view class from Gtk::Window ... that was NOT a good idea.
I do not understand. How would this class "derive" from Gtk::Window?
class View { public:
View(); virtual ~View();
I think Mental meant Edit over in src/ui/view/edit.h
... namespace UI { namespace View {
class Edit : public Gtk::Window, View { ...
So you can see that Inkscape::UI::View::Edit is "a view class" (derives from Inkscape::UI::View::View) and at the same time also derives from Gtk::Window. I think the key word in there is "a" (easy to miss).