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

  man pages->HP-UX 11i man pages -> DtWsmGetWorkspaceList (3)              
Title
Content
Arch
Section
 

Contents


 DtWsmGetWorkspaceList(library call)     DtWsmGetWorkspaceList(library call)




 NAME    [Toc]    [Back]
      DtWsmGetWorkspaceList - get the names of the currently defined
      workspaces

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Wsm.h>
      int DtWsmGetWorkspaceList(
      Display *display,
      Window root,
      Atom **ppaWorkspaces,
      int *pNumWorkspaces);

 DESCRIPTION    [Toc]    [Back]
      The DtWsmGetWorkspaceList function works with the CDE workspace
      manager, dtwm(1). and returns a list of the names (converted into X
      atoms) of the currently defined workspaces.

      The display argument is the X display.

      The root argument is the root window of the screen of interest.

      The *ppaWorkspaces argument is the address of a pointer to receive the
      returned pointer to the workspacelist.

      The pNumWorkspaces argument is the address of an integer to receive
      the number of elements in the workspacelist.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the DtWsmGetWorkspaceList function returns
      Success and the workspace manager returns in *ppaWorkspaces the list
      of atoms identifying workspaces, and returns in pNumWorkspaces the
      number of workspaces.

 APPLICATION USAGE    [Toc]    [Back]
      If the DtWsmGetWorkspaceList function is not successful, failure may
      be due to a memory allocation error or failure to find the correct
      workspace information (that is, the CDE workspace manager, dtwm(1), is
      not running).  To get detailed information on the workspaces, the
      application must first call the DtWsmGetWorkspaceList function to get
      the names of all the workspaces.  Then, for each workspace in the
      list, the application must call the DtWsmGetWorkspaceInfo(3) function.
      The application must use XtFree(3) to free data returned in
      *ppaWorkspaces.

 SEE ALSO    [Toc]    [Back]
      Dt/Wsm.h - DtWsm(5), dtwm(1), XtFree(3), DtWsmGetWorkspaceInfo(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
cpusetGetNameList IRIX get the list of names for all defined cpusets
DtWsmOccupyAllWorkspaces HP-UX put a window into all workspaces
DtWsmSetWorkspacesOccupied HP-UX set the workspaces in which a window resides
DtWsmGetWorkspacesOccupied HP-UX get the workspaces in which a window resides
krb.realms Tru64 Contains configuration information that associates host names with realm names
MrmRegisterNames IRIX Registers the values associated with the names referenced in UIL (for example, UIL callback function names or
MrmRegisterNames HP-UX Registers the values associated with the names referenced in UIL (for example, UIL callback function names or
RefreshFunctionTable Tru64 Gets EMM-defined API function (CDSA)
xudced HP-UX user-defined character editor
end IRIX loader defined symbols in a program
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service