in reply to Re^2: A click and hold button (Tk::bind clickon clickoff)
in thread A click and hold button

well, button has coordinates, mouse has coordinates, so site:perlmonks.org tk popup menu button

OTOH, I hear there are such things as popup-buttons called Tk::Menubutton

use Tk::WidgetDump; $mainWindow->WidgetDump; MainLoop;

  • Comment on Re^3: A click and hold button (Tk::bind clickon clickoff)

Replies are listed 'Best First'.
Re^4: A click and hold button (Tk::bind clickon clickoff)
by Anonymous Monk on Aug 01, 2013 at 06:53 UTC

    I don't have widgetdump on my release, and can't install new perl version.

    Can you please explain on how can I edit Menubutton to add click functionality and to only invoke the menu on click and hold. Thanks
Re^4: A click and hold button (Tk::bind clickon clickoff)
by Anonymous Monk on Aug 01, 2013 at 06:43 UTC

    I don't have widgetdump on my release, and can't install new perl version.

    Can you please explain on how can I edit Menubutton to add click functionality and to only invoke the menu on click and hold.

    Thanks