[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [PATCH] Support for PopupApplets in Python
From:       Richard Dale <richard.j.dale () gmail ! com>
Date:       2010-02-27 12:59:11
Message-ID: 491684421002270459o4afa603aoc7a030ee0c480250 () mail ! gmail ! com
[Download RAW message or body]

On Sat, Feb 27, 2010 at 11:33 AM, Luca Beltrame
<einar@heavensinferno.net> wrote:
> In data sabato 27 febbraio 2010 12:20:37, Simon Edwards ha scritto:
>
>> Luca, do you have a simple example of a PopupApplet that I can look at
>> and test with?
>
> You hit the nail on the head here. The fact is, I can't, as discussed with
> Richard Dale on IRC. I tried, looking at the code of the various applets (each
> seems to do things in a slightly different way) to make a popup, but it
> doesn't seem to work: however, since there is no simple example of a
> popupapplet around I'm unsure if it's the binding to have problems or if I'm
> doing something wrong.
For Ruby I translated the C++ extender tutorial example, but the
problem is that it doesn't work in C++.

http://techbase.kde.org/Development/Tutorials/Plasma/UsingExtenders

I think the name of the data engine that the example uses has changed.
Also the instructions on the CMakeLists.txt content weren't present,
and they should be in a tutorial.

I also don't understand if Plasma::PopupApplet always use extenders,
as in the above tutorial, or whether you normally do something else.
It isn't called a 'Plasma Popup Applet tutorial'.

The ruby example code is in kdeexamples/plasma/ruby/applets/extendertutorial

If it worked it would be quite easy to translate to Python.

-- Richard
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic