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

Home » Public Forums » archive » GUI Programming in IDL
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
GUI Programming in IDL [message #41359] Tue, 26 October 2004 14:34 Go to next message
praveshsubramanian is currently offline  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 #41494 is a reply to message #41359] Wed, 27 October 2004 06:05 Go to previous messageGo to next message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Pravesh wrote:
> 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??

I use the GUI-driven application code detailed in Liam Gumley's book, imgui I believe, as
a shell for all my widget apps (see http://www.gumley.com -- all the example code in the
book is available there in a tarball/zipfile). I used the IDL GUI Builder once or twice
and never used it again - I find a pencil and paper much more useful in designing IDL
widget GUI apps.

paulv
Re: GUI Programming in IDL [message #41520 is a reply to message #41359] Mon, 01 November 2004 11:31 Go to previous messageGo to next message
kb at astro dot physi is currently offline  kb at astro dot physi
Messages: 3
Registered: November 2004
Junior Member
Pravesh wrote:
> 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


I run IDL on a Linux machine where the GUI builder is not available - so
I have learnt to code GUI by hand and when I used a windows machine and
tried the GUI builder I realised that coding by hand was much better. I
second the other opinions in this thread which recommend not using the
GUI builder.

Karthik.
Re: GUI Programming in IDL [message #41627 is a reply to message #41359] Thu, 04 November 2004 09:07 Go to previous message
David Fanning is currently offline  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 Go to previous message
tianyf is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: About Image Formats
Next Topic: Re: About Image Formats

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

Current Time: Wed Oct 08 20:00:58 PDT 2025

Total time taken to generate the page: 0.01070 seconds