Example #1
0
File: fb.py Project: clones/kaa
class FBCanvas(Canvas):

    def __init__(self, fbset=None):
        self._fb = EvasFramebuffer(fbset)
        super(FBCanvas, self).__init__()

        self["size"] = self._fb.size()

        self._wrap(self._fb.get_evas())

    def _render(self):
        regions = self._o.render()
        if regions:
            self.signals["updated"].emit(regions)
        return regions
Example #2
0
File: fb.py Project: clones/kaa
    def __init__(self, fbset=None):
        self._fb = EvasFramebuffer(fbset)
        super(FBCanvas, self).__init__()

        self["size"] = self._fb.size()

        self._wrap(self._fb.get_evas())