Skip to content

python version #13

@yanliangemon

Description

@yanliangemon

may i check what is the python version you are using can run the app correctly without crashed?
i am using python 3.9.6, that not working, i am not sure is this caused by python version issue?

the app is start success, but nothing on touchbar:
below is the code I am using:

import pygame
import PyTouchBar

pygame.init()

size = width, height = 400,400

screen = pygame.display.set_mode(size)
PyTouchBar.prepare_pygame()

label = PyTouchBar.TouchBarItems.Label(text = 'Foo Bar')
PyTouchBar.set_touchbar([label])

while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
break

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