python - Clicking on a menu cascade clicks on the canvas behind -


i'm trying image creator , editor in style of paint. in order switch tool, save/open files , stuff, created menu multiple cascades. have bound canvas function via mouseclick event, , now, when click on menu cascade command on canvas, function called.

so, basically, try use menu bar , clicks on canvas, don't want happen. idea of how stop it?


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -