Am 29.03.22 um 20:54 schrieb Nicklas SB Karlsson:
Using glade and gtk it make complain about the VCP actions they are old. It is not very important as they still work but does anyone here a good idea how to fix them?
Most of the VCPs are defined in lib/python/gladevcp/hal_widgets.py. Sometimes the class from which the VCP  inherits is deprecated, in that case you have to find an equivalent. For example HAL_VScale is currently based on Gtk.Vscale which is marked as deprecated. The replacement is a Gtk.Scale with the property "orientation" set to "vertical" (see https://lazka.github.io/pgi-docs/#Gtk-3.0) For other VCPs only some properties may need to be changed or removed. These are marked with the "attention" symbol in Glade.

I already found there i a list with the widgets in lib/python/gladevcp/hal_python.xml and guess something is generated from this list. Also found file is mentioned in src/Makefile but have no been able to figure where it is accessed.
One thing I also noticed is that Glade complains about missing icons like
HAL_LED needs an icon named 'widget-gladevcp-hal_led'
but there is an icon in this case. This also didn't work in 2.8. I wonder when it worked last.

/Hans



Nicklas Karlsson



_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to