26 #if defined (HAVE_CONFIG_H)
44 error (
"no graphics toolkits are available!");
53 error (
"default graphics toolkit '%s' is not available!",
58 feval (
"graphics_toolkit", args);
63 error (
"failed to load %s graphics toolkit",
m_dtk.c_str ());
76 if (
m_dtk.empty () || name ==
"qt"
101 std::string tk_name = *pa++;
104 || (tk_name ==
"fltk"
void register_toolkit(const std::string &name)
void unregister_toolkit(const std::string &name)
std::map< std::string, graphics_toolkit > m_loaded_toolkits
graphics_toolkit get_toolkit(void) const
std::set< std::string > m_available_toolkits
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void error(const char *fmt,...)
octave_value_list feval(const char *name, const octave_value_list &args, int nargout)
Evaluate an Octave function (built-in or interpreted) and return the list of result values.