Using Look and Feel for Document Window

How do I use Button* createDocumentWindowButton(int buttonType)? Will I be able to customize the appearance of the Document Window buttons with this?