Commit Graph

384 Commits

Author SHA1 Message Date
Tom Schimansky
0da9a17b55 added border_color, border_width to configure of CTkFrame 2022-05-22 21:05:46 +02:00
Tom Schimansky
8cafed1b06 changed root_tk name to app in all exmaples and tests 2022-05-22 20:26:31 +02:00
Tom Schimansky
0c7abdaec5 Bump to 4.0.1 2022-05-22 19:56:51 +02:00
Tom Schimansky
a1cd4abddd fixed scaling update of CTkLabel 2022-05-22 19:56:18 +02:00
Tom Schimansky
eeeb85ec0d added state to CTkEntry, completed test for widget state 2022-05-22 19:45:42 +02:00
Tom Schimansky
df1420cd02 added disabled state to CTkSwitch 2022-05-22 17:11:15 +02:00
Tom Schimansky
b5aa46ffd1 Bump to 4.0.0 2022-05-22 02:18:30 +02:00
Tom Schimansky
287abff39b version scheme fix 2022-05-22 02:17:43 +02:00
Tom Schimansky
325864c0d1 small fixes 2022-05-22 02:12:13 +02:00
TomSchimansky
fef64638c8 small fixes in CTkToplevel and CTkInputDialog 2022-05-22 01:55:58 +02:00
TomSchimansky
7992f0bdf6 Merge remote-tracking branch 'origin/master' 2022-05-22 00:03:15 +02:00
TomSchimansky
35bdbed95c restructured settings, small scaling fixes in CTk 2022-05-22 00:02:45 +02:00
Tom Schimansky
fbec0a226f Merge remote-tracking branch 'origin/master' 2022-05-21 23:42:10 +02:00
Tom Schimansky
b66b059c2e added Windows_scaling.png image 2022-05-21 23:41:29 +02:00
TomSchimansky
4b48bf57b2 fixed font loading init 2022-05-21 00:25:07 +02:00
Tom Schimansky
afe44f4ff7 created FontManager and restructured __init__.py 2022-05-17 21:44:59 +02:00
Tom Schimansky
eec16e4509 fixed color bug when CTkEntry was disabled 2022-05-17 18:59:33 +02:00
Tom Schimansky
b21c3fa19a added orientation for CTkSLider, CTkProgressBar 2022-05-16 16:51:19 +02:00
Tom Schimansky
a688d07b2a fixed CTkRadioButton bug with variable 2022-05-12 23:56:00 +02:00
Tom Schimansky
b99f384241 fixed small scaling issues 2022-05-12 22:55:28 +02:00
FTE
793be54b38 fixed progressbar_progress color
from "progressbar_progress": ["#608BD5", "#395E9C"] to
    "progressbar_progress": ["#363844", "#363844"],
2022-05-09 17:05:08 -03:00
FTE
d4bae30fbc Added new theme
Added new theme inpired by Sweet Theme: new sweetkind.json and added sweetkind to built_in_themes inside theme_manager
2022-05-09 16:50:54 -03:00
Tom Schimansky
72823a41bc added iconify test 2022-05-06 14:33:38 +02:00
Tom Schimansky
3eb0d411c5 fixed simple_example.py 2022-05-05 20:25:37 +02:00
Tom Schimansky
8c0f1d2c43 fixed complex example 2022-05-04 15:39:13 +02:00
Tom Schimansky
9ee5e3b7f2 fixed complex example 2022-05-04 15:38:13 +02:00
Tom Schimansky
e0eebac62c fixed scaling 2022-05-01 23:38:02 +02:00
Tom Schimansky
cb12711b5c completed scaling 2022-05-01 23:29:14 +02:00
Tom Schimansky
c3c7d1a5de Merge remote-tracking branch 'origin/master'
# Conflicts:
#	examples/simple_example.py
2022-04-21 20:31:37 +02:00
Tom Schimansky
245a8d81bc fixed scaling issues 2022-04-21 20:30:46 +02:00
TomSchimansky
c3b50239b1 fixes for Windows 2022-04-21 18:45:51 +02:00
Tom Schimansky
6342bf8034 added scaling to every widget 2022-04-21 18:34:58 +02:00
Tom Schimansky
59a8574f4c Merge branch 'test_scaling'
# Conflicts:
#	customtkinter/widgets/ctk_button.py
#	customtkinter/widgets/ctk_checkbox.py
#	customtkinter/widgets/ctk_entry.py
#	customtkinter/widgets/ctk_label.py
#	customtkinter/widgets/ctk_progressbar.py
#	customtkinter/widgets/ctk_radiobutton.py
#	customtkinter/widgets/ctk_slider.py
#	customtkinter/widgets/ctk_switch.py
#	customtkinter/widgets/customtkinter_frame.py
2022-04-21 09:42:24 +02:00
Tom Schimansky
992d0cbff0 moved base functionality of widgets to widget_base_class.py 2022-04-20 22:50:57 +02:00
Tom Schimansky
17d4b9fcba added scaling tracker 2022-04-19 00:01:33 +02:00
Tom Schimansky
fc15b53c7f changed theme blue colors 2022-04-15 18:05:08 +02:00
Tom Schimansky
a062525a00 removed self.canvas from winfo_children of CTkFrame 2022-04-13 16:02:10 +02:00
TomSchimansky
efbfd8a7f6 slight change of blue theme colors 2022-04-10 23:10:40 +02:00
Tom Schimansky
938efcd59b extended test_ttk_frames.py 2022-04-10 20:52:00 +02:00
Tom Schimansky
2d8e07ab6c fixed bug in CTkButton with image 2022-04-10 19:56:42 +02:00
Tom Schimansky
607f247a1a new directory structure 2022-04-09 21:45:57 +02:00
TomSchimansky
7cdf3fd98d new detect_color_of_master function on all widgets 2022-04-09 21:23:35 +02:00
Tom Schimansky
cdbf2382ef progress on test_ttk_frames.py 2022-04-09 19:37:07 +02:00
Tom Schimansky
7da9c73115 removed pypi readme 2022-04-06 23:09:54 +02:00
Tom Schimansky
2538fd9475 removed pyglet requirement 2022-04-06 00:31:35 +02:00
TomSchimansky
c277fc48bc removed pyglet and added new font loading method 2022-04-05 23:23:20 +02:00
Tom Schimansky
a4e8d30535 renaming files 2022-04-05 22:55:22 +02:00
Tom Schimansky
f78eda9744 fixed font loading for linux 2022-03-11 13:15:47 +01:00
Tom Schimansky
3923fc7b28 new Readme.md 2022-03-10 20:27:01 +01:00
TomSchimansky
15ecf18449 fixed state in multiple widgets 2022-03-10 02:12:30 +01:00
Tom Schimansky
a5e2f2d39a refined CTkCheckbox checkmark for polygon rendering 2022-03-09 21:32:27 +01:00
TomSchimansky
9acd0c42df added checkmark to CTkCheckbox 2022-03-09 14:49:44 +01:00
TomSchimansky
2ab5b7e19f updatet complex_example.py with switches 2022-03-08 17:33:51 +01:00
Tom Schimansky
3285eba2ef added CTkSwitch 2022-03-08 15:03:47 +01:00
TomSchimansky
4b31e4dd0e updated readme for new wiki 2022-03-07 23:00:50 +01:00
TomSchimansky
d4ffd986e0 updated green and dark-blue theme 2022-03-06 23:30:20 +01:00
Tom Schimansky
0d32213325 refined CTkRadioButton and complex_example.py, version 3.3 2022-03-05 13:05:39 +01:00
TomSchimansky
6c976245aa font character mapping for Windows 11, added , refined CTkDrawEngineCTkRadioButton 2022-03-05 02:01:07 +01:00
Tom Schimansky
d0592340a6 version 3.0 2022-03-02 01:01:14 +01:00
TomSchimansky
9ed461e04c dark-blue, green theme in .json, new font .otf file for circles 2022-03-02 00:53:58 +01:00
Tom Schimansky
ecd4881ffb small fixes 2022-03-01 19:10:18 +01:00
TomSchimansky
afc8ce8c3d theme fixes 2022-03-01 16:17:39 +01:00
TomSchimansky
965a7ff87d finished CTkDrawEngine for all current widgets 2022-03-01 16:12:55 +01:00
TomSchimansky
bb1fe25625 changed CTkThemeManager to json file loading system 2022-02-28 00:35:52 +01:00
TomSchimansky
4a0b0a9c71 added Roboto font 2022-02-24 00:21:37 +01:00
TomSchimansky
a52599bf53 created DrawEngine, drawing CTkButton, CTkFrame, CTkEntry, CTkLabel, CTkCheckBox now with the DrawEngine 2022-02-24 00:19:40 +01:00
TomSchimansky
b3d43bff10 added font drawing to CTkCheckBox 2022-02-23 01:47:34 +01:00
TomSchimansky
cb153b58cf rewrote CTkCheckBox drawing with tags 2022-02-22 23:50:03 +01:00
TomSchimansky
9996e51c1a add font rendering to button, finished 2022-02-22 22:38:40 +01:00
TomSchimansky
5bbcb1c617 add font rendering to button, not finished yet 2022-02-22 14:36:36 +01:00
TomSchimansky
5007d16df3 fixed CTkDialog example for Windows 2022-02-21 16:05:05 +01:00
Tom Schimansky
356ed917be fixed CTkDialog 2022-02-21 15:48:59 +01:00
TomSchimansky
16859991eb added CTkToplevel, fixed CTk dark titlebar changes 2022-02-21 15:35:08 +01:00
Tom Schimansky
0e845cf281 add tests 2022-02-21 15:19:04 +01:00
Tom Schimansky
7b32be8c76 hide window while titlebar changes on Windows 2022-02-18 14:33:45 +01:00
Tom Schimansky
dd5601ce64 added dark titlebar on Windows 2022-02-17 16:39:39 +01:00
Tom Schimansky
a8b9b4290c fixed bug in CTkEntry, aligned text in CTkCheckBox 2022-02-08 20:59:50 +01:00
Tom Schimansky
5f9c30aeaf added placeholder text to CTkEntry 2022-02-04 21:28:37 +01:00
Tom Schimansky
f5cac7b978 added text_font argument to CTkEntry 2022-01-29 23:55:48 +01:00
Tom Schimansky
8625fbb0f6 added border color to CTkButton 2022-01-23 17:40:02 +01:00
Tom Schimansky
6d007e1769 fixed bug when resizing CTkButton and CTkEntry in grid, added auto resizing to CTkSlider and CTkProgressBar, changed Readme 2022-01-23 17:06:34 +01:00
Tom Schimansky
f15e620334 changed images in Readme 2022-01-22 12:00:29 +01:00
Tom Schimansky
c9b9f1a8c3 added auto resizing for CTkFrame, CTkLabel and CTkEntry, improved text alignment of CTkEntry 2022-01-17 23:23:47 +01:00
Tom Schimansky
6eb0d92ddd added tkinter variables to all possible CTk widgets 2022-01-16 16:54:21 +01:00
Tom Schimansky
587a597e6b added command to .configure() of CTkButton and CTkCheckBox 2022-01-08 13:13:10 +01:00
Tom Schimansky
243bedb8c9 updated readme 2022-01-08 00:50:31 +01:00
Tom Schimansky
daf64a12b4 added different default color themes 2022-01-08 00:29:53 +01:00
Tom Schimansky
2fa7a519ea fixed numerous bg_color bugs, added complete_test.py for color testing, changed AppearanceModeTracker to non-threaded approach with tk.after() 2022-01-07 20:54:45 +01:00
Tom Schimansky
53c0b00bab fixed bug when button click destroys button itself (version 1.8) 2022-01-02 12:14:46 +01:00
Tom Schimansky
b262ddb39b readme fix and new version (1.7) 2022-01-01 22:39:17 +01:00
Tom Schimansky
af73c9ad5f readme update for CTk class and bug fix for .destroy() for all widgets 2022-01-01 22:16:06 +01:00
Tom Schimansky
063c1f8b6a added CTk class which overrides tkinter.Tk for automatic background color changes 2021-12-31 19:07:53 +01:00
Tom Schimansky
afc177ddbb fixed rendering bug in CTkSlider and modified complex examples 2021-12-31 00:22:32 +01:00
Tom Schimansky
58108482c8 small example modifications 2021-12-28 18:35:45 +01:00
Tom Schimansky
9124314e97 small example modifications 2021-12-28 18:26:29 +01:00
Tom Schimansky
9109663848 added .configure() to CTkSlider 2021-12-22 10:48:41 +01:00
Tom Schimansky
b7fc6f3ad9 added number_of_steps argument for CTkSlider 2021-12-20 11:55:07 +01:00
Tom Schimansky
8fb9372d0e add progress color for CTkSlider 2021-12-13 21:54:44 +01:00
Tom Schimansky
61eba796fa updated documentation 2021-12-04 12:54:57 +01:00
Tom Schimansky
e6d71058aa added screenshots for Windows 2021-11-10 23:18:04 +01:00
Tom Schimansky
4301419228 improved CTkSlider and CTkCheckBox rendering 2021-11-10 22:17:49 +01:00
Tom Schimansky
47f7c3189f improved CTkProgressBar rendering 2021-11-10 20:54:53 +01:00
Tom Schimansky
ab1dafc20c CTkButton rendering bug fixed 2021-11-10 13:12:09 +01:00
Tom Schimansky
b12e735598 polygon and oval + rect render methods exist both now 2021-11-10 12:15:39 +01:00
Tom Schimansky
ec2499cb2f improved button rendering with polygons instead of ovals and rects 2021-11-10 00:06:34 +01:00
Tom Schimansky
eb849991b4 improved button rendering with polygons instead of ovals and rects 2021-11-10 00:03:08 +01:00
Tom Schimansky
d33e4e53e0 improved CTkButton code 2021-11-07 15:12:09 +01:00
Tom Schimansky
63df9c296b improved button resize performance, no deleting of canvas components, just position changes 2021-11-07 00:01:17 +01:00
Tom Schimansky
a6e8e52710 restructured color changing with configure methods 2021-11-06 22:06:27 +01:00
Tom Schimansky
02abcac558 added compound to CTkButton, restructured some code in CTkButton for better readability 2021-11-06 00:35:07 +01:00
Tom Schimansky
ba1bf8c4b8 changed function names to lower case 2021-11-05 12:21:55 +01:00
Tom Schimansky
e74ef355aa added padding for the CTkButton text label 2021-11-04 23:32:18 +01:00
Morgan Thibert
ea7a5618a0 [functionality] add pack support for position of customCTkButton 2021-11-04 16:20:08 +01:00
Tom Schimansky
041a08a001 readme update 2021-10-15 13:57:38 +02:00
Tom Schimansky
7b7f669c49 fixed pointinghand bug in CTkCheckBox 2021-10-11 13:28:21 +02:00
Tom Schimansky
3deeb2a1b6 updated version 2021-09-14 14:48:17 +02:00
Tom Schimansky
ac0aa465d4 updated slider, label 2021-09-13 14:27:29 +02:00
Tom Schimansky
b4f8166940 updated documentation images 2021-08-25 17:33:44 +02:00
Tom Schimansky
ccd1040329 added CTkCheckBox 2021-08-25 17:02:16 +02:00
Tom Schimansky
ee5a19e55d button state functionality 2021-07-23 00:44:13 +02:00
Tom Schimansky
54ede3a548 added darkdetect Windows and Linux support 2021-07-13 11:23:34 +02:00
Tom Schimansky
7f67c833fb Readme added gif 2021-03-14 15:45:02 +01:00
Tom Schimansky
e2b2db08df CTkButton improved 2021-03-12 12:15:38 +01:00
Tom Schimansky
365362fc0c CTkButton improved 2021-03-08 18:30:25 +01:00
Tom Schimansky
df05fa3a81 readme changed 2021-03-08 18:28:40 +01:00
Tom Schimansky
83421abcb5 added image support for CTkButton 2021-03-08 18:17:36 +01:00
Tom Schimansky
87df764002 darkdetct 2021-03-06 17:33:38 +01:00
Tom Schimansky
cf7242ef06 darkdetct 2021-03-06 13:47:49 +01:00
Tom Schimansky
3582cdb875 readme change 2021-03-05 21:05:53 +01:00
Tom Schimansky
8370521d2a readme change 2021-03-05 20:40:25 +01:00
Tom Schimansky
04a688f71e readme change 2021-03-05 20:27:34 +01:00
Tom Schimansky
5fc3d1f271 readme wiki 2021-03-05 00:32:17 +01:00
Tom Schimansky
d9480d7fef readme wiki 2021-03-04 23:39:09 +01:00
Tom Schimansky
d43a35e670 first main 2021-03-04 18:27:46 +01:00