*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtWsmAddWorkspace (3)              


 DtWsmAddWorkspace(API)                               DtWsmAddWorkspace(API)

 NAME    [Toc]    [Back]
      DtWsmAddWorkspace - add a workspace

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Wsm.h>
      int DtWsmAddWorkspace(
      Widget widget,
      char *title);

 DESCRIPTION    [Toc]    [Back]
      The DtWsmAddWorkspace() function works with the CDE workspace manager,
      dtwm(1), and adds a new workspace. Applications can use this function
      to implement an interface to the workspace manager.

      If the DtWsmAddWorkspace() function is not successful, the most likely
      reason for failure is that the CDE workspace manager, dtwm(1), is not

      DtWsmAddWorkspace() sends a message to the CDE workspace manager,
      dtwm(1), to add the workspace.

 ARGUMENTS    [Toc]    [Back]
      widget    a realized widget

      title     a user visible title for the new workspace

 RETURN VALUE    [Toc]    [Back]
      The function returns Success (0) when it succeeds, and non-zero upon

 SEE ALSO    [Toc]    [Back]

      "Communicating with the Workspace Manager" section in the CDE
      Programmer's Guide

      "Workspace Manager" section in the CDE Programmer's Overview

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
DtWsmGetCurrentWorkspace HP-UX get the current workspace
DtWsmSetCurrentWorkspace HP-UX set the current workspace
DtWsmSetWorkspaceTitle HP-UX set workspace title
DtWsm HP-UX workspace manager definitions
DtWsmGetWorkspaceInfo HP-UX get detailed workspace information
DtWsmFreeWorkspaceInfo HP-UX free workspace information
DtWsmDeleteWorkspace HP-UX delete a specific workspace
DtWsmRemoveWorkspaceCallback HP-UX remove a workspace callback
DtWsmAddWorkspaceFunctions HP-UX add workspace functions for a window
DtWsmAddWorkspaceModifiedCallback HP-UX add a callback to be called when any workspace is changed
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service