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

  man pages->HP-UX 11i man pages -> DtWsm (5)              


 Dt/Wsm.h(file formats)                               Dt/Wsm.h(file formats)

 NAME    [Toc]    [Back]
      Dt/Wsm.h - workspace manager definitions

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Wsm.h>

 DESCRIPTION    [Toc]    [Back]
      The Dt/Wsm.h header defines structures and function prototypes for
      workspace management services.

      The DtWsmWorkspaceInfo structure contains at least the following
      Atom               workspace          X atom name for the workspace
      unsigned long      bg                 Backdrop background pixel
      unsigned long      fg                 Backdrop foreground pixel
      Atom               backdropName       X atom name for backdrop
      int                colorSetId         Number of color set used
      char               *pchTitle          Title of workspace
      Window             backdropWindow     The backdrop window for the
                                            current workspace

      The DtWsmCBContext structure is opaque. Workspace management functions
      that add callbacks to uniquely identify callback functions for later
      removal, return the DtWsmCBContext structure.

      The header defines the following DtWsmWsReason constants:


      The header defines the following functions:

      DtWsmAddCurrentWorkspaceCallback(Widget widget,
              DtWsmWsChangeProc ws_change,
              Pointer client_data);

      void DtWsmAddWorkspaceFunctions(Display *display,
              Window window);

      void DtWsmRemoveWorkspaceFunctions(Display *display,
              Window window);

      DtWsmAddWorkspaceModifiedCallback(Widget widget,
              DtWsmWsModifiedProc ws_change,
              Pointer client_data);

                                    - 1 -       Formatted:  January 24, 2005

 Dt/Wsm.h(file formats)                               Dt/Wsm.h(file formats)

      void DtWsmRemoveWorkspaceCallback(DtWsmCBContext context);

      void DtWsmFreeWorkspaceInfo(DtWsmWorkspaceInfo *pWsInfo);

      Status DtWsmGetCurrentBackdropWindows(Display *display,
              Window root);

      Status DtWsmGetCurrentWorkspace(Display *display,
              Window root,
              Atom *paWorkspace);

      Status DtWsmSetCurrentWorkspace(Widget widget,
              Atom aWorkspace);

      Status DtWsmGetWorkspaceInfo(Display *display,
              Window root,
              Atom aWorkspace,
              DtWsmWorkspaceInfo **ppWsInfo);

      Status DtWsmGetWorkspaceList(Display *display,
              Window root,
              Atom **ppaWorkspaces,
              int *pNumWs);

      Status DtWsmGetWorkspacesOccupied(Display *display,
              Window window,
              Atom **ppaWorkspace,
              int *pNumWs);

      void DtWsmSetWorkspacesOccupied(Display *display,
              Window window,
              Atom *paWorkspaces,
              int numWs);

      void DtWsmOccupyAllWorkspaces(Display *display,
              Window window);

 SEE ALSO    [Toc]    [Back]
      DtWsmAddCurrentWorkspaceCallback(3), DtWsmAddWorkspaceFunctions(3),
      DtWsmAddWorkspaceModifiedCallback(3), DtWsmFreeWorkspaceInfo(3),
      DtWsmGetCurrentBackdropWindow(3), DtWsmGetCurrentWorkspace(3),
      DtWsmGetWorkspaceInfo(3), DtWsmGetWorkspaceList(3),
      DtWsmGetWorkspacesOccupied(3), DtWsmOccupyAllWorkspaces(3),
      DtWsmRemoveWorkspaceCallback(3), DtWsmRemoveWorkspaceFunctions(3),
      DtWsmSetCurrentWorkspace(3), DtWsmSetWorkspacesOccupied(3).

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