On Thu, 2007-10-11 at 00:34 -0400, Chris Cole wrote: > Basil Shubin wrote: > > Hi friends, > > > > First, excuse me for my english :) > > > > Second, I am shiny new in GTK programming and I have several questions to > > ask: > > > > Here a task, I need a GTK window with a switchable views/panels, for > > example there is default view/panel with a widgets and so on, then if user > > has selected a menu item, then default view/panel should be > > replaced/switched by other view/panel with their own widgets. > > > > Right now I am using Glade3 to layout frame with widget, but I don't > > clearly understanding how I can create a custom panel and then how to > > insert it inside main window. I need several predefined views to switch > > between... > > > > Main problem is: how to accomplish this task by using Glade3 and PyGTK > > Basil, > I think what you are looking for is to have a gtk.notebook on the right > hand side with hidden tabs. Whenever you select something on the left, > you can have a callback switch notebook pages. Hope this helps.
Thanks Chris, I thought about it, however sometime ago when I had worked with wxPython, there was such 'feature', i.e. to create several predefined panels and then insert them into top level sizer... but I'll try gtk.notebook nevertheless _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
