<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 05/12/2016 13:15, Stéphane Mottelet
a écrit :<br>
</div>
<blockquote cite="mid:1FBA30F0-9F73-4571-9542-03DCBD78BD58@utc.fr"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div>I didn't know.. but using the same handle for the console and
the root window is very misleading to me. Scilab is full of
misleading stuff like this...</div>
</blockquote>
<br>
Right. Already, this get(0) object is named "Console" while its
available properties are all about the screen device ;)<br>
IMO, <br>
<ul>
<li>the true root should rather be either the screen or the IDE or
the "system" as addressed with getsystemmetrics(). In all cases,
the "Console" would already be one of its children.</li>
<li>the true console properties would rather be: <br>
</li>
<ul>
<li>its sizes : lines(), <br>
</li>
<li>its background color</li>
<li>its font_family</li>
<li>its font_color</li>
<li>its font_size</li>
<li>its menus</li>
<li>its toolbar status</li>
<li>its toolbar contents, one child per tool:</li>
<ul>
<li>icon</li>
<li>callback<br>
</li>
</ul>
<li>the text of its status bar</li>
<li>...<br>
</li>
</ul>
</ul>
<br>
A short dream during the nap:<br>
<ul>
<li>rename the get(0) object "System" (likely in %h_p())<br>
</li>
<li>make all properties addressed with getsystemmetrics()
properties of get(0)</li>
</ul>
<p>SG<br>
</p>
</body>
</html>