octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44676] ginput() does not return mouse button


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #44676] ginput() does not return mouse button value
Date: Tue, 31 Mar 2015 15:22:12 +0000
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #2, bug #44676 (project octave):

It looks like there may be a need for qt initialization like
at line 76 of ginput.m for fltk:
      if (strcmp (toolkit, "fltk"))
        __fltk_check__ ();
      endif
for qt ? But, it almost works for gnuplot:
>> [x,y,button]=ginput(3)
x =

   0.46300
   0.37694
   0.37694

y =

   0.77482
   0.67101
   0.66835

button =

      3
   1063
      2

>> 
good, except button 1 shows as 1063

This is current devel on Fedora 21.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44676>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]