Markku replied to the topic 'Collimation Circles' in the forum. 4 years ago

Hi,

I've been playing with wx and python some time ago and used this to get transparency, maybe useful for you ?

#!/usr/bin/python

import wx

transp = 128
radie = 80
cross = True

class SketchFrame(wx.Frame):
    def __init__(self, parent):

        wx.Frame.__init__(self, None, -1, "Bulls eye", size=(400, 400))

        #panel = wx.Panel(self, wx.ID_ANY)
        #btn = wx.Button(panel, label="OK")

        self.SetTransparent(transp)

        self.Buffer = None
        #self.SetFocus()
Br,
/Markku

Read More...