home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!walter.bel!jello.bae.bellcore.com!aw
- From: aw@jello.bae.bellcore.com
- Newsgroups: comp.windows.x
- Date: 18 Jul 92 01:42 MDT
- Subject: Re: Changing resources on the fly
- Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
- Message-ID: <1992Jul17.214256.8724@walter.bel>
- Nf-ID: #N:1992Jul17.214256.8724@walter.bel:-544859360:001:1143
- Nf-From: jello.bae.bellcore.com!aw Jul 18 01:42:00 1992
- Lines: 29
-
-
- In article <1992Jul14.081127.12984@newshost.anu.edu.au>, Hugh.Fisher@anu.edu.au (Hugh Fisher) writes:
- >
- > How can an X application be notified that its resources have been
- > changed and it should therefore reconfigure itself to match?
-
- The OLIT toolkit provides support for this. It selects for
- PropertyNotify on the RESOURCE_MANAGER property (set by xrdb).
- Widgets can register callbacks (see OlRegisterDynamicCallback(3))
- to be called when this property changes so they can update their
- state.
-
- > What I would like to do is have a nice graphical resource editor,
- > which as it works sends protocol requests / ICCCM properties /
- > X events to the application(s) affected, in response to which they
- > change themselves to match the new values
-
- All your editor should need to do is pass your edited resources
- to xrdb, and OLIT applications will update themselves
- appropriately.
-
- Andrew
-
- _______________________________________________________________________________
-
- Andrew Wason Bell Communications Research
- aw@bae.bellcore.com Piscataway, NJ
- bellcore!bae!aw
-
-