How to customize keyboard shortcuts for function keys on UI?
- chen1234
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 2
19 Aug 2022 10:05 #250067
by chen1234
How to customize keyboard shortcuts for function keys on UI? was created by chen1234
hello guys,
I've been trying to use glade to write UI recently,
I see that in AXIS it is possible to define keyboard keys to some UI function keys (eg : F1=>Emergency stop), I don't know where to start?
I saw in the forum that AXIS consists of axis.tcl and axis.py, where should I look to implement my own keys?
thanks in advance for your pointers.
thanks,
chen
I've been trying to use glade to write UI recently,
I see that in AXIS it is possible to define keyboard keys to some UI function keys (eg : F1=>Emergency stop), I don't know where to start?
I saw in the forum that AXIS consists of axis.tcl and axis.py, where should I look to implement my own keys?
thanks in advance for your pointers.
thanks,
chen
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 789
- Thank you received: 230
19 Aug 2022 14:24 #250075
by cakeslob
Replied by cakeslob on topic How to customize keyboard shortcuts for function keys on UI?
Its easier to do it in usercommand file
linuxcnc.org/docs/devel/html/gui/axis.html#_user_command_file
Here is the doc example
linuxcnc.org/docs/devel/html/gui/axis.ht...h_keyboard_shortcuts
www.tcl.tk/man/tcl8.6/TkCmd/bind.html
linuxcnc.org/docs/devel/html/gui/axis.html#_user_command_file
Here is the doc example
linuxcnc.org/docs/devel/html/gui/axis.ht...h_keyboard_shortcuts
www.tcl.tk/man/tcl8.6/TkCmd/bind.html
The following user(s) said Thank You: arvidb, tommylight, chen1234
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds