hello,
I create a circle shape
testx = self.MyAddShape(
ogl.CircleShape(80),
75, 110, wx.Pen(wx.BLUE, 3), wx.GREEN_BRUSH, "Circle"
)
Now I want to change the color of that shape with a slider,
how must I do that ?
testx. ???
And even a more basic question,
where can I find that information ?
I have read:
- the wxPython Linux tutorial
- Advanced wxPython Nuts and Bolts
thanks,
Stef Mientki
Robin
2
Stef Mientki wrote:
hello,
I create a circle shape
testx = self.MyAddShape(
ogl.CircleShape(80),
75, 110, wx.Pen(wx.BLUE, 3), wx.GREEN_BRUSH, "Circle"
)
Now I want to change the color of that shape with a slider,
how must I do that ?
Change the brush by calling the testx.SetBrush method.
testx. ???
And even a more basic question,
where can I find that information ?
In the source, or at wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
thanks very much Robin,
testx. ???
And even a more basic question,
where can I find that information ?
In the source, or at wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
Yes, that's the information I'm looking for,
why didn't I find this myself 
wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
thanks again,
Stef Mientki
Kamer van Koophandel - handelsregister 41055629 / Netherlands Chamber of Commerce - trade register 41055629