-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem when trying to run the .ui application #40
Comments
Hi dossan, thanks for trying pygubu.
The problem here is that your main widget is a ttk.Frame with id = Frame_1, so in your code you must use
Either change the id in the designer or in your code. I will try to improve the documentation but, in the mean time, there are some useful tips in the wiki about the usage of pygubu and the designer. https://github.com/alejandroautalan/pygubu/wiki
Any contribution is welcome, if you want to change code, feel free to fork the project make your modifications and make pull requests (the github way of work) I will try to make some docs about the structure of the project for developers but, until then, you can ask me for help. Regards |
docs for developers are needed, i alse want to improve it, but, my English is to bad, and unstand all the codes needs time. |
Same problem with your example 'hellowindow.ui'. Frame there has id 'mainframe', your code says 'mainwindow'. |
I have used the code you are suggestion to run my "hello.ui" file, but it's not working, and raises the exception "raise Exception('Widget not defined.')" at line 322 of your init.py file under /builder.
This is my hello.ui:
This is the code I am using to run the "hello.ui"
I am running the application from the main folder of the project. I had also some problems in running the builder/designer, until I did not find the script under /bin in this github repository. I think you should clarify better how to run the builder/designer in your README file.
My OS is Darwin.
Apart from this, would be possible to contribute with my help to this project?
I was thinking also in developing something similar, but my knowledge of tkinter is still not so good, but I would like starting helping you in this project, of course if you don't mind.
If it's ok, it would be great if you could tell me more in details how can I understand better your application, how can study it further, how did you structure the project, so that I am also able to navigate through it without any problems.
The text was updated successfully, but these errors were encountered: