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
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
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
Hi,
I found mysel many times answering to the original author rather than to
the list. I think that this doesn't only happen to me as is pretty normal
for public mailing list to have reply address set to the list.
I think this is inconvenient as many answers of public interest don't
arr
Gian Mario Tagliaretti wrote:
> Your snippet works for me.
>
> cheers
It worked for me too.
May I suggest to check your bindings are compiled/installed okay.
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read th
Hi,
I'm trying to create a custom widget that inherits from gtk.Image but I'm
having problems. When I add more than one of these widgets to a container,
only the first widget is being rendered. My test case looks like this:
import gtk, gobject
class MyImage(gtk.Image):
def __init__(self):
On Mon, Feb 9, 2009 at 1:18 PM, Gaetano Guerriero
wrote:
Hi Gaetano,
> import gtk
>
> window = gtk.Window()
> box = gtk.HBox()
> notebook = gtk.Notebook()
> notebook.append_page(gtk.Label("!"))
> box.add(notebook)
> window.add(box)
> window.show_all()
> gtk.main()
Your snippet works for me.
Documentation says that since PyGTK 2.4 I can add a page to a gtk.Notebook
with an empty label. Anyway this crash with segmentation fault. Am i missing
something ?
$ echo '
import gtk
window = gtk.Window()
box = gtk.HBox()
notebook = gtk.Notebook()
notebook.append_page(gtk.Label("!"))
box.a
Documentation says that since PyGTK 2.4 I can add a page to a gtk.Notebook
with an empty label. Anyway this crash with segmentation fault. Am i missing
something ?
$ echo '
import gtk
window = gtk.Window()
box = gtk.HBox()
notebook = gtk.Notebook()
notebook.append_page(gtk.Label("!"))
box.a
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
10 matches
Mail list logo