How to customize keyboard shortcuts for function keys on UI?
19 Aug 2022 10:05 #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 or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds