Python gui

  • Thread starter Philippe C. Martin
  • Start date
P

Philippe C. Martin

Hi,

Is wxWidget now part of python ? or will it be ?

regards,

Philippe
 
D

Diez B. Roggisch

Philippe said:
Hi,

Is wxWidget now part of python ? or will it be ?

1) No. 2) I guess no. Because it has pretty heavy dependencies (wx,
GTK/other toolkit)


Tkinter is what comes ou of the box - and thats it.

Regards,

Diez
 
P

Philippe C. Martin

Thanks, Tkinter it is.

Regards,


Philippe
1) No. 2) I guess no. Because it has pretty heavy dependencies (wx,
GTK/other toolkit)


Tkinter is what comes ou of the box - and thats it.

Regards,

Diez
 
L

Lawrence Oluyede

Il 2005-11-05 said:
Hi,

Is wxWidget now part of python ? or will it be ?

No it's not part of the official distribution of CPython,
ad AFAIK it will not be anytime soon.
 
G

Gian Mario Tagliaretti

Philippe said:
Is wxWidget now part of python ? or will it be ?

No, and *I hope* that if another toolkit has to replace Tkinter (will never
happen?) will be PyGTK... :)

cheers
 
S

Sybren Stuvel

Gian Mario Tagliaretti enlightened us with:
No, and *I hope* that if another toolkit has to replace Tkinter
(will never happen?) will be PyGTK... :)

Why do you hope for PyGTK? I think one of the strengths of wxWidgets
is that it uses the native platform's look. GTK looks very nice on my
Gnome desktop, but to be honest it's rather ugly on Windows or Mac.

Sybren
 
A

Andrea Gavana

No, and *I hope* that if another toolkit has to replace Tkinter (will
never
happen?) will be PyGTK... :)

This will only mean that people that now prefer wxPython over Tkinter will
in future prefer wxPython over PyGTK ;-)

Andrea.
 
G

gsteff

PyGTK is just easier to code with. The api is much nicer. However,
yeah, the windows/mac appearance probably does make it a non-starter,
unfortunately. As near as I can tell, the solution that currently has
the most momentum is to just integrate the cheeseshop more tightly into
python, so that whatever gui toolkit you choose can be installed
easily. Its probably the only politically feasible solution anyway.

Greg
 
P

Peter Decker

PyGTK is just easier to code with. The api is much nicer.

That's why I think that Dabo's UI module is the best of all worlds. It
wraps wxPython, so the controls look great on any platform, but
provides a cleaner and more consistent API than raw wxPython. I almost
never have to look up how to do something in Dabo, whereas I couldn't
program in wxPython without the docs open.
 
A

Andrea Gavana

Hello Philippe,
Is wxWidget now part of python ? or will it be ?

No, I don't think it will ever be part of Python. But, wxWidgets is written
in C++, so it has nothing *pythonic* in it. There is, however, a "Python
Binding" of wxWidgets, called (obviously ;-) ) wxPython. If you can install
a site-package, I would suggest you to visit http://www.wxpython.org/.
wxPython has a very active newsgroup and a lot of nice user contribution. If
you can not install a site-package, I think that Tkinter is the only choice
you have (but I may be wrong here).

HTH.

Andrea.
 
M

Magnus Lycka

Philippe said:
Thanks, Tkinter it is.

It really depends on what you want to achieve. If you want to
make any advanced GUI application, you'll probably want some
third party extension to Tkinter anyway, and then you might
as well choose another tool kit from the beginning, whether
it's wxPython, PyGtk or PyQt. It's not more inconvenient to
rely on wxPython than to rely on e.g. Pmw (2 years since last
release).
 
B

batfree

Now GTK can use the local theme.You can choose the local theme to make
your application windows style on Winodws and Mac likely on mac os.
 
S

Sybren Stuvel

batfree enlightened us with:
Now GTK can use the local theme.You can choose the local theme to
make your application windows style on Winodws and Mac likely on mac
os.

But why do that yourself, when you can use a GUI toolkit that does it
for you?

Sybren
 
C

Chris Mellon

Now GTK can use the local theme.You can choose the local theme to make
your application windows style on Winodws and Mac likely on mac os.

This is true only in an very, very loose sense. Gtk does not use the
native rendering tools, and does not have native behavior. The
"native" theme just mimics some of the basic shapes & colors of the
controls.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,270
Messages
2,571,352
Members
48,034
Latest member
BettinaArn

Latest Threads

Top