By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,766 Members | 1,408 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,766 IT Pros & Developers. It's quick & easy.

Python gui

P: n/a
Hi,

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

regards,

Philippe
Nov 5 '05 #1
Share this Question
Share on Google+
16 Replies


P: n/a
Philippe C. Martin wrote:
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
Nov 5 '05 #2

P: n/a
Thanks, Tkinter it is.

Regards,
Philippe

Diez B. Roggisch wrote:
Philippe C. Martin wrote:
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


Nov 5 '05 #3

P: n/a
Il 2005-11-05, Philippe C. Martin <pm*****@snakecard.com> ha scritto:
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.

--
Lawrence
http://www.oluyede.org/blog
Nov 5 '05 #4

P: n/a
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.

--
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77
Nov 5 '05 #5

P: n/a
Philippe C. Martin wrote:
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
--
Gian Mario Tagliaretti
PyGTK GUI programming
http://www.parafernalia.org/pygtk/
Nov 6 '05 #6

P: n/a
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
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Nov 6 '05 #7

P: n/a
> 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.

--
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77
Nov 6 '05 #8

P: n/a
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

Nov 6 '05 #9

P: n/a
On 6 Nov 2005 12:08:23 -0800, gsteff <gr*************@gmail.com> wrote:
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.

--

# p.d.
Nov 6 '05 #10

P: n/a
Philippe C. Martin wrote:
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).

Nov 7 '05 #11

P: n/a
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.
Nov 22 '05 #12

P: n/a
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.
Nov 22 '05 #13

P: n/a
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
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Nov 22 '05 #14

P: n/a
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
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Nov 22 '05 #15

P: n/a
On 11/16/05, batfree <ba********@gmail.com> wrote:
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.
--
http://mail.python.org/mailman/listinfo/python-list


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.
Nov 22 '05 #16

P: n/a
On 11/16/05, batfree <ba********@gmail.com> wrote:
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.
--
http://mail.python.org/mailman/listinfo/python-list


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.
Nov 22 '05 #17

This discussion thread is closed

Replies have been disabled for this discussion.