Hal_manualtoolchange did you know a way for popup allways on top
28 Sep 2021 21:28 - 28 Sep 2021 22:39 #221781
by alkabal
Hi
Did you know a way for ensure the popup for tool change and remove tool can keep above (allways on top, topmost) ?
I have try to edit the bin file and to add "app.wm_attributes("-topmost", True)" at different location without success.
Best regards
Did you know a way for ensure the popup for tool change and remove tool can keep above (allways on top, topmost) ?
I have try to edit the bin file and to add "app.wm_attributes("-topmost", True)" at different location without success.
Best regards
Last edit: 28 Sep 2021 22:39 by alkabal.
Please Log in or Create an account to join the conversation.
29 Sep 2021 23:59 #221862
by cakeslob
Replied by cakeslob on topic Hal_manualtoolchange did you know a way for popup allways on top
I tried for a bit last night, no luck. its calling up a custom dialog widget, so I dont think wm.attributes will work here, but the whole window id thing is confusing to me still
github.com/LinuxCNC/linuxcnc/blob/master.../axis/tcl/dialog.tcl
maybe here
github.com/LinuxCNC/linuxcnc/blob/master.../tcl/dialog.tcl#L108
github.com/LinuxCNC/linuxcnc/blob/master.../axis/tcl/dialog.tcl
maybe here
github.com/LinuxCNC/linuxcnc/blob/master.../tcl/dialog.tcl#L108
The following user(s) said Thank You: alkabal
Please Log in or Create an account to join the conversation.
02 Oct 2021 23:14 #222059
by alkabal
Replied by alkabal on topic Hal_manualtoolchange did you know a way for popup allways on top
A lot of thanks that work like a charm with your suggestion !
Adding this line 220 :
wm attribute $w -topmost 1
github.com/LinuxCNC/linuxcnc/blob/8a18ca.../tcl/dialog.tcl#L220
But now mode difficult, is there a way for do the same things but using a command for set as full screen inside axisrc :
root_window.attributes('-fullscreen', True)
Another thanks !
Adding this line 220 :
wm attribute $w -topmost 1
github.com/LinuxCNC/linuxcnc/blob/8a18ca.../tcl/dialog.tcl#L220
But now mode difficult, is there a way for do the same things but using a command for set as full screen inside axisrc :
root_window.attributes('-fullscreen', True)
Another thanks !
Please Log in or Create an account to join the conversation.
03 Oct 2021 21:52 #222148
by cakeslob
Replied by cakeslob on topic Hal_manualtoolchange did you know a way for popup allways on top
do you mean a button inside axis to make the toolchange dialog fullscreen? or do you mean make axis full screen?
Please Log in or Create an account to join the conversation.
03 Oct 2021 23:26 #222156
by alkabal
Replied by alkabal on topic Hal_manualtoolchange did you know a way for popup allways on top
Oh sorry for unprecision.
My axis wndow is set as full screen using in .axisrc the option :
root_window.attributes('-fullscreen', True)
With this setting the patch "wm attribute $w -topmost 1" does not work.
I can get it work only using axis gui as regular windows.
Thanks for interest
My axis wndow is set as full screen using in .axisrc the option :
root_window.attributes('-fullscreen', True)
With this setting the patch "wm attribute $w -topmost 1" does not work.
I can get it work only using axis gui as regular windows.
Thanks for interest
Please Log in or Create an account to join the conversation.
03 Oct 2021 23:36 #222158
by cakeslob
Replied by cakeslob on topic Hal_manualtoolchange did you know a way for popup allways on top
try setting it manually
something like this
root_window.tk.call("wm","geometry",".","1024x768")
something like this
root_window.tk.call("wm","geometry",".","1024x768")
Please Log in or Create an account to join the conversation.
04 Oct 2021 01:28 - 04 Oct 2021 01:29 #222161
by phillc54
Replied by phillc54 on topic Hal_manualtoolchange did you know a way for popup allways on top
In the past I used the following in .axisrc to set the size of Axis, whether it is still valid I don't know.
maxgeo=root_window.tk.call("wm","maxsize",".")
fullsize=maxgeo.split(' ')[0] + 'x' + maxgeo.split(' ')[1]
root_window.tk.call("wm","geometry",".",fullsize)
Last edit: 04 Oct 2021 01:29 by phillc54.
Please Log in or Create an account to join the conversation.
04 Oct 2021 21:07 - 04 Oct 2021 21:09 #222219
by alkabal
Replied by alkabal on topic Hal_manualtoolchange did you know a way for popup allways on top
Thanks for exemple but unfortunatly that does not do the same things.
You config allow window to be maximised.
What i like is window as full screen (task bar masked), i know how to do the screen config but i like to have popup allways on top (in this situation the working patch for popup topmost does not apply)
Br, thanks again
You config allow window to be maximised.
What i like is window as full screen (task bar masked), i know how to do the screen config but i like to have popup allways on top (in this situation the working patch for popup topmost does not apply)
Br, thanks again
Last edit: 04 Oct 2021 21:09 by alkabal.
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds