|
From: Ethan M. <merritt@u.washington.edu> - 2004-12-23 05:01:35
|
On Tuesday 21 December 2004 10:33 am, Jacques Bouchard wrote: > Ethan Merritt <merritt <at> u.washington.edu> writes: > > Would it be sufficient to reserve a variable for this returned window > > id parameter? > That would be great. Please try out patchset #1090199 on SourceForge. It defines a new command option: bind all <key> "command string" "bind all" causes this binding to apply to all existing plot windows, active or not. When <key> is pressed in any plot window, the corresponding window ID is returned in MOUSE_KEY_WINDOW and "command string" is executed. So your example case would become bind all PageUp 'set term x11 MOUSE_KEY_WINDOW; \ load "dem.".MOUSE_KEY_WINDOW' Now PageUp should refresh the specific plot assigned to the window you typed it in. Please let me know how it works for your application, and if you have any ideas for improving it. -- Ethan A Merritt Biomolecular Structure Center University of Washington 98195-7742 |