Widget Hierarchy [message #10708] |
Wed, 14 January 1998 00:00  |
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 #53235 is a reply to message #10708] |
Wed, 28 March 2007 06:21  |
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.")
|
|
|