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

Home » Public Forums » archive » Object widget?
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: Object widget? [message #80697 is a reply to message #80588] Mon, 25 June 2012 10:58 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
rryan@stsci.edu writes:

> I am very familiar with the Fanning's library and
> website. But I was hoping someone could describe the
> virtues of the OOP for widgets/GUIs. I'm rewriting the
> code anyway, and so thought to do it in OOP --- provided
> the reasons are better than simple intellectual curiosity.

In a word, objects are clever and widgets are dumb.
Widgets have an extremely basic interface (SET_VALUE
and GET_VALUE). Object widgets can be interacted with
in any number of clever and creative ways. Plus, an
added bonus, since they are so clever, they become
idea-generating machines. The biggest problem you
have with object-widgets is resisting the temptation
to make them TOO clever! You can do too many things
with them and you will find that you have to resist
tinkering with them and just get the basic job done
and move on. Otherwise, you will end up a geek
instead of a scientist.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error
Next Topic: @named_structure % Error opening file. File: named_structure

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

Current Time: Mon Apr 27 16:33:44 PDT 2026

Total time taken to generate the page: 1.20070 seconds