phoenix_title wx.lib.agw.zoombar.ImageBar

This class holds the background button bar on which the buttons float.


class_hierarchy Class Hierarchy

Inheritance diagram for class ImageBar:

method_summary 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.


api Class API

class ImageBar(object)

This class holds the background button bar on which the buttons float.


Methods

__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.



GetPosition(self)

Returns the position of wx.ImageBar, as a wx.Point.



GetSize(self)

Returns the size of wx.ImageBar, as a wx.Size.



SetBarColour(self, colour, xSize=None, ySize=None)

Sets the background button bar colour.

Parameters:
  • 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.

Parameters:
  • xpos – the x position of the bar;

  • ypos – the y position of the bar.



SetSize(self, xSize, ySize)

Sets the size of wx.ImageBar.

Parameters:
  • xSize – the width of the bar, in pixels;

  • ySize – the height of the bar, in pixels.