is it possible to embed vismach into gladevcp?

More
03 Jun 2018 16:29 #111519 by thang
I wonder if Vismach can be embedded into gladevcp like gremlins?

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

More
04 Jun 2018 20:53 #111619 by andypugh
You might be able ti embed it as a standalone tab. But Gremlin is a special widget, rather than a generic thing that is embedded.

So I imagine you would need a version of this file, but importing Vismach rather than Gremlin.

github.com/LinuxCNC/linuxcnc/blob/master...devcp/hal_gremlin.py
The following user(s) said Thank You: thang

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

More
04 Jun 2018 21:57 #111627 by cmorley
With a small change to have vismach export the X window id then it should be embeddable.
I'll look at it when I get time.

Chris M
The following user(s) said Thank You: thang

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

More
20 Apr 2020 09:12 #164809 by thang
Hey Chris, did you find out the way to export the X window id from vismach module?

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

More
20 Apr 2020 17:22 #164875 by cmorley
I did not find away to have this vismach export X id. It seems tkinker doesn't support that.
I then started trying to convert to Qt and..got side tracked :(
I'm sorry - I'll try to get back to it - I do want the capability in Qtvcp too.

Chris

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

More
18 Dec 2020 07:56 #192308 by cmorley
I did get back to this finally and am having some sucess.
more work to do yet.

Attachments:

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

More
18 Dec 2020 23:05 #192404 by cmorley
embedded:


code is still raw
Attachments:
The following user(s) said Thank You: chimeno, tommylight, Aciera

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

More
18 Dec 2020 23:31 #192408 by tommylight


code is still raw

Code looks nice, thank you.

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

More
31 Dec 2020 02:04 #193600 by thang
That is amazing, did you find a way to export X window from vismach?

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

More
31 Dec 2020 05:01 #193604 by cmorley
No I converted vismach to use pyqt, which can export the X window

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

Moderators: mhaberlerHansU
Time to create page: 0.232 seconds
Powered by Kunena Forum