| United States-English |
|
|
|
![]() |
Common Desktop Environment: Programmer's Guide > Chapter 6 Integrating
with the Workspace ManagerIdentifying Workspaces Containing the Application Windows |
|
The function DtWsmGetWorkspacesOccupied returns a list of the workspaces in which a specified application window resides. In occupy.c, the procedure ShowWorkspaceOccupancy calls this function. Based on the results of this call, ShowWorkspaceOccupancy changes the appearance of the toggle buttons that represent the workspaces. A check mark appears on every toggle button in whose workspace the application window resides.
where:
After this call, loops are set up to compare the list of workspaces (found in the procedure SetUpWorkspaceButtons by DtWsmGetWorkspaceList) with the list of workspaces in which the application window was found to reside. The toggle button resource XmNset is set to True for each toggle button that represents a workspace in which the application window resides. |
||||||||||||||||||||||||||||||||||
|
|||||||||||||||