Re: Re[1]: Writing Panel Applets



> >ok ... enw stuff ... theold way of writing applets won't work, but don't
> >dispair the change is very simple ... look at some applets such as the
> >logout paplet in the panel dir or any other applet in the tree
> >
> >now instead of doing all the corba stuff ... it's done for you ... look
> >at applet-widget.h ... what you basically do is
>   [ ... ]
> 
> Wow, this is super cool.  That will make it much easier to write my
> applet.

that's the idea :)

I put some comments in too (into the applet-lib.h)

btw .. the save session signal should return FALSE otherwise the panelw
ill "forget you" thinking that you handeled everything yourself ..
usually you want to return FALSE and the panel will then reserve a spot
for you enxt time it starts you up ...

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]