Expose UxmlObjectAttributeDescription or similar serialized type bag accessors

Hi there I came across a similar need as the MultiColumnListView has, i.e. that I need to define collections of configuration attributes (i.e. in my specific case tab names for a custom tab view of mine). After inspecting the MultiColumnListView, I realized that it is using an internal UxmlObjectAttributeDescription for accessing serialized objects including lists of objects.

Are there any plans for exposing this attribute description type, or the internal methods it is building upon so custom classes can use the same APIs?

Hi, we have plans to introduce support for UxmlObjects in 2023.2. it’s not landed yet. It will require using the new UxmlElement system though, not the UxmlTraits.

We will have more details in the future.

1 Like

Oh, I wasn’t even aware of this attribute - it would have been my next feature request, for reducing repetitive boilerplate that comes with the UxmlTraits system Thanks for the update!

1 Like