Re: Plugin putting an icon on the toolbar

From: Dom Lachowicz <domlachowicz_at_yahoo.com>
Date: Tue Aug 30 2005 - 02:43:55 CEST

Martin's quite right, of course. It shouldn't be too
difficult, though, to create a checkbox menu item to
achieve the same effect. There's sufficient sample
code and know-how to do that, and the UI impact isn't
too dissimilar.

Best,
Dom

--- Martin Sevior <msevior@physics.unimelb.edu.au>
wrote:

>
> On Mon, 2005-08-29 at 20:19 -0400, Steve D. Perkins
> wrote:
> > Hello all -
> >
> > I've written a small plugin (thanks to the IRC
> gang for your help)
> > for making it easier to type in Esperanto, to go
> along with the
> > Esperanto-translation .po file I'm working on. It
> works fine...
> > however, the user is probably going to want to
> toggle quite frequently
> > between Esperanto and their native language.
> >
> > It would be pretty ugly to
> deactivate/reinstall the plugin every
> > time you needed to switch, so what I'm envisioning
> is a button on the
> > toolbar. When it's pressed, the plugin does its
> thing... when it's not
> > depressed, the plugin idles. However, the API for
> creating a new
> > toolbar icon is all that well-documented, and I'm
> really struggling to
> > get off the ground with my effort. Are there any
> examples of plugins
> > out there that do this, which I could peek into
> and borrow from?
> >
>
> It is quite possible for a plugin to create a
> toolbar icon on load.
> However the infrastructure for doing that has not
> been streamlined and
> we have no example code to show you.
>
> It's a good idea though and maybe we can do it
> during the 2.6 cycle.
>
> Cheers
>
> Martin
>
>
> > Steve
> >
> >
> >
>
>

                
__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
Received on Tue Aug 30 02:45:27 2005

This archive was generated by hypermail 2.1.8 : Tue Aug 30 2005 - 02:45:27 CEST