Re: Setting custom Glib::Property values in Gtk::Builder .ui XML

Daniel Boles via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAKChMKNaKb3w7Svmn3KdjXaBX9h4=8kBoPuJbtT6sv4KFO75dg@mail.gmail.com>
I *feel* like I already tried that, since it was the easy route:

   - installing properties in C++ instance constructor,
   - constructing a dummy instance to register the type, and then
   - loading from a Builder .ui

...and got an error something like

> Invalid property ID 1 for gtkmm__CustomType_Button2 property name "color"

as my trivial example (I don't really want a Button:color property... don't
panic or excommunicate me please)

However, I'll double-check later whether that does/doesn't work, and post a
sample of what I've tried in any case.

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.