Button.Button Class Reference

List of all members.

Public Member Functions

  __init__ ()
  LoadGraphics ()
  IsOver ()
  IsPressed ()
  IsDefault ()
  HasFocus ()
  DoEvent ()
  GetBitmap ()
  GetBitmaps ()
  DrawLabel ()
  OnErase ()
  This control always draws itself completely.
  OnPaint ()
  OnEnter ()
  OnLeave ()
  OnLeftDown ()
  OnLeftUp ()
  OnMotion ()
  OnKeyDown ()
  OnKeyUp ()
  SetLabel ()
  Enable ()
  Disable ()

Member Function Documentation

Button.Button.__init__ ( )
Button.Button.LoadGraphics ( )
Button.Button.IsOver ( )
Button.Button.IsPressed ( )
Button.Button.IsDefault ( )
Button.Button.HasFocus ( )
Button.Button.DoEvent ( )
Button.Button.GetBitmap ( )
Button.Button.GetBitmaps ( )
Button.Button.DrawLabel ( )
Button.Button.OnErase ( )

This control always draws itself completely.

As a result, erasing the control is not necessary, in fact we don't want to erase the control area because that will cause unwanted flicker.

Button.Button.OnPaint ( )
Button.Button.OnEnter ( )
Button.Button.OnLeave ( )
Button.Button.OnLeftDown ( )
Button.Button.OnLeftUp ( )
Button.Button.OnMotion ( )
Button.Button.OnKeyDown ( )
Button.Button.OnKeyUp ( )
Button.Button.SetLabel ( )
Button.Button.Enable ( )
Button.Button.Disable ( )

Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button
Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button Button.Button