[maemo-developers] python hildon.Button -problem

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Fri Apr 9 14:49:26 EEST 2010
On Fri, Apr 9, 2010 at 5:09 AM, Timo Pelkonen <peltsip at gmail.com> wrote:
> Hi!
>
> I don't know what I am doing wrong with this.
>
> I have two buttons configured like this:
>
> button_1 =
> hildon.Button(gtk.HILDON_SIZE_AUTO,hildon.BUTTON_ARRANGEMENT_VERTICAL,
> "Button 1")
>
> and when I run the program, only one button is shown.

If would help if you provide a more complete snippet of your code. A
few possibilities:

1) Do you use a VBox/HBox container to hold these buttons ?
2) did you use "window.show_all()" to show the objects added to the window?

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