Looking at the various widgets in gbwidgets/ the _set_properties()
function appears to apply all the current properties to the current
widget.

Now from what I can tell these functions are only called by
gb_widget_apply_properties and gb_widget_load.

gb_widget_apply_properties is simple enough, and from my reading should
be called once for each property change.

I haven't yet been able to work out gb_widget_load, I'm going to have to
print out the code and read through it manually.  It appears to
interleave IO operations with parsing operations with widget
configuration operations; or am I mistaken?  [On this vein, why has
glade implemented it's own XML parser rather then use libxml?  Is this
historical?  Does there remain any reason to avoid libxml (beyond the
work required to convert across of course :)?]

My specific question is this:  Can I rely on _set_properties() being
called once for each property, or do I have to always set ALL the
properties of a widget EVERY time it's called?

Also, regarding the properties sheet.  I want to dynamically add/delete
properties at run-time.  Is there an easy way to do this?  At the moment
I'm planning on abandoning the properties sheet and just using an
external dialog along the lines of gbmenubar.

Andrae

_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to