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 #80696 is a reply to message #80588] Mon, 25 June 2012 11:42 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/25/12 11:49 AM, rryan@stsci.edu wrote:
> 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.

Object-widgets have all the advantages of objects in general. In
particular, encapsulation and a documented interface are important
features. With a standard widget program, you basically have to give
away your tlb widget identifier for another routine to interact with
you. At which point, the interacting program can do anything they want
to you. But an object-widget can publish an interface of actions it can
take, properties that can be examined, etc. This makes working with
object-widgets much easier and the code that interacts with them much
easier to maintain.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[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: Fri Oct 10 19:26:30 PDT 2025

Total time taken to generate the page: 0.88128 seconds