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

Re: [MiNT] Menus in windows in XaAES



> -----Original Message-----
> From: mint-bounce@lists.fishpool.fi
> [mailto:mint-bounce@lists.fishpool.fi]On Behalf Of Jo Even Skarstein
>
> This was commented in the menu_tnormal() implementation in xa_menu.c as
> well. It appears to be correct for menu items (they're automatically
> deselected), but not for menu titles. And I can't find any way to
> redraw the
> menu widget except usind wind_set(,WF_TOOLBAR,,,), but that only works
> properly when the window has a toolbar.

I used the old FMD_FINISH-trick to trigger a redraw of the menu widget, and
it looks like it did the trick. It's a nasty hack though - I think
menu_tnormal should be used to redraw the menu widget. Then there would be
absolutely no difference between the ordinary menu bar and a menu bar widget
from a coder's point of view.

Jo Even