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

Home » Public Forums » archive » Re: Subclassing from IDLitTool ??
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: Subclassing from IDLitTool ?? [message #40706 is a reply to message #40705] Wed, 01 September 2004 10:24 Go to previous messageGo to previous message
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
In article <4135CD89.4050300@est.fib.upc.es>, "Antonio Santiago"
<d6522117@est.fib.upc.es> wrote:


> What do i need to do to subclassing from IDLitTool? Thanks.

IDLitToolbase comes preloaded with all of the menus in the IDL
standard iTools. IDLitTool comes with zero, nadda,
zip. You have to supply all of the menu items (for example). Then
IDLitTool contains the necessary functions to return the object
references.

e.g.

;Init method
FUNCTION iprobe::Init

if( self->IDLitTool::Init(_extra=_extra) eq 0)then $
return, 0
;file
self->RegisterOperation, 'Exit', 'IDLitopFileExit', $
IDENTIFIER='File/Exit', /SEPARATOR

;button
self->RegisterManipulator, 'Arrow', 'IDLitManipArrow', $
ICON='arrow', /DEFAULT, IDENTIFIER="ARROW", $
DESCRIPTION='Click to select items, click and drag to select multiple items'

return, 1

END

That gets you onto the first step...

Chris.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vector dispay size
Next Topic: Re: 6.1 IDLDE project amnesia

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

Current Time: Sun Oct 12 01:02:44 PDT 2025

Total time taken to generate the page: 0.40100 seconds