[gtkmm] Inheriting from Gtk::Action?



Hi all,

I'm currently trying to derive a custom Action class and I have absolutely no
idea how to go about doing it. The constructors for Gtk::Action are private so
how on earth am I supposed to call the parent constructor from a derived class?
I've poked through the documentation and there's no section on inheritance and
no clear example.

I get the impression that I have to jump through wierd hoops and call
Glib::Object and Glib::ObjectBase constructors but this all seems to be
undocumented.

I guess this is just a specific case of any widget that uses static create
methods rather than constructors.

Any help would be much appreciated.

--phil







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