'Dialog' object has no attribute 'wm_attributes' #273
-
Hey, First, pygubu is amazing, I have been enjoying it so far. Code
Return
ProblemI think you already know the stuff I met. The main window is on top, so is the dialog. As I knew, this is a widget from pygubu. Hence, I took a look at your 'dialog.py' file but found no function that solve my problem. I don't really want to touch the Toplevel yet. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @Linos1391, thanks for trying pygubu. Sorry for the late response. The Dialog widget has a toplevel attribute to manage the dialog window. Use this attribute to modify attributes of the window. In your example:
You have a similar example here. Let me know if this solves your problem. Regards |
Beta Was this translation helpful? Give feedback.
-
Oh, I did not go through the mainapp.py file yet. Thanks for the response, it does not late or anything. Have a nice day anyway. |
Beta Was this translation helpful? Give feedback.
Hello @Linos1391, thanks for trying pygubu. Sorry for the late response.
The Dialog widget has a toplevel attribute to manage the dialog window.
Use this attribute to modify attributes of the window. In your example:
You have a similar example here.
Let me know if this solves your problem.
Regards
Alejandro A.