Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский
Aide de Scilab >> Interface graphique > Console properties

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 des propriétés de l'objet root.
  • get — Retrieve a property value from a graphics entity or an User Interface object.
  • uicontrol — create a Graphic User Interface object
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:15:32 CET 2018