Changeset 708
- Timestamp:
- 09/22/03 16:50:29 (5 years ago)
- Files:
-
- trunk/RBFoundation/RBFoundation/_InstallerHookUtilities.py (modified) (1 diff)
- trunk/RBRapier/support/Installer-hooks/hook-RBRapier.Formats.SVG.py (modified) (2 diffs)
- trunk/RBSkinning/RBSkinning/wxPythonSkin/dockhost.py (modified) (1 diff)
- trunk/RBSkinning/demo/wxPythonSkin/docking/docking_sash.py (modified) (5 diffs)
- trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.dotSkin.py (modified) (1 diff)
- trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.skin.py (modified) (1 diff)
- trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.wxPythonSkin.py (modified) (1 diff)
- trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.xhtml.py (modified) (1 diff)
- trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.xmlObjectifySkin.py (modified) (1 diff)
- trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.xmlPython.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/RBFoundation/RBFoundation/_InstallerHookUtilities.py
r698 r708 71 71 return map(str, modules.keys()) 72 72 73 def MakePackageHookVerbose(*args, **kw): 74 print "Hidden imports:" 75 hiddenimports = MakePackageHook(*args, **kw) 76 for each in hiddenimports: 77 print " \"%s\"" % each 78 return hiddenimports 79 trunk/RBRapier/support/Installer-hooks/hook-RBRapier.Formats.SVG.py
r701 r708 24 24 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 25 26 from RBFoundation._InstallerHookUtilities import MakePackageHook 26 from RBFoundation._InstallerHookUtilities import MakePackageHookVerbose 27 27 from RBRapier.Formats.SVG import SVGSkin as _Package 28 28 … … 31 31 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 32 33 print "Hidden imports:" 34 hiddenimports = MakePackageHook('RBRapier.Formats.SVG.SVGSkin', _Package.__file__) 35 for each in hiddenimports: 36 print " \"%s\"" % each 33 hiddenimports = MakePackageHookVerbose('RBRapier.Formats.SVG.SVGSkin', _Package.__file__) trunk/RBSkinning/RBSkinning/wxPythonSkin/dockhost.py
r610 r708 60 60 kwSettings = self.wxSettingDict(['prepend', 'hideempty', 'rootparent', 'rootlayout'], 61 61 prepend=True, hideempty=False, rootparent=winParent, rootlayout=winParent.GetSizer()) 62 62 63 self.object = wxSkinDockHost(winParent, layout, **kwSettings) 63 64 trunk/RBSkinning/demo/wxPythonSkin/docking/docking_sash.py
r603 r708 65 65 66 66 <!-- Top --> 67 <sash_layout show='False' sashsize='100,100' edges='wxSASH_BOTTOM,' orientation='wxLAYOUT_HORIZONTAL' alignment='wxLAYOUT_TOP'>67 <sash_layout ctxvar='behaviormodel.SashTop' show='False' sashsize='100,100' edges='wxSASH_BOTTOM,' orientation='wxLAYOUT_HORIZONTAL' alignment='wxLAYOUT_TOP'> 68 68 <panel> 69 69 <layout orientation='horizontal' > 70 <sash_dockhost ctxvar='behaviormodel.DHTop' />70 <sash_dockhost prepend='False' ctxvar='behaviormodel.DHTop' /> 71 71 </layout> 72 72 </panel> … … 74 74 75 75 <!-- Bottom --> 76 <sash_layout show='False' sashsize='100,100' edges='wxSASH_TOP,' orientation='wxLAYOUT_HORIZONTAL' alignment='wxLAYOUT_BOTTOM'>76 <sash_layout ctxvar='behaviormodel.SashBottom' show='False' sashsize='100,100' edges='wxSASH_TOP,' orientation='wxLAYOUT_HORIZONTAL' alignment='wxLAYOUT_BOTTOM'> 77 77 <panel> 78 78 <layout orientation='horizontal' > … … 83 83 84 84 <!-- Left --> 85 <sash_layout show='False' sashsize='200,200' edges='wxSASH_RIGHT,' orientation='wxLAYOUT_VERTICAL' alignment='wxLAYOUT_LEFT'>85 <sash_layout ctxvar='behaviormodel.SashLeft' show='False' sashsize='200,200' edges='wxSASH_RIGHT,' orientation='wxLAYOUT_VERTICAL' alignment='wxLAYOUT_LEFT'> 86 86 <panel> 87 87 <layout orientation='vertical' > … … 92 92 93 93 <!-- Right --> 94 <sash_layout show='False' sashsize='200,200' edges='wxSASH_LEFT,' orientation='wxLAYOUT_VERTICAL' alignment='wxLAYOUT_RIGHT'>94 <sash_layout ctxvar='behaviormodel.SashRight' show='False' sashsize='200,200' edges='wxSASH_LEFT,' orientation='wxLAYOUT_VERTICAL' alignment='wxLAYOUT_RIGHT'> 95 95 <panel> 96 96 <layout orientation='vertical' > … … 138 138 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 139 140 from RBSkinning.wxTools.wxExpandableSizers import wxWindowExpander 140 141 class BehaviorModel(object): 142 def AD(self, *args, **kw): 143 e = wxWindowExpander(self.frame) 144 e.AdjustDimensions(*args, **kw) 145 self.lastargs = args 146 141 147 def DockBottom(self, evt): 142 148 self.DHBottom.DockItem(self.dockable) 149 self.AD(self.SashBottom, False, False, True) 143 150 144 151 def DockTop(self, evt): 145 152 self.DHTop.DockItem(self.dockable) 153 self.AD(self.SashTop, True, False, True) 146 154 147 155 def DockLeft(self, evt): 148 156 self.dockable.DockTo(self.DHLeft) 157 self.AD(self.SashLeft, True, True, False) 149 158 150 159 def DockRight(self, evt): 151 160 self.dockable.DockTo(self.DHRight) 161 self.AD(self.SashRight, False, True, False) 152 162 153 163 def DockHide(self, evt): 154 164 self.dockable.Undock() 165 self.AD(sign=-1, *self.lastargs) 155 166 156 167 def DockToggle(self, evt): 157 168 self.dockable.DockToggle() 169 self.AD(sign=-1, *self.lastargs) 158 170 159 171 __first_free = True trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.dotSkin.py
r635 r708 20 20 ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 21 22 from RBFoundation._InstallerHookUtilities import MakePackageHook 22 from RBFoundation._InstallerHookUtilities import MakePackageHookVerbose 23 23 import RBSkinning.dotSkin as _Package 24 24 25 hiddenimports = MakePackageHook ('RBSkinning.dotSkin', _Package.__file__)25 hiddenimports = MakePackageHookVerbose('RBSkinning.dotSkin', _Package.__file__) 26 26 trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.skin.py
r635 r708 20 20 ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 21 22 from RBFoundation._InstallerHookUtilities import MakePackageHook 22 from RBFoundation._InstallerHookUtilities import MakePackageHookVerbose 23 23 import RBSkinning.skin as _Package 24 24 25 hiddenimports = MakePackageHook ('RBSkinning.skin', _Package.__file__)25 hiddenimports = MakePackageHookVerbose('RBSkinning.skin', _Package.__file__) trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.wxPythonSkin.py
r635 r708 20 20 ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 21 22 from RBFoundation._InstallerHookUtilities import MakePackageHook 22 from RBFoundation._InstallerHookUtilities import MakePackageHookVerbose 23 23 import RBSkinning.wxPythonSkin as _Package 24 24 25 hiddenimports = MakePackageHook ('RBSkinning.wxPythonSkin', _Package.__file__)25 hiddenimports = MakePackageHookVerbose('RBSkinning.wxPythonSkin', _Package.__file__) 26 26 trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.xhtml.py
r635 r708 20 20 ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 21 22 from RBFoundation._InstallerHookUtilities import MakePackageHook 22 from RBFoundation._InstallerHookUtilities import MakePackageHookVerbose 23 23 import RBSkinning.xhtml as _Package 24 24 25 hiddenimports = MakePackageHook ('RBSkinning.xhtml', _Package.__file__)25 hiddenimports = MakePackageHookVerbose('RBSkinning.xhtml', _Package.__file__) trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.xmlObjectifySkin.py
r635 r708 20 20 ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 21 22 from RBFoundation._InstallerHookUtilities import MakePackageHook 22 from RBFoundation._InstallerHookUtilities import MakePackageHookVerbose 23 23 import RBSkinning.xmlObjectifySkin as _Package 24 24 25 hiddenimports = MakePackageHook ('RBSkinning.xmlObjectifySkin', _Package.__file__)25 hiddenimports = MakePackageHookVerbose('RBSkinning.xmlObjectifySkin', _Package.__file__) trunk/RBSkinning/support/Installer-hooks/hook-RBSkinning.xmlPython.py
r635 r708 20 20 ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 21 22 from RBFoundation._InstallerHookUtilities import MakePackageHook 22 from RBFoundation._InstallerHookUtilities import MakePackageHookVerbose 23 23 import RBSkinning.xmlPython as _Package 24 24 25 hiddenimports = MakePackageHook ('RBSkinning.xmlPython', _Package.__file__)25 hiddenimports = MakePackageHookVerbose('RBSkinning.xmlPython', _Package.__file__)
