jdranczewski / puzzlepiece

A GUI-forward Python framework for automating experimental setups.
Apache License 2.0
2 stars 0 forks source link

Child params #4

Closed jdranczewski closed 2 weeks ago

jdranczewski commented 2 months ago

When creating a Popup, it would be useful to have a way to automatically create child params that match specified parent params of the parent Piece. These should have the same kind of input, and play nicely with the getters and setters of the parent params.

This way, one could have a bunch of hidden params in a given Piece, and trivially create a Popup with additional settings which modifies the parent Piece's params.

jdranczewski commented 2 months ago

See https://github.com/jdranczewski/puzzlepiece/commit/d36ee774a8cce3d0a70afc48adbfd2f940ffac99 for initial implementation