alejandroautalan / pygubu

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

yscroll command and scrollbar commands are not saved #198

Closed bojomojo closed 4 years ago

bojomojo commented 4 years ago

whenever I enter any command for the scrollbar, or any yscrollcommand for the text widget, they are not saved.

alejandroautalan commented 4 years ago

Hello bojomojo, thanks for trying pygubu. I could not reproduce your issue. Are you using a helper for the text widget? Can you upload a minimum example of your problem and the expected result?

Regards Alejandro A.

bojomojo commented 4 years ago

I noticed that if I type in: “test” it works. But if I type in: self.scrollbar.yview for example, it does not

Sent from my iPhone

On 11. Jun 2020, at 02:25, Alejandro Autalán notifications@github.com wrote:



Hello bojomojo, thanks for trying pygubu. I could not reproduce your issue. Are you using a helper for the text widget? Can you upload a minimum example of your problem and the expected result?

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/198#issuecomment-642334469, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3FOZUOJ2O4Y6FF4GYZXJDRWAP53ANCNFSM4N24KKLQ.

alejandroautalan commented 4 years ago

In the designer, you can not put code inside command properties. Command properties only accept function identifiers, see https://github.com/alejandroautalan/pygubu/wiki/CommandProperties.

Regards Alejandro A.