🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36850

trouble with bitmaps under Aw

#36850
From: Alan Commike
Date: Thu, 15 Feb 1990 00:39
27 lines
1497 bytes

I've just started using the Athena widgets and the Xtoolkit. So much easier
than trying to get everything going with just Xlib!

I'm having problems getting a bitmap to display in a widget. There are no
examples to do this in the manuals, or in the example code supplied. 

What i'm trying to do is have a label widget with a bitmap. Do i have to
do resource conversions? Are there any toolkit functions to help with 
this. With Xlib i used to do an XCreateImage, and then PutPixel them
onto the window. There must be an easier simpler way under Aw.

Thanks for any and all help,

	...alan


-----------------------------------------------------------------------------
internet: commike@cs.buffalo.edu |         
bitnet: commike@sunybcs.BITNET   |        
uucp:  ..!{watmath,boulder,decvax,rutgers}!sunybcs!commike
Real-Life: Alan Commike - SUNY @ Buffalo, Buffalo NY

Q: How many computer scientists does it take to change a light bulb?
A: It's undecidable!
-----------------------------------------------------------------------------
Technical Details
Message-ID: <17769@eerie.acsu.Buffalo.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!sunybcs!commike

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!sunybcs!commike
From: commike@cs.Buffalo.EDU (Alan Commike )
Newsgroups: comp.windows.x
Subject: trouble with bitmaps under Aw
Message-ID: <17769@eerie.acsu.Buffalo.EDU>
Date: 15 Feb 90 00:39:36 GMT
Sender: nobody@acsu.Buffalo.EDU
Reply-To: commike@cs.Buffalo.EDU (Alan Commike )
Organization: SUNY/Buffalo Computer Science
Lines: 27