[wxPython-users] Re: XRC and dynamically created widgets?
Robin Dunn
robin at alldunn.com
Tue Oct 3 22:29:17 PDT 2006
John Salerno wrote:
> Robin Dunn wrote:
>> John Salerno wrote:
>>> John Salerno wrote:
>>>> Robin Dunn wrote:
>>>>
>>>> >> I'm not really sure how to create the Notebook at a later time,
>>>> >> because it only needs to be done once,
>>>> >
>>>> > See the attached for one way to do it.
>>>>
>>>> Thanks! It's making more sense now!
>>>
>>> Hmm, I just noticed that this still does the same thing.
>>
>> Yeah, I know the color problem wasn't solved, I was just showing you a
>> way to create the notebook later when you create the first page.
>>
>
> Ah yeah, that part made sense. :)
>
> But here's another thing. I think I might just give up on this if I
> can't get these details right. I'm attaching my two files. It looks good
> when it first starts, but as soon as a tab is added, the fun begins.
>
> 1. The background is white, so you can't see the text controls.
> 2. Expanding the window reveals a dark gray background that never goes
> away. This time the tabs stay white!
> 3. Opening a second tab doesn't show the text controls until you click
> on a different tab then click back.
>
The problem is that your page window is not a child of the notebook.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list