On Thu, Sep 04, 2008 at 10:51:56PM +0200, Johannes Hofmann wrote:
Please test, and enjoy.
Nice. Thanks you!
:-)
PS: I've also made some experiments with tabs, but it seems FLTK2 has problems to handle window widgets inside the tabs...
Why do You need a window (instead of a simple widget) inside the tabs?
Currently dillo2 uses window, so Ctrl-N can open a new window. It would have been convenient not to change the current code base, and to reuse that already tested part for both tabs and new windows (with the idea of being able to open tabs or new windows with the same code). It may be possible by switching class UI to derive from Group, and to add an enclosing window only when necessary, and thus arrange for widgets inside Tabs and Window for windows. The problem I foresee with the latter scheme is messing with the event passing between widgets and windows... I'll have to experiment with it, and get some working code. Now, if *somebody* wants to help then, that'd be great! ;-) -- Cheers Jorge.-