Closed clstaudt closed 1 year ago
@clstaudt for these views, A is better. because we want to be able to just do views.get_dropdown()
in our Ui without having to instantiate a class object every time you set a view.
Can't follow that explanation, can you rephrase?
If we make the view a class, suppose it's a drop-down. Then to add it to a column, we have to do
The current option is just column.controls = [views.getDropdown()]
On Friday, January 13, 2023, Christian Staudt @.***> wrote:
Can't follow that explanation, can you rephrase?
— Reply to this email directly, view it on GitHub https://github.com/tuttle-dev/tuttle/issues/133#issuecomment-1380819861, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJGBW6YUIRPZ3KTLTS7L373WSBDV5ANCNFSM6AAAAAATYL3VLA . You are receiving this because you modified the open/close state.Message ID: @.***>
column.controls = [views.TuttleDropdown()]
Pick the better implementation:
A)
B)