Changeset 4204
- Timestamp:
- 06/27/2008 03:49:18 PM (4 months ago)
- Files:
-
- trunk/dabo/ui/uiwx/dPemMixin.py (modified) (2 diffs)
- trunk/dabo/ui/uiwx/dSizerMixin.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/ui/uiwx/dPemMixin.py
r4188 r4204 2499 2499 self._properties["Visible"] = val 2500 2500 2501 2502 def _getVisibleOnScreen(self): 2503 return self.IsShownOnScreen() 2504 2501 2505 2502 2506 def _getWidth(self): … … 2725 2729 Visible = property(_getVisible, _setVisible, None, 2726 2730 _("Specifies whether the object is visible at runtime. (bool)") ) 2727 2731 2732 VisibleOnScreen = property(_getVisibleOnScreen, None, None, 2733 _("""Specifies whether the object is physically visible at runtime. (bool) 2734 2735 The Visible property could return True even if the object isn't actually 2736 shown on screen, due to a parent object or sizer being invisible. 2737 2738 The VisibleOnScreen property will return True only if the object and all 2739 parents are visible. 2740 """)) 2741 2728 2742 Width = property(_getWidth, _setWidth, None, 2729 2743 _("The width of the object. (int)") ) trunk/dabo/ui/uiwx/dSizerMixin.py
r4186 r4204 808 808 809 809 def _getVisible(self): 810 return self._visible 811 810 try: 811 return self._visible 812 except AttributeError: 813 default = True 814 self._setVisible(default) 815 return default 816 812 817 def _setVisible(self, val): 813 818 if isinstance(val, basestring): … … 877 882 878 883 Visible = property(_getVisible, _setVisible, None, 879 _("S hows/hides the sizer and its contained items(bool)" ) )884 _("Specifies whether the sizer and contained items are shown (bool)" ) ) 880 885 881 886 Width = property(_getWd, None, None,
