On Wednesday 26 November 2003 1:46 pm, Andre Poenitz wrote: > > Which bit in particular? > > Let me give you an example. > > A 'full blown GUI application' with two buttons (quit, and one that > prints 'hello') looks like > > frame .f > pack .f > > button .f.b1 -text Quit -fg red -command {destroy .} > pack .f.b1 -side left > > button .f.b2 -text Hello -command {puts "hello""} > pack .f.b2 -side left > > tkwait window . > > in Tcl/Tk. > > It took me exactly 1 minute and 47 seconds to write that and check its > functionality. > > How long would you guess it would take me to re-build this > functionality within LyX (either xforms or Qt)? > > This pure Tcl/Tk solution might be a bit unfair to compare with, but I > can assure you that it takes me about ten minutes to add a new module > (includeing C++ code) to my long-standing 'toy' application which is a > Tcl/Tk Gui with a C++ core.
Shrug. What can I say? Let's return to the old days of xforms in the core? Incidentally, I trigger exactly the same crash with your patch as you did and I too have no idea why. However, I also think that Insert->Vertical Space whould not insert an inset directly. Rather it should launch the VSpace dialog, allowing the user to set the variables. In turn, this needs a VSpaceMailer class to transfer data between the core and the frontend. One final thing. Why does 'doInsertInset' not take a 'LyXText const &' as its first argument? Works for me... Angus