 
       wx.lib.agw.balloontip.BalloonFrame¶
  wx.lib.agw.balloontip.BalloonFrame¶This class is called by the main BalloonTip class, and it is
responsible for the frame creation/positioning on screen
depending on target control/window, the frame can position
itself to NW (default), NE, SW, SE. The switch on positioning
is done by calculating the absolute position of the target
control/window plus/minus the balloontip size. The pointing
arrow is positioned accordingly.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| OnClose | Handles the wx.EVT_CLOSEevent forBalloonTip. | 
| OnEnterButton | Handles the wx.EVT_ENTER_WINDOWfor theBalloonTipbutton. | 
| OnLeaveButton | Handles the wx.EVT_LEAVE_WINDOWfor theBalloonTipbutton. | 
| SetBalloonShape | Sets the balloon shape. | 
 Class API¶
 Class API¶BalloonFrame(wx.Frame)¶This class is called by the main BalloonTip class, and it is
responsible for the frame creation/positioning on screen
depending on target control/window, the frame can position
itself to NW (default), NE, SW, SE. The switch on positioning
is done by calculating the absolute position of the target
control/window plus/minus the balloontip size. The pointing
arrow is positioned accordingly.
__init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, classparent=None)¶Default class constructor.
Used internally. Do not call directly this class in your application!
OnClose(self, event)¶Handles the wx.EVT_CLOSE event for BalloonTip.
| Parameters: | event – a CloseEventevent to be processed. | 
|---|
OnEnterButton(self, event)¶Handles the wx.EVT_ENTER_WINDOW for the BalloonTip button.
When the BalloonTip is created with the tipstyle = BT_BUTTON, this event
provide some kind of 3D effect when the mouse enters the button area.
| Parameters: | event – a MouseEventevent to be processed. | 
|---|
OnLeaveButton(self, event)¶Handles the wx.EVT_LEAVE_WINDOW for the BalloonTip button.
When the BalloonTip is created with the tipstyle = BT_BUTTON, this event
provide some kind of 3D effect when the mouse enters the button area.
| Parameters: | event – a MouseEventevent to be processed. | 
|---|
SetBalloonShape(self, event=None)¶Sets the balloon shape.
| Parameters: | event – on wxGTK, a wx.WindowCreateEventevent to process. | 
|---|