Can PythonCard layout editor be used to create gui2py rsrc file?

60 views
Skip to first unread message

Mike Asker

unread,
Oct 17, 2013, 9:16:15 PM10/17/13
to gui...@googlegroups.com
Just downloaded gui2py. This is absolutely great!!! I'm a longtime PythonCard user, and fan. I'm so pleased that somebody is taking on this project.

I have a PythonCard app running on several PC's and I'm stuck using
Python2.7.5 and wxPython2.8. I noticed that I need the wxpy2.9
to run the designer.

I tried out the starter.py example which did work with wx2.8.

Can I user the PythonCard Layout Editor to create a gui2py compatible rsrc file?

cheers

-mike

Mariano Reingart

unread,
Oct 28, 2013, 7:09:01 PM10/28/13
to Mike Asker, gui2py
Sorry for the delay.

About the PythonCard Layout Editor, yes, you could use it to create pythoncard resources files (rsrc.py), but you'll need to migrate that files to gui2py format (slightly different) with the migration script:

python -m gui.tools.migrate ../pyafipws/pyrece.rsrc.py > migrated.rsrc.py

It should support most of the widgets, but at this stage you should expect to manually edit the rsrc in some cases (for example, for new controls like ListView)

Let me know if that works for you,

Best regards,

Reply all
Reply to author
Forward
0 new messages