+ // Called by ApplyWidgetStyle (which is called by SetFont() and
+ // SetXXXColour etc to apply style changed to native widgets) to create
+ // modified GTK style with non-standard attributes. If forceStyle=true,
+ // creates empty GtkRcStyle if there are no modifications, otherwise
+ // returns NULL in such case.
+ GtkRcStyle *CreateWidgetStyle(bool forceStyle = false);
+
+ // Overridden in many GTK widgets who have to handle subwidgets
+ virtual void ApplyWidgetStyle(bool forceStyle = false);
+
+ // helper function to ease native widgets wrapping, called by
+ // ApplyWidgetStyle -- override this, not ApplyWidgetStyle
+ virtual void DoApplyWidgetStyle(GtkRcStyle *style);
+