comparison scripts/gui/msgbox.m @ 19630:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents 93b3d03b05e7 446c46af4b42
children 98d10871018a
comparison
equal deleted inserted replaced
19626:37d37297acf8 19630:0e1f5a750d00
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {@var{h} =} msgbox (@var{msg}) 20 ## @deftypefn {Function File} {@var{h} =} msgbox (@var{msg})
21 ## @deftypefnx {Function File} {@var{h} =} msgbox (@var{msg}, @var{title}) 21 ## @deftypefnx {Function File} {@var{h} =} msgbox (@var{msg}, @var{title})
22 ## @deftypefnx {Function File} {@var{h} =} msgbox (@var{msg}, @var{title}, @var{icon}) 22 ## @deftypefnx {Function File} {@var{h} =} msgbox (@var{msg}, @var{title}, @var{icon})
23 ## Display @var{msg} using a message dialog box. 23 ## Display @var{msg} using a message dialog box.
24 ## 24 ##
25 ## The message may have multiple lines separated by newline characters 25 ## The message may have multiple lines separated by newline characters
26 ## (@qcode{"\n"}), or it may be a cellstr array with one element for each 26 ## (@qcode{"\n"}), or it may be a cellstr array with one element for each
27 ## line. The optional input @var{title} (character string) can be used to 27 ## line. The optional input @var{title} (character string) can be used to
28 ## decorate the dialog caption. 28 ## decorate the dialog caption.
29 ## 29 ##
30 ## The optional argument @var{icon} selects a dialog icon. 30 ## The optional argument @var{icon} selects a dialog icon.
31 ## It can be one of @qcode{"none"} (default), @qcode{"error"}, 31 ## It can be one of @qcode{"none"} (default), @qcode{"error"},
32 ## @qcode{"help"}, or @qcode{"warn"}. 32 ## @qcode{"help"}, or @qcode{"warn"}.
33 ## 33 ##
34 ## The return value is always 1. 34 ## The return value is always 1.
35 ## @seealso{errordlg, helpdlg, inputdlg, listdlg, questdlg, warndlg} 35 ## @seealso{errordlg, helpdlg, inputdlg, listdlg, questdlg, warndlg}