quit he mouseover [SOLVED]


I code an accept event to manage mouseover on a DirectButton.


It works fine.

But I wish to manage the event : no more mouseover. Explanation : When I am over a button, an informative window appears, and when I am no more over the button, I wish to destroy it.

Thanks a lot.

ps: for the moment, it disappears automatically after 3 seconds.

What you need is DGG.WITHIN and DGG.WITHOUT.


DGG is DirectGuiGlobals. If you did from direct.gui.DirectGui import * you don’t need to import anything else.

Oh yes!

Thank you very much