[pygtk] port of the textview demo from gtk+2.0

2003-03-06 Thread Nathan Hurst
I've ported the textview demo from the gtk+2.0 tarball into python-gtk2. Feel free to add it to the distro or whatever. http://hawthorn.csse.monash.edu.au/~njh/programming/python-toys/textview.txt -- njh http://www.csse.monash.edu.au/~njh/ ___ pygtk

Re: [pygtk] applets libglade

2003-03-06 Thread Christian Reis
On Wed, Mar 05, 2003 at 11:57:24PM +0100, Martin Preishuber wrote: 2.) I create some windows with glade (pygtk2 1.99.15), to use it I do something like: xml = gtk.glade.XML(gladefile) this works fine, but it immidiately shows the window ... is there any way to load it

Re: [pygtk] Curves, splines and libart

2003-03-06 Thread cybolic
Thanks all three of you for your answers. I've already implemented an algorithm using the method I described in my mail, if anyone is interrested in it... I'ts a but funny though, but gives interresting results, probably has best use in interactive demos :) . Cheers... Christian / Cybolic

Re: [pygtk] Port of pugtk-1.99.15 on win32

2003-03-06 Thread Martin Preishuber
Hi,The page is nice yes :) the only thing which should be changed, is the download site of GTK+ Runtime Environment. I think the primary site ishttp://sourceforge.net/projects/gtk-win/since the other site just references the sourceforge page. I wanted to change this in Christians FAQ, but then I

Re: [pygtk] GObject reference handling

2003-03-06 Thread James Henstridge
James Henstridge wrote: If anyone on the list has experience with the Python cycle GC, I would appreciate it if you could read over my reasoning, and hopefully spot any obvious mistakes. If I can get this working, I would like to apply it for the next pygtk release. Okay. I found the problem

Re: [pygtk] applets libglade

2003-03-06 Thread mekkaoui omar
Le jeu 06/03/2003 à 13:55, Christian Reis a écrit : On Wed, Mar 05, 2003 at 11:57:24PM +0100, Martin Preishuber wrote: 2.) I create some windows with glade (pygtk2 1.99.15), to use it I do something like: xml = gtk.glade.XML(gladefile) this works fine, but it

[pygtk] TreeList check boxes

2003-03-06 Thread Jay Graves
I am trying to have a TreeList with check boxes in the TreeViewColumn If you don't know what I mean look at the gconf-editor and click around, you will see one. Right now I have: self.keyListModel = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_BOOLEAN) .

[pygtk] Entry validation

2003-03-06 Thread Rene Olsthoorn
Dear readers, At time of writing (2003.03.06), there is no entryfield validation in GTK. No support for currency, integer(little bit with spinbutton), date or percentage values. I've coded a little bit, which might be useful to you. The validation of the entry is done when it receives an

Re: [pygtk] TreeList check boxes

2003-03-06 Thread James Henstridge
Jay Graves wrote: I am trying to have a TreeList with check boxes in the TreeViewColumn If you don't know what I mean look at the gconf-editor and click around, you will see one. Right now I have: self.keyListModel = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_BOOLEAN)

Re: [pygtk] TreeList check boxes

2003-03-06 Thread Jay Graves
Thanks so much, that is exactly what I was looking for. However I am having trouble connecting to the cell renderer's toggled signal Below is the code I am using to connect, I have tried connecting to 'toggled' and 'toggle_cursor_row' but they both return an error TypeError: unknown signal name