Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Русский


Console properties

Description of console object properties.

Description

This object is returned when calling get(0) and allows to modify some parameters for handles and uicontrols. Consoles's properties are the following:

ShowHiddenHandles

A boolean or a string

Manages the display of all children handles in figures including default menus ones.

Default value is "off".

UseDeprecatedSkin

A boolean or a string

Manages the rendering of uicontrols.

Default value is "off" and uicontrols look and feel is managed by operating system.

Setting this value to "on" or %T will make the uicontrols have an old TK look and feel.

ShowHiddenProperties

A boolean or a string

Manages the display of uicontrols properties.

Default value is "off" and only the uicontrols properties used on the Java side are displayed.

Setting this value to "on" or %T will make all available properties displayed (for example a ListboxTop property will be displayed for pushbutton uicontrols.

Userdata

Any data of any type, that you want to ascribe to the console.

Tag

Single string, that can be used as a console custom text id.

Examples

f=gcf() // Do no display hidden handles
c = get(0);
set(c, "ShowHiddenHandles", "on");
f=gcf() // Show menu handles as children

h=uicontrol(); // Button with OS look & feel
set(c, "UseDeprecatedSkin", "on");
h=uicontrol(); // Button with old TK look & feel

h=uicontrol() // Minimal display of properties
set(c, "ShowHiddenProperties", "on");
h=uicontrol() // Full display of properties

See also

  • root_properties — description of the root object properties.
  • usecanvas — Get/Set the main component used for Scilab graphics.
  • system_setproperty — set a system property for a given JVM key to a given value.
  • getsystemmetrics — Retrieves the specified system metric or system configuration setting (Windows only)
  • setlookandfeel — sets the current default look and feel.
  • uicontrol — create a Graphic User Interface object
Report an issue
<< close GUI createWindow >>

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:
Mon Jun 17 17:55:07 CEST 2024