Good sample, thanks. I've to write an app that use two different lists and I'ld like to drag an dorp the items from a list to the other and viceversa. How can I do it?
thanks for the video but, there´s one thing you didn´t tell us in your video. whenever you drag your components, every time you close the window. it comes back to its original position. i mean the whole point is too place those componets to the location you suppose to place them. righ?
dear i think you didn't watch the video carefully, i think it was some issue when it was sticking to its position. then i had worked around it. :) see how it works
@booster795545, the use case your asking about would require saving the state of the application before exiting it. That's beyond the scope of the video, but it's definitely possible to do. There's lots of different ways to save the state and searching/asking on StackOverflow might be more productive, but using pseudo code the save/load state functions could look something like this: def save_state(button, label): get x,y location of label widget get x,y locaton of button widget write button and label x,y location to file def open_state(button, label): read file with button and label x, y location pass button and label x, y location to their respective widgets .place() button and label widgets
You know you are the best teacher of Python. This was very useful to me. Thank you so much for posting this. Please post more TKINTER videos.
Thanks alot for your support and love, stay tuned to my channel i will surely continue more videos very soon :) thanks.
Greate!!!👍👍👍
Thanks! 😃 Stay tuned for more videos, thanks for supporting my channel :)
Good sample, thanks. I've to write an app that use two different lists and I'ld like to drag an dorp the items from a list to the other and viceversa. How can I do it?
Good Job dude!!
Thanks! Stay tuned for more videos :) thanks for your support.
This was a really good video! Keep it up. I plan to watch a lot more of your videos!
more videos coming soon dear, thanks alot for your love :)
Hello :) Do you know how to create a zone with the mouse, like a text zone, which you can then move and resize like in powerpoint ?
i didnt understand dear sorry
thanks for the video but, there´s one thing you didn´t tell us in your video. whenever you drag your components, every time you close the window. it comes back to its original position. i mean the whole point is too place those componets to the location you suppose to place them. righ?
dear i think you didn't watch the video carefully, i think it was some issue when it was sticking to its position. then i had worked around it. :) see how it works
@booster795545, the use case your asking about would require saving the state of the application before exiting it. That's beyond the scope of the video, but it's definitely possible to do. There's lots of different ways to save the state and searching/asking on StackOverflow might be more productive, but using pseudo code the save/load state functions could look something like this:
def save_state(button, label):
get x,y location of label widget
get x,y locaton of button widget
write button and label x,y location to file
def open_state(button, label):
read file with button and label x, y location
pass button and label x, y location to their respective widgets
.place() button and label widgets
👍
stay tuned for more useful videos coming soon :) thanks