diff options
author | Nicholas McCarthy <namccart@gmail.com> | 2013-07-07 18:08:20 -0400 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-07-08 07:19:33 -0700 |
commit | cd99526b5d1c8b1130ac1ba87e21f96c621b1bdc (patch) | |
tree | 12836648bf75868b17b04a2c3ead9c1b6fa2d4c5 /grc/gui/Element.py | |
parent | 2dc1b6f2ed0cabd2bccbcc58487e93be4295df84 (diff) |
grc: add bus ports
Bus ports allow ganging together of block input or output ports into
a single display item for connection to other bus ports.
Diffstat (limited to 'grc/gui/Element.py')
-rw-r--r-- | grc/gui/Element.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/gui/Element.py b/grc/gui/Element.py index eac59d88eb..cd97a3fb21 100644 --- a/grc/gui/Element.py +++ b/grc/gui/Element.py @@ -69,7 +69,7 @@ class Element(object): Create labels (if applicable) and call on all children. Call this base method before creating labels in the element. """ - for child in self.get_children(): child.create_labels() + for child in self.get_children():child.create_labels() def create_shapes(self): """ @@ -89,6 +89,7 @@ class Element(object): border_color: the color for lines and rectangle borders bg_color: the color for the inside of the rectangle """ + X,Y = self.get_coordinate() for (rX,rY),(W,H) in self._areas_list: aX = X + rX |