Re: problem using pango ...

On Tue, 2013-10-01 at 12:45 -0400, raespi wrote:
Actually this->object is a Gtk::Widget.  I'm implementing a class
hierarchy using the abstract factory pattern, which means that all
widgets should be treated equal in this point where I request to
change the widget's text style.  Can I only change widgets that
inherit from Gtk::Bin ??

Plenty of people get confused by this. I don't like this part of the GTK
+ API either. For instance:

In Glom, I have hidden the ugly dynamic casting, and some other
weirdness, in a utility method:

murrayc murrayc com

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