Receiving GStat messages in GladeVCPs

More
19 Sep 2024 07:49 - 19 Sep 2024 07:51 #310427 by HansU
I want to use some GStat messages in a Glade VCP (in gmoccapy), but it seems that not all messages seem to work there.

If I take the example from linuxcnc.org/docs/2.9/html/gui/gstat.htm...tension_code_pattern everything works as expected.
Then I added
    GSTAT.connect("file-loaded", self.file_loaded)

    def file_loaded(self, obj, data):
        print("FILE LOADED:", data)

The result is that I only get the message resp. signal when a new file is loaded, not on a reload.
But if I add this signal in the gmoccapy code directly, I get an event on every reload.

Furthermore the signal "graphics-gcode-properties" works fine inside gmoccapy, but in a VCP I don't get the message at all?

Any ideas about this behaviour?
Last edit: 19 Sep 2024 07:51 by HansU.

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.122 seconds
Powered by Kunena Forum