Gscreen - a GTK / Glade / Python based screen

More
13 years 8 months ago #30597 by newbynobi

What I have done is similar. I have Gscreen check if it's in manual mode. If it is and if linuxcnc is not in manual mode, it changes it to manual.
I do it in the hal_status_interpreter_idle function too. So far So good...:)


But you didn't push the changes jet, didn't you?

Norbert

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

More
13 years 8 months ago #30599 by newbynobi
Hallo Chris,

changing a tool, from tooledit widget, brings an error:

"Tooledit widget float error"

Does this happen, because I use German settings for the decimal separator. "," instead of "."

I make all tool changes now from the widget.
If you push my index_tool button or the change_tool button the tooledit widget get visible and you select the tool you like from the list.
The selected tool is then changed.

Yes, please make the function to hide the buttons.

Norbert

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

More
13 years 8 months ago #30601 by cmorley

newbynobi wrote:

What I have done is similar. I have Gscreen check if it's in manual mode. If it is and if linuxcnc is not in manual mode, it changes it to manual.
I do it in the hal_status_interpreter_idle function too. So far So good...:)


But you didn't push the changes jet, didn't you?

Norbert


Yes I have already pushed them, last week I think

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

More
13 years 8 months ago #30602 by cmorley
pushed your method and the hide_buttonbox:

tooledit.hide_buttonbox(True)

must be done after tooleditor show all()

Let me know if it doesn't work for you.

Chris M

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

More
13 years 8 months ago #30603 by cmorley

newbynobi wrote: Hallo Chris,

changing a tool, from tooledit widget, brings an error:

"Tooledit widget float error"

Does this happen, because I use German settings for the decimal separator. "," instead of "."

Norbert


maybe.

tempararily remove the try: exception: and print statements around line 169
then the true error message will show

Chris M

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

More
13 years 8 months ago #30604 by newbynobi
I will check all your comments later, I will be a few days off.

I think mah/master is back at the moment, that is why I haven't got the changes.

Norbert

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

Time to create page: 0.763 seconds
Powered by Kunena Forum