Re: Glib::Property and read / write settings

Daniel Boles via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAKChMKP5ZS3NUt8gJrf=-NP08q=O4CLfPXJ377=rNsNYb0OPYw@mail.gmail.com>
I would first make your property member a Glib::Property_ReadOnly so that
errors are caught at compile time by C++. I don't know whether maybe it
ignores the Glib::PARAM flags or overrides them.

Yes, GLib emits ::notify with the property name as the detail, e.g.
notify::my-new-prop. However, I don't think glibmm wraps this, or at least
I can't see how. So you might need to add a bit of C to glue it to your
general handler for property changes.

_______________________________________________
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.