Re: wxNotebook color change

2006-08-31 Thread mardif
the color is not red, but grey as labels. I want to color this space RED!!! Rob Wolfe wrote: > mardif wrote: > > Hi ! > > > > this is my problem: > > > > I've a wxNotebook object, which contains 2 Panels. > > On up, there is TAB section, I have 2 tabs. &g

wxNotebook color change

2006-08-31 Thread mardif
Hi ! this is my problem: I've a wxNotebook object, which contains 2 Panels. On up, there is TAB section, I have 2 tabs. I want to color the TAB section with ( for example ) red color. I've tried with SetBackgroundColour() for wxNotebook object and for 2 panel inside, but it doesn't works. why??

wxWindow GetPosition() bug???

2006-08-22 Thread mardif
Hi, I've found a strange behavior in method GetPosition() of wxWindow class ( and derived ). On windows, if you create a window object frame = wx.Frame(None, -1, "TESTING") and you set the position to: frame.SetPosition( (300, 45000) ) If you call method GetPosition, the result will be: frame.G

wxPython getPosition() limit

2006-08-21 Thread mardif
Hi, I've this big problem: I've an wx.ScrolledWindow object, which contains element. These elements have the event OnPaint that draw itself same objects. For drawing, each element call the method GetPosition(), which returns a tuple int. But, if I have the element 5000 that it must be design

wxPython getPosition() limit

2006-08-21 Thread mardif
Hi, I've this big problem: I've an wx.ScrolledWindow object, which contains element. These elements have the event OnPaint that draw itself same objects. For drawing, each element call the method GetPosition(), which returns a tuple int. But, if I have the element 5000 that it must be design

SpinCtrl events problem

2006-06-07 Thread mardif
Hi, I've a problem with wx.SpinCtrl Here we go with my source code: import wx import traceback class TextPage(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, -1, "") box = wx.BoxSizer(wx.VERTICAL) self.spin = wx.SpinCtrl(self, -1) box.Add(self.

Re: PIL problem with biprocessor hardware

2006-05-26 Thread mardif
OK, this is the code: """ image is the object instance of Image class which contains all informations """ pil = Image.open( os.path.join( image.path,image.name ) ) if image.rotation_angle != 2: try: pil = pil.rotate( rotation_lev

PIL problem with biprocessor hardware

2006-05-26 Thread mardif
Hi guys, I've a problem, but very big! So, i have a python/PIL application that manipulate images ( rotate, crop, save, etc etc ). If this application work on a PC mono-processor, I don't have any problems. If this application work instead on a PC bi-processor, the process elaborates an image "cor

Re: open file with whitespaces

2006-05-19 Thread mardif
OK OK GUYS I've found the solution: ( effectly, a friend of mine has found the solution ) import os os.spawnl(os.P_WAIT, "c:\programmi\internet explorer\iexplore.exe",'"C:\Documents and Settings\michele\Desktop\ciccio.html"','"C:\Documents and Settings\michele\Desktop\ciccio.html"') The secr

open file with whitespaces

2006-05-19 Thread mardif
Hi guys. I've a very big big big problem: I've in my windows computer a file named cicciobello.html, located in c:\documents and settings\username\desktop\cicciobello.html. Now, I MUST open this file with os.spawn(os.P_WAIT , because I must wait the user cancel the explorer window, ok? And so

Re: Python memory deallocate

2006-05-11 Thread mardif
OK! i will test my app with python 2.5a2 thx -- http://mail.python.org/mailman/listinfo/python-list

Re: Python memory deallocate

2006-05-11 Thread mardif
In python 2.5 this was resolved, ok, but i can't use any python version then 2.3.5. This project was initializated with this version, and now it can be dangerous change version, even because I use McMillan installer for compile e build an executable. So, my initial window is a "menu window", when