importipkiss3.allasi3fromipkiss3.core.properties.containers.typed_listimportTypedListPropertyfromipkiss3.pcell.cell.viewimportViewListclassViewListProperty(TypedListProperty):_list_type=ViewListclassTest(i3.PCell):views=ViewListProperty()# the regular list will be converted into a ViewListTest(views=[])# let us try with a layout view classMyCell(i3.PCell):classLayout(i3.LayoutView):passlv=MyCell().Layout()Test(views=[lv])
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.