|
From: Tatsuro M. <tma...@ya...> - 2014-07-01 10:48:07
|
In the gnuplot manual for 4.6 and 5.0rc-1, the below is described in the qt terminal subsection. By default, the window is raised to the top of your desktop when a plot is drawn. This can be controlled with the keyword "raise". The keyword "persist" will prevent gnuplot from exiting before you explicitely close all the plot windows. Finally, by default the key <space> raises the gnuplot console window, and 'q' closes the plot window. The keyword "ctrl" allows you to replace those bindings by <ctrl>+<space> and <ctrl>+'q', respectively. However, no codes are described for "key <space> raises the gnuplot console window" so far. I have tried to revise mouse.c for qt (only for windows) as Ethan was suggested. I build patched binary with debug option and traced with gdb. The space key code is trasfered to mouse.c by pressing space key on plot windows and WinRaiseConsole() is executed. But without break, pressing space key on plot windows did not raise console. Perhaps I have misled but I cannot find where is wrong. Anyway, I think that the situation is not much with the manual for qt terminal concerning raise console feature. If I am misleading the situation, please pointed it out. Tatsuro |