[maemo-developers] Python + hildon.TouchSelector (with pixbufs)

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Mon Aug 31 20:49:39 EEST 2009
On Mon, Aug 31, 2009 at 12:29 PM, Brent Chiodo<bchiodo at gmail.com> wrote:
> @ Claudio
>
> I just tried it with a PickerButton and it does work quite nicely, so I
> think I'll switch to that. The only issue with the PickerButton is I can't
> get .set_image() to work with it -- no matter what I do it just appears this
> turquoise/blue-green color. I think it may have something to do with the
> first argument of the PickerButton. Right now I'm initiating the
> PickerButton like:
>
> button = hildon.PickerButton(40, hildon.BUTTON_ARRANGEMENT_VERTICAL)
>
> But, maybe it should be:
>
> self.select_button = hildon.PickerButton(hildon.SIZE_AUTO,
> hildon.BUTTON_ARRANGEMENT_VERTICAL)
>
> ...the problem is SIZE_AUTO doesn't exist.

try gtk.HILDON_SIZE_AUTO (yeah, SIZE_AUTO comes from GTK, even on C...)

> I upgraded python-hildon and tried using the method you suggested, but it
> still doesn't scroll. If you really need a working test-case to fix this
> then I'll write one. It's just that I came across the issue while deep in
> coding a Desktop Widget, and that is not exactly the ideal test-case.

actually, I can't reproduce your issue without a minimal test or even
a screenshot/video showing the problem... I need something that I can
check what the problem is, and after fixing it, verify the fix worked.

Thanks,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
More information about the maemo-developers mailing list