Create Custom Widgets and Components! - Object Oriented Tkinter 6

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 12

  • @TkinterPython
    @TkinterPython  10 місяців тому

    ▶ Watch Object Oriented Playlist ✅ FREE Tkinter Widget Book
    bit.ly/3Og44ey bit.ly/3K4qlZC
    ▶ See More At: ✅ Subscribe To My UA-cam Channel:
    Tkinter.com bit.ly/3Pk1By4
    ▶ MASSIVE TKINTER.COM DISCOUNT ✅ Join My Facebook Group:
    30% off with coupon code: youtube bit.ly/2GFmOBz
    ▶ Get The Code For This Video
    bit.ly/3dCzz2K

  • @youtubeviewer7077
    @youtubeviewer7077 Місяць тому +1

    Nice tkinter videos!
    To the viewers, this is the normal way of composing GUIs. You use all of the builtin widgets wrapped up into other widgets and use them in your code, even if only used once. For example an app might have a SideBar widget made up of several widgets or a StatusBar widget, or if you use an Entry with placeholder text and/or icons, your own Entry class. If you use "import tkinter as tk" or equivalent instead of splatting everything into the module namespace as shown here, you can use the same name as the tk widgets for your own classes (used like "yourapp.Entry" instead of "tk.Entry"). You can also use all of the tk constants instead of using literal strings, for example tk.BOTH instead of "btoh", or tk.NSEW instead of "nsew".

  • @bobblundell8595
    @bobblundell8595 9 місяців тому

    Thanks, I can see how this will be useful in future.

  • @AB-cd5gd
    @AB-cd5gd 10 місяців тому

    Very useful for tab system, can't wait for the video on floating overlay

    • @TkinterPython
      @TkinterPython  10 місяців тому

      There is no such thing so far as I know, without quite a bit of hacking around

    • @AB-cd5gd
      @AB-cd5gd 10 місяців тому

      @@TkinterPython yeah on last video I asked you and you said you'd make one video about it potentially

    • @TkinterPython
      @TkinterPython  10 місяців тому

      @@AB-cd5gd No, I told you I was doing a video on pack/grid forget that you could use to do that yourself...and I posted that video already a couple days ago. It shows and hides widgets, including frames. They don't hover.

    • @AB-cd5gd
      @AB-cd5gd 10 місяців тому

      @@TkinterPython Ah well, do you plan on doing a video for that? Because all of those things are like the basics and I wonder if you plan on doing advanced tutorials

    • @TkinterPython
      @TkinterPython  10 місяців тому

      @@AB-cd5gdthat video is what you use to do what you want.

  • @thebuggser2752
    @thebuggser2752 10 місяців тому

    A very useful feature. 😂. It gives you a lot of flexibility to create commonly used combinations of tkinter widgets.