This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: PluginWindow class and a revamped plug-in sample code
- To: tromey at redhat dot com
- Subject: Re: PluginWindow class and a revamped plug-in sample code
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 02 Feb 2001 16:58:52 -0500
- CC: Fernando Nasser <fnasser at redhat dot com>, Insight List <insight at sources dot redhat dot com>, Keith Seitz <keiths at cygnus dot com>
- Organization: Red Hat , Inc. - Toronto
- References: <3A78EDCA.512E7905@redhat.com> <87puh03g53.fsf@creche.redhat.com>
Tom Tromey wrote:
>
> >>>>> "Fernando" == Fernando Nasser <fnasser@redhat.com> writes:
>
> Fernando> I added some automatic control of the menus and toolbar
> Fernando> buttons (so they will be disabled and enabled automatically
> Fernando> according to their category) with code stolen from the
> Fernando> Source Window and here is the result.
>
> How about introducing a new base class so that both the plugin code
> and the source window use the same code, rather than duplicating it?
>
Keith just suggested the same on a private message last evening.
He is a little more ambitious and want us to get rid of the
indiscriminate use of hooks by many windows. So, I guess this
would be a class that would be inherited by many other windows as well.
Sure thing. I will get a base class out of it and see if I can go
around doing what you guys want.
Maybe I can expand that GDBWin class... What do you think?
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9