← Back to team overview

elementary-dev-community team mailing list archive

Fwd: Python API for panel applets?

 

PopOver is a widget from the elementary Granite library. I don't think it
has been ported to Python yet. You could check out if the Granite lib can
be found in the python gir. Otherwise i wouldn't know how to implement it
in Python.

--
Jaap

---------- Forwarded message ----------
From: Benjamin Trias <jesuisbenjamin@xxxxxxxxx>
Date: Mon, Oct 7, 2013 at 9:20 AM
Subject: Re: [Elementary-dev-community] Python API for panel applets?
To: Jaap Broekhuizen <jaapz.b@xxxxxxxxx>


Okay. What is then popover thing? You have more info about it maybe? Can I
do that with  python?
Can I otherwise work on the applet as a a stand alone application and worry
about integrating it with the panel  later?

Cheers

Benjamin
On Oct 7, 2013 11:07 AM, "Jaap Broekhuizen" <jaapz.b@xxxxxxxxx> wrote:

> Slingshot does not make use of the appindicator library. It just looks
> like one because it is also wrapped in a granite popover widget, like the
> indicators.
> Op 7 okt. 2013 03:59 schreef "Benjamin Trias" <jesuisbenjamin@xxxxxxxxx>:
>
>> Hello again,
>>
>> I found out how to make a simple applet using the PyGi AppIndicator3
>> library.
>>
>> Now it seems AppIndicator does not allow arbitrary widgets in menus (most
>> threads will lead me back to this:
>> http://askubuntu.com/questions/16431/putting-an-arbitrary-gtk-widget-into-an-appindicator-indicator
>> )
>>
>> Yet the current indicator menus on Pantheon do contain slide bars and
>> search boxes etc (such as Slingshot, Sound Indicator and the Synapse
>> Indicator too).
>>
>> How did you get Slingshot to contain arbitrary widgets?
>>
>> Thanks.
>>
>> Benjamin
>>
>>
>> On 6 October 2013 15:39, Alex Lourie <djay.il@xxxxxxxxx> wrote:
>>
>>> Benjamin
>>>
>>> What panel are you talking about? The wingpanel?
>>>
>>> If so, you can either use libindicators from Ubuntu project, or wait
>>> until we get a new API in order for Isis and further. Probably without
>>> python APIs first.
>>>
>>>
>>> On Sun, Oct 6, 2013 at 11:34 AM, Benjamin Trias <
>>> jesuisbenjamin@xxxxxxxxx> wrote:
>>>
>>>> Hello,
>>>>
>>>> I recently migrated to eOS Luna. Great work! I love it.
>>>>
>>>> I'd like to contribute a little. I have basic experience with Python
>>>> and a little Bash. With this I'd like to work on applets for the panel.
>>>>
>>>> Is there an API for Python to build panel applets?
>>>>
>>>> Thanks
>>>> Benjamin
>>>>
>>>> --
>>>> Mailing list: https://launchpad.net/~elementary-dev-community
>>>> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~elementary-dev-community
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Alex Lourie
>>>
>>
>>
>> --
>> Mailing list: https://launchpad.net/~elementary-dev-community
>> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~elementary-dev-community
>> More help   : https://help.launchpad.net/ListHelp
>>
>>

References