This class holds the background button bar on which the buttons float.
Default class constructor. |
|
Returns the background button bar colour. |
|
Returns the background button bar on which the buttons float. |
|
Returns the position of |
|
Returns the size of |
|
Sets the background button bar colour. |
|
Sets the position of |
|
Sets the size of |
ImageBar
(object)¶This class holds the background button bar on which the buttons float.
__init__
(self, bitmap=None)¶Default class constructor.
bitmap – if not None
, the bitmap to use as a background button
bar on which the buttons float. It should be an instance of wx.Image
.
GetBarColour
(self)¶Returns the background button bar colour.
GetBitmap
(self)¶Returns the background button bar on which the buttons float.
SetBarColour
(self, colour, xSize=None, ySize=None)¶Sets the background button bar colour.
colour – an instance of wx.Colour
;
xSize – if not None
, the new wx.ImageBar
width;
ySize – if not None
, the new wx.ImageBar
height.
SetPosition
(self, xpos, ypos)¶Sets the position of wx.ImageBar
.
xpos – the x position of the bar;
ypos – the y position of the bar.
SetSize
(self, xSize, ySize)¶Sets the size of wx.ImageBar
.
xSize – the width of the bar, in pixels;
ySize – the height of the bar, in pixels.