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

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

[Octave-bug-tracker] [bug #31122] quit cannot be used as callback functi


From: Kai Habel
Subject: [Octave-bug-tracker] [bug #31122] quit cannot be used as callback function
Date: Sat, 25 Sep 2010 12:47:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-169.1 Firefox/3.6.10

URL:
  <http://savannah.gnu.org/bugs/?31122>

                 Summary: quit cannot be used as callback function
                 Project: GNU Octave
            Submitted by: kahacjde
            Submitted on: Sat 25 Sep 2010 02:47:08 PM CEST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If I try to use quit as a callback function, an error is given:
----------------------
function myfun
  figure(1)
  set(1,'windowbuttondownfcn','quit')
end
------------------------

If you run the function myfun and click into the figure window, the following
output is given.
-------------
octave:5> myfun
octave:6> error: quit: invalid number of output arguments

octave:6> 
---------------

This does not happen for other functions e.g. grid.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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