473,715 Members | 2,260 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PyGTK or wxPython (not a flame war) on Windows

TPJ
GUI's etc: PyGtk on Windows
"(...) So if someone develops mainly for X and just wants to make sure
that it is not impossible to run on Windows, you can use PyGTK. (...)",
July 2nd, 1999

pyGTK on Windows
"(...)
can i use pyGTK under
Windows???


It's probably doable (...) but not worthy in my oppinion (...). A much
better choice is wxPython (...)"

"(...)even if it is made to work under windows, pygtk would not have a
windows look and feel. wxPython is probably your best bet (...)"

pygtk vs. wxPython
4. "(...) If you want cross-platform capabilities (...) then go
wxWindows." May 17 2002

7. "(...) The pygtk (and gtk port in general) does not yet support
threading on windows. (...) GTK 2.0 is supposed to fix it but support
isn't available *yet*. (...)" May 17 2002

PyGTK vs. wxPython
7. "(...) wxPython would indeed be a better choice if your applications
are only to run on a certain infamous legacy operating system from the
Pacific Northwest. The PyGTK is a better choice if you are writing for
Linux and want your application to also be able to run on windows.
(...)" Apr 25

11. "(...) I'm using wxPython because GTK for windows wasn't ready
three years ago when I initially had to write my first Windows
application. If I evaluated both of them again today, I might choose
GTK, and I might not." Apr 27

In the nearest future I will have to decide what to use: PyGTK or
wxPython. I like those both APIs. wxPython has more widgets, but PyGTK
seems to be faster. I can use them both for free (it's very important).
My only concern is that although I'm doing development on Linux, I'd
like to make my application runnable on Windows as well (Py2Exe). I'd
like to choose PyGTK (because of its rich documentation), but I'm not
sure if PyGTK is stable on Windows... For now I know that wxPython runs
well on Windows.

For now I haven't experienced any problems with wxPython on Linux
(Slackware, Aurox /Polish RH-like distro/). I used wxPython on Linux,
but I stopped because of its poor documentation (mainly C++ docs, not
Python docs). But recently I noticed this documentation got better
(*much* better!).

How well does PyGTK run on Windows (98, 2K, XP)? How stable is it? Will
I be able to make an executable (using Py2Exe) of an application that
uses PyGTK?

Jul 22 '05 #1
25 4277
TPJ enlightened us with:
I'd like to choose PyGTK (because of its rich documentation), but
I'm not sure if PyGTK is stable on Windows... For now I know that
wxPython runs well on Windows.


Don't forget that wxPython looks like Mac on a Mac. That's important
too :)

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
Jul 22 '05 #2


TPJ wrote:
GUI's etc: PyGtk on Windows
"(...) So if someone develops mainly for X and just wants to make sure
that it is not impossible to run on Windows, you can use PyGTK. (...)",
July 2nd, 1999

pyGTK on Windows
"(...)
can i use pyGTK under
Windows???


It's probably doable (...) but not worthy in my oppinion (...). A much
better choice is wxPython (...)"

"(...)even if it is made to work under windows, pygtk would not have a
windows look and feel. wxPython is probably your best bet (...)"

pygtk vs. wxPython
4. "(...) If you want cross-platform capabilities (...) then go
wxWindows." May 17 2002

7. "(...) The pygtk (and gtk port in general) does not yet support
threading on windows. (...) GTK 2.0 is supposed to fix it but support
isn't available *yet*. (...)" May 17 2002

PyGTK vs. wxPython
7. "(...) wxPython would indeed be a better choice if your applications
are only to run on a certain infamous legacy operating system from the
Pacific Northwest. The PyGTK is a better choice if you are writing for
Linux and want your application to also be able to run on windows.
(...)" Apr 25

11. "(...) I'm using wxPython because GTK for windows wasn't ready
three years ago when I initially had to write my first Windows
application. If I evaluated both of them again today, I might choose
GTK, and I might not." Apr 27

In the nearest future I will have to decide what to use: PyGTK or
wxPython. I like those both APIs. wxPython has more widgets, but PyGTK
seems to be faster. I can use them both for free (it's very important).
My only concern is that although I'm doing development on Linux, I'd
like to make my application runnable on Windows as well (Py2Exe). I'd
like to choose PyGTK (because of its rich documentation), but I'm not
sure if PyGTK is stable on Windows... For now I know that wxPython runs
well on Windows.

For now I haven't experienced any problems with wxPython on Linux
(Slackware, Aurox /Polish RH-like distro/). I used wxPython on Linux,
but I stopped because of its poor documentation (mainly C++ docs, not
Python docs). But recently I noticed this documentation got better
(*much* better!).

How well does PyGTK run on Windows (98, 2K, XP)? How stable is it? Will
I be able to make an executable (using Py2Exe) of an application that
uses PyGTK?

I use wxPython through Wax - Wax makes it nice and easy. Note that
wxPython doesn't have a completely native look and feel on Windoze, but
it's pretty good.

I've never programmed with pygtk - *but* I did play with Gajim (?) a
Jabber client written with pygtk. The look and feel isn't native
eaither - but it's very classy. It made me want to learn GTK ! I'll
probably stick with Wax though. Gajim ahs a version bundled with py2exe
- which definitley works. The only slight downer is that the user has
to install the GTK+ runtime. (The wealth of chociues makes this
*slightly* confusing for the complete noob).

Best Regards,

Fuzzy
http://www.voidspace.org.uk/python

Jul 22 '05 #3
On 2005-07-22, TPJ <tp*****@interi a.pl> wrote:
7. "(...) The pygtk (and gtk port in general) does not yet support
threading on windows. (...) GTK 2.0 is supposed to fix it but support
isn't available *yet*. (...)" May 17 2002
Pretty sure this hasn't been the case for a long time. The current stable
version of gtk is 2.6.
sure if PyGTK is stable on Windows... For now I know that wxPython runs
well on Windows.
I've used pygtk with success on windows. I suggest installing the gladewin
package and pygtk, then perhaps hacking some of the demos in the pygtk
distro.

http://gladewin32.sourceforge.net/index.php
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/

One advocacy point: There are complete reference docs, an extensive
tutorial, and a constantly evolving FAQ for pygtk.

One point against: requires X11 on a Mac; definitely not native there,
though that's where I do a lot of my pygtk development.
I be able to make an executable (using Py2Exe) of an application that
uses PyGTK?


Yes. http://www.async.com.br/faq/pygtk/in...=faq21.005.htp

Dave Cook
Jul 22 '05 #4
TPJ napisa³(a):
In the nearest future I will have to decide what to use: PyGTK or
wxPython. I like those both APIs. wxPython has more widgets, but PyGTK
seems to be faster. I can use them both for free (it's very important).
My only concern is that although I'm doing development on Linux, I'd
like to make my application runnable on Windows as well (Py2Exe). I'd
like to choose PyGTK (because of its rich documentation), but I'm not
sure if PyGTK is stable on Windows... For now I know that wxPython runs
well on Windows.

For now I haven't experienced any problems with wxPython on Linux
(Slackware, Aurox /Polish RH-like distro/). I used wxPython on Linux,
but I stopped because of its poor documentation (mainly C++ docs, not
Python docs). But recently I noticed this documentation got better
(*much* better!).

How well does PyGTK run on Windows (98, 2K, XP)? How stable is it? Will
I be able to make an executable (using Py2Exe) of an application that
uses PyGTK?


PyGTK runs reasonably well on Win32, although not as good as wx. On
linux situation is reversed -- wx runs acceptably well, in contrast to
PyGTK which works like a charm.

PyQt works equally well on both systems.

--
Jarek Zgoda
http://jpa.berlios.de/
Jul 22 '05 #5
One thing I don't like with GTK+ on Windows is that it uses GTK+
file dialogs rather than system file dialogs. wxWidgets uses file
dialogs that appear very similar to the system dialogs. Depends on your
customers but I don't think this is reasonable for most applications.
http://www.scintilla.org/GtkFile.png

Neil
Jul 23 '05 #6
Hello!
How well does PyGTK run on Windows (98, 2K, XP)? How stable is it? Will
I be able to make an executable (using Py2Exe) of an application that
uses PyGTK?


I _do_ like PyGTK on Windows. It works without problems.
You can find a ready to use py2exe script on
http://www.pythonwiki.de/PyGtk. You could also bundle the runtime DLLs with
your py2exe'd application, but I have never done this. You could try doing
this like described here:
http://aspn.activestate.com/ASPN/Mai...-users/2476686 (use the
setup.py script from the wiki and start at (2) in the mail).

HTH.

greets,
Marek

PS: Yes, I admit it is harder than py2exe + wxPython but I still like
PyGTK.

Jul 24 '05 #7
TPJ
> I've used pygtk with success on windows. (...)
[will] I be able to make an executable (using Py2Exe) of an application
that uses PyGTK?
Yes.


So PyGTK is now my favourite. Better documentation, runs on Linux and
Windows, the possibility to make an executable program with Py2Exe.
It's enough for me.
One point against: requires X11 on a Mac; definitely not native there,
though that's where I do a lot of my pygtk development.


I suppose that 95% of my application's users will work on Win. The rest
will work on *nix. So my primary concern is PC world.

AFAIK PyGTK doesn't look native on Win as well, but I don't care.

Jul 24 '05 #8
TPJ
> PyQt works equally well on both systems.

I believe you. The problem is I don't like GPL.

Jul 24 '05 #9
TPJ
Thanks a lot!

Now I know I can choose PyGTK. I really like it because of its rich
documentation.
You could also bundle the runtime DLLs with your py2exe'd application


That's great. I think my clients will appreciate a single one
executable.

Jul 24 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2056
by: Charlie Kim | last post by:
hi all. I made gnome applet with pyGTK and gnome application with wxPython. When I tried import wxPython application in pyGTK applet it crashed with message: GThread-ERROR **: GThread system may only be initialized once. aborting... I think it is because I'm trying import wxPython modules in pyGTK applet.
22
5762
by: dcrespo | last post by:
Hi all... I think wxPython is much better than PyGTK. First of all, PyGTK needs the GTK runtime installed, whereas wxPython is entirely Python's modules, so It facilitates the apps' distribution. Also, PyGTK uses specific controls or widgets of GTK, while wxPython uses native controls of the platform where the app is running. I'm learning both, but at a slow step, so I want to know all the comments about this subject in this group.
0
1492
by: Sebastien Aubry | last post by:
Hello, I happen to use in my programs a widget based on Tkinter Canvas. It is Zinc (http://www.tkzinc.org), which allows to draw using transparency, gradients, translations, rotations, ... using OpenGL. However, this widget depends on Tkinter, whose look I find oldy, though I would like to try PyGtk or wxPython. I would like to know if there is a method for using a Tkinter widget
14
13367
by: Rod W | last post by:
I'm just starting out on Python but my primary goal is to provide applications with some user interface (GUI). Can someone point me to a good comparison of whether I should use wxPython (with wxGlade I assume) or PyGTK (with Glade I assume)? I'd prefer open source (not necessarily GPL though) tools. Rod
84
6551
by: John Perks and Sarah Mount | last post by:
we have some Python code we're planning to GPL. However, bits of it were cut&pasted from some wxPython-licenced code to use as a starting point for implementation. It is possible that some fragments of this code remains unchanged at the end. How should we refer to this in terms of copyright statements and bundled Licence files? Is there, say, a standard wording to be appended to the GPL header in each source file? Does the original...
2
2567
by: Tim N. van der Leeuw | last post by:
I tried to create a windows executable of a pygtk program. My first attempt worked, kinda, except that no themes were applied and no readable fonts were found by pango; so all letters where just empty squares. But the program worked. I looked up some docs, found the following recipe on the PyGTK Wiki site: http://starship.python.net/crew/theller/moin.cgi/Py2exeAndPyGTK I followed those instructions to convert my setup.py file;...
0
8718
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9332
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9044
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6645
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5966
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4476
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3174
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2537
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2118
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.