This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Overloading the running and stopped PluginWindow methods
- To: Insight List <insight at sources dot redhat dot com>
- Subject: Overloading the running and stopped PluginWindow methods
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Thu, 01 Feb 2001 15:49:04 -0500
- Organization: Red Hat Canada
As promised, I added some example code that uses these methods to our
plug-in sample. I did some cleanup while I was doing this.
* library/pluginwin.itcl (contrucdtor, destructor): Use "code" to
specify callbacks.
(running, stopped, no_inferior): Make it a protected method.
(childsite): Explicitly mark as a public method.
* library/plugins/rhabout/rhabout.itcl (constructor): Add a label
widget to show status messages.
(running, stopped): Overload versions of the base class; display
status messages as an example.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9