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

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

[Octave-bug-tracker] [bug #44775] CreateMode argument for msgbox/errordl


From: Guillaume
Subject: [Octave-bug-tracker] [bug #44775] CreateMode argument for msgbox/errordlg/warndlg
Date: Wed, 08 Apr 2015 15:14:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

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

                 Summary: CreateMode argument for msgbox/errordlg/warndlg
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Wed 08 Apr 2015 03:14:18 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The attached patch modifies msgbox/errordlg/warndlg/message_dialog to
recognize the CreateMode argument and display a warning (and ignore it,
instead of returning an error).

http://www.mathworks.com/help/matlab/ref/msgbox.html
http://www.mathworks.com/help/matlab/ref/errordlg.html
http://www.mathworks.com/help/matlab/ref/warndlg.html

Another difference with MATLAB is that the returned value is not a figure
handle. It also blocks the programme execution while this is done separately
with MATLAB using uiwait().

Is there a specific reason, apart from historical, that these functions are
not implemented as pure Octave code? It would make it easier to implement, eg,
custom icons.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 08 Apr 2015 03:14:18 PM GMT  Name: msg_modal.diff  Size: 5kB   By:
gyom

<http://savannah.gnu.org/bugs/download.php?file_id=33595>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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