Emoticon chooser for entry widget

This code snippet shows how to create an emoticon chooser for entry widget. First some callback methods are defined. Then, there is the _insert_emoticon_cb that holds the main logic - creating an inwin with a grid of available emoticons. The emoticon_test method creates basic UI for this test.