V Sat, 20 Feb 2010 15:37:57 +0600 Alexander Kuleshov <kuleshovm...@gmail.com> napsáno:
> Hi to all. > I have a gtk.Notebook and i want get text of label from current > gtk.noteBook tab. I make that: > > text = self.get_tab_label(self.get_nth_page(self.get_current_page())) > > But on tab i have hbox and label with close button in hbox. > > if i print text i see None because it return HBox. How can i get text > from label? > > Thank you. if return HBox. use HBox.get_children() for widgets in it. > _______________________________________________ > pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/