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

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

[Octave-bug-tracker] [bug #44834] [FLTK] ginput doesn't return proper (X


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44834] [FLTK] ginput doesn't return proper (X, Y) coordinates for key press
Date: Thu, 23 Apr 2015 12:03:03 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0

Follow-up Comment #11, bug #44834 (project octave):

BTW, ginput does move currentpoint.
Clicking lower left:

>> get (gca, 'currentpoint')
ans =
    1.2385    1.2763    1.0000
    1.2385    1.2763   -1.0000


and then, moving mouse cursor to upper right and...:

>> [a, b, c] = ginput (1)
% tapping some key
a =
    9.8859
b =
    9.8026
c =
    97
>> get (gca, 'currentpoint')
ans =
    9.8859    9.8026    1.0000
    9.8859    9.8026   -1.0000


Is this enough info?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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