10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
2. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (1 Reply)
Discussion started by: Linux Bot
1 Replies
3. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
4. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
5. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
6. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (8 Replies)
Discussion started by: Linux Bot
8 Replies
7. Forum Support Area for Unregistered Users & Account Problems
How to post a new thread (Regarding Unix related doubts) in Unix Forums.
I registered my id but I am unable to post my Questions to Forum.
Thanks & Regards,
indusri (1 Reply)
Discussion started by: indusri
1 Replies
8. Advertise with Us
The UNIX and Linux Job Board is a service provided by the The UNIX and Linux Forums to help employers connect with UNIX and Linux professionals. All proceeds from this service go towards supporting the forums. Please PM Neo or email with any questions about this service.
Promotion A: $99 ... (0 Replies)
Discussion started by: Neo
0 Replies
9. Post Here to Contact Site Administrators and Moderators
The UNIX and Linux Job Board is a service provided by the The UNIX and Linux Forums to help employers connect with UNIX and Linux professionals. All proceeds from this service go towards supporting the forums. Please PM Neo or email with any questions about this service.
Promotion A: $99 ... (0 Replies)
Discussion started by: Neo
0 Replies
10. Advertise with Us
The UNIX and Linux Job Board is a service provided by the The UNIX and Linux Forums to help employers connect with UNIX and Linux professionals. All proceeds from this service go towards supporting the forums. Please PM Neo or email with any questions about this service.
Promotion A: $99 ... (0 Replies)
Discussion started by: Neo
0 Replies
DtWsmAddCurrentWorkspaceCallback(library call) DtWsmAddCurrentWorkspaceCallback(library call)
NAME
DtWsmAddCurrentWorkspaceCallback -- add a callback to be called when the current workspace changes
SYNOPSIS
#include <Dt/Wsm.h>
DtWsmCBContext DtWsmAddCurrentWorkspaceCallback(
Widget widget,
DtWsmWsChangeProc ws_change,
Pointer client_data);
DESCRIPTION
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 follows:
typedef void (*DtWsmWsChangeProc)(Widget widget,
Atom aWorkspace,
Pointer client_data);
The widget argument is the ID of the widget to be registered with the callback.
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
Upon successful completion, the DtWsmAddCurrentWorkspaceCallback function returns a workspace callback registration context.
APPLICATION USAGE
The DtWsmAddCurrentWorkspaceCallback function returns a registration context that the application must save in order to remove this call-
back later. DtWsmAddCurrentWorkspaceCallback requires a window; thus, a gadget is not acceptable for the widget argument. The DtWsmRe-
moveWorkspaceCallback(3) function needs a registration context to remove the callback.
SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmRemoveWorkspaceCallback(3).
DtWsmAddCurrentWorkspaceCallback(library call)