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

Home » Public Forums » archive » Widget Hierarchy
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Widget Hierarchy [message #10708] Wed, 14 January 1998 00:00 Go to next message
DMottershead is currently offline  DMottershead
Messages: 17
Registered: January 1998
Junior Member
I have a couple of questions about a program I am attempting to write.
First of all, what I am trying to acheive is a graphical widget
interface which will read files and plot them using object graphics.
Then I would like another level of interface (a new base) to appear and
be able to change the plot options and then implement them on the plot.
The first part of this task has been acheived (ie I have been able to
read in a file and plot the data in an object window with some default
axes, headings etc). My problem now is that I have set up these defaults
in the main procedure and I would like to change the values using the
second widget. I have tried using pointers to structures created in the
main procedure but when the lower interface is realized it doesnt
recognise these pointers. I also have a menubase to choose the type of
parameters I want to change. eg if I would like to change the x-axis
properties I would like to be able to press a button and see a new
widget appear with the x-axis properties and be able to change them and
when this widget base is destroyed, the plot is updated. Would anyone
have an example of this hierarchial setup with pointers? Thanks
--
Regards

David

************************************************************ *******
David Mottershead Phone: +61 2 9949 0234
Manly Hydraulics Laboratory Fax: +61 2 9948 6185
110b King St, Manly Vale, 2093 email: dmottershead@mhl.nsw.gov.au
SYDNEY, AUSTRALIA WWW: http://www.mhl.nsw.gov.au
************************************************************ *******
Re: Widget Hierarchy [message #53234 is a reply to message #10708] Wed, 28 March 2007 06:33 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Widget_Control, widgetID, Send_Event=someEvent

Here is an article that explains how this works
in XCOLORS:

http://www.dfanning.com/color_tips/using_xcolors.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Widget Hierarchy [message #53235 is a reply to message #10708] Wed, 28 March 2007 06:21 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
prahladvkumar@gmail.com writes:

> I am having 4 base widgets by name A, B, C, D. All are independent
> widgets.
>
> Base Widget A has some objects by name A1, A2, A3, A4
>
> and Base Widget B has some objects B1, B2, B2,B3, B4
>
> Like wise base widget C has C1,C2,C3,C4.
>
> My intension is to exchange the values between B1 and C1 or A1 to B1
> i.e., passing the values of various objects that lie in different
> bases.
>
> Please provide me a solution.

Widget_Control, widgetID, Send_Event=someEvent

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Widget Hierarchy
Next Topic: Computed Tomography

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

Current Time: Fri Oct 10 16:22:01 PDT 2025

Total time taken to generate the page: 3.83659 seconds