After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 304390 - Objects as properties / references / children
Objects as properties / references / children
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-16 17:57 UTC by Tristan Van Berkom
Modified: 2006-01-03 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tristan Van Berkom 2005-05-16 17:57:31 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.
Comment 1 Tristan Van Berkom 2006-01-03 18:29:37 UTC
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)