On Wed, 2008-08-13 at 11:09 +0200, Germán Diago wrote: > 2008/8/13 Murray Cumming <[EMAIL PROTECTED]>: > > On Tue, 2008-08-12 at 20:49 +0400, Larik Ishkulov wrote: > >> On Tuesday 12 August 2008 20:02:18 Germán Diago wrote: > >> > Hi all. I've got some questions I'd like to be answered: > >> > > >> > When implementing new > >> > widgets in gtkmm, is there any advantage in using Glib::Property and > >> > Glib::PropertyProxy > >> > instead of using normal members and get and set? Or it's used for a > >> > different thing? > >> > > >> > Which is the correct way to use Glib::Property and PropertyProxy? > >> > Because in the documentation, > >> > there are constructors with Glib::Object listed, but Glib::Object > >> > constructor is protected. > >> > Thank you > >> > very much for your time. > >> > >> Using Glib::Property will register a property in GObject. So other C > >> programs > >> can use your property. > > > > So, no, I don't think it's very useful. > > If I use properties in my widgets, can I edit them through glade if I > integrate widgets? Thanks in advance.
Yes, I think so, though I wonder how well that works for C++ types. It would be nice to have an example of that in our documentation. If someone could put a small example of gtkmm Glade integration in bugzilla, that would be great. -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
