Linuxcnc 2.9.x and Glade GTK3 display issue

More
10 months 1 week ago #340290 by mmt
Just upgraded to 2.9.x from 2.7.x i am in the process of recreating my glade window with gtk3. All worked good in 2.7.x and gtk2 but now with 2.9.x and gtk3 this code below in my ini file deletes the the box_vel_info but does not start the motion_control_test.ui
not sure what is going on. help is appreciated

EMBED_TAB_NAME = MOTION CONTROL
EMBED_TAB_LOCATION = box_vel_info
EMBED_TAB_COMMAND = gladevcp -x {XID} motion_control_test.ui

Please Log in to join the conversation.

More
10 months 1 week ago #340298 by newbynobi
Please start linuxcnc from the command line and check the output there. 
You will see there the error that does stop your panel to be embedded.

Norbert

Please Log in to join the conversation.

More
10 months 1 week ago #340307 by mmt
thank you for reply

error says:
**** GLADE VCP ERROR: with xml file: motion_control_gtk3_.ui : gi.repository.Gtk' object has no attribute 'glade'

Please Log in to join the conversation.

More
10 months 1 week ago #340419 by mmt

Please Log in to join the conversation.

More
10 months 1 week ago #340420 by Aciera
might help to post your 'motion_control_test.ui'

Please Log in to join the conversation.

More
10 months 1 week ago #340429 by mmt
Here you go

Please Log in to join the conversation.

More
10 months 6 days ago #340461 by Aciera
Line 24, replace this:
Code:
<object class="GtkWindow">

with this:
Code:
<object class="GtkWindow" id="window1">

works for me on 2.10:

 

Attachment not found

Please Log in to join the conversation.

More
9 months 3 weeks ago #341080 by mmt
Sorry got distracted over the holidays.

So I made your recommended change to the glade file and it did not work. see screenshot

any more suggestions?

thank you as always
 

Please Log in to join the conversation.

More
9 months 3 weeks ago #341179 by HansU
Works for me as well with the change Aciera suggested.

Please Log in to join the conversation.

More
9 months 2 weeks ago #341315 by mmt
Im struggling to understand why it works for both of you. I have 2 different machines and a laptop and it works on none of them. All 3 computers running 2.9.3.

You changed nothing but line 24 ?

Please Log in to join the conversation.

Time to create page: 0.409 seconds
Powered by Kunena Forum