Mercurial > hg > octave-nkf
changeset 20062:bf511802add7
doc: Add have_window_system() to documentation.
* gui.txi: Add to Octave manual.
* sysdep.cc (Fhave_window_system): Add sealso link to isguirunning.
* octave.cc (Fisguirunning): Add sealso link to have_window_system.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 24 Feb 2015 21:38:21 -0800 |
parents | 5c1a38089f89 |
children | 734a77207e2e |
files | doc/interpreter/gui.txi libinterp/corefcn/sysdep.cc libinterp/octave.cc |
diffstat | 3 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/gui.txi +++ b/doc/interpreter/gui.txi @@ -96,6 +96,8 @@ @DOCSTRING(guihandles) +@DOCSTRING(have_window_system) + @DOCSTRING(isguirunning) @DOCSTRING(uiwait)
--- a/libinterp/corefcn/sysdep.cc +++ b/libinterp/corefcn/sysdep.cc @@ -1021,6 +1021,7 @@ @deftypefn {Built-in Function} {} have_window_system ()\n\ Return true if a window system is available (X11, Windows, or Apple OS X)\n\ and false otherwise.\n\ +@seealso{isguirunning}\n\ @end deftypefn") { return octave_value (display_info::display_available ());