23 #if defined (HAVE_CONFIG_H) 47 const char *display_name
48 = dpy_name.empty () ? nullptr : dpy_name.c_str ();
75 error (
"unable to create display_info object!");
81 DEFUN (have_window_system, , ,
static display_info * instance
static bool display_available(void)
#define DEFUN(name, args_name, nargout_name, doc)
Macro to define a builtin function.
void error(const char *fmt,...)
const char * octave_get_display_info(const char *dpy_name, int *ht, int *wd, int *dp, double *rx, double *ry, int *dpy_avail)
static bool instance_ok(bool query=true)
static void cleanup_instance(void)
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).isinteger())
void init(const std::string &dpy_name="", bool query=true)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string