ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-tk
perl-tk
Re: disable right click menu for Text/ROText widget
by Slaven Rezic other posts by this author
Jul 12 2007 1:30PM messages near this date
disable right click menu for Text/ROText widget | Dialog box strange behaviour
SOURCE listmail <listmail@[...].com>  writes:

>  I'm having an issue with the right click menu for a Text/ROText widget 
>  in that it will not "disappear" after a selection has been made with the 
>  mouse. It usually ends up behind the MainWindow just hanging out on the 
>  desktop and can still be interacted with.  Since this menu isn't used 
>  for the particular program I'm working on, I would like to know how to 
>  gracefully disable the menu for now.  If there is any additional 
>  information on this sort of behavior then please let me know.

Just call

        $text-> menu(undef);

to disable the menu.

Regards,
        Slaven

-- 
Slaven Rezic - slaven <at>  rezic <dot> de
    babybike - routeplanner for cyclists in Berlin
	       handheld (e.g. Compaq iPAQ with Linux) version of bbbike
    http://bbbike.sourceforge.net
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
ptk@[...].edu
https://mailman.stanford.edu/mailman/listinfo/ptk
Thread:
Listmail
Slaven Rezic

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved