Python list as List in a UI panel


(Lumpengnom) #1

Hi,
is there a way to easily display a python list in the UI? Something that looks like the Materials List for example?

I´ve been reading up on template_list but is seems really complicated and I can´t find any instructions that are easy enough for me to understand.

All I want to do is pass a list of objects to the a UI panel, so that the user can see which objects the list contains and save the list somehow in the blend file.


(p2or) #2

Hi,

Check out the examples here: What ui would work for choosing from a long, long list? and here: Create an interface which is similar to the material list box?

Hope this helps.