Tooltips and lookandfeel
I was blown away by how easy tooltips works compared to Tkinter which does not support tooltips, and that annoyed me.
My other annoyances with tk were a lack of built in right-click menu, and toolbar, both of which I see PSG has got built in, not tried out yet though, but very excited about them.
I am experimenting with colors at the moment and having trouble finding colors that work with lookandfeel. So far I have found; Black, GreenTan, Green, Purple, LightGreen, Dark all work, not much else seems to, refering to the colors guide on the github page, https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Color-Guide.png
Maybe this feature isn't fully implemented yet? I can't find any info on this, or a list of what color schemes do work, it is a brilliant idea though.
Also i would love to be able to make the tooltips background yellow, it looks very nice on other GUI's. The pop up timing of the tooltips seem perfect too, good job.
Posted Jul 19, 2019, 10:48 PM UTC · edited
You'll have to fork and make modifications like tooltip background color.
The look and feel stuff was documented in the Announcements section, but I found that now I've got so many that they are hiding 100's of them. I need a better place for announcements as they are where new features are discussed.
Anyway, here's more info on look and feel:
To find the list of current entries, look at:
sg.LOOK_AND_FEEL_TABLE
As explained above, you can make your own entry. Just use the code here as an example, or look at your favorite ones by looping through the table and cycling through all the different values.
I'm right in the middle of doing a big doc update. Trying to get through the docstrings but having hard time this week keeping up.
I'm working on exposing the tooltip background color for you... give me a minute.
OK, you've got your tooltip background color change.
After your import, but before you create your layout, add this line of code:
Or whatever color string you want including the '#XXXXXX' format.
Download PySimpleGUI.py from the github and place in the same folder as your application (whatever imports PySimpleGUI).
You have to post screenshots of your application here and on the site in exchange for this.
Many thanks for your reply. First of all I looked at the lookandfeel list and found these color schemes, so thought I would share them.
Black, GreenTan, Green, Purple,LightGreen,Dark, TealMono, Dark2, DarkTanBlue, DarkAmber, DarkBlue, Kayak, Reds, BluePurple, BlueMono, SandyBeach, Reddit, Tan, Topanga, GreenMono, BrownBlue, BrightColors, NeutralBlue.
All tested and look good except maybe, NeutralBlue, looks green to me :-)
I am going to try out the tooltip now thanks.
[deleted]