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

Home » Public Forums » archive » Re: Buttons in Widgets
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: Buttons in Widgets [message #80553] Mon, 25 June 2012 10:00 Go to previous message
Russell Ryan is currently offline  Russell Ryan
Messages: 122
Registered: May 2012
Senior Member
On Monday, June 25, 2012 5:54:13 AM UTC-4, Helder wrote:
> Hi,
> I'm don't like that much how the buttons of IDL widgets look (Widget_button) even when using the /bitmap argument. I am exploring the solution of using a draw_widget, making it of the same color as the background(*) and then filling it is with my own drawing. The difference between the two methods is that the borders of the buttons will appear different: for a button widget these are defined by the IDL and for a draw widget one can have "no" borders or define how these look like. Another advantage is that one can have the effect of having an something like an icon floating on a background.
> Has anybody tried doing such things? So far it seems to do the job for me, but I haven't played too much with it yet.
> (*) Is there a way to find out what color the base widget has and/or to define it?
>
> Cheers,
> Helder


It sounds like you're trying to do something like Rob Dimeo did?

http://www.ncnr.nist.gov/staff/dimeo/idl_programs.html

Check out his compound widgets (ie. the screen shot pages).

Russell
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: GPULIB troubleshoot
Next Topic: Coyote graphics resizeable window

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

Current Time: Wed Oct 08 19:13:28 PDT 2025

Total time taken to generate the page: 0.00454 seconds