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
|