Value.getValueAndText

void getValueAndText(out double value, out string text)

Gets the current value and the human readable text alternative of obj. text is a newly created string, that must be freed by the caller. Can be NULL if no descriptor is available.

Parameters

valueaddress of #gdouble to put the current value of obj
textaddress of #gchar to put the human readable text alternative for value