Package wx :: Package lib :: Module imagebrowser
[frames | no frames]

Module wx.lib.imagebrowser

Classes
FindFiles  
ImageDialog  
ImagePanel  
ImageView  

Function Summary
  ConvertBMP(file_nm)
  GetCheckeredBitmap(blocksize, ntiles, rgb0, rgb1)
Creates a square RGB checkered bitmap using the two specified colors.
  GetNamedBitmap(name)

Function Details

GetCheckeredBitmap(blocksize=8, ntiles=4, rgb0='\xff', rgb1='\xcc')

Creates a square RGB checkered bitmap using the two specified colors.

Inputs:
- blocksize:  the number of pixels in each solid color square
- ntiles:  the number of tiles along width and height.  Each tile is 2x2 blocks.
- rbg0,rgb1:  the first and second colors, as 3-byte strings.
              If only 1 byte is provided, it is treated as a grey value.

The bitmap returned will have width = height = blocksize*ntiles*2

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:53:51 2009 http://epydoc.sf.net