Question of wxPanel...

It's possible to insert a wxPanel within an other wxPanel? and like?
Moreover it is possible to add elements within a wxPanel? how?
Finally, they can be put more wxPanel within to a wxPanel main?
Thanks for your answers (eventual :wink: )

In effects I have watches them to you but not there is null that make
the case mine!!!
Hour however I have found an example on BoaConstructor and seems is
what I try.....if I do not succeed I return to mail:):slight_smile:
Thanks for the moment.

Peter Damoc ha scritto:

路路路

On Fri, 15 Apr 2005 13:58:36 +0300, SKORPIO-INFO > <info@skorpiograph.com> wrote:

Ok Thank Peter,

I have very understood therefore that all the but point can be made
that just I do not succeed to understand the procedure in order to
make it to make it ok?

I do not succeed to enter in the optical of the operation!!

Excuse I will be hard but:(

However if it can be of aid this image explains what I must
make:)
(only it is designed):

www.skorpiograph.com/screenshoot_BBS.jpg <http://www.italianpug.org/forum.php?req=derefer&url=www.skorpiograph.com%2Fscreenshoot_BBS.jpg&gt;

My advice is to start de Demo app and look for widgets. Look at the code. This is how I learned most of what I know of wxpython.
Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

SKORPIO-INFO wrote:

Blank of new,
Nothing to make just I do not succeed to make it!!!
But why it does not come to me? possible that not there is no example from being able to visionare so
that can understand where I am mistaking? why in net it is not found null to care?

Are you using a computer to translate to English?

Please there is some good samaritan that can help me? Thanks still!!!

Look in:
http://wiki.wxpython.org/

There are a number of small complete applications there you can use as examples to get started.

-Chris

路路路

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

yes, why??? :):slight_smile:
I have write bad word???

Chris Barker ha scritto:

路路路

SKORPIO-INFO wrote:

Blank of new,
Nothing to make just I do not succeed to make it!!!
But why it does not come to me? possible that not there is no example from being able to visionare so
that can understand where I am mistaking? why in net it is not found null to care?

Are you using a computer to translate to English?

Please there is some good samaritan that can help me? Thanks still!!!

Look in:
http://wiki.wxpython.org/

There are a number of small complete applications there you can use as examples to get started.

-Chris

O my God!!!
I ask you excuse! (red-face) but English reading and not writing!! I only hope that the sense is at least comprehensible:(

@Ray:
Thanks for the example I try it and then I will say the result to you :slight_smile:

Ray Pasco ha scritto:

路路路

SKORPIO-INFO wrote:

Blank of new,
Nothing to make just I do not succeed to make it!!!
But why it does not come to me? possible that not there is no example from being able to visionare so
that can understand where I am mistaking? why in net it is not found null to care?
Please there is some good samaritan that can help me? Thanks still!!!

Ray Pasco ha scritto:

SKORPIO-INFO wrote:

It's possible to insert a wxPanel within an other wxPanel? and like?
Moreover it is possible to add elements within a wxPanel? how?
Finally, they can be put more wxPanel within to a wxPanel main?
Thanks for your answers (eventual :wink: )

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Sure, put the secondary panel within a wx.Window and hang the window anywhere
on the primary panel.

Panels are usually used to fill up "container" widgets such as wx.Frame, wx.Window, and wx.Notebook.
They provide a backgound color and little else. I think the following should work:

class MainFrame (wx.Frame):

   def __init__ (self, parent, id=-1, title='Default Frame Title',
                 size=(500, 400), pos=(200, 150)):

       wx.Frame.__init__ (self, parent, id, title=title, size=size, pos=pos)

       mainpanel = wx.Panel (self, -1)
       mainpanelcolor = (245, 235, 225)
       mainpanel.SetBackgroundColour (mainpanelcolor)

       subwindow = wx.Window (mainpanel, -1, wx.Point(50, 50), (125, 100))

       subpanel = wx.Panel (subwindow, -1)
       subpanelcolor = (235, 245, 225)
       mainpanel.SetBackgroundColour (mainpanelcolor)

       ...

       self.Show (True)

   #end def __init__

   ...

#end class MainFrame

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org