AGW Logo

svn SVN Revision 69432 For auibook

This file contains the SVN revision history for auibook, at revision 69432.

Available information include commit date, the name of the committer, the file size, the SVN log messages and a diff from the previous version (if available).


file_info File Information

  • Commit Date: 04-Apr-2009 15:04:18 UTC
  • Committer: AG
  • File Size: 194823 byte(s)

svn_log Log Messages

The following log message was entered by the committer:

AuiNotebook: allow to set the window name to the underlying wx.PyPanel.


svn_diff Diff To Previous Version (69382)

Version SVN diff:

--- wxPython/3rdParty/AGW/agw/aui/auibook.py        2011/10/11 19:17:58     69382
+++ wxPython/3rdParty/AGW/agw/aui/auibook.py        2011/10/14 18:29:37     69432
@@ -2691,7 +2691,7 @@
"""

def __init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize,
-                 style=0, agwStyle=AUI_NB_DEFAULT_STYLE):
+                 style=0, agwStyle=AUI_NB_DEFAULT_STYLE, name="AuiNotebook"):
"""
Default class constructor.

@@ -2735,6 +2735,7 @@
Default value for `agwStyle` is:
``AUI_NB_DEFAULT_STYLE`` = ``AUI_NB_TOP`` | ``AUI_NB_TAB_SPLIT`` | ``AUI_NB_TAB_MOVE`` | ``AUI_NB_SCROLL_BUTTONS`` | ``AUI_NB_CLOSE_ON_ACTIVE_TAB`` | ``AUI_NB_MIDDLE_CLICK_CLOSE`` | ``AUI_NB_DRAW_DND_TAB``

+        :param `name`: the window name.
"""

self._curpage = -1
@@ -2749,7 +2750,7 @@
self._tabBounds = (-1, -1)
self._click_tab = None

-        wx.PyPanel.__init__(self, parent, id, pos, size, style|wx.BORDER_NONE|wx.TAB_TRAVERSAL)
+        wx.PyPanel.__init__(self, parent, id, pos, size, style|wx.BORDER_NONE|wx.TAB_TRAVERSAL, name=name)
self._mgr = framemanager.AuiManager()
self._tabs = AuiTabContainer(self)

@@ -2772,7 +2773,6 @@
:see: L{__init__}
"""

-        self.SetName("AuiNotebook")
self._agwFlags = agwStyle

self._popupWin = None
Tree

Table Of Contents

Previous topic

SVN Revision 69382 For auibook

Next topic

SVN Revision 69627 For auibook