Re: Setting custom Glib::Property values in Gtk::Builder .ui XML
- From: Daniel Boles <dboles src gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Setting custom Glib::Property values in Gtk::Builder .ui XML
- Date: Tue, 11 Jun 2019 10:07:29 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]