Modern GUI Design with TTKBootstrap - Tkinter TTKBootstrap 1

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 117

  • @TkinterPython
    @TkinterPython  Před rokem +3

    ▶ Watch TTKBootstrap Playlist ✅ FREE Tkinter Widget Book
    bit.ly/3hphbwA bit.ly/3K4qlZC
    ▶ See More At: ✅ Subscribe To My CZcams 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

  • @izzyanalytics4145
    @izzyanalytics4145 Před rokem +44

    Great video. I’m the author of this library and I’m very much looking forward to seeing all this through someone else’s eyes as well as mining all the helpful feedback in the comment section. 😊

    • @TkinterPython
      @TkinterPython  Před rokem +11

      Awesome, I'm really enjoying the library so far...and I think everyone else here on the channel is too!

    • @Smart_Coder7
      @Smart_Coder7 Před 5 měsíci

      Hi, Can you pls tell me How to convert the GUI made of ttkbootstrap using Pyinstaller because I am facing some Problems.

  • @almighysanti3061
    @almighysanti3061 Před rokem +14

    Please more tutorials with this tkinter framework 😁👍🏽

  • @holycow4889
    @holycow4889 Před rokem +2

    Oh wow, looks awesome.
    I remember when CustomTkinter was the "big deal" but this library kills it all

  • @naseral-qaydeh9804
    @naseral-qaydeh9804 Před rokem +2

    I think that one of the best things that the CZcams algorithms suggested to me is your tkinter course, and here it is doing it again. Thank you very much John.
    I have a question please, when I'm trying to reduce the size of the Tk main window after executing the code, some of the widgets like disappear, knowing that I did make their sizes relative to the screen size (a percentage), how can I solve this problem.
    Excuse my mid level English if there is any mistake, and thank you in advance.

    • @TkinterPython
      @TkinterPython  Před rokem

      You're very welcome. When you resize the window you may have to explicitly resize the widgets using .config()

  • @JakkeJakobsen
    @JakkeJakobsen Před rokem

    I'm playing around with tkinter and Spotify API to generate playlists based on genres and release date filters, this came at a perfect time as CustomTKinter lacks too much!

  • @usmankhawar888
    @usmankhawar888 Před rokem +2

    Its great they considered Treeview as far as I know Custom Tkinter has no Treeview...
    I wonder when they'll consider modifiying the tilebar. Neither Tkinter nor Custom Tkinter and I am not sure about TTKBootstrap non has given the functionality to modify the Titlebar. You can just add logo or disable button (maximize, minimize etc) or go to full screen mode with no Title Bar. No where I found where you can actual style the Title bar

    • @TkinterPython
      @TkinterPython  Před rokem +2

      You have to disable it and then build your own titlebar. I have a video on that on the codemy channel.

    • @usmankhawar888
      @usmankhawar888 Před rokem

      @@TkinterPython Yes sir I know that. Just hoping that if they implement that would save a lot of hastle

  • @EFoxVN
    @EFoxVN Před rokem

    Ooohhh, this makes me excited. I can't wait for the new videos.
    Toodles!

  • @mahmoudabuzamel7038
    @mahmoudabuzamel7038 Před rokem

    Thank you! That was interesting as I would never have thought we can migrate bootstrap to desktop via tkinter!!!!

  • @yeisonrondon7394
    @yeisonrondon7394 Před rokem +1

    Thank you for the info! I'm definitely going to use it

  • @prayerlifecontinous
    @prayerlifecontinous Před rokem

    Too great impatient to see more videos from you to master this one! congrats !

  • @omoroot
    @omoroot Před 5 měsíci

    Thanks. Help me please. How to delete padding or margin (padx) into cell in ttkbootstrap.tableview.Tableview?

  • @sovereignlivingsoul
    @sovereignlivingsoul Před rokem +1

    i am not a fan of these css frameworks however as I am just starting to develop websites using python, I like the idea of using a css framework to help in the learning process, I started building websites before frameworks became popular and despite some experimentation with them, I still find hard coding my css to be a more stable way of design. I look forward to your future videos on this.

  • @francoisharmse8813
    @francoisharmse8813 Před 9 měsíci

    video 1 - already love this!

  • @Omgtired
    @Omgtired Před rokem

    Thanks man, your tutorial helped me getting started with tkinter.

  • @mechwarrior83
    @mechwarrior83 Před rokem

    Sounds like a great new playlist!

  • @epcg2media
    @epcg2media Před rokem

    YES! FINALLY!
    Thank you john

  • @RichardDamon
    @RichardDamon Před rokem

    This looks like.a good way to refresh an application to a newer look. That has been my biggest complaint with Tkinter.

  • @Geeky_gamer745
    @Geeky_gamer745 Před rokem +1

    Please More Tutorials on This Tkinter Framework😊🙂

  • @abdelafnin8843
    @abdelafnin8843 Před rokem +1

    Thank you for the info

  • @capability-snob
    @capability-snob Před rokem

    Wow, this is stunning!

  • @lioninaboxgames
    @lioninaboxgames Před rokem

    Thank you, your tutorials are always amazing!

  • @steveholder7289
    @steveholder7289 Před rokem

    I think the reason they suggest importing ttkbootstrap as ttk is that it makes it easy to port a project from ttk. In a project I just changed the import and it converted mostly flawlessly.

    • @TkinterPython
      @TkinterPython  Před rokem +1

      Interesting

    • @steveholder7289
      @steveholder7289 Před rokem +1

      @@TkinterPython Pretty sure the only parts that didn't was some custom style stuff.

  • @josesaumell2908
    @josesaumell2908 Před 11 měsíci

    This was very useful, Thank you!

  • @BeckyBenton
    @BeckyBenton Před 7 měsíci

    Terrific and useful tute!

  • @giovannigiorgio6026
    @giovannigiorgio6026 Před rokem +1

    Good video

  • @angelus806
    @angelus806 Před rokem

    You should have millions of suscribers!

  • @davidpimental6704
    @davidpimental6704 Před rokem

    Have you done much with the TableView? I'm trying to understand how to either get the selected row from binding a single / double click to the TableView, or editing the short-cut (right click) menu to add an additional / custom action to the menu? Any ideas / recommendations on that? Much Thanks, David

    • @TkinterPython
      @TkinterPython  Před rokem

      Yeah, I have a three hour deep dive video on it (well treeview, which is the same thing):
      czcams.com/video/xd0N5_u9mvs/video.html

    • @davidpimental6704
      @davidpimental6704 Před rokem

      @@TkinterPython I will watch it. But I'm looking for an answer to how to get the selected row of the TableView and how to set it to a binding or change the right click menu to add a custom action. Can you explain how to do this? Or do you explain it in your video?

    • @TkinterPython
      @TkinterPython  Před rokem +1

      @@davidpimental6704 lol You asked a question and I pointed you to the video. Figure it out man.

    • @davidpimental6704
      @davidpimental6704 Před rokem

      @@TkinterPython I looked at your code and I understand how you handle row selection in the TreeView widget and it all seems straightforward. Thanks for the video. However, the ttkbootstrap TableView widget is obviously not the same as the TreeView widget - it doesn't share the same properties as TreeView - for example, the selection property on the rows. There is no selection property on the TableView widget. But, if I can't figure that out, I'll use the TreeView widget, as you demonstrated, it acts the same way as the TableView widget.

  • @vladmakrov8394
    @vladmakrov8394 Před 9 měsíci

    Amazing tutorial, thanks a lot. I have a question, i would like to use the localization in French. (C:\Python310\Lib\site-packages\ttkbootstrap\localization\msgs.py) How can i do that in my main.py? Thank you again.

  • @fslurrehman
    @fslurrehman Před rokem

    That's what I was missing in tkinter. Though I know it's very powerful. I think it can create same ui and give same ux as pyqt can

  • @AndreiDante
    @AndreiDante Před 11 měsíci

    Why does nobody think about the need to get the meter current count?
    You can set the meter below 0 and can't create a rule that won't allow you to do so.

    • @TkinterPython
      @TkinterPython  Před 11 měsíci

      Are you maybe confused about where you're posting this comment? Of course you can create a rule to do anything you want with the meter. And you can get the 'amountused' anytime you want.

  • @BenceJBalogh
    @BenceJBalogh Před 5 měsíci

    Is this also super difficult/impossible to compile with pyinstaller using --onefile?

  • @rhornak2381
    @rhornak2381 Před rokem

    Amazing video thank you !

  • @Nadeemkhandir
    @Nadeemkhandir Před rokem

    i am using ttkbootstrap when my one page is destroyed and agian comback to that window the the bootstarp not working
    how to fix it

    • @TkinterPython
      @TkinterPython  Před rokem

      Sorry, don't know what you mean by "page" or by "destroyed".

  • @NamasenITN
    @NamasenITN Před rokem

    It seems you gave a lot of emphasis on the color themes. Is it worth it beyond that? I could not figure it out from your video.

    • @TkinterPython
      @TkinterPython  Před rokem

      Sorry, I don't know what you're talking about.

  • @eduardomarmolejo7681
    @eduardomarmolejo7681 Před rokem

    when i run my code it says no module named ttkbootstrap even though i downloaded it and confirmed. Maybe it's not in the right destination?

    • @TkinterPython
      @TkinterPython  Před rokem

      What do you mean by downloaded? To install it you use pip install.

  • @AmitShukla-vw2xs
    @AmitShukla-vw2xs Před rokem

    Hi,
    Lovely videos, truly inspiring.
    I have one request , can you please make a video on centralized log monitoring of application not system in tkinter 👍

    • @TkinterPython
      @TkinterPython  Před rokem

      logging isn't really my thing, I'm not a systems admin...

  • @yheetron6931
    @yheetron6931 Před rokem

    Awesome video I'm really excited to use this!
    One problem I'm having is when I run any program using ttkbootstrap the first time I run the program the styles on the widgets load in fine. Next time I run the program the styles don't load in and it looks like a normal tkinter widget again. Any idea why this might be happening? (I'm using the anaconda installation of spyder to write my python code so I'm wondering if it's an issue with spyder).
    Edit: The window theme (superhero in my case) also extends to all my other GUI programs even when they don't use ttkbootstrap so I wonder if something isn't closing right

    • @TkinterPython
      @TkinterPython  Před rokem

      There's no way that should even be possible. It could be an anaconda/spyder thing.

  • @NarenderSinghRai
    @NarenderSinghRai Před rokem

    All seems good .. but i am unable to fetch date from bootstrap DateEntry widget? Can you explain how to do that.. I read the module i can not see that it support fetching date from dateentry widget... I hope you see it and provide an explanation.

  • @centralcodingethiopia

    Thankful 🙏

  • @joaoalmirante4268
    @joaoalmirante4268 Před rokem

    Hey. First of all thanks for showing a good distro of tkinter. Do you know if this works on python 3.11?
    Because most of then not work on recent python version.

  • @mantazz679
    @mantazz679 Před rokem

    gotta love open source! Let's just ignore the old ttk widgets that everyone created their production code with, and create everything over again.

  • @HansMartin-yq9qz
    @HansMartin-yq9qz Před rokem

    is there a solid drag and drop designer, like in qt5 ?

  • @dustinalcantara5072
    @dustinalcantara5072 Před 6 měsíci

    where do i type the pip install ttkbookstrap?please reply thank u

  • @bsdooby
    @bsdooby Před rokem

    But can it be used with Tcl/Tk?

    • @Codemycom
      @Codemycom Před rokem +1

      What do you mean? This is specifically for Tkinter

  • @johnbennett1465
    @johnbennett1465 Před rokem

    I tried converting a simple tkinter program to use ttkbootstrap. Just switching the import mostly worked. The problem is that it quietly ignores my setting the background color and the border for my Canvas objects. If the options have changed, why don't I get an error? If they are correct, why don't they work?
    I am using borderwidth=2, bg='white', highlightbackground='black', highlightthickness=2 .
    I have tried to search for documentation, but found nothing related to what arguments Canvas expects.
    Thanks in advance for any help you can provide.

    • @TkinterPython
      @TkinterPython  Před rokem

      You can't expect to just load ttkbootstrap and everything works from your old code without making any changes. That's not how it's supposed to work. I will try to get into canvas stuff with this library at some point, but I don't have any videos on it at the moment.

    • @johnbennett1465
      @johnbennett1465 Před rokem

      @@TkinterPython I was expecting to get errors that I would have to fix. I was not expecting that parameters would be accepted but ignored. I was also not expecting a complete lack of documentation on what changes are needed. If such documentation exists, it is well hidden.

    • @TkinterPython
      @TkinterPython  Před rokem

      @@johnbennett1465 just use the regular tkinter canvas, or check the docs here: ttkbootstrap.readthedocs.io/en/latest/styleguide/legacywidgets/

    • @johnbennett1465
      @johnbennett1465 Před rokem

      @@TkinterPython thanks. I was using the TK version, but I missed seeing the autostyle=False part.

    • @johnbennett1465
      @johnbennett1465 Před rokem +1

      @@TkinterPython Just FYI, I only had to do the following changes to make my program work.
      Change
      from tkinter import ttk
      to
      import ttkbootstrap as ttk
      Change
      root = tk.Tk()
      to
      root = ttk.Window()
      Add autostyle=False in two places.
      So initial conversion is easy IF you know a few gotchas. I expect a larger program would run into a few more issues, but it is nice to quickly get it running. Figuring out the needed changes to the look is much easier once the code runs correctly.

  • @user-fc3pg5xn5l
    @user-fc3pg5xn5l Před 7 měsíci

    Does learning a TTkBootstrap replace learning tkinter?

  • @RobertLugg
    @RobertLugg Před rokem

    Does this work in TCL or specific to Python?

  • @contraplano3157
    @contraplano3157 Před rokem

    Flet is also Good?

    • @TkinterPython
      @TkinterPython  Před rokem

      Flet is for flutter, it has nothing to do with tkinter.

    • @contraplano3157
      @contraplano3157 Před rokem

      @@TkinterPython Flet is a framework that allows building interactive multi-user web, desktop and mobile applications in your favorite language without prior experience in frontend development.
      You build a UI for your program with Flet controls which are based on Flutter by Google. Flet does not just "wrap" Flutter widgets, but adds its own "opinion" by combining smaller widgets, hiding complexities, implementing UI best-practices, applying reasonable defaults - all to ensure your apps look cool and professional without extra efforts.

    • @contraplano3157
      @contraplano3157 Před rokem

      It is just one more Gui. I just asked your opinion about it.

    • @TkinterPython
      @TkinterPython  Před rokem

      @@contraplano3157 I know what flet is.

  • @Arn-kg5tf
    @Arn-kg5tf Před rokem

    Widget canvas or windows....wich may be AT thé toplevel.
    Searching controls for scada and industrial system, animated pump, l'AMP etc...
    this may not bé helphful, the canvas IS more low level and more extensible also this widget may bé cool for chose color..

  • @aztrodj82
    @aztrodj82 Před rokem

    Will tkinter compile for mobile?

    • @TkinterPython
      @TkinterPython  Před rokem

      No

    • @Arn-kg5tf
      @Arn-kg5tf Před rokem

      Yes its work for me using pydroid, trouble begins with file system that smells Google control over your data...especially sqlite3 but its work great!! In fact python does what java had promise . I made voice recognize to control plc on Android studio that IS thé worst programming i v e made ...java no more !! Google voice recognize no more. Microsoft sapi 5 had been simple for use but Microsoft need to change thing that works...

  • @user-rr2vs8zl4u
    @user-rr2vs8zl4u Před rokem

    Thank you~~ As Always~~