[wxpython-users] three intern windows in one window

Robin Dunn robin at alldunn.com
Tue May 6 10:12:15 PDT 2008


Abdessamad EL GON-NOUNI wrote:
> thank you very much, but in my application panels will not communicate 
> with each other, but with other objects and methods. But the way panel 
> are made is I think what I want.
> I have some questions about this:
> -How can I specify the position and the size of a panel?

You can either explicitly set the pos and size in the constructor or 
with method calls later, or you can put the panels in a sizer owned by 
the parent window.


> -is there any text field which is not StaticBox and not TextCtrl? 
> because I just want to display some messages and not to  write into it.

wx.StaticText?


> -In your example, the panel don't have there name, so how can you 
> display the name of the panel on his top?

Use a wx.StaticText on the panel and position it to the top of the panel.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the wxpython-users mailing list