Tkinter - Modify Widgets From Different Classes

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

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

  • @bentsionben-david2769
    @bentsionben-david2769 ปีที่แล้ว +1

    I think you are the best mentor of tkinter on web, i learned and learning so much from you.. i tried to create a MainWindow class of notebook widget that will call different class of different python file by your switch frames video by treeview, but for months already unsuccessfully, please consider to make this video, i believe will be thousands of viewers at least.. 🙏🏻🙏🏻🙏🏻

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

      Thanks! Which video needs a better explanation or which part are you stuck on?

    • @bentsionben-david2769
      @bentsionben-david2769 ปีที่แล้ว

      @@jobinpy
      your video on
      th-cam.com/video/4hamShRNxgg/w-d-xo.html
      i can't create a new file that contains Notebook widget, that when i press any tab there then i open your "switch frames" code, i mean how do i call you switch frames from a MainFrame different python file, i failed with "__init__(self):
      super().__init__()" .. please help thanks again

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

      @@bentsionben-david2769 It's possible to pass objects from one object to another, even if the class/object is in a different file. The following video explains the steps: th-cam.com/video/UKIdEH1fY2A/w-d-xo.html

  • @StefanvandeWetering-q9z
    @StefanvandeWetering-q9z หลายเดือนก่อน

    This is a great video, exactly what I was looking for! And explained very well. Now I will have to watch all your other videos too.

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

      I'm glad it was helpful!

  • @bentsionben-david2769
    @bentsionben-david2769 2 ปีที่แล้ว +1

    Wow wow wow.. nowhere videos like yours.. totally amazing, simple and informative.. 🙏🙏🙏

    • @jobinpy
      @jobinpy  2 ปีที่แล้ว

      Thanks!

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

    Taking advantage of the object-oriented theme, a suggestion for your list of tkinter videos, would be how to create a class to work with configuration files.
    You can use the window parameters as an example, with an option to remember or not remember its settings when opening an app.
    remember the x,y position of the window, remember the height and width of the window, remember if the window should be opened maximized or normal

    • @jobinpy
      @jobinpy  2 ปีที่แล้ว +2

      That's a good suggestion. I'll add that to my list of videos to create in the future. Thanks Mrkalvin.

  • @TheDouglasDale
    @TheDouglasDale 6 หลายเดือนก่อน

    This did exactly what I needed! Thank you, great video!

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

    Video content is very good.
    Thanks for sharing your knowledge!

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

      Glad you liked it!

  • @charlvantonder5247
    @charlvantonder5247 9 หลายเดือนก่อน

    Nice simple example that can be used for my login screen. Nice video man

    • @jobinpy
      @jobinpy  9 หลายเดือนก่อน

      Glad you like it!

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

    Thank you, very useful 👍

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

      I'm glad it was helpful!

  • @Ant-up3iy
    @Ant-up3iy ปีที่แล้ว

    Hi Jobin. Great video. I've never seen the "->" before on the first line of a function definition. Are there any good sources you recommend for learning what it does?

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

      Hi @Ant, thanks for watching my video. The "->" is a type hint, which gives the IDE an idea as to what is expected as a return value. You can read more about it here: docs.python.org/3/library/typing.html

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

    Thanks..this is cool

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

    Very cool!

  • @CatariCesar
    @CatariCesar 2 ปีที่แล้ว

    Thanks like

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

    terrible explanation. it does not add anything to anyone. he tried to show himself rather than make an easy explanation.