| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
| Moderator: | STAR::VATNE |
| Created: | Mon Oct 30 1989 |
| Last Modified: | Mon Dec 31 1990 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3726 |
| Total number of notes: | 19516 |
Hello,
I am having problems trying to customize my DECwindows environment.
I am trying a set up my decterm defaults so that the window is one
colo(u)r the scroll bar is another color buttons are another, menus ...
I have tried modifying .Xdefaults /usr/lib/X11/app-defaults/DXterm and
.default.DECterm but all to no avail.
I have tried experimenting and have achieved certain results which
worked and others which didn't work.
According to the dxterm(1x) manual entry :
DXterm is the application class.
And available class identifiers are :
MainWindow
ScrollBar
etc
So I add the following line to /usr/lib/X11/app-defaults/DXterm :
DXterm*MainWindow*background: light blue
and nothing happens but if I add the line :
DXterm*background: light blue
then it works!
Also the line :
DXterm*ScrollBar*background: blue
also fails to do anything.
In fact most of the examples in the "Intro to the Worksystem
Enviroment" also fail to work.
What gives (or please tell me that we haven't made our X windows
proprietry),
ps I am using UWS 2.1
Walter Zambotti.
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3065.1 | ABYSS::dike | Thu Jul 12 1990 07:16 | 5 | ||
I think the documentation is wrong. According to my reading of /usr/include/X11/DwtPrivate.h the class name for scroll bars is "DwtScroll". Jeff | |||||
| 3065.2 | Thanks... but no go | SNOC02::ZAMBOTTIW | It only works after you ask! | Thu Jul 12 1990 23:41 | 13 |
Thanks for the info, but it did not seem to make any difference.
Is there anyway of finding out the Dwt* whatever names which have been
used by an application. I have tried using xwininfo(1x) but that
didn't seem to help.
The list in /usr/include/X11/DwtPrivate.h may be usefull but
unfortunately I dont have enough disk to install the developement
system, which is required to view the file you mentioned.
Regards,
Walter
| |||||
| 3065.3 | ABYSS::dike | Fri Jul 13 1990 07:28 | 38 | ||
All of the following work for me on 4.0: *DwtScroll*background: green DXterm*DwtScroll.background: red DXterm*DwtScroll.background: light blue As for finding out what classes an application uses, if it is a DECwindows app, it uses the class names in DwtPrivate.h. If is a motif or athena app, it will use class names out of the corresponding header file in that toolkit. Here are the class names defined in DwtPrivate.h: #define DwtSClassDwtCommon "DwtCommon" #define DwtSClassLabel "DwtLabel" #define DwtSClassSeparator "DwtSeparator" #define DwtSClassPushbutton "DwtPushbutton" #define DwtSClassTogglebutton "DwtToggle" #define DialogClassName "DwtDialog" #define DwtSClassDialog DialogClassName /* for upward compatibility */ #define DwtSClassMenu "DwtMenu" #define DwtSClassPulldown "DwtPulldown" #define DwtSClassScroll "DwtScroll" #define DwtSClassMainWindow "DwtMainWindow" #define DwtSClassMessage "DwtMessage" #define DwtSClassHiddenShell "DwtHiddenShell" #define DwtSClassWindow "DwtWindow" #define DwtSClassScrollWindow "DwtScrollWindow" #define DwtSClassScale "DwtScale" #define DwtSClassListBox "DwtListBox" #define DwtSClassSelection "DwtSelection" #define DwtSClassFileSelection "DwtFileSelection" #define DwtSClassCommand "DwtCommand" #define DwtSClassHelp "DwtHelp" #define DwtSClassHelpShell "DwtHelpShell" #define DwtSClassAttachedDialog "DwtAttachedDialogBox" #define DwtSClassTextWidget "DwtText" #define DwtSClassColorMix "DwtColorMix" Jeff | |||||