From: Omer Zak (omerz_at_nonexisting.hamakor.org.il)
Date: Mon 24 May 2004 - 13:54:36 IDT
Meir Kriheli wrote:
>>My pygtk2 version is 1.99.12-7 (the RPM package being used is
>>pygtk2-devel-1.99.12-7, in a RedHat 8.0 installation).
>
>
> It looks very old (version suggests pre-stable release).
However, I didn't have stability problems.
>>Does anyone else have experience in using both Tk and GTK (in Python
>>and/or other languages)? If yes, what do you have to say about the
>>relative merits of both packages?
>
>
> I've used pytgk (2.2.0 installed) with glade as a proof of concept when
> researching various toolkits/languages for cross platform devel, worked quite
> well here.
>
> What was yucky in your experience?
1. This was fixed in a more recent release: PyGTK didn't have bindings
to gtk.TreeRowReference i.e. original PyGTK did not implement bindings
to everything available from GTK.
2. gtk.TreeView (when used with gtk.ListStore) has the following bizarre
bug.
I want a callback to be called each time the user selects a row. The
callback is to identify the newly-selected row and do something.
However I find that the first time an user selects a row, the 1st row is
selected (this seems to be associated with the widget getting the
focus). The user needs to click again to select the row which he really
wanted to select.
Nowhere in the GTK or PyGTK documentation did I find any hint what could
cause this behavior and how can I have it turned off.
Another issue which bothers me is the quality of PyGTK documentation
which I found. While PyGTK documents all functions, the documentation
is very cursory. In particular, there are very few (if at all) examples
how a function might be profitably used. I have to refer to C GTK
documentation in order to understand what a function does and how to use it.
On the other hand, Tk is very well documented, and it is easy for me to
comprehend the mapping between Tk (Tcl/Tk) and Tkinter (Python/Tk)
wherever Tkinter documentation is not sufficiently detailed.
--- Omer
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Mon 24 May 2004 - 14:06:12 IDT