🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #38246

Re: Motif Text Widget and Graphics...

#38246
From: Scott Raney
Date: Fri, 26 Jun 1992 17:12
36 lines
2236 bytes
vijay@iitb.ernet.in (Vijay J. Talati) writes:

>Hi,
>I have a problem with Motif Text widget.
>What I want to do is display some text ( in any widget.. currently
>i am using Text Widget), and then display some graphics like a
>rectangle or an oval over it such that this figure is transparent and 
>the text is visible through it.

>I am not able to display the required graphics. So what i want to
>know is..
>1. Whether this is possible ?
>2. If not in text widget, can i acheive this in any other way?

The best way is to use a product like MetaCard, which is designed to
handle mixed text and graphics, instead of the Motif toolkit, which
was not.  Mail to info@metacard.com for product information.

Barring that, the best way is to use a drawing area or a drawn button
and draw both the text and the graphic yourself.  Keeping up with the
exposure events and redraws in regular widgets is an impossible task
without hacking the source.

>I am using Motif 1.0 under SCO UNIX 5.3.2 (ODT 1.?).

>I would appreciate any suggestions.
>Thanx.
>Vijay. (vijay@gateway.iitb.ernet.in) 



-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************
Technical Details
Message-ID: <raney.709578776@teal>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!teal!raney
References: <1992Jun25.161615.1774@iitb.ernet.in>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103734,db3c8aa1e216d63f,start
X-Google-Attributes: gid103734,public
X-Google-Thread: 134180,db3c8aa1e216d63f,start
X-Google-Attributes: gid134180,public
X-Google-Thread: 10b6ac,db3c8aa1e216d63f,start
X-Google-Attributes: gid10b6ac,public
X-Google-ArrivalTime: 1992-06-26 07:02:00 PST
Newsgroups: comp.windows.x,comp.windows.x.motif,biz.sco.opendesktop
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!teal!raney
From: raney@teal.csn.org (Scott Raney)
Subject: Re: Motif Text Widget and Graphics...
Message-ID: <raney.709578776@teal>
Sender: news@csn.org (news)
Nntp-Posting-Host: teal.csn.org
Organization: Colorado SuperNet, Inc.
References: <1992Jun25.161615.1774@iitb.ernet.in>
Date: Fri, 26 Jun 1992 17:12:56 GMT
Lines: 36