Re: [pygtk] Unsupported types

2003-03-26 Thread James Henstridge
Yuri Vilmanis wrote: I've been using py-gtk for a little while now, and I have noticed one major deficiency: GTK+ types and structs which do not have a "type" feild cannot be imported by the py-gtk autogeneration script, rendering quite a few functions unusable. Off the top of my head, examples in

Re: [pygtk] Comments on the tutorial

2003-03-26 Thread Jonathan Merritt
Hi, One thing I'd like to see covered in depth is the use of the pygtk code generation to create Python wrappers for custom GTK widgets. I've noticed that the PyGTK tutorial is (currently) heavily based upon the GTK tutorial, so I don't know if this is outside it's scope, but I think it would

Re: [pygtk] connect_after does not work for treeview

2003-03-26 Thread James Henstridge
Christian Reis wrote: Can the class handler be run multiple times, then, if both _LAST and _FIRST are set, for instance? Yes, but they seldom do (I am not sure if any of the signals in GTK do so). What are signals with return types? Integer, boolean, etc. The type of the value returned by the s

Re: [pygtk] ANNOUNCE: pygtk-1.99.16, pyorbit-1.99.4 andgnome-python-1.99.16

2003-03-26 Thread Johan Dahlin
> When setting a property value of type ATOM, then pygtk expects a > sequence of integers as data arguments. > These integers seem to be interpreted as C-pointers to strings. > This makes no sense in Python, does it? > > Therefore, it seems to be impossible to set ATOMs as property values > with p

[pygtk] Unsupported types

2003-03-26 Thread Yuri Vilmanis
I've been using py-gtk for a little while now, and I have noticed one major deficiency: GTK+ types and structs which do not have a "type" feild cannot be imported by the py-gtk autogeneration script, rendering quite a few functions unusable. Off the top of my head, examples include GSList, PangoLay

Re: [pygtk] Should PyGtk be proposed for the Python 2.4 release?

2003-03-26 Thread Rob Brown-Bayliss
> Python is already distributed with Tkinter, and it gets used as the standard > cross platform GUI toolkit. The addition of PyGtk will give the standard > distribution a more viable cross platform capability. But will it? what gui toolkit is required by the C specs or distributed with all (an

Re: [pygtk] How to work with popup windows?

2003-03-26 Thread John K Luebs
On Wed, Mar 26, 2003 at 11:20:16AM -0600, John Hunter wrote: > > "Michel" == Michel Thadeu Sabchuk <[EMAIL PROTECTED]> writes: > > Michel> Hi guys! I'm learning gtk and pygtk (I started with > Michel> pygtk) and I want to know about a thing... I made a window > Michel> and I want,

Re: [pygtk] connect_after does not work for treeview

2003-03-26 Thread Christian Reis
On Tue, Mar 25, 2003 at 10:10:32PM +0800, James Henstridge wrote: > >How does connect/connect_after relate to the `position' of the callback > >in the list of handlers? Does connect() connect *before* the > >GtkTreeView's `default' signal handler (can I call it default?) and > >_after(), after? Wha

Re: [pygtk] Comments on the tutorial

2003-03-26 Thread Christian Reis
On Wed, Mar 26, 2003 at 03:22:43PM +0100, Antoon Pardon wrote: > > Events are things sent to the application by the X server. Signals are > > a generic notification system used in GTK (and related libraries). GTK > > uses signals to notify your application when events come in. > > > > James. >

Re: [pygtk] How to work with popup windows?

2003-03-26 Thread John Hunter
> "Michel" == Michel Thadeu Sabchuk <[EMAIL PROTECTED]> writes: Michel> Hi guys! I'm learning gtk and pygtk (I started with Michel> pygtk) and I want to know about a thing... I made a window Michel> and I want, when I press a button, my program create a Michel> popup window wi

Re: [pygtk] strange dll in win32 build of pygtkglext

2003-03-26 Thread John Hunter
> "John" == John K Luebs <[EMAIL PROTECTED]> writes: John> What it sounds like is that your python22 import library has John> that funky path embedded in it. Did you make the import John> library yourself, using the common instructions of using John> pexports and dlltool? Real

[pygtk] How to work with popup windows?

2003-03-26 Thread Michel Thadeu Sabchuk
Hi guys! I'm learning gtk and pygtk (I started with pygtk) and I want to know about a thing... I made a window and I want, when I press a button, my program create a popup window with a alert... I made it but I connect the gtk.mainquit signal to the popup and all the windows are killed! How to

Re: [pygtk] Comments on the tutorial

2003-03-26 Thread Christian Reis
On Wed, Mar 26, 2003 at 08:02:16PM +0800, James Henstridge wrote: > Antoon Pardon wrote: > > >Explain the difference between signals and events. > >As far I as a complete newbie understand the two are > >extremely similar to the point there is no reason > >to have both. Which makes it confusing to

Re: [pygtk] Comments on the tutorial

2003-03-26 Thread Antoon Pardon
On Wed, Mar 26, 2003 at 08:02:16PM +0800, James Henstridge wrote: > Antoon Pardon wrote: > > >Explain the difference between signals and events. > >As far I as a complete newbie understand the two are > >extremely similar to the point there is no reason > >to have both. Which makes it confusing to

Re: [pygtk] Comments on the tutorial

2003-03-26 Thread James Henstridge
Antoon Pardon wrote: Explain the difference between signals and events. As far I as a complete newbie understand the two are extremely similar to the point there is no reason to have both. Which makes it confusing to have them both without explanation about why having them both. Events are things

[pygtk] Comments on the tutorial

2003-03-26 Thread Antoon Pardon
On Tue, Mar 25, 2003 at 10:45:20AM -0800, John Finlay wrote: > Hi Dan, > > I'm embarking on a major rewrite of the PyGTK tutorial > (http://www.moeraki.com/pygtktutorial) and would appreciate some > feedback on the shortcomings and areas for improvement especially from a > new PyGTK user. > >