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
DtWsmSetCurrentWorkspace(library call) DtWsmSetCurrentWorkspace(library call)

DtWsmSetCurrentWorkspace — set the current workspace

#include &<Dt/Wsm.h>
int DtWsmSetCurrentWorkspace(
Widget widget,
Atom aWorkspace);

The DtWsmSetCurrentWorkspace function works with the XCDE workspace manager, dtwm(1), and sets the current workspace. Applications can use this function to switch from the current workspace to another workspace.

The widget argument is a realized widget on the screen of interest.

The aWorkspace argument is the name (in X atom form) of the workspace to be made current.

Upon successful completion, the DtWsmSetCurrentWorkspace function returns Success; otherwise, it returns a value not equal to Success.

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

DtWsmSetCurrentWorkspace sends a message to the XCDE workspace manager, dtwm(1), to switch workspaces. If the workspace name is not valid, no action is taken and the workspace manager reports no error.

Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetCurrentWorkspace(3).


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

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