wx.lib.agw.zoombar.ImageBar¶This class holds the background button bar on which the buttons float.
Methods Summary¶__init__ |
Default class constructor. |
GetBarColour |
Returns the background button bar colour. |
GetBitmap |
Returns the background button bar on which the buttons float. |
GetPosition |
Returns the position of wx.ImageBar, as a wx.Point. |
GetSize |
Returns the size of wx.ImageBar, as a wx.Size. |
SetBarColour |
Sets the background button bar colour. |
SetPosition |
Sets the position of wx.ImageBar. |
SetSize |
Sets the size of wx.ImageBar. |
Class API¶ImageBar(object)¶This class holds the background button bar on which the buttons float.
__init__(self, bitmap=None)¶Default class constructor.
| Parameters: | 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.
| Parameters: |
|
|---|
SetPosition(self, xpos, ypos)¶Sets the position of wx.ImageBar.
| Parameters: |
|
|---|
SetSize(self, xSize, ySize)¶Sets the size of wx.ImageBar.
| Parameters: |
|
|---|