Re: gtk_widget_class_install_style_property
- From: Murray Cumming <murrayc murrayc com>
- To: Kent Bolton <kaboltongtkmm gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: gtk_widget_class_install_style_property
- Date: Fri, 26 May 2006 10:43:13 +0200
On Wed, 2006-05-24 at 18:56 +0200, Murray Cumming wrote:
[snip]
> HOWEVER, I suspect it will be enough to call the Glib::ObjectBase
> constructor with your custom GType name, like in this unrelated example,
> which uses the result of typeid() to get a typename string, because it
> also needs its own GType:
> http://cvs.gnome.org/viewcvs/gtkmm/examples/cellrenderercustom/cellrendererlist.cc?view=markup
Yes, this does allow us to create a new GType that we should be able to
use in an rc file for theming.
I've tried to get that working here:
http://cvs.gnome.org/viewcvs/gtkmm/examples/book/custom/custom_widget/mywidget.cc?view=markup
But while parsing my rc file:
http://cvs.gnome.org/viewcvs/gtkmm/examples/book/custom/custom_widget/custom_gtkrc?view=markup
I get this error:
"
custom_gtkrc:3: error: invalid identifier `examplescale', expected valid
identifier
"
Maybe someone knows what I am doing wrong.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]