Re: PyGTK Notebook button_press_event connection

2006-01-24 Thread Johan Dahlin
> > > notebook = gtk.Notebook() > ... > child = gtk.Frame() > ... > label = gtk.Label('Any text') > label.connect('button_press_event', a_function) > ... > notebook.append_page(child, label) > > > > But the button_press_event event is not intercepted (nothing happens > when I click on the tab

PyGTK Notebook button_press_event connection

2006-01-24 Thread Luigi
Hi all! I have an application that uses a gtk.Notebook to show the content of a GUI. Each page of it has a gtk.Label with a text that explains the content. Each page is added to the notebook with the method append_page(child, tab_label=None), passing a gtk.Label instance as tab_label variable. No