[pygtk] set current tab in pygtk

2010-02-13 Thread Alexander Kuleshov
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. 2)Howcan i get access to gtk.Textview in

Re: [pygtk] set current tab in pygtk

2010-02-13 Thread Timo
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