Re: [Tutor] gtk.Notebook error

2009-07-13 Thread Alan Gauld
"Amit Sethi" wrote I am having problem with adding pages to gtk.Notebook : I know nothing about Gtk so I could mbe missing something here but Now while creating I do : def new_tab(widget,widget_render): notebook.new_tab(widget_render) notebook = SmNotebook() These 2 line

[Tutor] gtk.Notebook error

2009-07-13 Thread Amit Sethi
Hi , I am having problem with adding pages to gtk.Notebook : What I want is to be able to pass a random container widget to a new tab: thus my code is : class SmNotebook(gtk.Notebook): def __init__(self): gtk.Notebook.__init__(self) #set the tab proper