How to put a password on the exit button

More
2 years 2 months ago - 2 years 2 months ago #306759 by Moutomation
  I am making Gmoccapy full screen, but I do not want the user to close the cnc screen without entering a password. should not be able to access anything other than the CNC screen without entering the password. How can I put a password on the exit button? It will be like a settings page and I should be able to set the password.
How do I check the g code renewal key from Classicladder? 
Last edit: 2 years 2 months ago by Moutomation.

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #306775 by Aciera

How can I put a password on the exit button?

You would have to modify the gmoccapy source code for this.

How do I check the g code renewal key from Classicladder?

you can't as there is no hal pin or state tag that reflects the reload action. You would need to handle this in the GUI source code.
The following user(s) said Thank You: zz912, Moutomation

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #306828 by Moutomation
If there is someone who can do this for a fee, I am ready to pay. I think there is someone who can do this, because the people who make this program probably won't have much difficulty in putting a password on the exit.

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #306873 by zz912
Can you compile LCNC yourself from source codes? You have to master it so that when someone helps you, you can use it.

This is first step:
linuxcnc.org/docs/stable/html/code/building-linuxcnc.html
The following user(s) said Thank You: Moutomation

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #306874 by Moutomation
Thanks a lot

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #306885 by rodw
IN the gmocappy source there is a screen handler written in Python. There is also a glade screen definition, You probably just need to modify the handler for the exit button or even better move it to the already password protected area. Sorry its been 7 or 8 years since I modified gmocappy
The following user(s) said Thank You: Moutomation

Please Log in or Create an account to join the conversation.

Moderators: newbynobi, HansU
Time to create page: 0.157 seconds
Powered by Kunena Forum