HT clear some wxPython fram?

Klaus Reinhardt K.Rdt at TU-Berlin.DE
Thu Jul 4 02:16:56 EDT 2002


Am 03.07.02 22:16:07, schrieb Cliff Wells <logiplexsoftware at earthlink.net>:

>dc.DrawText(t, x, y)
>where x, y are the screen coordinates relative to the top-left corner.
I realized it a little later. 

---------------------------------------------------------------------
Hi

BUT
# it looks like a BUG
	y = 0
	dc.DrawText(str(y),400,0)	# y ever    0
	for t in self.text:
	    dc.DrawText(str(y)+t, 0, y)	# y until 126 then clear
	# I took a font-height of 8
	# there are 4 lines for each output
	# and I got 10 lines then clear
	    y += self.fontsize + 2

This happens even if I use another name for y,
cause y is used below for string.


		K at Rdt
---------------------------------------------------------------------








More information about the Python-list mailing list