Create Dragable Widgets in Python Tkinter GUI - No Extra Module Needed [Best Video]

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 16

  • @tvm73827
    @tvm73827 7 หลายเดือนก่อน +1

    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.

    • @codeworked
      @codeworked  7 หลายเดือนก่อน

      Thanks alot for your support and love, stay tuned to my channel i will surely continue more videos very soon :) thanks.

  • @ИгорьИльин-ь4ш
    @ИгорьИльин-ь4ш 2 หลายเดือนก่อน +1

    Greate!!!👍👍👍

    • @codeworked
      @codeworked  2 หลายเดือนก่อน

      Thanks! 😃 Stay tuned for more videos, thanks for supporting my channel :)

  • @pantaleogerminario2882
    @pantaleogerminario2882 4 หลายเดือนก่อน +1

    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?

  • @kshitizgaur
    @kshitizgaur 3 หลายเดือนก่อน +1

    Good Job dude!!

    • @codeworked
      @codeworked  3 หลายเดือนก่อน

      Thanks! Stay tuned for more videos :) thanks for your support.

  • @tarquis_trueshot
    @tarquis_trueshot ปีที่แล้ว +1

    This was a really good video! Keep it up. I plan to watch a lot more of your videos!

    • @codeworked
      @codeworked  ปีที่แล้ว

      more videos coming soon dear, thanks alot for your love :)

  • @lphlolfr
    @lphlolfr ปีที่แล้ว

    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 ?

    • @codeworked
      @codeworked  ปีที่แล้ว

      i didnt understand dear sorry

  • @booster795545
    @booster795545 4 หลายเดือนก่อน

    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?

    • @codeworked
      @codeworked  4 หลายเดือนก่อน

      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

    • @john-davidsayle9787
      @john-davidsayle9787 3 หลายเดือนก่อน +1

      @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

  • @misteryo2480
    @misteryo2480 ปีที่แล้ว +1

    👍

    • @codeworked
      @codeworked  ปีที่แล้ว +1

      stay tuned for more useful videos coming soon :) thanks