开发者

Smooth Transition Between Frames in WxPython

I wonder if it is possible to make transitions between frames smoother in WxPython.

For now I use the classical "self.Destroy" and "self.GetParent().Show()" methods to implement this task. But transitions are sharp. And it just doesnt loo开发者_开发问答k nice to my eyes.

Any other suggestions?

Thanks in advance.


I don't know why you're Destroying the frame. Just hide / show it. Or use a "fade in" / "fade out" effect to make it look cooler. When it fades out all the way, hide the frame and vice-versa. See http://www.blog.pythonlibrary.org/2008/04/14/doing-a-fade-in-with-wxpython/ for an example of the fading effect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜