Replies: 3 comments 7 replies
-
Looks like I found it looking through the app.py source code. self.bind(keys, action, description). maybe I missed it in the documentation? |
Beta Was this translation helpful? Give feedback.
-
You should consider bindings to be static in nature. The If your keys are dynamic, you could handle the Key message directly. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all of your help. For what it's worth, my app is getting closer to being done. thought I would share an asciinema recording of it. This is a terminal app for sending APRS messages to the Ham Radio APRS network. It works connecting via the internet to the APRS-IS servers or over an actual ham radio to a tcpkiss socket. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to add a new binding after the app has started up? I've tried appending a Binding object to the BINDINGS class member, but that doesn't seem to do anything.
I'm adding tabs to my TabbedContent on the fly and want to add a binding to the tab so the user can easily switch between tabs.
Beta Was this translation helpful? Give feedback.
All reactions