Add missing function value for TabBar #22
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kahliburke/Tachikoma.jl!22
Loading…
Reference in a new issue
No description provided.
Delete branch "tab_bar_value"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi @kahliburke !
The function
valuefor TabBar is mentioned in the docs (https://kahliburke.github.io/Tachikoma.jl/dev/widgets#TabBar) but it was not implemented. This PR adds the function and test.BTW,
handle_keyis also not implemented for TabBar but I am not sure what keys do you want to use by default.However, I am thinking that since TabBar is immutable and the active tab must be known when it was created, maybe this function must not be implemented. In this case, we should remove it from the docs :)
After thinking about it, I think we should just remove this from the docs! There is not need to have this function given how tab bars are built.
@ronisbr although you closed this, I feel it surfaced a problem in the code that should be addressed. The tab bar got lost in the shuffle it seems and I realized that a couple projects I have were reimplementing functionality which should really be built in.
So I've made the changes. I believe it should still be compatible with the old method, so it will be a patch release, but the functionality is improved and it should be very easy to migrate to the new system. So this will come in 1.1.5
Pull request closed