GNOME Bugzilla – Bug 304390
Objects as properties / references / children
Last modified: 2006-01-03 18:29:37 UTC
As an example, right now we cant set any GtkAdjustment properties on a GtkSpinButton or GtkScale, there are a number of possible ways of approaching this problem, off hand I think the nicest is to do: - Make it possible to have top-level non-widget objects (right now non-widgets are only possible as children) - Make is possible to cross reference widgets by name in the UI. This way, we can set the properties of a GtkAdjustment seperately and possibly use the same adjustment for multiple ui objects.
GladeEPropObject implemented, now project objects can be genericly referenced as properties, deleting target objects removes the reference nicely and Undo/Redo work nicely with this too (i.e. undo the delete of target object will reset the property, this also works with large redo stacks where target objects are cut & pasted into other projects). Closing. (still need support for top-level objects)