pygubu icon indicating copy to clipboard operation
pygubu copied to clipboard

create similar option for widget than variables import_widgets

Open albfan opened this issue 10 months ago • 1 comments

if import_variables with no dict just map all variables to container (usually self for a class)

can we expect same for widgets?

As far as I create a notebook1, or label1, or btnExit, I expect to access to it without

self.imgLabel: tk.Label = self.builder.get_object("imgLabel", master)

albfan avatar Mar 16 '25 21:03 albfan

Hello @albfan, thanks for trying pygubu.

can we expect same for widgets?

I've also thought about this feature. I'm going to add it to my wish list and think about implementing it once I finish some internal changes I'm still pending.

Regards! Alejandro A.

alejandroautalan avatar Mar 17 '25 02:03 alejandroautalan

Added method import_widgets

Completed in pygubu 0.39

alejandroautalan avatar Oct 22 '25 04:10 alejandroautalan