* Zajcev Evgeny <zevlg@xxxxxxxxx> writes:
> Steve Youngs <steve@xxxxxxxx> writes:
>> I'm looking for an XWEM answer to displaying an image on the root
>> window. What I want is the image to be resized to fit exactly inside
>> an unsplit XWEM frame. In other words, if I have an empty transparent
>> XWEM frame I should be able to see 100% of the image, and the image's
>> borders should be flush with the XWEM frame's borders.
>>
>> Do you see what I'm getting at?
> Not quite .. i did not understood this: "I should be able to see 100%
> of the image, and the image's borders should be flush with the XWEM
> frame's borders."
The distance from the inside edge of the XWEM frame border to the
outside edge of the image border equals zero.
> There is undocumented(hmm, is there documented anything at all? :)
> feature - RelativeParent background for the xwem frames. Parent
> window for the xwem frames is normally(excluding embedded frames) is
> root window. So if xwem frame uses RelativeParent background mode it
> inherits background of root window. To start using it do something
> like:
> 1) Install some background into root window (display -window root)
> 2) Remove 'background property from xwem-frame-default-properties
> (plist-remprop)
> 3) Create new xwem frame
I'll give this a go, but I think I'm still going to have the problem
of position and size of the image.
> Steve, is it possible to get visually (e.g. screenshot) of what you
> actually want to do?
http://www.youngs.au.com/~steve/tmp/root.png
...expand the image until there is no more yellow. But don't go
beyond the XWEM frame border.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| In space, |
| No one can hear you rip a stinky |
|---------------------------------------<steve@xxxxxxxx>---|
pgpTP6otrYR2r.pgp
Description: PGP signature
|