[wxpython-users] Re: Wxpython. Is it possible to change layout in a
running application? Selfmade listbox
Søren Nielsen
soren.skou.nielsen at gmail.com
Mon Apr 7 05:16:23 PDT 2008
Ok, when I resize the window, my new panel appears.. but the small square in
the corner doesn't disappear until i click on another notebook page and back
again.. (I forgot to mention that my homemade listbox is located in a
notebook page).
What update command do i need to send to send the same update as when I
resize the window? And same question for switching between notebook pages :)
Thanks,
Soren
On Mon, Apr 7, 2008 at 1:55 PM, S=F8ren Nielsen <soren.skou.nielsen at gmail.c=
om>
wrote:
> Hi,
>
> Id like to make my own special listbox.. I want to able (at the push of a
> button) to add another item to my special listbox... each item is a panel
> with a label, some buttons and maybe a text control.
>
> I've tried adding a new panel object with the stuff i want to the sizer
> i'm using for my listbox (which is a panel which can contain other
> panels)... and then run update() and refresh() on everything... But it
> doesn't work.. i see a panel appearing, but it's just a small square in t=
he
> corner of my "listbox" panel, and it only works the first time... nothing
> new appears when I push the button again.
>
> Is it at all possible to do this? Has anyone created something similar?
> Does anyone know what i'm doing wrong?
>
> Thanks,
> Soren
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
07/147a73b7/attachment.htm
More information about the wxpython-users
mailing list