Implement the new method to all the implementations (generic, GTK, OS X), show it in the sample and update the documentation.