checkbox default setting

More
27 Apr 2024 18:34 #299202 by MaHa
After I ported the pyvcp panel to glade, everything works, except the checkbox setting by default. At the moment the status is being restored via an ini file, but I would like the checkbox to be checked when starting. Is this possible?

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

More
04 May 2024 09:17 #299700 by andypugh
Replied by andypugh on topic checkbox default setting
Do you want to override the INI setting?

You may just need to remove the checkbox in question from the inivars string: linuxcnc.org/docs/2.6/html/gui/gladevcp....persistent_variables

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

More
08 May 2024 22:50 #300164 by MaHa
Replied by MaHa on topic checkbox default setting
It was about this checkboxes in the glade panel. Jog inhibit is essential for me, to prevent accidentally keyboard jog. Depending on clamping chuck or a-axis, i need to probe tool and z-offset at different positions.
The initial idea was, to have the boxes checked as default on start. I removed them from the inivars string, then they stayed unchecked. So i changed back to restore last state on start, and got used to it already, and i added leds to visualize more clearly.

 
Attachments:

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

Time to create page: 0.100 seconds
Powered by Kunena Forum