GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DtWsmDeleteWorkspace(API) DtWsmDeleteWorkspace(API)

DtWsmDeleteWorkspace — delete a specific workspace

#include <Dt/Wsm.h>
int DtWsmDeleteWorkspace(
Widget widget,
Atom workspace);

The DtWsmDeleteWorkspace() function works with the CDE workspace manager, dtwm(1), and deletes a specific workspace. Applications can use this function to implement an interface to the workspace manager.

If the DtWsmDeleteWorkspace() function is not successful, the most likely reason for failure is that the CDE workspace manager, dtwm(1), is not running. The DtWsmDeleteWorkspace() function requires a widget. A gadget (or unrealized widget) is not acceptable for the widget argument.

DtWsmDeleteWorkspace() sends a message to the CDE workspace manager, dtwm(1), to delete the workspace. If the workspace name is not valid, no action is taken and the workspace manager reports no error.

widget
a realized widget
workspace
the name of the workspace (in X atom form) to delete

The function returns Success (0) when it succeeds, and non-zero when it fails. Note that these are not the same values _DtWsmDeleteWorkspace returns.

DtWsm(5)

"Communicating with the Workspace Manager" section in the CDE Programmer's Guide

"Workspace Manager" section in the CDE Programmer's Overview


Search for    or go to Top of page |  Section A |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.