🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1301

Re: names of glyphs available to .Xdefaults

#1301
From: David Sternlicht
Date: Sat, 21 Nov 1992 14:55
37 lines
1670 bytes
>Where do I find the names of those glyphs whose properties may be
>manipulated through an .Xdefaults file?
>
>For example, this works
>
>            MyApp*HScrollBar*flat: red
>
>but this  doesn't
>
>           MyApp*HScrollBar*Thumb*flat: red
>
>So "HScrollBar", "flat" are recognized, but "Thumb" is not.
>
>Is there some way -- perhaps even cruising throught the iv source --
>that I can use to learn which glyphs, with what names, can be
>manipulated this way?

I think you may be confusing glyphs with widgets, and their "automatic" resources.
You have to associate a glyph with a style.  The components you get from widgetkit
have this done for you.  So HScollBar is a widgetkit component, whereas Thumb
is not.  The place to look is src/InterViews/kit.c although this sort of thing should
be documented somewhere.  Here are some settings that work for idemo:

Idemo*HScrollBar*flat: red
Idemo*VScrollBar*flat: green
Idemo*Panner*flat: blue
Idemo*PaletteButton*flat: orange
Idemo*RadioButton*flat: cyan
Idemo*ToggleButton*flat: purple
Idemo*PushButton*flat: brown


-- 
			
				dave sternlicht
				mit X consortium
				dave@expo.lcs.mit.edu
Technical Details
Message-ID: <1992Nov21.145530.26619@mintaka.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mintaka.lcs.mit.edu!kanga.lcs.mit.edu!dave
References: <PSHANNON.92Nov17144618@iapetus.cv.nrao.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mintaka.lcs.mit.edu!kanga.lcs.mit.edu!dave
From: dave@kanga.lcs.mit.edu (David Sternlicht)
Subject: Re: names of glyphs available to .Xdefaults
Message-ID: <1992Nov21.145530.26619@mintaka.lcs.mit.edu>
Sender: news@mintaka.lcs.mit.edu
Organization: MIT Laboratory for Computer Science
References:  <PSHANNON.92Nov17144618@iapetus.cv.nrao.edu>
Distribution: comp
Date: Sat, 21 Nov 1992 14:55:30 GMT
Lines: 37