On 13-02-10 13:00, Alexander Kuleshov wrote: > Hi to all. I have a notebook and i have textview on notebook's tab. > And i have 2 question: > 1)How can i set current last tab in notebook: > I have: > self.tab_panel.set_current_page(pages_num + 1) > > where in page_num number of notebok tabs, but it's not work. > Did you read the reference manual? http://www.pygtk.org/docs/pygtk/class-gtknotebook.html#method-gtknotebook--set-current-page
> 2)Howcan i get access to gtk.Textview in current notebook tab? > What do you mean by "access it"? This should work: self.textview = gtk.Textview() Cheers, Timo > Thank you. > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
