Hi monks!
I've still got a problem. I was looking for a way to apply an explanatory comment to an entry or a label widget when the mouse is "hover" it. Zentara told me that in Tk that's named Balloon. It's part of the Tk's Tix extension. I found how to apply it in tk, but the GUI I'm greating uses Tkx, and I really can't make the translation from Tk to Tkx.
I can't understand why. I've tried every combination: i've required the package Balloon, etc, but it always gives me an error. Balloon is not recognised. So I would like to know if there's another rule to translate on Tkx the tk's extentions or if tkx doesn't support Ballons, or this widget got another name or what else.
Just in case, Tk's code is the following :
use Tk; use Tk::Balloon; $mw = MainWindow->new(-title => "Simple Balloon example"); $button = $mw->Button(-text => "Exit", -command => sub { exit })->pack +; $msgarea = $mw->Label(-borderwidth => 2, -relief => 'groove') ->pack(-side => 'bottom', -fill => 'x'); $balloon = $mw->Balloon(-statusbar => $msgarea); $balloon->attach($button, -balloonmsg => "Exit the App", -statusmsg => "Press the Button to exit the application"); $balloon->attach($msgarea, -msg => 'Displays the help text for a widge +t'); MainLoop;
Thanks for helping me!
In reply to [Tkx] Tk's Balloon translation by sebapabst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |