VS: Re: python hildon.Button -problem

2010-04-09 Thread peltsip

- Alkuperäinen viesti -
 On Fri, Apr 9, 2010 at 5:09 AM, Timo Pelkonen pelt...@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


thanks for the reply. Basically the code is hello world taken from pymaemo wiki 
so there is no container. I'll add it and hope it does the trick.

Ossipena / TimoP
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


VS: Re: python hildon.Button -problem

2010-04-09 Thread peltsip

- Alkuperäinen viesti -
 On Fri, Apr 9, 2010 at 5:09 AM, Timo Pelkonen pelt...@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
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers