Hello, is there another/newer way to confirm termination of axis and thus linuxcnc other than putting something in .axisrc ?
I am using this code: def General_Halt(): text = "Do you really want to close linuxcnc?" if not root_window.tk.call("nf_dialog", ".error", "Question", text, "warning", 1, "YES", "NO"): root_window.destroy() root_window.protocol("WM_DELETE_WINDOW", General_Halt) I use this to avoid accidental termination of linuxcnc and thus possibly an interrupted job, which can happen if you happen to click on the wrong upper right corner "X". If there is not a any newer way to do this, then maybe it would be helpful to include the above code in the User Manual V2.6.5-47-g55f0014, 2015-01-20 that is located here: http://linuxcnc.org/docs/2.6/pdf/LinuxCNC_User_Manual.pdf The manual talks about the .axisrc file on page 41/253. BR Max. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users