Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 13 Advanced Front Panel Customization

Customizing the Workspace Switch

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

There are several ways to customize the workspace switch:

  • Changing the number of workspaces

  • Changing the layout of the switch

  • Changing the controls in the switch

To Change the Default Number of Workspaces

  1. Modify the following Workspace Manager resource:

    Dtwm*workspaceCount: n

For more information, see “To Change the Number of Workspaces on a System-Wide Basis”.

To Change the Number of Switch Rows

  1. Modify the NUMBER_OF_ROWS field in the SWITCH definition.

For example, the following definition defines a three-row switch.

SWITCH Switch
{
CONTAINER_NAME box_name
NUMBER_OF_ROWS 3
...
}

To Change or Add Controls in the Workspace Switch

  1. Create a Front Panel configuration file with the control definition.

    • Specify that the control be inside the switch:

      CONTAINER_NAME   Switch
      CONTAINER_TYPE SWITCH
    • Specify the position in the switch:

      POSITION_HINTS    n

      where n is an integer. The positions are numbered sequentially left-to- right, top-to-bottom. (For the default two-row switch, the positions are 1 through 4.)

  2. Create the icon for the control. The recommended size is 16 by 16 pixels.

For example, the following control puts a Terminal control in the switch.

CONTROL SwitchTerminal
{
TYPE icon
CONTAINER_NAME Switch
CONTAINER_TYPE SWITCH
POSITION_HINTS 3
ICON Fpterm
LABEL Terminal
PUSH_ACTION Dtterm
HELP_TOPIC FPOnItemTerm
HELP_VOLUME FPanel
}

The control uses a built-in icon and the same help topic used by the Terminal control in the Personal Applications subpanel.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.