Re: [ 1027032 ] Connect gnuplot_x11 to exterior application window

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: [ 1027032 ] Connect gnuplot_x11 to exterior application window

Daniel J Sebald
Daniel J Sebald wrote:

> Petr Mikulik wrote:
>>> How do you mean?
>> To have another tcl script which demonstrates also the mousing
>> functionality.
> Yes, that would be nice.  I'll search the web to see if there is some
> way of turning off the moust via tcl.

Sorry Petr, I just cannot seem to get tcl to relinquish use of ButtonPress and
ButtonRelease.  The X window and tcl literature is either too voluminous or
arcane and internet searches lead me nowhere.  I'm not even sure it is possible.
  I've tried things like

bind .plt.g <ButtonPress>
bind .plt.g <ButtonRelease>

event delete {on all the events that "event info" says are active}


However, I HAVE VERIFIED the mouse option by creating an X window via C and
clearing ButtonPress and ButtonRelease.  gnuplot is then able to utilize the
mouse in said window.

So, the patch works on my system, but unfortunately tcl can't demostrate the
mouse portion of it.

I've upload a patch that has a few extra comments in it.


SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast.
gnuplot-beta mailing list
[hidden email]