[Glade-users] custom properties stored in glade xml file


I thought of the following idea. Wouldn't it be nice if the user could
store custom
properties in glade XML files via the glade interface as in:

  <property name="isjoeswidget" value="yes"/>

so each widget could have zero or more properties associated with it of the form
above with user specified values for name and value.

Then those attributes could be retrieved via the glade API, and we could execute
conditional code as the widget are retrieved smoothly based on
attributes stored in
user properties. This would really eliminate the burden of having to
duplicate widget
names in the code.

Feedback welcome,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]