comparison orpg/gametree/nodehandlers/containers.py @ 18:97265586402b ornery-orc

Traipse 'OpenRPG' {090827-00} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc''s main goal is to offer more advanced features and enhance the productivity of the user. Update Summary: Update Manager is now in version 0.8. While not every button works, users can now browse the different revisions and their different changesets. The code has been refined some with feature from Core added to it. A Crash report is now created if the users software crashes. Update Manager has been moved to the Traipse Suite menu item, and a Debug Console as been added as well.
author sirebral
date Thu, 27 Aug 2009 01:04:43 -0500
parents 4385a7d0efd1
children ff154cf3350c
comparison
equal deleted inserted replaced
17:265b987cce4f 18:97265586402b
26 # Description: The file contains code for the container nodehandlers 26 # Description: The file contains code for the container nodehandlers
27 # 27 #
28 28
29 29
30 from core import * 30 from core import *
31 import wx.lib.splitter 31 from wx.lib.splitter import MultiSplitterWindow
32 32
33 33
34 ########################## 34 ##########################
35 ## base contiainer 35 ## base contiainer
36 ########################## 36 ##########################
293 def build_splitter_wnd(self, parent, mode): 293 def build_splitter_wnd(self, parent, mode):
294 self.split = self.atts.getAttribute("horizontal") 294 self.split = self.atts.getAttribute("horizontal")
295 295
296 self.pane = splitter_panel(parent, self) 296 self.pane = splitter_panel(parent, self)
297 297
298 self.splitter = wx.lib.splitter.MultiSplitterWindow(self.pane, -1, style=wx.SP_LIVE_UPDATE|wx.SP_3DSASH|wx.SP_NO_XP_THEME) 298 self.splitter = MultiSplitterWindow(self.pane, -1, style=wx.SP_LIVE_UPDATE|wx.SP_3DSASH|wx.SP_NO_XP_THEME)
299 299
300 if self.split == '1': 300 if self.split == '1':
301 self.splitter.SetOrientation(wx.VERTICAL) 301 self.splitter.SetOrientation(wx.VERTICAL)
302 else: 302 else:
303 self.splitter.SetOrientation(wx.HORIZONTAL) 303 self.splitter.SetOrientation(wx.HORIZONTAL)