> If I'm not mistaken, in "doRotate" you should be able to refer to the
> to-be-closed dialog via
> self.frameRotate
>
> Now if you change the "sliderUpdate"-code to store that angle instead of
> just letting it fall out of scope, you could access that value through
> frameRotate:
>
> def sliderUpd
Lars wrote:
> Hi
> I'm trying to make an simple image viewer in wxPython and rotate an
> image with a slider. The code at Pastebin is striped down at bit. The
> class Frame(wx.Frame) is the main window, the function "def
> CreateMenuBar" (l. 39) creates a menu, where the function "def onRotate
> (
Hi
I'm trying to make an simple image viewer in wxPython and rotate an
image with a slider. The code at Pastebin is striped down at bit. The
class Frame(wx.Frame) is the main window, the function "def
CreateMenuBar" (l. 39) creates a menu, where the function "def onRotate
(self,event):" (l. 43) is