Right, in ToolTip#createHandle() we set the background of the window to COLOR_INFO_BACKGROUND, so it does make sense to set the foreground of the PangoLayouts to COLOR_INFO_FOREGROUND.
But I don't think gtk_expose_event is the right place, the foreground should be set in setText() and setMessage() where the layout was created and initialized.
Right, in ToolTip# createHandle( ) we set the background of the window to COLOR_INFO_ BACKGROUND, so it does make sense to set the foreground of the PangoLayouts to COLOR_INFO_ FOREGROUND.
But I don't think gtk_expose_event is the right place, the foreground should be set in setText() and setMessage() where the layout was created and initialized.