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)
DtWsmRemoveWorkspaceFunctions(library call) DtWsmRemoveWorkspaceFunctions(library call)
NAME
DtWsmRemoveWorkspaceFunctions -- remove a window's workspace functions
SYNOPSIS
#include <Dt/Wsm.h>
void DtWsmRemoveWorkspaceFunctions(
Display *display,
Window window);
DESCRIPTION
The DtWsmRemoveWorkspaceFunctions function removes a window's workspace functions. When DtWsmRemoveWorkspaceFunctions removes workspace
functions, the window menu for the window the CDE workspace manager, dtwm(1), displays does not have the entries that allow the window to
occupy a different set of workspaces, occupy all workspaces, or be removed from the current workspace.
The display argument is the X display.
The window argument is the window to have its workspace functions disabled.
RETURN VALUE
The DtWsmRemoveWorkspaceFunctions function returns no value.
APPLICATION USAGE
The application must call DtWsmRemoveWorkspaceFunctions before the window is mapped. The CDE workspace manager, dtwm(1), only looks at the
workspace function information at the time the workspace manager manages the window. If the CDE workspace manager, dtwm(1), is managing
the window, the application must withdraw the window (see XWithdrawWindow(3)), remove the workspace functions, and map the window once
again.
SEE ALSO dtwm(1), Dt/Wsm.h - DtWsm(5).
DtWsmRemoveWorkspaceFunctions(library call)