Re: Plugin putting an icon on the toolbar

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Tue Aug 30 2005 - 02:33:22 CEST

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
>
>
>
Received on Tue Aug 30 02:37:31 2005

This archive was generated by hypermail 2.1.8 : Tue Aug 30 2005 - 02:37:32 CEST