Query: dtwsmsetcurrentworkspace
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DtWsmSetCurrentWorkspace(library call) DtWsmSetCurrentWorkspace(library call)NAMEDtWsmSetCurrentWorkspace -- set the current workspaceSYNOPSIS#include <Dt/Wsm.h> int DtWsmSetCurrentWorkspace( Widget widget, Atom aWorkspace);DESCRIPTIONThe DtWsmSetCurrentWorkspace function works with the CDE 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.RETURN VALUEUpon successful completion, the DtWsmSetCurrentWorkspace function returns Success; otherwise, it returns a value not equal to Success.APPLICATION USAGEIf the DtWsmSetCurrentWorkspace function is not successful, the most likely reason for failure is that the CDE 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 CDE 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.SEE ALSODt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetCurrentWorkspace(3). DtWsmSetCurrentWorkspace(library call)
Similar Topics in the Unix Linux Community |
---|
doubt in Solaris CDE |
Customize CDE |
automating CDE X applications from boot |
Unix Slang? |
change wallpaper in CDE |