[python-win32] wxPython layout based on a form of markup?

Will check it out, but, after quick download/copying of enaml directory/folder into python’s /lib/site-packages directory, can import enaml, but, not sure how to get it to process it’s .enaml files as of yet.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
‘…fate had broken his body, but not his spirit…’

···

----- Original Message -----

From:
Dave Cook

To: Jacob Kruger

Sent: Wednesday, December 25, 2013 11:41 AM

Subject: Re: [python-win32] wxPython layout based on a form of markup?

On Sat, Dec 21, 2013 at 9:00 PM, Jacob Kruger jacob@blindza.co.za wrote:

Aside from either using layout-by-code, or just working with wxPython itself, is there any form of markup-based wxPython layout implementation known of by anyone, off-hand?

enaml supports wxpython:

https://github.com/nucleic/enaml

Dave Cook

Poking around the enaml docs, I don’t see any reference to a wxPython version. It could be done, but I don’t know that anyone has done it.

-Chris

···

On Wed, Dec 25, 2013 at 9:13 AM, Jacob Kruger jacob@blindza.co.za wrote:

Will check it out, but, after quick download/copying of enaml directory/folder into python’s /lib/site-packages directory, can import enaml, but, not sure how to get it to process it’s .enaml files as of yet.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
‘…fate had broken his body, but not his spirit…’

----- Original Message -----

From:
Dave Cook

To: Jacob Kruger

Sent: Wednesday, December 25, 2013 11:41 AM

Subject: Re: [python-win32] wxPython layout based on a form of markup?

On Sat, Dec 21, 2013 at 9:00 PM, Jacob Kruger jacob@blindza.co.za wrote:

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax

Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Aside from either using layout-by-code, or just working with wxPython itself, is there any form of markup-based wxPython layout implementation known of by anyone, off-hand?

enaml supports wxpython:

https://github.com/nucleic/enaml

Dave Cook

AFAIK/‘see’, enaml is more like it’s own markup/scripting/wrapper, maybe based on python, but, not really meant to be used with/in/by python normally, etc.

Have for now, just gone back to working through wxpython.org tutorial material - will take a bit more time before am sure can be happy/comfortable with generating layout using code to just handle/implement element/control insertion/manipulation, but, seems like only viable route at moment.

Might still also try look into just editing my own .xrc files, and then pulling that layout in using wx.xrc at some stage, but, not enough time at moment to play with it too much - let’s hope wx’s sort of automatic layout ‘plays nice’…

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
‘…fate had broken his body, but not his spirit…’

···

----- Original Message -----

From:
Chris Barker

To: wxpython-users

Sent: Friday, December 27, 2013 10:16 PM

Subject: Re: [wxPython-users] Re: [python-win32] wxPython layout based on a form of markup?

Poking around the enaml docs, I don’t see any reference to a wxPython version. It could be done, but I don’t know that anyone has done it.

-Chris

On Wed, Dec 25, 2013 at 9:13 AM, Jacob Kruger jacob@blindza.co.za wrote:

Will check it out, but, after quick download/copying of enaml directory/folder into python's /lib/site-packages directory, can import enaml, but, not sure how to get it to process it's .enaml files as of yet.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
‘…fate had broken his body, but not his spirit…’

----- Original Message -----

From: Dave Cook

To: Jacob Kruger

Sent: Wednesday, December 25, 2013 11:41 AM

Subject: Re: [python-win32] wxPython layout based on a form of markup?

On Sat, Dec 21, 2013 at 9:00 PM, Jacob Kruger jacob@blindza.co.za wrote:

    Aside from either using layout-by-code, or just working with wxPython itself, is there any form of markup-based wxPython layout implementation known of by anyone, off-hand?

enaml supports wxpython:

https://github.com/nucleic/enaml

Dave Cook


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Chris Barker wrote:

Poking around the enaml docs, I don't see any reference to a wxPython
version. It could be done, but I don't know that anyone has done it.

enaml has both a wx and pyside/pyqt backend. I'm not sure but I think that the qt backend is more complete, but people are using it with wx too.

···

--
Robin Dunn
Software Craftsman

enaml is definitely meant to be used with Python. The enaml files get compiled to Python bytecode.

I’ve been playing with it a bit in the last few weeks, but haven’t quite wrapped my mind around the way layout is done. My impression is that enaml will be most worth learning when you have a lot of dynamic forms with complex view logic.

I don’t think the locals will mind if I suggest that you also check out Qt’s QML:

http://pyqt.sourceforge.net/Docs/PyQt4/qml.html

Dave Cook

···

On Friday, December 27, 2013 1:58:13 PM UTC-8, Jacob Kruger wrote:

AFAIK/‘see’, enaml is more like it’s own markup/scripting/wrapper, maybe based on python, but, not really meant to be used with/in/by python normally, etc.

I just thought I should mention that if you have issues or questions using the wxPython wiki or other wxPython website materials, please post about them to this list. We’re quite willing to fix any issues that crop up and I know that parts of the wiki have gotten pretty crusty.

I also have a bunch of wxPython tutorials on my blog that you might find helpful: http://www.blog.pythonlibrary.org/

Good luck and have fun!

Mike

···

On Friday, December 27, 2013 3:58:13 PM UTC-6, Jacob Kruger wrote:

AFAIK/‘see’, enaml is more like it’s own markup/scripting/wrapper, maybe based on python, but, not really meant to be used with/in/by python normally, etc.

Have for now, just gone back to working through wxpython.org tutorial material - will take a bit more time before am sure can be happy/comfortable with generating layout using code to just handle/implement element/control insertion/manipulation, but, seems like only viable route at moment.

Will check them out.

Thanks

Jacob Kruger
Blind Biker
Skype: BlindZA
‘…fate had broken his body, but not his spirit…’

···

----- Original Message -----

From:
Mike Driscoll

To: wxpython-users@googlegroups.com

Cc: jacob@blindza.co.za

Sent: Thursday, January 02, 2014 11:35 PM

Subject: Re: [wxPython-users] Re: [python-win32] wxPython layout based on a form of markup?

On Friday, December 27, 2013 3:58:13 PM UTC-6, Jacob Kruger wrote:

AFAIK/'see', enaml is more like it's own markup/scripting/wrapper, maybe based on python, but, not really meant to be used with/in/by python normally, etc.
Have for now, just gone back to working through [wxpython.org](http://wxpython.org) tutorial material - will take a bit more time before am sure can be happy/comfortable with generating layout using code to just handle/implement element/control insertion/manipulation, but, seems like only viable route at moment.

I just thought I should mention that if you have issues or questions using the wxPython wiki or other wxPython website materials, please post about them to this list. We’re quite willing to fix any issues that crop up and I know that parts of the wiki have gotten pretty crusty.

I also have a bunch of wxPython tutorials on my blog that you might find helpful: http://www.blog.pythonlibrary.org/

Good luck and have fun!

Mike


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.