pdk.Gui.BitmapData ($Date: 2002/12/04 10:16:36 $)
index
pdk/Gui/BitmapData.py

Runtime-accessible bitmap data.

contains base64-encoded, zlib-compressed bitmap data to be loaded at runtime with the getPilBitmap and getWxBitmap functions. New data can be automatically appended to this file with the _addBitmapDataToLibrary function (but beware: calling this function without specifiying a libarary file modifies this file!).

FOG 04.2001

 
Functions
            
getPilBitmap(bitmapName, libfile=None)
Parameters:
  • bitmapName: the name string of the library bitmap
  • libfile: the path to the library file. If left to None this file pdk.Gui.BitmapData is used.
Value:returns the library bitmap bitmapName as a PIL bitmap (obviously, this requires PIL to be installed...).
getWxBitmap(bitmapName, libfile=None)
Parameters:
  • bitmapName: the name string of the library bitmap
  • libfile: the path to the library file. If left to None this file pdk.Gui.BitmapData is used.
Value:returns the library bitmap file bitmapName as a wx bitmap.
 
Author
            
$Author: gathmann $