Easy-to-use Python GUI

ajaksu ajaksu at gmail.com
Wed Dec 24 21:43:34 EST 2008


On Dec 24, 9:47 pm, "Joel Koltner" <zapwireDASHgro... at yahoo.com>
wrote:

>  Dim dlg As UserDialog
>
>  dlg.genDrill = 1
>  ReDim DrillStyle(1)
>  DrillStyle(0) = "All Via Layers In One File"
>  DrillStyle(1) = "One File Per Via Layer"
>  dlg.drillStyle = 1
>
>  func=Dialog(dlg)
>
> ---
>
> This is pretty darned easy for me understand and modify either by hand or with
> the GUI builder.  Still, it's quite powerful, since it supports all the common
> GUI elements (text, group boxes, checkboxes, drop-down lists, text boxes,
> buttons, etc.).  This is about the level of sophistication I'm looking for.
>
> Anything like this for Python?

I have not used it (yet), but Treethon looks like what you want:
---
_import: gtk
view: gtk.Window()
add:
    - view: gtk.Button('Hello World')
      on clicked: print view.get_label()
---

Check http://pypi.python.org/pypi/treethon/ and http://code.google.com/p/treethon/

If you can report back on treethon, I'd like to hear about it :)

HTH,
Daniel



More information about the Python-list mailing list