Re: [pygtk] Simple question on reusing stock item

2009-02-09 Thread Alessandro Dentella
On Mon, Feb 09, 2009 at 02:24:35PM +, Amondo Roquentin wrote: > John Finlay wrote: > > > A MenuItem is a Container so you can add anything to it. In your case > > create an empty MenuItem and add an HBox containing an Image and a Label. > > Is there a policy on the spacing to apply to HBoxes

Re: [pygtk] Simple question on reusing stock item - SOLVED

2009-02-09 Thread Alessandro Dentella
On Mon, Feb 09, 2009 at 02:04:24AM -0800, John Finlay wrote: > Alessandro Dentella wrote: > > Hi, > > > > i'd like to use stock item in menu entries with modified labels to better > > suit context. > > > > * MenuItem doesn't allow to use images (reasonable) > > * ImageMenuItem doesn't app

Re: [pygtk] Simple question on reusing stock item

2009-02-09 Thread Amondo Roquentin
John Finlay wrote: > A MenuItem is a Container so you can add anything to it. In your case > create an empty MenuItem and add an HBox containing an Image and a Label. Is there a policy on the spacing to apply to HBoxes in this circumstance? For example, should the spacing be zero or a fixed numbe

Re: [pygtk] Simple question on reusing stock item

2009-02-09 Thread John Finlay
Alessandro Dentella wrote: > Hi, > > i'd like to use stock item in menu entries with modified labels to better > suit context. > > * MenuItem doesn't allow to use images (reasonable) > * ImageMenuItem doesn't appearently allow to change label (really???) > > I think I could go with Icon

[pygtk] Simple question on reusing stock item

2009-02-08 Thread Alessandro Dentella
Hi, i'd like to use stock item in menu entries with modified labels to better suit context. * MenuItem doesn't allow to use images (reasonable) * ImageMenuItem doesn't appearently allow to change label (really???) I think I could go with IconFactory but it seems to me it's more compl