window might not look equally well when used with themes, i.e GTK+'s
ability to change its look as the user wishes with run-time loadable
modules.");
+
+ DocDeclStr(
+ void , SetDefaultBackgroundColour(const wxColour& colour),
+ "");
+
+
DocDeclStr(
virtual bool , SetForegroundColour( const wxColour &colour ),
the window class; it may be the text colour or other colour, or it may
not be used at all.");
+ DocDeclStr(
+ void , SetDefaultForegroundColour(const wxColour& colour),
+ "");
+
+
DocDeclStr(
wxColour , GetBackgroundColour() const,
"Returns the background colour of the window.");
virtual bool , SetFont( const wxFont &font ),
"Sets the font for this window.");
+ DocDeclStr(
+ void , SetDefaultFont(const wxFont& font),
+ "");
+
+
+
DocDeclStr(
wxFont& , GetFont(),
"Returns the default font used for this window.");
#endif
+// TODO: These are currently protected, but woudl be nice ot have them in wxPython...
+//
+// // inherit the parents visual attributes if they had been explicitly set
+// // by the user (i.e. we don't inherit default attributes) and if we don't
+// // have our own explicitly set
+// virtual void InheritAttributes();
+
+// // returns false from here if this window doesn't want to inherit the
+// // parents colours even if InheritAttributes() would normally do it
+// //
+// // this just provides a simple way to customize InheritAttributes()
+// // behaviour in the most common case
+// virtual bool ShouldInheritColours() const { return false; }
+
%pythoncode {
def PostCreate(self, pre):