GUI Programming in IDL [message #41359] |
Tue, 26 October 2004 14:34  |
praveshsubramanian
Messages: 15 Registered: September 2004
|
Junior Member |
|
|
Hello:
How will you rate the GUI Programming in IDL compared to VB and
others? I am really finding it tough to get along w/ it.
Everytime i change the prc file and regenerate the .pro file, the
event_cb file does not get updated. I have to then do save as and cut
paste all the event definitions. What is the way out??
Please reply
Thanks
Pravesh
|
|
|
|
|
Re: GUI Programming in IDL [message #41627 is a reply to message #41359] |
Thu, 04 November 2004 09:07  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Y.F. Tian writes:
> Once I changed the .prc file and re-generated the sources, I need to
> double click the files in the project window to refresh their content.
> IDL always prompted me to confirm the changes.
>
> As to the IDLDE's GUIBuilder, I prefer using it in Windows. Because
> the positioning of widgets is a big problem for me when munally write
> the code. I am wondering which type of layout that others are using
> for the top-level-base widget is. Can anybody can give me a clue on
> GUI programming effectively?
>
> Another old issue, are there any tricks to make GUI work fine in both
> Windows and Linux?
Well, Tian, you aren't going to like this probably,
but the sizing you are doing in Windows is *exactly*
what is screwing everything up in Linux. :-)
Make you bases row and column bases, and use LOTS
of them to lay out your widgets. Forget *everything*
you know about sizing widgets (except for draw widgets,
maybe), and you *maybe* will have a chance at machine
portable code.
Cheers,
David
P.S. A good book is always a good idea. :-)
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
|
|
|
Re: GUI Programming in IDL [message #41635 is a reply to message #41359] |
Thu, 04 November 2004 04:25  |
tianyf
Messages: 6 Registered: June 2004
|
Junior Member |
|
|
Once I changed the .prc file and re-generated the sources, I need to
double click the files in the project window to refresh their content.
IDL always prompted me to confirm the changes.
As to the IDLDE's GUIBuilder, I prefer using it in Windows. Because
the positioning of widgets is a big problem for me when munally write
the code. I am wondering which type of layout that others are using
for the top-level-base widget is. Can anybody can give me a clue on
GUI programming effectively?
Another old issue, are there any tricks to make GUI work fine in both
Windows and Linux?
Thanks.
Sincerely,
Tian
praveshsubramanian@yahoo.com (Pravesh) wrote in message news:<e5a50c3b.0410261334.4dbe7427@posting.google.com>...
> Hello:
> How will you rate the GUI Programming in IDL compared to VB and
> others? I am really finding it tough to get along w/ it.
> Everytime i change the prc file and regenerate the .pro file, the
> event_cb file does not get updated. I have to then do save as and cut
> paste all the event definitions. What is the way out??
> Please reply
>
> Thanks
> Pravesh
|
|
|