[Goodies-dev] writing test plugin in python

s|s supreet.sethi at gmail.com
Sat May 12 14:47:17 CEST 2007


Thanks Jannis,

Tried label.show() and that also does'nt work. Also I get defunct instance
of xfce4-panel per attempt at running this plugin.

Trying it on

ubuntu xubuntu edgy
xfce4-panel version 4.3.99
python-xfce  4.3.90svn+r22080



regards

s

On 5/11/07, Jannis Pohlmann <jannis at xfce.org> wrote:
>
> Am Fri, 11 May 2007 13:12:37 +0530
> schrieb s|s <supreet.sethi at gmail.com>:
>
> > Hey,
> > I was testing python xfce4 plugin with appropriate desktop file.
> > Following is the code. The plugin does not show on the panel.
> >
> > I am wondering why
> >
> >
> >
> >
> > import
> > pygtk
> > import
> > pyexo
> > import
> > gtk
> > from xfce4.panel import
> > Plugin
> >
> >
> > class
> > test(Plugin):
> >     def
> > __init__(self):
> >
> > Plugin.__init__(self)
> >         eb = gtk.EventBox()
> >
> >         label = gtk.Label("Hello
>
> Try to add label.show().
>
> _______________________________________________
> Goodies-dev mailing list
> Goodies-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/goodies-dev
>
>
>


-- 
Supreet Sethi
http://supreetsethi.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/goodies-dev/attachments/20070512/8cd56373/attachment.html>


More information about the Goodies-dev mailing list