Brian Blais wrote:

In this whole discussion, I haven't seen anyone mention wax (http:// zephyrfalcon.org/labs/wax_primer.html)

Just had a quick look at that. In the third example code box:

  def Body(self):
      ^^^^
    self.textbox = TextBox(self, multiline=1, wrap=0)
    self.AddComponent(self.textbox)
         ^^^^^^^^^^^^

Here's something unpythonic already: a couple of non-pep-8-compliant
method names.

And a bit further down:

    self.textbox.SetFont(FIXED_FONT)
                 ^^^^^^^

Using a setter method instead of a property.

So while it's quite likely better than raw wxPython, it fails the
pythonicity test for me.

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to