Perl/Tk have balloon widget, so anyone can create and manipulate Balloon widget.
I've rarely actually used it, because of its complexity.
Now that I'm using Tcl::Tk for a long time already for Tk GUI, I want to share how much easier it is.
Every widget in Tcl::Tk now have tooltip("text") method, so now tooltips are trivial and I use them even for tiny programs, just making final programs better to user.
Here's an example:
That simple!use Tcl::Tk; my $mw = Tcl::Tk::tkinit; $mw->Entry->tooltip('enter small values here')->pack; $mw->Button(-text=>'test')->tooltip("test button\npress to see the res +ult")->pack; Tcl::Tk::MainLoop;
Best regards,
Vadim.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tooltips for Tk widgets in perl - easier than ever
by zentara (Cardinal) on Jul 13, 2007 at 12:17 UTC | |
by vkon (Curate) on Jul 14, 2007 at 16:12 UTC | |
by zentara (Cardinal) on Jul 14, 2007 at 17:40 UTC | |
by vkon (Curate) on Jul 14, 2007 at 17:52 UTC | |
by zentara (Cardinal) on Jul 15, 2007 at 11:51 UTC |