Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtwsmgetworkspacesoccupied(3) [hpux 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)

Check Out this Related Man Page

DtWsmRemoveWorkspaceFunctions(library call)							       DtWsmRemoveWorkspaceFunctions(library call)

NAME
DtWsmRemoveWorkspaceFunctions -- remove a window's workspace functions SYNOPSIS
#include <Dt/Wsm.h> void DtWsmRemoveWorkspaceFunctions( Display *display, Window window); DESCRIPTION
The DtWsmRemoveWorkspaceFunctions function removes a window's workspace functions. When DtWsmRemoveWorkspaceFunctions removes workspace functions, the window menu for the window the CDE workspace manager, dtwm(1), displays does not have the entries that allow the window to occupy a different set of workspaces, occupy all workspaces, or be removed from the current workspace. The display argument is the X display. The window argument is the window to have its workspace functions disabled. RETURN VALUE
The DtWsmRemoveWorkspaceFunctions function returns no value. APPLICATION USAGE
The application must call DtWsmRemoveWorkspaceFunctions before the window is mapped. The CDE workspace manager, dtwm(1), only looks at the workspace function information at the time the workspace manager manages the window. If the CDE workspace manager, dtwm(1), is managing the window, the application must withdraw the window (see XWithdrawWindow(3)), remove the workspace functions, and map the window once again. SEE ALSO
dtwm(1), Dt/Wsm.h - DtWsm(5). DtWsmRemoveWorkspaceFunctions(library call)
Man Page

15 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

Removing CDE and openwindows

Hi, I have searched the internet and this site and cannot find a way to remove CDE from a sparc Solaris 8 machine. I could run pkgrm on the individual CDE packages but would like to know if there is a more efficient way. 2.5.1 seemed to have had an uninstall script that 8 does not. What... (1 Reply)
Discussion started by: blp001
1 Replies

5. Shell Programming and Scripting

Script to make a new workspace and start jobs

Hi Does any have a script that can make a new workspace and name it and then start a named terminal window and then do a command in that window? E.g.: Make a new window called top (to see the processes) start an xterm window called top and then do an rlogin to a host and run top to see the... (0 Replies)
Discussion started by: laho
0 Replies

6. 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

7. 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

8. 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

9. Solaris

CDE loging window resize?

I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did: 1) made the directory /etc/dt/config/C 2) cp /usr/dt/config/C/Xresources /etc/dt/config/C 3) I edited /etc/dt/config/C/Xresources and ensured the following lines were... (0 Replies)
Discussion started by: rtoba
0 Replies

10. UNIX for Advanced & Expert Users

CDE loging window resize?

I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did: 1) made the directory /etc/dt/config/C 2) cp /usr/dt/config/C/Xresources /etc/dt/config/C 3) I edited /etc/dt/config/C/Xresources and ensured the following lines were... (0 Replies)
Discussion started by: rtoba
0 Replies

11. 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

12. 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

13. UNIX for Dummies Questions & Answers

opening programs in a different workspace

Hello, I have been searching for a way to spawn new processes in a different workspace with no luck. Does anyone know how to do this at the command prompt. I wish to do something like this. >vi a.txt & | workspace 2 is there any way to do this? (3 Replies)
Discussion started by: ineedhelp#1
3 Replies

14. 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

15. 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