I love your state of mind. Take Pharo 30 and look at Menu API. I definitively wants to shrink it to the correct size. :) Le 26/4/15 03:51, Ben Coman a écrit :
+1...
* Outside of Pharo, I've only ever know it be called a "window title". Never heard of "window label". A "label" would be for panes, tabs and widgets within the window.
* Historical context + implementor-count... * StandardWindow>>title: ~2006 +25-most-window-related * StandardWindow>>title ~2006 +170 (most return constant strings - window related?) * SystemWindow>>label ~1998 +370-many-unrelated-to-windows * SystemWindow>>setLabel: ~2011 +1
* Not sure how useful it is, but I compiled a table for comparison https://docs.google.com/spreadsheets/d/1YvMgH8uSbOsSf30T7lyaCCcnDLy4tzXnM393...
* Would need to consider the 8 methods of SystemWindow "label" protocol
* One random observation EyeCollectionInspector>>title and EyeCollectionInspector-class>>label
cheers -ben
On Fri, Apr 24, 2015 at 10:53 PM, Sean P. DeNigris <sean@clipperadams.com <mailto:sean@clipperadams.com>> wrote:
Is this distinction necessary?
I started digging when I noticed that SystemWindow>>#label and #setLabel: becomes StandardWindow>>#title and #title. Wouldn't it be better to just push #title up if we like that API better? It's exhausting to manage all these tiny (and possibly unnecessary) differences...
----- Cheers, Sean -- View this message in context: http://forum.world.st/SystemWindow-vs-StandardWindow-tp4821655.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.