CDE Classification Banner


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers CDE Classification Banner
# 1  
Old 06-17-2004
Question CDE Classification Banner

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.

Any and all help will be greatly appreciated.

Respectfully;
Mark K.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Solaris

Connect to SunOS CDE from another CDE

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)
Discussion started by: tthach830
0 Replies

2. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

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)
Discussion started by: binary0x01
0 Replies

3. UNIX for Dummies Questions & Answers

Reading a file and Classification

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)
Discussion started by: yarlagadda999
3 Replies

4. Shell Programming and Scripting

scripting for classification

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)
Discussion started by: yonex
1 Replies

5. UNIX for Advanced & Expert Users

CDE Login Banner

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)
Discussion started by: equismorio
1 Replies

6. Shell Programming and Scripting

Creating a Classification Banner

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)
Discussion started by: rambo15
1 Replies
Login or Register to Ask a Question
DtWsmSetWorkspaceTitle(API)											       DtWsmSetWorkspaceTitle(API)

NAME
DtWsmSetWorkspaceTitle -- set workspace title SYNOPSIS
#include <Dt/Wsm.h> int DtWsmSetWorkspaceTitle( Widget widget, Atom workspace, char *title); DESCRIPTION
The DtWsmSetWorkspaceTitle() function works with the CDE workspace manager, dtwm(1), and changes a specific workspace's title. Applications can use this function to implement an interface to the workspace manager. If the DtWsmSetWorkspaceTitle() function is not successful, the most likely reason for failure is that the CDE workspace manager, dtwm(1), is not running. The DtWsmSetWorkspaceTitle() function requires a widget. A gadget (or unrealized widget) is not acceptable for the widget argument. DtWsmSetWorkspaceTitle() sends a message to the CDE workspace manager, dtwm(1), to set the title. If the workspace name is not valid, no action is taken and the workspace manager reports no error. ARGUMENTS
widget A realized widget on the screen of interest workspace The name of the workspace (in X atom form) where the title should be set title The new title RETURN VALUE
The function returns Success (0) when it succeeds, and non-zero upon failure. Note that these are not the same values that _DtWsmSet- WorkspaceTitle returns. SEE ALSO
DtWsm(5) "Communicating with the Workspace Manager" section in the CDE Programmer's Guide "Workspace Manager" section in the CDE Programmer's Overview DtWsmSetWorkspaceTitle(API)