Did I find the right examples for you? yes no

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

src/m/a/mayavi-HEAD/mayavi/modules/text3d.py   mayavi(Download)
            new = tvtk.Actor()
        if old is not None:
            self.sync_trait('position', old, 'position', remove=True)
            self.sync_trait('scale', old, 'scale', remove=True)
            self.sync_trait('orientation', old, 'orientation', remove=True)
 
        self.sync_trait('position', new, 'position')
        self.sync_trait('scale', new, 'scale')

src/m/a/mayavi-4.3.1/mayavi/modules/text3d.py   mayavi(Download)
            new = tvtk.Actor()
        if old is not None:
            self.sync_trait('position', old, 'position', remove=True)
            self.sync_trait('scale', old, 'scale', remove=True)
            self.sync_trait('orientation', old, 'orientation', remove=True)
 
        self.sync_trait('position', new, 'position')
        self.sync_trait('scale', new, 'scale')

src/m/a/mayavi-HEAD/mayavi/modules/text.py   mayavi(Download)
    def _shadow_positions(self, value):
        self.sync_trait('x_position', self, '_x_position_2d',
                            remove=(not value))
        self.sync_trait('y_position', self, '_y_position_2d',
                            remove=(not value))

src/m/a/mayavi-4.3.1/mayavi/modules/text.py   mayavi(Download)
    def _shadow_positions(self, value):
        self.sync_trait('x_position', self, '_x_position_2d',
                            remove=(not value))
        self.sync_trait('y_position', self, '_y_position_2d',
                            remove=(not value))