gnustep / libs-gui

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
279 stars 103 forks source link

Fixes issue #196: Add implementation of removeAllItems to NSMenu #197

Closed gcasa closed 1 year ago

gcasa commented 1 year ago

Adds a simple implementation of this method since it is missing in the existing codebase.

fredkiefer commented 1 year ago

This should do. We could think about switching off notifications before the loop and activating it after the loop again. But this shouldn't#t be much of a difference.