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

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

[Octave-patch-tracker] [patch #7990] Add builtin Qt equivalents of UI di


From: Dan Sebald
Subject: [Octave-patch-tracker] [patch #7990] Add builtin Qt equivalents of UI dialogs, i.e., , qterrordlg, qtinputdlg, etc.
Date: Tue, 02 Apr 2013 22:55:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #4, patch #7990 (project octave):

Or, better still, overload is_gui_running as follows:

int is_gui_running (void);
std::string is_gui_running (std::string);

where the latter works as follows:

std:string f = is_gui_running ("errordlg");

returns "qterrordlg" (or "gtkerrordlg") if the GUI is running, "" otherwise.

Then one could simplify to

if (is_gui_running ())
  eval(is_gui_running ("errordlg"))
end


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7990>

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




reply via email to

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