Andy,
I tried your Macro code and it seems to be the thing to use for my application. At least the savestate.ini stuff.
I have a silly question seeing that I am wanting to use this kind of thing with Gmoccapy and a touch screen with no keyboard or mouse. Is there a way to enlarge the spin button so that it could be more touch friendly or should I have another approach here?

mariusl wrote: I have a silly question seeing that I am wanting to use this kind of thing with Gmoccapy and a touch screen with no keyboard or mouse. Is there a way to enlarge the spin button so that it could be more touch friendly or should I have another approach here?

Spinbuttons without a keyboard to type the values in to are just painful. Doesn't Gscreen use a widget that pops up a numeric keypad when you tap the box?

Doesn't Gscreen use a widget that pops up a numeric keypad when you tap the box?

Andy, it does but I dont know if it is available or easy to include in a custom TAB. I will investigate that.
The reason I am looking at a spinbox is that some of the parameters will be adjusted while the machine is running. Things like THC volts one might want to tweak as it runs. That is easy with a spinbox and I have used that with Axis. Now with the touch screen stuff it is not so easy. If I was better versed in python it might have been easy

Attachments:

Andy
I did look at it but for some reason that I ca't remember now, I did not go there. The code for the popup is available in master but my lack of python script knowledge has again stopped me from going further. I am going to get stuck into python very soon as it seems to be an important part of getting things done in LCNC.

I think using the pyncggui popup keyboard would be simple to use for someone that knows python. Maybe you can have a look at that for yourself. I have a screen setup and ready for testing but I am busy with the plasma stuff at the moment.