octave-maintainers
[Top][All Lists]
Advanced

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

isguirunning versus __octave_link_enabled__


From: Rik
Subject: isguirunning versus __octave_link_enabled__
Date: Wed, 18 Feb 2015 14:31:56 -0800

2/18/15

The scripts which create a dialog window have a different behavior
depending on whether the GUI is running (Qt available) or whether the CLI
is running.  Currently the m-files in the scripts/gui directory check for
this with

if (__octave_link_enabled__ ())
 #GUI Code
else
 #CLI Code
endif

The intent of the code would be clearer, I think, if we substituted the
isguirunning() function for __octave_link_enabled__.  Does anyone have a
reason why this shouldn't be done?

--Rik



reply via email to

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