Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/pygameui-0.2.0/pygameui/__init__.py   pygameui(Download)
 
            if e.type == pygame.MOUSEBUTTONDOWN:
                hit_view = scene.current.hit(mousepoint)
                logger.debug('hit %s' % hit_view)
                if (hit_view is not None and
                    focus.set(None)
            elif e.type == pygame.MOUSEBUTTONUP:
                hit_view = scene.current.hit(mousepoint)
                if hit_view is not None:
                    if down_in_view and hit_view != down_in_view:

src/p/y/pygameui-HEAD/pygameui/__init__.py   pygameui(Download)
 
            if e.type == pygame.MOUSEBUTTONDOWN:
                hit_view = scene.current.hit(mousepoint)
                logger.debug('hit %s' % hit_view)
                if (hit_view is not None and
                    focus.set(None)
            elif e.type == pygame.MOUSEBUTTONUP:
                hit_view = scene.current.hit(mousepoint)
                if hit_view is not None:
                    if down_in_view and hit_view != down_in_view: