Hallo John, just see the sourcecode from tooledit_widget.py in the gladevcp folder.
Norbert Am 02.01.2014 19:23, schrieb John Thornton: > Hi Norbert, > > Mainly because I don't know how to check locale settings in Python or > how to convert them back and forth as needed. > > If you have any ideas I'm all ears or eyes as the case might be. > > JT > > On 1/2/2014 12:06 PM, Niemand Sonst wrote: >> Hallo JT, >> >> I know it is not accepted in GCode, but you are writing a GUI, so why >> not check from the GUI the locale settings and accept the comma. In the >> Gcode it has to be a dot, I know. >> >> Chris and I are doing that on Tooledit widget, here in Germany I can use >> my number pad without the need to go to search for the dot. >> >> Norbert >> >> Am 02.01.2014 18:50, schrieb John Thornton: >>> Hi Norbert, >>> >>> A comma is not accepted by LinuxCNC as a decimal separator. You would >>> need to modify the is_number function to accept a comma then change it >>> to a dot in the G code. >>> >>> JT >>> >>> On 1/2/2014 9:40 AM, Niemand Sonst wrote: >>>> Am 02.01.2014 14:13, schrieb John Thornton: >>>>> Hi Erik, >>>>> >>>>> I wrote some of the simple G code generators on the wiki and have a 3rd >>>>> generation of my learning curve in Python, Gtk, Glade3 G code generator >>>>> on my web site. I quit using Tk a while back and prefer to use Gtk now. >>>>> >>>>> http://gnipsel.com/files/g-code-generator/ >>>>> >>>>> If you get a chance to take a look at it let me know what you think. >>>>> >>>>> I like the look and feel of your G code generator and it is intuitive as >>>>> I had some G code in less than a minute. >>>>> >>>>> The one thing that I lost when leaving Tk behind is a way to have Write >>>>> to Axis. I seldom would need that but it would be nice to have. >>>>> >>>>> Very nice work! >>>>> >>>>> JT >>>>> >>>>> On 1/2/2014 6:31 AM, erik wrote: >>>>>> Hello together, >>>>>> >>>>>> After fiddeling around with ngc subroutines for a while, I decided to >>>>>> give Python a chance and write g-code generators as a substitute. >>>>>> >>>>>> There are already serveral simple and useful g-code generators available >>>>>> from the LinuxCNCKnowledgeBase >>>>>> <http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_LinuxCNC_G-Code_Generators>. >>>>>> >>>>>> To cut a long story short: >>>>>> In the end my Python program became a framework, which can be "more or >>>>>> less easily" extended with additional generators (within certain >>>>>> limits). >>>>>> I already integrated the bezel and grill generators from the wiki and >>>>>> slightly pimped the code. >>>>>> Now I like to share the result. >>>>>> >>>>>> Description, screenshots and sourcecode can be found here >>>>>> <http://home.mnet-online.de/erikschuster/misc.htm#simplegcodegenerator>. >>>>>> >>>>>> A Happy and Healthy New Year to all of you >>>>>> Erik >>>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>>> organizations don't have a clear picture of how application performance >>>>> affects their revenue. With AppDynamics, you get 100% visibility into your >>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >>>>> Pro! >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> Emc-users mailing list >>>>> Emc-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>>> >>>> Hallo John, >>>> >>>> I took a look and I like it, but... >>>> >>>> Will you localize it? Here in Germany we are used to give a "," as >>>> decimal separator, your GUI says 0,12 is not a number. >>>> >>>> Norbert >>>> >>>> ------------------------------------------------------------------------------ >>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>> organizations don't have a clear picture of how application performance >>>> affects their revenue. With AppDynamics, you get 100% visibility into your >>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >>>> Pro! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Emc-users mailing list >>>> Emc-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >>> Pro! >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users