Re: [gtk-list] Menu/Toggle button question..



bratsche@dfw.net wrote:

> I've got a toggle button that, when pressed, pops up a menu. When any of
> the items on the menu are selected, they revert the toggle button to it's
> depressed state. However, if the mouse is clicked outside the area of the
> menu then the menu disappears and the toggle button remains in its pressed
> state. I looked at gtkmenu.h and couldn't find any relevant signals. How
> would I go about solving this problem?

I suggest to use the hide signal, so you know when the menu disappear. I tried
it, on a popup menu and it worked.
I dont know if it is the right way but ...


Bruno



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]