Tooltip widget for Perl/Tk? 
Author Message
 Tooltip widget for Perl/Tk?

Is there a widget available for "tooltips" using Perl/Tk?  Tooltips are
the small message windows with no controls that appear when you've left
the cursor over a widget for some prescribed period of time.

Thanks in advance for your help!

- H.



Mon, 16 Jun 2003 13:20:55 GMT  
 Tooltip widget for Perl/Tk?

Quote:
> Is there a widget available for "tooltips" using Perl/Tk?  Tooltips are
> the small message windows with no controls that appear when you've left
> the cursor over a widget for some prescribed period of time.

Tk::Balloon

--
Marc Dashevsky  (remove "_" from address to reply by e-mail)



Mon, 16 Jun 2003 13:35:04 GMT  
 Tooltip widget for Perl/Tk?

Quote:

> Is there a widget available for "tooltips" using Perl/Tk?  Tooltips are
> the small message windows with no controls that appear when you've left
> the cursor over a widget for some prescribed period of time.

Does Tk::Balloon do what you want?

From the pod:

....................................POD....................................
NAME
     Tk::Balloon - pop up help balloons.

SYNOPSIS
         use Tk::Balloon;
         ...
         $b = $top->Balloon(-statusbar => $status_bar_widget);

         # Normal Balloon:
         $b->attach($widget,
                    -balloonmsg => "Balloon help message",
                    -statusmsg => "Status bar message");

         # Balloon attached to entries in a menu widget:
         $b->attach($menu, -state => 'status',
                           -msg => ['first menu entry',
                                    'second menu entry',
                                    ...
                                   ],
                   );

         # Balloon attached to individual items in a canvas widget:
         $b->attach($canvas, -balloonposition => 'mouse',
                             -msg => {'item1' => 'msg1',
                                      'tag2'  => 'msg2',
                                       ...
                                     },
                   );

--

Compugen Ltd.          |Tel: +972-2-5713025 (Jerusalem) \ We recycle all our Hz
72 Pinhas Rosen St.    |Tel: +972-3-7658117 (Main office)`---------------------
Tel-Aviv 69512, ISRAEL |Fax: +972-3-7658555    http://3w.compugen.co.il/~ariels



Mon, 16 Jun 2003 21:49:44 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. RFQ: Tk::Wizard - a wizard style widget for Perl/Tk

2. RFQ: Tk::Wizard - a wizard style widget for Perl/Tk

3. Can Tk Widget and Xt Widget work together?

4. Is there a Tree widget in perlTk that resembles the Tree widget in Tk

5. BETA TEST: Tk::Tie::MenuHash - Ties a Tk::Menubutton widget to a hash, kinda

6. BETA TEST: Tk::Tie::MenuHash - Ties a Tk::Menubutton widget to a hash, kinda

7. perl/tk text widget and encodings (utf8 / ucs2 etc)

8. Read Text Widget into Array (PERL TK)

9. Problem with Perl/Tk Entry widget

10. PERL/TK AND WIDGETS

11. Perl Tk dynamic widget allocation

12. perl/Tk again...what widget called a function?

 

 
Powered by phpBB® Forum Software