-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
topbar -> button & ButtonWidget || Added disabled feature & font size & right-click action & toggle select #458
Open
JimChr-R4GN4R
wants to merge
19
commits into
louisnw01:main
Choose a base branch
from
JimChr-R4GN4R:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JimChr-R4GN4R
changed the title
topbar -> button & ButtonWidget || Added disabled feature
topbar -> button & ButtonWidget || Added disabled feature and font size
Sep 27, 2024
JimChr-R4GN4R
changed the title
topbar -> button & ButtonWidget || Added disabled feature and font size
topbar -> button & ButtonWidget || Added disabled feature & font size & right-click action
Sep 27, 2024
If you don't set a button's selected_bg it will disable the toggle select feature.
JimChr-R4GN4R
changed the title
topbar -> button & ButtonWidget || Added disabled feature & font size & right-click action
topbar -> button & ButtonWidget || Added disabled feature & font size & right-click action & toggle select
Sep 28, 2024
Pull updates
Same functionality with hide_data and show_data, but if the data is visible, it will be hidden, and vice versa without the need of adding ifs and variables in your code.
If you create a variable of marker_list(), you may do markers = chart.marker_list(m_list) chart.remove_markers(markers)
…nuWidget instead of Widget
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When button is disabled, if you press it (left or right click), it does not call the do_something function and it's text get's opacity=0.5
ATTENTION: best practice for the
right_click_func
feature is to set the function like thisright_click_func=lambda event: do_something_else(chart)
instead of justright_click_func=do_something_else
, because if you need to use thechart
variable, the function will through error.If you don't set selected_bg, the toggle select feature will be disabled.