Stan wrote:
>>      I've posted a patch to your STR.
>>
>>      If you get a chance, see if that works, and either way,
>>      follow up in your STR.
>>
> 
> Not sure how to post follow-ups to STR's, sorry.

        Normally there would be a red 'Post File' and 'Post Text' link,
        but now that it's closed (matt applied the fixes) those aren't 
available.

> In any case, the patch seems to work.  Better than mine :)
> I'd suggest, though, that you might as well replace the
> remaining ->menubutton() with menu_.

        Yes, small optimization..

> Also, unlike the original, the patched version omits the user's
> callback when a submenu is selected.  

        That should be the correct behavior, no?
        Picking a submenu should be the same as choosing nothing.

        If you want the callback to be called when a submenu is selected,
        you can set menubutton()->callback(), though I'm not sure why you would
        in the context of this widget.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to