AGW Logo

buttonpanel functions

This is the description of standalone Python functions in the buttonpanel module.

method_summary Functions Summary


BrightenColour Brighten the input colour by a factor.
MakeDisabledBitmap Creates a disabled-looking bitmap starting from the input one.

API Functions API



BrightenColour(colour, factor)[source]

Brighten the input colour by a factor.

Parameters:
  • colour – a valid wx.Colour instance;
  • factor (integer) – the factor by which the input colour should be brightened.
Returns:

An instance of wx.Colour, a brightened version of the input colour.



MakeDisabledBitmap(original)[source]

Creates a disabled-looking bitmap starting from the input one.

Parameters:original – an instance of wx.Bitmap to be greyed-out.
Returns:A greyed-out representation of the input bitmap, an instance of wx.Bitmap.
Tree

Table Of Contents

Previous topic

StatusBarTimer

Next topic

SVN Revision 68362 For buttonpanel