AGW Logo

infobar functions

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

method_summary Functions Summary


GetCloseButtonBitmap For platforms supporting it (namely wxMSW and wxMAC), this method uses wx.RendererNative

API Functions API



GetCloseButtonBitmap(win, size, colBg, flags=0)[source]

For platforms supporting it (namely wxMSW and wxMAC), this method uses wx.RendererNative to draw a natively-looking close button on the InfoBar itself.

Parameters:
  • win – the window in which we wish to draw the close button (an instance of InfoBar);
  • size (tuple) – the close button size, a tuple of (width, height) dimensions in pixels;
  • colBg – the background colour of the parent window, an instance of wx.Colour;
  • flags (integer) – may have the wx.CONTROL_PRESSED, wx.CONTROL_CURRENT or wx.CONTROL_ISDEFAULT bit set.
Tree

Table Of Contents

Previous topic

InfoBar

Next topic

SVN Revision 70886 For infobar