Jon: The issue is really the GLADE editor. Current GLADE editors do not support GTK2 widgets. PyGTK only supports GTK2 widgets. We have forward ported old versions of GLADE for linuxcnc.
PyGTK is not being developed any more, though the runtime library should be safe for sometime yet, so what works now will continue to work in the foreseeable future. (making new panels just gets more difficult because of having to use old GLADE editors) There is no path forward for GTK based VCP yet. Current work has been on QT based VCP, which would require building new panels. To complicate things further python 2 is at end of life, and python 3 is different enough that its not a small task to switch (it's mostly the C/C++ extensions of python that's the trouble) Chris M ________________________________ From: Jon Elson <[email protected]> Sent: October 12, 2018 4:36 PM To: EMC developers Subject: Re: [Emc-developers] GladeVCP and PyGTK On 10/12/2018 03:38 AM, andy pugh wrote: > On Fri, 12 Oct 2018 at 08:37, theman whosoldtheworld > <[email protected]> wrote: >> About GoObject and other .... the language structure is pretty similar to >> c++ ... so why not use directly c++ for ui instead all other languages? > GladeVCP and PyVCP are specifically provided to aid user configuration > and customisation. > So, is there any issue with PyVCP or is it only GladeVCP? Is there a simple path to move whatever VCP forward to the new versions? I use this stuff, but only understand a small bit of what goes on in the lower levels. I have developed some Glade-designed panels for totally unrelated systems that are interfaced from C. I use Glade to lay out all the widgets on the panel and create the xml, and then usually end up hand-editing the xml file to link to all the c variables. This is probably not the way you are supposed to do it, but that's what I had to do to get it to work. I seemed to have a lot of problems getting Glade to go back in and edit the xml without messing things up. Thanks for any insight, Jon _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
