Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.1.0 - Português


openDevtools

Open DevTools window of uicontrol browser

Syntax

openDevtools(h)

Arguments

h

Handle of type uicontrol and style browser.

Description

Browser must allow debug.

See uicontrol properties dedicated page about debug properties.

Examples

f = figure("infobar_visible", "off", "toolbar_visible", "off", ...
    "dockable", "off", "menubar", "none", "default_axes", "off", ...
    "axes_size", [300 300], ...
    "layout", "border");

html = [...
    "<html>"
    "</html>"];

mputl(html, TMPDIR + "/debug.html");

u = uicontrol(f, ...
    "style", "browser", ...
    "debug", "on", ... //allow devtools (ctrl+shit+i) in browser component
    "string", TMPDIR + "/debug.html", ...
    "callback", "cbBrowser");

function cbBrowser(msg, cb)
    if msg == "loaded" then
        openDevtools(gcbo);
    end
endfunction

See also

  • uicontrol — create a Graphic User Interface object
  • browser — Description of the uicontrol browser.

History

VersãoDescrição
2025.1.0 openDevtools added.
Report an issue
<< messagebox IGU printfigure >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 22 12:56:18 CEST 2025