Hello;
I need to place a classification banner at the top of my Solaris 2.6 CDE Desktop. The Banner must be displayed in all CDE desktop sessions available on the CDE dashboard (1,2,3,4).
The Banner must remain anchored at the top of the CDE desktop and must not be able to be closed or hidden by other windows.
So far I have hit a brick wall on this. The closest I have come is trying to generate a banner (Push Button) using the following dtksh code.
#!/usr/dt/bin/dtksh
XtInitialize TOPLEVEL dttest1 Dtksh $0
XtSetValues $TOPLEVEL title:" "
#XtCreateManagedWidget BBOARD bboard XmBulletinBoard $TOPLEVEL \
# resizePolicy:RESIZE_NONE height:50 width:1280\
# background:Red
#XtCreateManagedWidget BUTTON pushbutton XmPushButton $BBOARD \
XtCreateManagedWidget BUTTON pushbutton XmPushButton $TOPLEVEL \
background:Red \
foreground:White \
labelString:"SECRET" \
height:50 width:1280 x:0 y:0 shadowThickness:3
XtRealizeWidget $TOPLEVEL
XtMainLoop
The problem is I can't figure out how to remove the CDE border, the CDE Open, Close and Iconify options, how to anchor it at the top, how to make it appear in all the workspaces and finally make the font larger.
I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network.
However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix.
My plan is to connect to CD#1 and then somehow connect to CDE#2.
How do I do this? I am just a regular user... (0 Replies)
Hello,
Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX?
Just the config (actions, text files etc).
Thanks in advance! (0 Replies)
Hello Everyone,
I am new to UNIX. I have got a requirement. Thought of posting it in this forum so that someone might help me. Please have a look at the scenario.
The Objective is to "classify books into four seperate files and then print a summary report".
Specifications are as... (3 Replies)
hi i am very new to scripting. i am learning by myself. i found this example. can any one help in writing script for this example, so that i can have an idea how to analyse and script.
example:
overview: The aim of this exercise is to classify books into four seperate files and then print a... (1 Reply)
I'm having problem with the CDE pre login banner.
I configured the c/usr/dt/config/C/Xresources file to add my warning message:
Dtlogin*greeting.labelString: My Banner
I then modified the Dtlogin*greeting*fontList to display the message in smaller text. This did not work.
... (1 Reply)
Hello;
I need to place a classification banner at the top of my Solaris 2.6 CDE Desktop. The Banner must be displayed in all CDE desktop sessions available on the CDE dashboard (1,2,3,4).
The Banner must remain anchored at the top of the CDE desktop and must not be able to be closed... (1 Reply)
DtWsmSetCurrentWorkspace(library call) DtWsmSetCurrentWorkspace(library call)
NAME
DtWsmSetCurrentWorkspace -- set the current workspace
SYNOPSIS
#include <Dt/Wsm.h>
int DtWsmSetCurrentWorkspace(
Widget widget,
Atom aWorkspace);
DESCRIPTION
The 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 VALUE
Upon successful completion, the DtWsmSetCurrentWorkspace function returns Success; otherwise, it returns a value not equal to Success.
APPLICATION USAGE
If 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 ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetCurrentWorkspace(3).
DtWsmSetCurrentWorkspace(library call)