> I'm wondering here what the proper way to make a notebook show a set of
> pages or not at run-time would be. I'm up to the point where I see two
> alternatives:
>
> a) Hiding and showing a tab/page by using some gtk function. Is there
> such a function, and is there something similar for menus, for example?
>
> b) Building the XML for libglade dynamically. Though this seems like a
> kludge, it would be nice to separate the pages into different files and
> be able to edit them separately, and I could just piece them together as
> needed.

WHAT would be cool: glade-shell.

$ glade-shell some-file.glade
Loading from some-file.glade..
gladesh> cut menu1                     ###  from menubar1
gladesh> select menubar2
gladesh> paste menu1
gladesh> save some-file2
Saving to some-file2.glade..

...something like that.  All the functions in glade available in a CL ui.  It would be 
really easy to use f.ex. in python apps.  And voila: dynamic interfaces!

What do you think? :)


jsh


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to