|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Improving VisualGST Menu |
Date: | Fri, 29 Oct 2010 19:53:58 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.4 |
On 10/29/2010 07:50 PM, Mathieu Suen wrote:
1) use Annoucement 2) make Command behave like a controller for menu item. 3) Other solution For each there is some advantage and disadvantage. I will let Paolo and Gwen express themselves on it.
Announcements would be an implementation detail. If you add more functionality to the menus (as well as pluggable menus/toolbars), you need anyway to represent them with an object rather than use directly the GtkMenuItem. So (2) is a prerequisite anyway IMO.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |