непонял куда здесь вставлять
найти первый встреченный calculator и после него):добавить (найти второй встреченный calculator и после него):
Код: Выделить всё
</glade-widget-class>
<glade-widget-class name="HAL_Offset" generic-name="hal_offset" title="HAL Offset"/>
<glade-widget-class name="Calculator" generic-name="calc" title="calculator">
<properties>
<property id="size" query="False" default="1" visible="False"/>
<property id="spacing" query="False" default="0" visible="False"/>
<property id="homogeneous" query="False" default="0" visible="False"/>
</properties>
</glade-widget-class>
<!-- Actions -->
Код: Выделить всё
**** GMOCCAPY GETINIINFO ****
Preference file path: /home/cnc/linuxcnc/configs/sim.gmoccapy/gmoccapy_4_axis.pref
gladevcp: trouble looking for handlers in 'compensation_z': iteration over non-sequence
Traceback (most recent call last):
File "/usr/bin/gladevcp", line 129, in load_handlers
for object in objlist:
TypeError: iteration over non-sequence
/usr/bin/gladevcp:212: RuntimeWarning: missing handler 'comp_reset_click'
builder.connect_signals(handlers)
