Parsing custom-typed properties from Glade file
Rodolfo Ribeiro Gomes via gtkmm-list <[email protected]> Wed, 22 Jul 2020 02:00:17 -0300
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <CADvm5JppBWkdXB+VP4Bp9VP05npZbt93H7gwj+LCh5GpZywoJg@mail.gmail.com> |
Hello, everyone.
I created a custom widget that has a Glib::Property of an enum type.
Glib::Property<Type> property_type_;
When I try to load from a glade file, I got this error message:
Gtk-WARNING **: 01:43:34.849: Failed to set property
gtkmm__CustomObject_widget_color_slider.type to 1: Could not parse '1' as a
glibmm__CustomBoxed_N6studio11ColorSlider4TypeE
Here is the xml property line:
<property name="type">1</property>
How can I properly parse the property tag contents ?
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list