コード例 #1
0
 def draw(self, visRgn = None):
     if self._visible:
         Qd.FrameRect(self._bounds)
         Qd.EraseRect(Qd.InsetRect(self._bounds, 1, 1))
         l, t, r, b = self._bounds
         l = l + 2
         t = t + 3
         pictframe = (l, t, l + 10, t + 10)
         Qd.DrawPicture(_arrowright, pictframe)
コード例 #2
0
 def do_update(self, *args):
     currect = self.fitrect()
     Qd.DrawPicture(self.picture, currect)
コード例 #3
0
ファイル: PICTbrowse2.py プロジェクト: mcyril/ravel-ftn
"""browsepict - Display all "PICT" resources found"""