Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtwsmgetworkspacelist(3) [hpux man page]

DtWsmGetWorkspaceList(library call)									       DtWsmGetWorkspaceList(library call)

NAME
DtWsmGetWorkspaceList -- get the names of the currently defined workspaces SYNOPSIS
#include <Dt/Wsm.h> int DtWsmGetWorkspaceList( Display *display, Window root, Atom **ppaWorkspaces, int *pNumWorkspaces); DESCRIPTION
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
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
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 *ppa- Workspaces. SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), XtFree(3), DtWsmGetWorkspaceInfo(3). DtWsmGetWorkspaceList(library call)

Check Out this Related Man Page

DtWsmGetWorkspacesOccupied(library call)								  DtWsmGetWorkspacesOccupied(library call)

NAME
DtWsmGetWorkspacesOccupied -- get the workspaces in which a window resides SYNOPSIS
#include <Dt/Wsm.h> Status DtWsmGetWorkspacesOccupied( Display *display, Window window, Atom **ppaWorkspaces, int *pNumWs); DESCRIPTION
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
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
If the DtWsmGetWorkspacesOccupied function is not successful, failure may be due to a memory allocation error or failure to find the cor- rect 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
Dt/Wsm.h - DtWsm(5), XtFree(3), dtwm(1). DtWsmGetWorkspacesOccupied(library call)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

doubt in Solaris CDE

Hi all, I have a couple of doubts with Solaris CDE(i use 2.6) 1. Is it possible to customize my mouse pointer in the CDE environment? im wondering how i can change the mouse pointer, say to a different bitmap or something like that.? 2. Is it possible to use a jpeg as a backdrop? Thanks... (5 Replies)
Discussion started by: kandanmv
5 Replies

2. UNIX for Dummies Questions & Answers

Customizing CDE background

i have a question about setting the background in a workspace in CDE. I have CDE runnning on Solaris 8 here at work and I want to use some images I have as the background in or two of the workspaces. When I use xv on the image and choose the option the option from the Display Menu -> Root:... (1 Reply)
Discussion started by: Kanu77
1 Replies

3. UNIX for Dummies Questions & Answers

cde and its workspaces

Hello to all i am using Solaris 8 and my problem is that i want so start an applikation in workspace 2 for example. To start a program i want to use a termal in workspace 1. Is ist possible to say an application that it should be startet in an other workspace?? Thank's for your help. (1 Reply)
Discussion started by: hans-schranz
1 Replies

4. UNIX for Dummies Questions & Answers

CDE freezing

I am running Solaris 8 intel and recently my Common Desktop environment will not load. I enter the root username and password at the prompt, it switches to the CDE screen and the freezes. The OpenWindows environment works fine. I tried with a regular username (not root) and I get the same resutls.... (2 Replies)
Discussion started by: dangral
2 Replies

5. UNIX for Dummies Questions & Answers

help urgent problem

i accedently "deleted" all workspaces I have a black screen and dont know what to do solaris common desktop enviroment (1 Reply)
Discussion started by: ssshakir
1 Replies

6. UNIX for Dummies Questions & Answers

setting Background Wallpapers in hp Unix

Hi All I am new to the big world of UNIX . I have hp 11.20 unix installed . How do i set my own wallpapers (in jpeg,jpg etc format ) for different workspaces . ???? (0 Replies)
Discussion started by: varungupta_82
0 Replies

7. Solaris

Keyboard shotcut for switching workspace

sunOS/Solaris 5.8 is there a keyboard shortcut to swicth workspaces? (1 Reply)
Discussion started by: the_big_v
1 Replies

8. Solaris

dtwm: Invalid keyword -- /TITLE

Unable to log into solaris 8 CDE as a particular user. The errors are: dtsession: Unable to start message server - exiting. dtwm: Invalid keyword -- /TITLE root can log in successfully. I'm guessing that it's trying to run dtwm with an invalid option. Howcan I correct this? (1 Reply)
Discussion started by: lyonsd
1 Replies

9. UNIX for Advanced & Expert Users

dtdbcache failure

Hi, I'm using WRQ Reflections 12.0.6 on Windows XP to open a Xsession to HP 11.11 server. After providing password, the CDE window is displayed and then receive a "dtdbcache failure" message "Couldn't recreate the Desktop Actions/Datatypes Database. Check disk space and/or permissions." I... (3 Replies)
Discussion started by: Leese
3 Replies

10. Solaris

How to start CDE for non root user on Solaris 10

Hi, How can I start CDE for non root user created.For root CDE is working fine but for non root user CDE exits back to login screen after trying for some time.Also I cant see .dt and .dtprofile files in the users home directory.How can I create them.Kindly help. Thanks & Regards, Kiran. (1 Reply)
Discussion started by: kiranherekar
1 Replies

11. Solaris

CDE, annoying file manager window. How to get rid of that

Hello, CDE workspace. How to get rid of annoying popping up file manager window which appears every time after logging in. For example.any suggestions, I would be appreciate. (3 Replies)
Discussion started by: wolfgang
3 Replies

12. UNIX for Beginners Questions & Answers

How to make a loop to read the input from a file part by part?

Hi All, We've a VDI infrastructure in AWS (AWS workspaces) and we're planning to automate the process of provisioning workspaces. Instead of going to GUI console, and launching workspaces by selecting individual users is little time consuming. Thus, I want to create them in bunches from AWS CLI... (6 Replies)
Discussion started by: arun_adm
6 Replies