Set enum property

Hello everybody.

I have a symbol name property. This property is an enum, using g_value_set_enum and g_value_get_enum.
Everything works correctly, but I don’t know if in the graphical interface xml file what is the correct way to set the value:

<property name="symbol">0</property>

<property name="symbol">MY_ENUM_SYMBOL</property>

Both notations are fine, as long as the property is an enum type.

Thanks for your explanation

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.