Skip to content
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

feat: add \hide to styling dict to allow hiding elements from gui #395

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

madskjeldgaard
Copy link
Contributor

Hi!
This is something I found useful for myself – the ability to hide an element from a gui. This is for example useful for devices like sequencers where it is hard to create a 1:1 representation of the midi notes received by SuperCollider in a GUI and it's just easier to hide it from the GUI and only interface with it in code. Example:

(
                        key: midiNoteNum.asSymbol,
                        midiNum: midiNoteNum,
                        elementType: \pad,
                        ioType: \in,
                        midiMsgType: \noteOnOff,
                        groupType: \noteOnOff,
                        midiChan: midiChan,
                        page: midiChan,
                        style: (
                            hide: true,
                            showLabel: false
                        ),
                    )

@LFSaw
Copy link
Member

LFSaw commented Sep 17, 2023

intersting idea! would you mind fixing indentations of your edits? Looks like you use spaces instead of tabs...

@LFSaw
Copy link
Member

LFSaw commented May 6, 2024

you still interested in this?

@madskjeldgaard
Copy link
Contributor Author

I don't have time to work on this at the moment, sorry ! <3

@LFSaw
Copy link
Member

LFSaw commented May 6, 2024

I'll see if I find time to correct the indentations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants