コード例 #1
0
ファイル: clock.py プロジェクト: cmerrill/musicazoo
	def __init__(self,queue,uid):
		FullScreenGraphics.__init__(self)

		self.c=Tkinter.Canvas(self,width=self.width,height=self.height,bg='black',highlightthickness=0)
		self.c.pack()

		self.text=self.c.create_text(self.center(), fill='white', justify=Tkinter.CENTER, font=("Helvetica",72))
		self.animate()
コード例 #2
0
	def __init__(self,queue,uid):
		self.queue=queue
		self.uid=uid

		FullScreenGraphics.__init__(self)
		self.c=Tkinter.Canvas(self,width=self.width,height=self.height,bg=COLORS['bg'],highlightthickness=0)
		self.c.pack()

		t=self.get_text()

		self.text=self.c.create_text(self.center(), fill=COLORS['fg'], justify=Tkinter.CENTER, font=("Helvetica",72), text=t)
コード例 #3
0
    def __init__(self, queue, uid):
        FullScreenGraphics.__init__(self)

        self.c = Tkinter.Canvas(self,
                                width=self.width,
                                height=self.height,
                                bg='black',
                                highlightthickness=0)
        self.c.pack()

        self.text = self.c.create_text(self.center(),
                                       fill='white',
                                       justify=Tkinter.CENTER,
                                       font=("Helvetica", 72))
        self.animate()