阅读背景:

PyGTK:如何使图像自动缩放以适合它的父窗口小部件?

来源:互联网 

I have a PyGTK app that needs to load an image of unknown size, however I am having the problem that if the image is either very big or very small, the window layout becomes distorted and hard to use. I need some way of making the image automatically scale to fit its parent widget. Unfortunately, after doing some research, it seems there is no code, built in or otherwise, that does what I'm looking for.I have a PyGTK app that needs to load an image




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: