Just curious how or if you can bind multiple events to a single keystroke.
This does not work!
$this->bind('<Return>', [$test, 'that', Tk::Ev(['post'])] && sub { $this->historyAdd(); });
Basically, I need to have two things happen on a single keystroke.
$this->bind('<Return>', [$test, 'that'...
I managed to put together a simple browser. Not too bad. Now I understand the complexity of the modern browser! Using, Tk::HyperText, I did notice problems with table widths and it seems that unless "border" is lowercase, it ignores it...at least on Win32, Active Perl (5.8.8).
Thanx,
I have poked around the modules. Ditto, Kirsle, on the documentation.
@Kirsle:
After looking at your module, Tk::HyperText, am I correct in assuming that one could simulate CGI(request/response) scripts using that module?
Can anyone point out how one would change the cursor in Tkweb browser to hand2 when over a link? I can change the cursor to hand2 in the page, but it remains that way, everywhere.
Do I need to bind something to a link with a <Button-1> and configure from there? Or is there something else I...
Yes, you are right.
My usage just utilizes the default behavior of the on/off value, so this works fine for me. ThanX again.
Code Snippets:our $wrap = 0;
...
our $format = $menu -> cascade(
-label => 'Format',
-tearoff => 0,
-underline => 0,
-menuitems => [...
ThanX
Yes, that works. But, I suppose the greater question is why can I do this ($mw -> as parent)...
use Tk;
my $mw = tkinit;
my $cb = $mw -> Checkbutton(-text => 'Word Wrap') -> pack;
$cb -> select;
MainLoop;
...but not this ($mbar -> as parent - GENERATES ERROR)...use Tk;
my $mw =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.