Re: [pygtk] Trouble with menus and set_sensitive

2002-06-26 Thread James Henstridge
Christian Reis wrote: >On Wed, Jun 26, 2002 at 12:43:06PM -0400, Gary Jaffe wrote: > > >>The above works fine. Then I tried something like >> >>editItem = itemFac.get_item("/File/_Save") >> >>but I got an 'AttributeError: get_item' on the first of these last 2 lines. >> >> > >Well, Attribu

Re: [pygtk] Trouble with menus and set_sensitive

2002-06-26 Thread Gary Jaffe
On Wednesday 26 June 2002 01:06 pm, Christian Reis wrote: > On Wed, Jun 26, 2002 at 12:43:06PM -0400, Gary Jaffe wrote: > > The above works fine. Then I tried something like > > > > editItem = itemFac.get_item("/File/_Save") > > > > but I got an 'AttributeError: get_item' on the first of these la

Re: [pygtk] Trouble with menus and set_sensitive

2002-06-26 Thread Christian Reis
On Wed, Jun 26, 2002 at 12:43:06PM -0400, Gary Jaffe wrote: > > The above works fine. Then I tried something like > > editItem = itemFac.get_item("/File/_Save") > > but I got an 'AttributeError: get_item' on the first of these last 2 lines. Well, AttributeError menas that itemFac doesn't cont

Re: [pygtk] Trouble with menus and set_sensitive

2002-06-26 Thread Gary Jaffe
On Tuesday 25 June 2002 11:44 pm, James Henstridge wrote: > Gary Jaffe wrote: [snip ...] > >I can't figure out how to address the individual menu items stored in > >the tuple of tuples that is used in the create_items method of the item > >factory, so that I can set_sensitive(gtk.FALSE) for some