[pygtk] notebook close button
Gian Mario Tagliaretti
g.tagliaretti at gmail.com
Sat Apr 29 18:37:33 WST 2006
2006/4/29, Khiraly <khiraly123 a gmx.net>:
> Can somebody clarify, what is the right line for this?:
> tabButton.connect('clicked',self.on_tabButton_clicked)
>
you should define a method on_tabButton_clicked that does something
when the button is clicked.
def on_tabButton_clicked(self, *args):
# do_something here
ciao
--
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/
http://pygstdocs.berlios.de
More information about the pygtk
mailing list