]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_window.i
Wrappers for *ToText
[wxWidgets.git] / wxPython / src / _window.i
index 7a10cf71c5f436d8b7ec2e90a78ddcd36cce6182..f30260b29798e62799e9fe01adfdc4f0ca8fe2e0 100644 (file)
@@ -32,7 +32,7 @@ struct wxVisualAttributes
     %extend {
         wxVisualAttributes() { return new wxVisualAttributes; }
         ~wxVisualAttributes() { delete self; }
-    }
+    } 
     
     // the font used for control label/text inside it
     wxFont font;
@@ -190,7 +190,9 @@ Extra Styles
 MustHaveApp(wxWindow);
 MustHaveApp(wxWindow::FindFocus);
 MustHaveApp(wxWindow::GetCapture);
-MustHaveApp(wxWindow::GetClassDefaultAttributes);
+
+// This one is not restricted to wxWindow
+MustHaveApp(GetClassDefaultAttributes);
 
 class wxWindow : public wxEvtHandler
 {
@@ -869,8 +871,30 @@ control custom keypress handler to do the default navigation behaviour
 for the tab key, since the standard default behaviour for a multiline
 text control with the wx.TE_PROCESS_TAB style is to insert a tab and
 not navigate to the next control.");
+
+    
+
+    DocDeclStr(
+        void , MoveAfterInTabOrder(wxWindow *win),
+        "Moves this window in the tab navigation order after the specified
+sibling window.  This means that when the user presses the TAB key on
+that other window, the focus switches to this window.
+
+The default tab order is the same as creation order.  This function
+and `MoveBeforeInTabOrder` allow to change it after creating all the
+windows.
+", "");
+
+    
+    DocDeclStr(
+        void , MoveBeforeInTabOrder(wxWindow *win),
+        "Same as `MoveAfterInTabOrder` except that it inserts this window just
+before win instead of putting it right after it.", "");
     
 
+    
+
+
 
 
 
@@ -1300,7 +1324,7 @@ themes represent the appearance chosen by the user to be used for all
 applications on the system.", "");
 
     DocDeclStr(
-        void , SetDefaultBackgroundColour(const wxColour& colour),
+        void , SetOwnBackgroundColour(const wxColour& colour),
         "", "");
     
 
@@ -1313,7 +1337,7 @@ 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),
+        void , SetOwnForegroundColour(const wxColour& colour),
         "", "");
     
 
@@ -1350,7 +1374,7 @@ be reset back to default.", "");
         "Sets the font for this window.", "");
     
     DocDeclStr(
-        void , SetDefaultFont(const wxFont& font),
+        void , SetOwnFont(const wxFont& font),
         "", "");
     
 
@@ -1808,7 +1832,7 @@ colours.
 By 'intelligently' the following is meant: by default, all windows use
 their own default attributes. However if some of the parent's
 attributes are explicitly changed (that is, using SetFont and not
-SetDefaultFont) and if the corresponding attribute hadn't been
+SetOwnFont) and if the corresponding attribute hadn't been
 explicitly set for this window itself, then this window takes the same
 value as used by the parent. In addition, if the window overrides
 ShouldInheritColours to return false, the colours will not be changed