home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!wsl.dec.com!klee
- From: klee@wsl.dec.com (Ken Lee)
- Subject: Re: Xt/Motif and Visuals
- Message-ID: <1992Jul27.233532.5180@PA.dec.com>
- Sender: news@PA.dec.com (News)
- Reply-To: klee@wsl.dec.com
- Organization: DEC Western Software Laboratory
- References: <131608@lll-winken.LLNL.GOV>
- Date: Mon, 27 Jul 92 23:35:32 GMT
- Lines: 15
-
- |> Using the X-toolkit or Motif, is there a way I can create a
- |> widget and window and specify the visual being used?
-
- Top level shell widgets have visual and colormap resources. You can set
- these for an entire widget tree. Note that there may be some bugs in some
- versions of Motif that cause this to break.
-
- If you want to set visuals for non-shell widgets, you'll have to subclass the
- widget to add the functionality to the realize method.
-
- --
- Ken Lee
- DEC Western Software Laboratory, Palo Alto, Calif.
- Internet: klee@wsl.dec.com
- uucp: uunet!decwrl!klee
-