[pygtk] Pygtk or gtk
Felix Rabe (public)
public at felixrabe.textdriven.com
Sat Jun 16 00:22:35 WST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Varun,
varun_shrivastava wrote:
> hi
> i m new to pygtk
> and want to know how its better to use
> pygtk rather than gtk
>
> what r its pros and cons
GTK+:
Use GTK+ if your programming language is C
- - It is more cumbersome to program
+ Your application executes faster
PyGTK:
Use PyGTK if your programming language is Python
+ It is easier (and more fun :) ) to program
- - Your application executes more slowly
Start out with the programming language you know. Lern GTK+ if you know
C, or PyGTK if you know Python. If you don't know either C or Python,
Python is *way* easier to learn than C, but C is also simple enough. I
learned both (C / GTK+ first).
I personally browse the GTK+ source code (yes, the library's code)
sometimes to find out "best practise" / some examples / how stuff works.
But normally you do not need to do this if you just program in PyGTK
and are not a perfectionist like me. :o)
Greetings,
Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGcrzLlW86h1QHmOcRAsdVAKDKl+jf1eh2Iw+pZIqyAaHFSArH/QCgm1zP
fAE8rQzsR3sUNovMVrfsTuo=
=hdzm
-----END PGP SIGNATURE-----
More information about the pygtk
mailing list