Re: problem using pango ...
- From: Murray Cumming <murrayc murrayc com>
- To: raespi <raespi icid cu>
- Cc: gtkmm-list gnome org
- Subject: Re: problem using pango ...
- Date: Tue, 01 Oct 2013 20:17:53 +0200
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:
https://bugzilla.gnome.org/show_bug.cgi?id=566945
In Glom, I have hidden the ugly dynamic casting, and some other
weirdness, in a utility method:
https://git.gnome.org/browse/glom/tree/glom/utility_widgets/layoutwidgetbase.cc#n93
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]