- Posts: 58
- Thank you received: 0
How to customize keyboard shortcuts for function keys on UI?
4 years 2 months ago #250067
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 to join the conversation.
4 years 2 months ago #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
Please Log in to join the conversation.
Time to create page: 0.109 seconds
