tests/traffic_lights/svgui-0@svgui/pyfile.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 18 Apr 2016 19:15:55 +0300
changeset 1481 5b294dcaae18
parent 1383 45935812f930
child 1546 f1840d27823d
permissions -rw-r--r--
fix issue, then it wasn't possible to view FBD programs

the reason for that is possible wx-3.0-gtk2 bug that happens if
ALWAYS_SHOW_SB is set.

Traceback (most recent call last):
File "Beremiz.py", line 1045, in OnProjectTreeItemActivated
IDEFrame.OnProjectTreeItemActivated(self, event)
File "IDEFrame.py", line 1667, in OnProjectTreeItemActivated
self.EditProjectElement(item_infos["type"], item_infos["tagname"])
File "IDEFrame.py", line 1752, in EditProjectElement
new_window = Viewer(self.TabsOpened, tagname, self, self.Controler)
File "editors/Viewer.py", line 611, in __init__
EditorPanel.__init__(self, parent, tagname, window, controler, debug)
File "editors/EditorPanel.py", line 68, in __init__
self._init_ctrls(parent)
File "editors/EditorPanel.py", line 52, in _init_ctrls
self._init_Editor(self)
File "editors/Viewer.py", line 603, in _init_Editor
style=wx.HSCROLL | wx.VSCROLL | wx.ALWAYS_SHOW_SB)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_windows.py", line 296, in __init__
_windows_.ScrolledWindow_swiginit(self,_windows_.new_ScrolledWindow(*args, **kwargs))
PyAssertionError: C++ assertion "scrolled" failed at ../src/gtk/scrolwin.cpp(205) in DoShowScrollbars(): window must be created
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     2
<PyFile xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     3
  <variables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     4
  <globals>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     5
    <xhtml:p><![CDATA[]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     6
  </globals>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     7
  <init>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     8
    <xhtml:p><![CDATA[]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     9
  </init>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    10
  <cleanup>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    11
    <xhtml:p><![CDATA[]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    12
  </cleanup>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    13
  <start>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    14
    <xhtml:p><![CDATA[]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    15
  </start>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    16
  <stop>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    17
    <xhtml:p><![CDATA[]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    18
  </stop>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    19
</PyFile>