Resource and Environment Variables

Views Studio sets up its own resources and environment variables in addition to those used by Views.

Resources

Views Studio uses the following resources:

  • menuBackground specifies the background color of Views Studio menus.

  • menuForeground specifies the foreground color of Views Studio menus.

  • menuFont specifies the font of Views Studio menus.

  • panelBackground specifies the background color of Views Studio panels.

  • toolBarBackground specifies the background color of Views Studio tool bars.

  • focusPathColor specifies the color of the lines drawing the focus path when using the Focus editing mode.

  • attachmentColor specifies the color of the lines delimiting the attachment guide when using the Attachments mode.

  • attachmentHighlightColor specifies the color of the selected item when using the Attachments mode.

  • legacyProtoInspector restores the deprecated IlvProtoGraphic window while inspecting a prototype gadget in Views Studio.

Environment Variables

Views Studio uses the following environment variables:

  • ILVSTOPTIONFILE specifies the user-defined option file to be loaded. The editor uses the ILVPATH environment variable to locate this file.

  • ILVSTIGNORINGBACKGROUND=true specifies whether the Gadget buffers should be saved without saving the background color. If this variable is set to true, the panels in your application will use the default background color.

  • ILVSTIGNORINGSIZE=true indicates whether the Gadget buffers should be saved without saving their dimensions.

  • ILVPRINTERCOMMANDLINE is used on UNIX® platforms only to specify the command line to be executed when the editor prints the buffer. The default value is "lpr -v %s". The specified string must be a valid C printf format, where %s is the name of the file to be printed.

  • ILVSTPLUGINS indicates a list of plug-ins you want to load. You can specify the full paths or the paths relative to the working directory, separated by a semicolon (;) character.

  • ILV_LEGACY_PROTO_INSPECTOR=true is used to for backward compatibility. Setting this environment variable restores the deprecated IlvProtoGraphic window while inspecting a prototype gadget in Views Studio.

Name

Description

Documentation

ILVHOME Directory where Views is installed.  

ILVPATH

The user can set this variable to a list of absolutes paths to directories that IlvDisplay will use to search for files.

The Display Path

ILVSTOPTIONFILE

Specifies the user-defined option file to be loaded. The editor uses the ILVPATH environment variable to locate this file.

The Option File

ILVSTIGNORINGBACKGROUND

Specifies whether the Gadget buffers should be saved without saving the background color. If this variable is set to true, the panels in your application will use the default background color.

 

ILVSTIGNORINGSIZE

If true, indicates whether the Gadget buffers should be saved without saving their dimensions.

 

ILVPRINTERCOMMANDLINE

Can be used on UNIX® platforms only to specify the command line to be executed when the editor prints the buffer. The default value is lpr -v %s. The specified string must be a valid C printf format, where %s is the name of the file to be printed.

 

ILVSTPLUGINS

Indicates a list of plug-ins you want to load. You can specify the full paths or the paths relative to the working directory, separated by a semicolon (;) character.

Setting Up and Running Views Studio on Microsoft Windows Systems

 

ILV_LEGACY_PROTO_INSPECTOR

Can be used to for backward compatibility. Setting this environment variable to true restores the deprecated IlvProtoGraphic window while inspecting a prototype gadget in Views Studio.

 

ILV_LAZY_REDRAW

Can be used to control the lazy redraw mode for the IlvEventLoop class. Valid values are:

  • 0 turns off redraw

  • 1 turns on lazy redraw

  • 2 turns on redraw full optimizations

Views Foundation Package: IlvEventLoop Class Reference

ILVLOOK

Overrides the default Look and Feel.

Valid values are: motif, vx, windows, win95, or winxp.

Display System Resources
Using the Default Look and Feel

ILVLANG

If set to a language locale code, it can be used to override the language of of the message database.

Examples of values are: "en_US”, or “"fr_FR".

Loading the Message Database

ILVDB

If set to point to a valid .dbm file, instances of IlvDisplay will populate the message database from that file.

The IlvMessageDatabase Class

Views Foundation Package: IlvMessageDatabase Class Reference

ILVUSECAIRO When running on X Windows System, can be used to specifies how Cairo should be used.

Controlling Cairo Features at Run Time

ILVUSEGRADIENTLINES When running on X Windows System and using Cairo, allows Cairo to draw lines using gradients. Controlling Cairo Features at Run Time
ILVFILEBROWSEROPTIONS When IlvFileBrowserOption is set to IlvUseDefault, an instance of the IlvFileBrowserwill check this variable to set the type of dialog to use. Views Gadgets Package: ilviews/gadgets/fbrowser.h File Reference
ILVGREEDYACCELERATORS When set to on, active pop-up menus will handle shortcut key sequences. Control Handling of Shortcut Keys on Popup Menus
ILV_STACK_DUMP_SIZE When set to a positive integer n, a prototype accessor loop error message will display last n accessors.

Predefined Accessors

ILVTOUCHSCREENNAVIGATION When set to false, disables support for touch screen navigation, even if the device allows it. Views Manager Package: IlvManager Class Reference
ILVUSEGDIPLUS Specifies if and to which degree GDI+ should be used. Controlling GDI+ Features at Run Time
ILVUSEGDIPLUSPRINTING By default GDI+ is used for printing. The user can set this variable to false to disable this feature. Controlling GDI+ Features at Run Time
ILVUSEGRADIENTTEXT When set to true, gradients can be used to draw text. Controlling GDI+ Features at Run Time
IlvBitmapMemoryType By default bitmaps are allocated on the video memory. The user can use this variable to specify the allocation policy.

Views Foundation Package: IlvWindowsDisplayConfig Class Reference

Views Foundation Package: IlvBitmap Class Reference

ILVEMULATEMOUSEWHEEL It can be used to either: turn off support for the mouse wheel invert the tracked direction on X Windows Systems Other Updates
ILVANTIALIASING By default, IlvDisplay has anti-alising turned off. This variable can be used to change this setting.

Other Drawing Parameters

Views Foundation Package: ilviews/base/resources/IlvPalette.h File Reference

ILVUSEXFT On X Window Systems, this variable can be used to enable the use of Xft and FreeType font rendering. Text anti-aliasing and scalable fonts with Xft on X Windows
ILV_DISABLE_DOM Disables the internal handling of CSS DOM. It can be used to increase performance when the application uses traditional L&F style sets. Views Foundation Package: IlvStylable Class Reference