[comp.windows.x] Xdefaults question

beisel@spp2.UUCP (bruce beisel) (10/19/88)

I have two entries in my Xdefaults file that sets the border width
of two different widget classes.

*mainwindow*borderWidth: 2
*subwindow*borderWidth: 1

In my program a widget of class "subwindow" is a child of a
widget of class "mainwindow".  The borders of both of these widgets
is 2.  What am I doing wrong?

Thanks in advance,

	-Bruce Beisel

TRW Inc.
(213) 217-4916

akomonc@csws11.ic.sunysb.edu (Andrew R Komonchak) (10/02/90)

   Is there a way to change the symbol used as the cursor and the pointer
by using the .Xdefaults file?  If so what is the line to do so?
We have tried various versions of Xterm*cursor:     XC_gumby  etc.
All with no success. It's mostly the pointer we are trying to change.
Email replies are welcome as well as posts.  Thanks,
-- 
   __                    /\_/\ Send email to: akomonc@csserv1.ic.sunysb.edu
 /| .\  Arctic Wolf     | , , | Who me..I never saw that chainsaw before.
| o\  |A.R.Komonchak Jr. \| |/ Conversation overheard - "I don't care if I am
 \__|/                    \-/  a lemming...I'm not going!"

converse@EXPO.LCS.MIT.EDU (10/03/90)

> Is there a way to change the symbol used as the cursor and the pointer
> by using the .Xdefaults file?  If so what is the line to do so?

Each application must individually provide this functionality.  The tookit
does not provide a conventional method for changing the cursor or pointer
symbols.  You will have to read the documentation for each application
to see how to set the cursor or pointer symbol.  Many of the core X clients
that allow the user to set the pointer symbol refer to it as the pointerShape
resource.


> We have tried various versions of Xterm*cursor:     XC_gumby  etc.

The class name for xterm resources has the first two letters capitalized.
Don't include the leading XC_ when specifying cursor names in resource files.

XTerm*pointerShape: gumby