Obtains the composite name of a widget. a composite child. The string should be freed when it is no longer needed.