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

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

Contents


 DtWsmGetWorkspacesOccupied(library cDatlWls)mGetWorkspacesOccupied(library call)




 NAME    [Toc]    [Back]
      DtWsmGetWorkspacesOccupied - get the workspaces in which a window
      resides

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Wsm.h>
      Status DtWsmGetWorkspacesOccupied(
      Display *display,
      Window window,
      Atom **ppaWorkspaces,
      int *pNumWs);

 DESCRIPTION    [Toc]    [Back]
      The DtWsmGetWorkspacesOccupied function works with the CDE workspace
      manager, dtwm(1), and returns the list of workspaces in which this
      window resides.  Each element of the list is the name of a workspace
      (converted to an X atom).

      The display argument is the X display.

      The window argument is the window of interest.

      The *ppaWorkspaces argument is the address of a pointer to receive the
      pointer to a list of workspace names (converted to X atoms).

      The pNumWs argument is the address of an integer to receive the number
      of elements in the list of workspaces returned in *ppaWorkspaces.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the DtWsmGetWorkspacesOccupied function
      returns Success and the workspace manager returns in *ppaWorkspaces a
      list of atoms identifying the occupied workspaces, and returns in
      pNumWs the number of occupied workspaces; otherwise, it returns a
      value not equal to Success.

 APPLICATION USAGE    [Toc]    [Back]
      If the DtWsmGetWorkspacesOccupied 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).  The application must use XtFree(3) to free data
      returned in *ppaWorkspaces.

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


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtWsmSetWorkspacesOccupied HP-UX set the workspaces in which a window resides
DtWsmOccupyAllWorkspaces HP-UX put a window into all workspaces
DtWsmGetWorkspaceList HP-UX get the names of the currently defined workspaces
getmemwindow HP-UX extracts window ids of user processes from /etc/services.window
getrootcrd IRIX Compute root-window coordinates of window
idtowindow IRIX Find Tk's window information for an X window
windepth IRIX measures how deep a window is in the window stack
winconstraints IRIX binds window constraints to the current window
twm Tru64 Tab Window Manager for the X Window System
twm IRIX Tab Window Manager for the X Window System
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service