bug-gnustep
[Top][All Lists]
Advanced

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

Re: NSMenuView and popups (was: Re: [PATCH] Menus in lowerleft corner)


From: Fred Kiefer
Subject: Re: NSMenuView and popups (was: Re: [PATCH] Menus in lowerleft corner)
Date: Mon, 17 Mar 2003 00:36:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903

Hi Wim,

Willem Rein Oudshoorn wrote:
Since the NSMenuViewWindowTitleBar-thingie is created in NSMenuView's
initWithFrame, and the NSMenu creating the NSMenuView doesn't know its owned by
a popup until right after its init, we are slightly screwed. I suppose we could
catch this on the first sizeToFit in NSMenuView -- like we catch the left
offset?

Yes, that would be an option. Although I would prefer to split the NSMenuView class into two: GSPopupMenuView and GSMenuView.
But your suggestion is easier and Fred Kiefer might object
to the split.

looks as if there was some misunderstanding. I am strongly in favour of such a change. If there is sufficent difference between these cases split them up! What I don't like is, that you came up with a new protocoll for NSMenuView, which is not there in MacOSX nor Openstep and which is also not required for this change, as both classes will have the superclass NSMenuView.

Fred






reply via email to

[Prev in Thread] Current Thread [Next in Thread]