[Glade-users] notebook tabs



I'm creating an interface in glade and using gktbuilder to load it.
One of the elements is a notebook whose tabs will be generated at runtime
based on data read from a file.
It seems that even if I delete all tabs in glade, the notebook appears with 1
tab when I start my app. If I delete that tab in the code, the whole notebook
disappears.
Do I have to add my tabs, then delete the default one? It seems like there
should be a cleaner way to do this.
Is this a case where I should just create the notebook and it's contents in
my code?
For my particular application the contents of each tab is just going to be the
same scrolled text box, so it was convenient to create that in glade.
-- 
Chris Bare
chris at bareflix.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]