Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: xwax
  • Order by date
  1. xwax

    Tk: binding more than one action to a single key

    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'...
  2. xwax

    Tkweb: change cursor to hand2 over links

    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).
  3. xwax

    Tkweb: change cursor to hand2 over links

    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?
  4. xwax

    Tkweb: change cursor to hand2 over links

    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...
  5. xwax

    Tk menu checkbutton select()

    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 => [...
  6. xwax

    Tk menu checkbutton select()

    Boolean... ...just what I was looking for. ThanX, Kirsle
  7. xwax

    Tk menu checkbutton select()

    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 =...
  8. xwax

    Tk menu checkbutton select()

    This exact question was asked in the following thread, but no answer was posted. thread219-1283293 Can anyone please post the solution?

Part and Inventory Search

Back
Top