in reply to TclNotifier?? (Win32 + Tk + BrowseEntry)

Show code that generates the problem for you, this works for me
use Tk; tkinit->BrowseEntry(qw! -label label!)->pack; MainLoop;

Replies are listed 'Best First'.
Re^2: TclNotifier?? (Win32 + Tk + BrowseEntry)
by VMat (Novice) on Aug 17, 2009 at 13:16 UTC
    Tried your code here, same result.

    Mine was extracted from CPAN pages, as I said - I just added the headers and the "MainLoop":

    #!/usr/bin/perl use Tk; use Tk::BrowseEntry; my $var; my $mw = MainWindow->new(); $b = $mw->BrowseEntry(-label => "Label", -variable => \$var); $b->insert("end", "opt1"); $b->insert("end", "opt2"); $b->insert("end", "opt3"); $b->pack; $mw->Button(-text=>'Exit', -command=>sub{$mw->destroy})->pack; MainLoop;

    Don't know what's wrong. I've just tested it in a Solaris box and it worked fine. But I need to run it on Win32.
      Works just fine here Tk 804.027, perl v5.8.9 built for MSWin32-x86-multi-thread. Maybe you should upgrade Tk?
        Heeeey... wait a minute! An older script is getting me the same "TclNotifier". And I have a compiled version of it that doesn't.

        I'll check the installation. Although I haven't installed any modules recently, as far as I can remember. Maybe it's the Windows Update thing.

        (EDIT) Please accept my apologies. Something in this multi-desktop program I've been using seems not to be fully compatible with Tk (or the other way around?). I'll get rid of this thing.
        Thanks for all who answered - I hope it was not a waste of time for you. At least somebody else in the same trouble may read this and find a solution.