[pygtk] pygi - gtk drawingarea doesn't work?
Giuseppe Penone
giuspen at gmail.com
Mon Jul 16 16:37:06 WST 2012
on a clean lubuntu 1204 installation (either 32 and 64 bit), ensured that
python-gobject and gir1.2-gtk-3.0 are installed, the attached demo doesn't
work.
the event 'draw' is never called.
no any feedback on the terminal.
at my home I have still lubuntu 1204 but also gnome and unity installed and
there it works fine.
can anybody help me to understand what package I'm missing?
On Sat, Jul 14, 2012 at 7:20 PM, Giuseppe Penone <giuspen at gmail.com> wrote:
> On my home laptop it also works fine (lubuntu 1204 64bit running but also
> gnome-shell installed).
> I did check only for *gir1.2-gtk-3.0* at my work pc (clean lubuntu 1204
> 64 bit), so I have to check for *python-gobject* too, many thanks.
> Strange that the demo didn't give any feedback to the terminal anyway
> about the missing package, just never called the draw event.
> Regards,
> Giuseppe.
>
>
>
> On Sat, Jul 14, 2012 at 12:50 AM, David Ripton <dripton at ripton.net> wrote:
>
>> On 07/13/2012 12:16 PM, Giuseppe Penone wrote:
>>
>>> Hi, running the demo
>>> http://git.gnome.org/browse/**pygobject/tree/examples/cairo-**demo.py<http://git.gnome.org/browse/pygobject/tree/examples/cairo-demo.py>
>>> about the drawing area produces on my lubuntu 12.04 an empty window.
>>> the 'draw' event is never called, is this a bug?
>>>
>>
>> That demo works fine on my Ubuntu 12.04 box, and my Lubuntu 11.10 box.
>>
>> 'draw' should get called when the window is first exposed, and again any
>> time the window is damaged.
>>
>> You have python-gobject installed, right?
>>
>> --
>> David Ripton dripton at ripton.net
>> ______________________________**_________________
>> pygtk mailing list pygtk at daa.com.au
>> http://www.daa.com.au/mailman/**listinfo/pygtk<http://www.daa.com.au/mailman/listinfo/pygtk>
>> Read the PyGTK FAQ: http://faq.pygtk.org/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120716/344e9144/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drawingarea_test.py
Type: application/octet-stream
Size: 2576 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120716/344e9144/attachment.obj>
More information about the pygtk
mailing list