Thank you, Tkinter. (easy to use)

2009-02-11 Thread argo785
Tonight I needed to draw a series of simple shapes in a window using a bit of math but didn't have much time to do it. I've got very little GUI toolkit experience. Briefly had a look at the usually-recommended heavyweight GUI toolkits, but I didn't want to inherit from widget classes or override pa

Re: Thank you, Tkinter. (easy to use)

2009-02-12 Thread argo785
On Feb 12, 4:29 am, "Eric Brunel" wrote: > On Thu, 12 Feb 2009 06:06:06 +0100, wrote: > > [snip] > > > My only (minor) complaint is that Tk > > doesn't draw text antialiased in the various widgets (menus, labels, > > buttons, etc.). > >  From version 8.5 of tcl/tk, it's supposed to do it. See thi

Re: Thank you, Tkinter. (easy to use)

2009-02-12 Thread argo785
On Feb 12, 4:29 am, "Eric Brunel" wrote: > On Thu, 12 Feb 2009 06:06:06 +0100, wrote: > > [snip] > > > My only (minor) complaint is that Tk > > doesn't draw text antialiased in the various widgets (menus, labels, > > buttons, etc.). > >  From version 8.5 of tcl/tk, it's supposed to do it. See thi

Easier to wrap C or C++ libraries?

2009-02-13 Thread argo785
When creating a Python binding to a C or C++ library, which is easier to wrap, the C lib or the C++ one? Given a choice, if you had to choose between using one of two libs, one written in C, the other in C+ + -- both having approximately the same functionality -- which would you rather deal with fr

Re: Easier to wrap C or C++ libraries?

2009-02-14 Thread argo785
On Feb 14, 12:14 pm, "Diez B. Roggisch" wrote: > > The answer is easy: if you use C, you can use ctypes to create a wrapper > - with pure python, no compilation, no platform issues. > > Which IMHO makes a strong point for C - if you need OO, it's bolted on > easily using Python itself, by creating