Skip to content

Transparency doesn't work on Mac #7

@Chovin

Description

@Chovin

When trying to turn on transparency:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1536, in __call__
    return self.func(*args)
  File "/Users/Chovin/Projects/LiveCoding/Troop/src/interface/interface.py", line 1174, in ToggleTransparency
    self.root.wm_attributes('-transparentcolor', alpha)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1619, in wm_attributes
    return self.tk.call(args)
TclError: bad attribute "-transparentcolor": must be -alpha, -fullscreen, -modified, -notify, -titlepath, -topmost, or -transparent

this seems to be a Windows only feature https://www.tcl.tk/man/tcl8.4/TkCmd/wm.htm#M13
:(

although it does seem there might be a Mac alternative: https://stackoverflow.com/a/44296157

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions