Glib::Property and read / write settings

2020-04-08 Thread Mohith Manoj via gtkmm-list
Hi, I have derived a class out of Glib::Object and I'm using Glib::Property in it. I'm able to get the properties to work except for figuring out one thing. Some of the properties are required to be read-only while others can allow read/write access. The read-only properties are initialized like b

Re: Glib::Property and read / write settings

2020-04-08 Thread Daniel Boles via gtkmm-list
Re others writing your property: (a) how is it declared and (b) how are they accessing it. Just showing its constructor call is not enough. Re notification, use .signal_changed(). iirc you might need to make a PropertyProxy from the property and then call it on that. __