Logo Search packages:      
Sourcecode: umit version File versions  Download package

def higwidgets::higspinner::HIGSpinnerCache::_write_animated_pixbuf_to_files (   self,
  path_format,
  image_format 
) [private]

Writes image files from self.spinner_images.animated_pixbufs

- path_format should be a format string with one occurrence of a
  string substitution, such as '/tmp/animation_%s.png'
- image_format can be either 'png' or 'jpeg'

Definition at line 210 of file higspinner.py.

00210                                                                         :
        """Writes image files from self.spinner_images.animated_pixbufs
        
        - path_format should be a format string with one occurrence of a
          string substitution, such as '/tmp/animation_%s.png'
        - image_format can be either 'png' or 'jpeg'
        """
        counter = 0
        for i in self.spinner_images.animated_pixbufs:
            i.save(path_format % counter, "png")
            counter += 1

    def _write_static_pixbuf_to_file(self, key_name, path_name, image_format):


Generated by  Doxygen 1.6.0   Back to index