From: Dylan Palmboom on
-----Original Message-----
From: catalinfest(a)gmail.com [mailto:catalinfest(a)gmail.com]
Sent: 13 November 2009 10:06 AM
To: python-list(a)python.org
Subject: Re: Choosing GUI Module for Python

Tkinter is deafult on python .
Is more easy to use any editor text (geany).
I don?t see a good IDE for GUI
On Nov 9, 6:49 am, Antony <anthonir...(a)gmail.com> wrote:
> Hi all
>    I just wanted to know which module is best for developing designing
> interface in python .
> i have come across some modules which are listed here . please tell
> your suggestions and comments to choose best one
>  1. PyGTK
>  2. PyQT
>  3. PySide
>  4.  wxPython
>  5 . TKinter
>
> Also i need to know is there any IDE for developing these things . . .


PyQt is an excellent toolkit for us at work. It has nice documentation and
very easy to learn.
We use Eclipse IDE at work with the PyDev workspace loaded for the coding.
Eclipse has nice features for integration with subversion all from one
place,
so it makes it more manageable when you have more than 1 person working on a
project.
There's only 2 of us here working together, but the subversion integration
makes
our lives so much easier.

We use eclipse for gui design in code or we use Qt Creator which is very
intuitive to use if you want to design a gui visually. Also, there's a
python script we use
called MakePyQt that you can find here: http://www.qtrac.eu/pyqtbook.tar.gz
to convert the ui files from
Qt Creator to python files. Then all you need to do is implement these
generated python
files in your program and add functionality etc.

From: Aahz on
In article <c772b537-5f95-4a1b-905e-fcb726b59acb(a)i12g2000prg.googlegroups.com>,
Antony <anthoniraja(a)gmail.com> wrote:
>
> I just wanted to know which module is best for developing designing
>interface in python .

Haven't tried it, but a new release was just announced for this:

http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
--
Aahz (aahz(a)pythoncraft.com) <*> http://www.pythoncraft.com/

[on old computer technologies and programmers] "Fancy tail fins on a
brand new '59 Cadillac didn't mean throwing out a whole generation of
mechanics who started with model As." --Andrew Dalke
From: sturlamolden on
On 9 Nov, 05:49, Antony <anthonir...(a)gmail.com> wrote:

>    I just wanted to know which module is best for developing designing
> interface in python .

I personally feel the wxPython support in the 3.1 beta of
wxFormBuilder makes the choise rather simple. It generates a Python
file with classes for all WYSIWYG GUI forms/windows/dialogs. Then in
our Python code, we just import and inherit the form, and implement
the event handlers. It can't be done easier. GUI programming with
Python is now comparable to programming with VB, Delphi or C#. I am
using it for all my projects now. It just feels right.

From: Dietmar Schwertberger on
sturlamolden schrieb:
> I personally feel the wxPython support in the 3.1 beta of
> wxFormBuilder makes the choise rather simple. It generates a Python
> file with classes for all WYSIWYG GUI forms/windows/dialogs. Then in
> our Python code, we just import and inherit the form, and implement
> the event handlers. It can't be done easier. GUI programming with
> Python is now comparable to programming with VB, Delphi or C#. I am
> using it for all my projects now. It just feels right.

Yes, wxFormBuilder looks very promising.

But I don't think that 3.1 in it's current state it can be recommended
for general use already. I just tried the latest version (from August)
and it does not even generate correct Python code:

self.m_toolBar1 = self.CreateToolBar( wx.TB_HORIZONTAL, wx.ID_ANY )
self.m_button1 = wx.Button( self.m_toolBar1, wx.ID_ANY, u"MyButton",
wx.DefaultPosition, wx.DefaultSize, 0 )
m_toolBar1.AddControl( m_button1 )

(i.e. "self." is missing)



Regards,

Dietmar
From: sturlamolden on
On 14 Nov, 15:35, Dietmar Schwertberger <n...(a)schwertberger.de> wrote:

>    self.m_toolBar1 = self.CreateToolBar( wx.TB_HORIZONTAL, wx.ID_ANY )
>    self.m_button1 = wx.Button( self.m_toolBar1, wx.ID_ANY, u"MyButton",
> wx.DefaultPosition, wx.DefaultSize, 0 )
>    m_toolBar1.AddControl( m_button1 )
>
> (i.e. "self." is missing)

I had problem like that with the first beta, but not the one from
August.