| Home | Trees | Indices | Help |
|
|---|
|
|
1 from pyforms.gui.Controls.ControlEmptyWidget import ControlEmptyWidget5 6 SIDE_LEFT = 'left' 7 SIDE_RIGHT = 'right' 8 SIDE_TOP = 'top' 9 SIDE_BOTTOM = 'bottom' 10 SIDE_DETACHED = 'detached' 114713 super(ControlDockWidget, self).__init__(label) 14 self.side = side 15 if default is not None: self.value = default 16 self._show = True17 18 @property 20 21 @label.setter 25 29 3335 """ 36 Show the control 37 """ 38 self._show = True 39 if hasattr(self, 'dock'): self.dock.show()4042 """ 43 Hide the control 44 """ 45 self._show = False 46 if hasattr(self, 'dock'): self.dock.hide()
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Sep 11 13:06:35 2015 | http://epydoc.sourceforge.net |