[Glade-devel] _ or - in boolean properties?

Date view Thread view Subject view Author view

From: Archit Baweja (bighead@crosswinds.net)
Date: Mon Jul 02 2001 - 14:05:13 EDT


Hi

A quick thought. I've been working on the xml files, as all of you know.
For boolean properties, I just have to do this in the gtk<widget>.xml

(in context of GtkEntry.activates_default property)

<Property>
    <Name>activates_default</Name>
  <ParamSpec/>
</Property>

And property-querying code does the rest. Now first the problem. The above
won't work. In the gtk code, it _is_ registere as activates_default, but I
have to say activate-default, only then it works? Is that behavior of
converting the - to a _ intended?

Another question. Does <ParamSpec/> work for properties of all kinds of data
types, or only boolean properties? Or only a few of them?

Answers?

Archit Baweja

--
Can you MAIL a BEAN CAKE?

_______________________________________________ Glade-devel maillist - Glade-devel@ximian.com http://lists.ximian.com/mailman/listinfo/glade-devel


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jul 02 2001 - 16:52:38 EDT