[maemo-developers] VS: Re: python hildon.Button -problem

From: peltsip at gmail.com peltsip at gmail.com
Date: Fri Apr 9 20:11:40 EEST 2010
----- Alkuperäinen viesti -----
> 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
>

Adding vbox did the trick, thanks a lot!

(this message was send FYI and confirmation that case is closed)

Ossipena/TimoP
More information about the maemo-developers mailing list