home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!daemon
- From: ygor@aplexus.jhuapl.edu (Daniel E. White (F2C))
- Newsgroups: fj.mail-lists.x-window
- Subject: Re: Pixmap width and height?
- Message-ID: <1992Nov16.123416.18026@sm.sony.co.jp>
- Date: 16 Nov 92 12:34:16 GMT
- Sender: daemon@sm.sony.co.jp (The devil himself)
- Distribution: fj
- Organization: Johns Hopkins U. Applied Physics Lab
- Lines: 38
- Approved: michael@sm.sony.co.jp
-
- Date: Tue, 10 Nov 1992 13:03:18 GMT
- Message-Id: <BxI49I.HqE@netnews.jhuapl.edu>
- Newsgroups: comp.windows.x.motif,comp.windows.x
- References: <1992Nov10.123700.2627@lsl.co.uk>
- Sender: xpert-request@expo.lcs.mit.edu
-
- In article <1992Nov10.123700.2627@lsl.co.uk>, snail@lsl.co.uk writes:
- |> Hello everyone, the snail has a problem...
- |>
- |> Does anyone know how to determine the width of a pixmap that you have. Say
- |> for example I had used XmGetPixmap(...) to fetch a pixmap from a UIL file
- |> (an exported icon, for example) I do not know the pixmap's width or height.
- |> I would like this info so that I can extract a bitmap from this pixmap.
- |>
- |> Don't ask why, or suggest specifying the bitmaps a different way. We want
- |> bitmaps from Pixmaps (I can do that bit), but I need to know the width and
- |> height of the pixmap automatically (ie: through a function)rather than the user
- |> specifying the width and height.
- |>
- |> Alternatively, if you know of a way of extracting a bitmap from a pixmap
- |> without previously knowing the width or height of the pixmap, let me know.
- |>
- |> Thanks folks
- |> --
- |> snail@lsl.co.uk
- |>
- |> You Have To Remember, You Need To Beleive,
- |> The Time Has Past, Dust In The Leaves.
-
- How about XGetGeometry() or XtGetValues()
-
- --
- ------------------------------------------------------------------------
- Dan White
- ------------------------------------------------------------------------
- "Sometimes I think the surest sign that intelligent life exists
- elsewhere in the universe is that none of it has tried to contact us."
- Calvin (Bill Waterson)
-