Government is anarchy's way of making more anarchy.
    --Simon Moon ("The Schrödinger's Cat Trilogy", Robert Anton Wilson)
[MGv: Shots]
Home
MGv
Unix Shell
Palm Pilot
Miscellaneous
Source
Links

Screen Shots

I've moved all the screen shots to this (separate) page so that people who don't care about them won't have to be bothered with them.

If you don't have Motif 2.0 or higher, then don't bother trying the backgroundPixmap things since they won't work and they might give you X-Protocol errors.

This is a plain MGv window:

[Screen Shot]


If you're into enlightenment then you might like this:

[Fancy Screen Shot]

To get this effect, you just set the following resources:

MGv*view*backgroundPixmap:        XmUNSPECIFIED_PIXMAP
MGv*backgroundPixmap:             tile.xpm
MGv*foreground:                   black
MGv*background:                   orange
MGv*mgv.foreground:               black
MGv*mgv.background:               white
MGv*XmText.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap: XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
and make sure the XPM file can be found (the easiest way to make sure it can be found is to use a full pathname); since text and list widgets don't deal with background pixmaps very well, there is no point in trying to use pixmaps with them.


If you worship the holy coffee bean, you might like this:

[Fancy Screen Shot]

To get this effect, you just set the following resources:

MGv*view*backgroundPixmap:        XmUNSPECIFIED_PIXMAP
MGv*backgroundPixmap:             java.xpm
MGv*foreground:                   Gold2
MGv*background:                   Gray14
MGv*mgv.foreground:               black
MGv*mgv.background:               white
MGv*XmText.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap: XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
I don't remember where I got the tiles.

If you want to experiment with other cool tiles, make sure you always set the backgroundPixmap to XmUNSPECIFIED_PIXMAP in the scrolled window (MGv*view*backgroundPixmap: XmUNSPECIFIED_PIXMAP); if you don't, you'll probably get an X-protocol error at start up. Of course this could be made much better by assigning different pixmaps to push buttons and different regions of the various dialogs. Maybe I'll have time to experiment a little more (if any one comes up with a really cool set of pixmaps, let me know).


[Fancy Screen Shot]
MGv*backgroundPixmap:              chunky.xpm
MGv*foreground:                    PapayaWhip
MGv*background:                    DarkSlateGray
MGv*mgv.foreground:                black
MGv*mgv.background:                white
MGv*XmText.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap:  XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmPushButton.backgroundPixmap: background8.xpm
MGv*XmPushButton.foreground:       Yellow
MGv*XmPushButton.background:       SaddleBrown
MGv*view*backgroundPixmap:         XmUNSPECIFIED_PIXMAP


[Fancy Screen Shot]
MGv*backgroundPixmap:              chunky.xpm
MGv*foreground:                    PapayaWhip
MGv*background:                    DarkSlateGray
MGv*mgv.foreground:                black
MGv*mgv.background:                white
MGv*XmText.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap:  XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmPushButton.backgroundPixmap: marble2.xpm
MGv*XmPushButton.foreground:       Black
MGv*XmPushButton.background:       Gray82
MGv*view*backgroundPixmap:         XmUNSPECIFIED_PIXMAP


[Fancy Screen Shot]
MGv*backgroundPixmap:              chunky.xpm
MGv*foreground:                    PapayaWhip
MGv*background:                    DarkSlateGray
MGv*mgv.foreground:                black
MGv*mgv.background:                white
MGv*XmText.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap:  XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmPushButton.backgroundPixmap: redstcd.xpm
MGv*XmPushButton.foreground:       DeepSkyBlue2
MGv*XmPushButton.background:       Maroon4
MGv*view*backgroundPixmap:         XmUNSPECIFIED_PIXMAP

The backgroundPixmap resource only seems to work with Motif 2.0.1 but the addition of a String to Pixmap type converter that understood XPM files would probably fix this for other Motif versions.

Eric Howe
mu@trends.net
1999-01-14
08:31:26 UTC
Many people would rather die than think; in fact, most do.
    --Bertrand Russell
[MGv: Shots]