Plugin interface: Information and Version
Biju Chacko
biju_chacko at vsnl.net
Mon Nov 24 05:19:39 CET 2003
On Sat, 22 Nov 2003 21:57:12 +0100, Jasper Huijsmans wrote:
> Ok, a follow-up. How about an extra virtual function
>
> void (*get_info) (GtkTextBuffer *textbuffer);
>
> The plugin author can put in whatever information he likes and the panel
> will put it in a second notebook tab.
>
> Would that be convenient enough? It allows for more flexibility and
> prevents the need for a new variable for every new piece of information
> we feel might be useful.
I'd say this method would encourage inconsistency between plugins. I'd suggest a
minimal list of mandatory information (name, version number, etc) plus a buffer
for flexibility.
-- b
--
------------------------------------------------------------------------
Biju Chacko http://in.redhat.com Red Hat Inc
More information about the Xfce4-dev
mailing list