Good advice. Trouble is, that's really expensive.
In the case of GIMP, I think it's pretty simple: If you are porting OS X, have the professional pride to learn the native UI libraries. XCode is free and placement of UI elements doesn't really require reading documentation, just use the industry leader and make improvements where you see fit.
An algorithm must be seen to be believed. -- D.E. Knuth