alejandroautalan / pygubu

A simple GUI builder for the python tkinter module
MIT License
2.01k stars 213 forks source link

Change frame class from gui #199

Closed bojomojo closed 1 year ago

bojomojo commented 4 years ago

Can we have the possibility to override the frame class? I want to have a child class from the frame class that could go through all children and disable them when needed. And I want to be able to use this class from the designer. However the designer doesn't allow To change the class field.

alejandroautalan commented 4 years ago

Hi bojomojo. You can add your custom widgets to the designer. Unfortunately the documentation is not yet complete. Try to follow this guide (https://github.com/alejandroautalan/pygubu/wiki/IncorporateCustomWidget) and if you have any questions don't hesitate to contact me.

Regards Alejandro A

bojomojo commented 4 years ago

I did try to add the scrolledText widget the same way. But could not find it in the list of widgets to use. This “custom” option was not there. (Using it on mac)

Sent from my iPhone

On 12. Jun 2020, at 00:46, Alejandro Autalán notifications@github.com wrote:



Hi bojomojo. You can add your custom widgets to the designer. Unfortunately the documentation is not yet complete. Try to follow this guide (https://github.com/alejandroautalan/pygubu/wiki/IncorporateCustomWidget) and if you have any questions don't hesitate to contact me.

Regards Alejandro A

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/alejandroautalan/pygubu/issues/199#issuecomment-642968552, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZVIMQWAMA7VLHBSLQ3RWFNE7ANCNFSM4N3XGRUQ.

alejandroautalan commented 4 years ago

Hi, maybe you were wrong in the parameter setting? Did you added the module in the pygubu-designer preferences? Check out this similar issue https://github.com/alejandroautalan/pygubu/issues/196

Regards Alejandro A.

bojomojo commented 4 years ago

I am trying to use the officially released scrolledtext.py widget.. would this not work out of the box

[cid:b2fe6594-d2f8-477c-a313-2e062e64107a]

Best Regards, Shadi


From: Alejandro Autalán notifications@github.com Sent: Friday, June 12, 2020 2:31 AM To: alejandroautalan/pygubu pygubu@noreply.github.com Cc: bojomojo shadi.iskander@hotmail.com; Author author@noreply.github.com Subject: Re: [alejandroautalan/pygubu] Change frame class from gui (#199)

Hi, maybe you were wrong in the parameter setting? Did you added the module in the pygubu-designer preferences? Check out this similar issue #196https://github.com/alejandroautalan/pygubu/issues/196

Regards Alejandro A.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/alejandroautalan/pygubu/issues/199#issuecomment-643000263, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZUKRMQ2POYNZUWMX2TRWFZPNANCNFSM4N3XGRUQ.

alejandroautalan commented 1 year ago

I'm closing this issue. Changing the class field from designer is not allowed.