*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtWsmAddCurrentWorkspaceCallback (3)              


 DtWsmAddCurrentWorkspaceCallbaDctkW(slmiAbdrdaCruyrrceanltlW)orkspaceCallback(library call)

 NAME    [Toc]    [Back]
      DtWsmAddCurrentWorkspaceCallback - add a callback to be called when
      the current workspace changes

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Wsm.h>
      DtWsmCBContext DtWsmAddCurrentWorkspaceCallback(
      Widget widget,
      DtWsmWsChangeProc ws_change,
      Pointer client_data);

 DESCRIPTION    [Toc]    [Back]
      The DtWsmAddCurrentWorkspaceCallback function registers an application
      function to be called when the CDE workspace manager, dtwm(1),
      switches to a new workspace.

      The workspace manager sends the new current workspace name to the
      DtWsmWsChangeProc callback.

      The widget argument is a realized widget.

      The ws_change argument is the procedure to be called when the
      workspace changes.

      The client_data argument points to arbitrary client data to be passed
      back to ws_change.

      The header defines the DtWsmWsChangeProc callback prototype as

      typedef void (*DtWsmWsChangeProc)(Widget widget,
              Atom aWorkspace,
              Pointer client_data);

      The widget argument is the ID of the widget to be registered with the

      The aWorkspace argument is the name of the new current workspace
      (converted to an X atom).

      The client_data argument points to the client data to be registered
      with the callback.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the DtWsmAddCurrentWorkspaceCallback
      function returns a workspace callback registration context.

 APPLICATION USAGE    [Toc]    [Back]
      The DtWsmAddCurrentWorkspaceCallback function returns a registration
      context that the application must save in order to remove this
      callback later.  DtWsmAddCurrentWorkspaceCallback requires a window;

                                    - 1 -       Formatted:  January 24, 2005

 DtWsmAddCurrentWorkspaceCallbaDctkW(slmiAbdrdaCruyrrceanltlW)orkspaceCallback(library call)

      thus, a gadget is not acceptable for the widget argument.  The
      DtWsmRemoveWorkspaceCallback(3) function needs a registration context
      to remove the callback.

 SEE ALSO    [Toc]    [Back]
      Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmRemoveWorkspaceCallback(3).

                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
DtWsmAddWorkspaceModifiedCallback HP-UX add a callback to be called when any workspace is changed
DtWsmRemoveWorkspaceCallback HP-UX remove a workspace callback
SSL_set_info_callback Tru64 Set a callback which will be called during the specified SSL connection
DtWsmGetCurrentWorkspace HP-UX get the current workspace
DtWsmSetCurrentWorkspace HP-UX set the current workspace
DtWsmGetCurrentBackdropWindow HP-UX get the backdrop window for the current workspace
SGBFA IRIX SGBFA factors a real band matrix by elimination. SGBFA is usually called by SBGCO, but it can be called direct
CGEFA IRIX CGEFA factors a complex matrix by Gaussian elimination. CGEFA is usually called by CGECO, but it can be called
CGBFA IRIX CGBFA factors a complex band matrix by elimination. CGBFA is usually called by CGBCO, but it can be called dir
SGEFA IRIX SGEFA factors a real matrix by Gaussian elimination. SGEFA is usually called by SGECO, but it can be called di
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service