tint_pixmap

glue.utils.qt.tint_pixmap(bm, color)

Re-color a monochrome pixmap object using color

Parameters:

bm : QBitmap

The Pixmap object

color : QColor

The Qt color

Returns:

pixmap : QPixmap

The new pixmap