# # The help widget that provides both "balloon" and "status bar" # types of help messages. package Tk::Balloon; use vars qw($VERSION); $VERSION = '3.037'; # $Id: //depot/Tk8/Tixish/Balloon.pm#37 $ use Tk qw(Ev Exists); use Carp; require Tk::Toplevel; Tk::Widget->Construct('Balloon'); use base qw(Tk::Toplevel); use UNIVERSAL; use strict; my @balloons; my $button_up = 0; sub ClassInit { my ($class, $mw) = @_; $mw->bind('all', '', ['Tk::Balloon::Motion', Ev('X'), Ev('Y'), Ev('s')]); $mw->bind('all', '', ['Tk::Balloon::Motion', Ev('X'), Ev('Y'), Ev('s')]); $mw->bind('all', '