[pygtk] TreeModel mystery

2002-08-20 Thread Michael McLay
I've figured out how to use many of the widgets in the 2.0.0 release of pygtk, but I've spent the last several hours trying to make sense of the TreeModel. Call me thick, but I don't see where some of the methods are originating, or why they are being called. Why did I have to define the 20 s

[pygtk] pango marukup for lables

2002-08-20 Thread Rob Brown-Bayliss
Hi, I have a lable in a glade file, I do this self.heading.set_use_markup(gtk.TRUE) self.heading.set_markup('Blah Blah Blah') and the label literaly says: Blah Blah Blah The glade file also has set the the lable to use markup so where am I going wrong? -- * * Rob Brown-Bayliss * _

Re: [pygtk] No menu via ItemFactory

2002-08-20 Thread Arjan Molenaar
On Tue, 2002-08-20 at 15:41, James Henstridge wrote: > Arjan Molenaar wrote: > > > > > > Looks like this was caused by some reference leak fixes. When the item > factory goes out of scope, it gets destroyed, and all the items it > created go with it. > > The simple fix is to add the line: >

Re: [pygtk] No menu via ItemFactory

2002-08-20 Thread James Henstridge
Arjan Molenaar wrote: >Hi all, > >I'm having some trouble displaying a menubar that is generated by an >ItemFactory. Since my last update (this morning, first update since >about two weeks), no menubar is displayed on top of my app. I checked >the PyGtk demo app (item factory) and it doesn't show

Re: [pygtk] Typo?

2002-08-20 Thread James Henstridge
Rob Brown-Bayliss wrote: >Hi, > >Is gtk.gdk.Window.set_ittle() a typo? > >Should it be set_title()? > > > Thanks for the bug report. Fixed in CVS now. James. -- Email: [EMAIL PROTECTED] | Linux.conf.au http://linux.conf.au/ WWW: http://www.daa.com.au/~james/ | Jan 22-25

[pygtk] No menu via ItemFactory

2002-08-20 Thread Arjan Molenaar
Hi all, I'm having some trouble displaying a menubar that is generated by an ItemFactory. Since my last update (this morning, first update since about two weeks), no menubar is displayed on top of my app. I checked the PyGtk demo app (item factory) and it doesn't show the menubar too. If I start

[pygtk] Using SWIG to access a C structure containing Gtk Objects ?

2002-08-20 Thread torben hohn
Hi... I want to port the main and GUI of a gtk+ C applications to python. I used SWIG to generate the interface. But now i have the problem that i have a C struct which contains some gtk widgets. i need to add a widget from the struct to my PyGtkWindow so i have to instruct SWIG that element scr