From: Brett Norris Date: 2003-12-09T18:19:20+09:00 Subject: Re: Idea: Linux PIM in Ruby > Hal Fulton wrote: > > > I think it would be fun/informative to try to abstract away the > > GUI here... I've tried that two or three times before with > > mixed success. > > > > In other words, I'd create a layer that would never change, then > > create a mapping from that to Fox. (But nothing too fancy -- > > just wrap some calls if possible, not create a new GUI system.) > > > > Then for example it would easy(-ier) to switch later from Fox > > to GTK or wxWin or whatever, or even make alternatives. Interesting idea. I like the idea in that it seems like a good way to write automated unit tests for GUIs, by having a mapping onto some sort of mock object that just records the GUI operations requested (e.g. gray this menu item, display these items in the list box etc.) Brett