comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Keeping Button Pressed In?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Keeping Button Pressed In? [message #45324 is a reply to message #45278] Mon, 29 August 2005 15:13 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> pravesh.subramanian@gmail.com writes:
>
>
>>Excellent idea, david. now thats what we call a seasoned programmer!
>
>
> Humm. "Seasoned", huh. Doesn't that mean "old"? :-(

1. seasoned - aged or processed; "seasoned wood"
unseasoned - not aged or processed; "unseasoned timber"
2. seasoned - having been given flavor (as by seasoning)
flavored, flavoured, tasteful - having flavor
3. seasoned - rendered competent through trial and experience;
"troops seasoned in combat"; "a seasoned traveler"; "veteran
steadiness"; "a veteran officer"
veteran experienced - having become knowledgeable or skillful
from observation or participation

But before we discuss whether David is "rendered competent through
trial and experience" or "flavored" I would like to return to the
topic and offer the observation that the Itools have buttons of the
type required. (Eg if you bring up an Iplot window you will see an
arrow button and another next to it that represents rotation.) I
have looked at the source and for the life of me I cannot work out
where and how they do this.

The following (from the Itool Developer's Guide) explains where
the bitmap for the arrow button comes from:

By default, bitmap files for icons used by the iTool system
are stored in the bitmaps subdirectory of the resource
subdirectory of the IDL distribution. If an icon's bitmap
file is located in this directory, specify the base name
of the file - without the filename extension - as the value
of the ICON property of the component. For example, to use
the file arrow.bmp, located in the resource/bitmaps subdirectory
of the IDL distribution, specify the value of the ICON property
as follows:

ICON = 'arrow'

But I don't know how they modify it to show it has been pressed.

Can anyone point me to the relevant code?


--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: random integers between 0 and 1,000,000
Next Topic: Reading UUID from JPEG2000 file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 08:56:55 PDT 2025

Total time taken to generate the page: 0.00652 seconds