Commit Graph

338 Commits

Author SHA1 Message Date
TomSchimansky
64c8b8345d fixed bug when configuring place_holder in CTkEntry widget #330 2022-09-13 21:47:50 +02:00
Tom Schimansky
9a144bfc6b small fixes 2022-08-19 00:18:01 +02:00
TomSchimansky
d9db3b64af fixed withdraw and iconify functionality for CTk and CTkToplevel #277 #305 #302 2022-08-19 00:13:00 +02:00
TomSchimansky
2db46afaf0 fixed withdraw and iconify functionality for CTk window before mainloop or update #277 #305 #302 2022-08-16 18:14:30 +02:00
Tom Schimansky
8c9183006c added text_font configuration for all CTk widgets #266 2022-08-16 14:05:15 +02:00
Tom Schimansky
deebaa9163 enhanced geometry string parsing for CTk and CTkToplevel #345 #287 2022-08-05 20:38:05 +02:00
TomSchimansky
73ab410a96 Merge remote-tracking branch 'origin/master' 2022-08-05 15:37:42 +02:00
TomSchimansky
9bdf2436f5 CTk scaling fixes for Windows 2022-08-05 15:37:23 +02:00
Tom Schimansky
91efc0ffc1
Merge pull request #352 from splewdge/master
Fix for issue #351
2022-08-05 08:49:38 -04:00
Tom Schimansky
99550ab7fd Merge remote-tracking branch 'origin/master' 2022-08-05 14:23:22 +02:00
Tom Schimansky
46b20d6605 fixed bug in CTkBaseClass #354 2022-08-05 14:23:06 +02:00
splewdge
013e186ca6
Update ctk_button.py 2022-08-04 12:27:27 +01:00
FTE
4516a5edb1
added white version of sweetkind
added white version of sweetkind
2022-08-02 14:51:28 -03:00
FTE
bd19d2f3e6
added white variant 2022-08-02 14:48:31 -03:00
Tom Schimansky
ec8cecb575 fixed window closing returning None of CTkInputDialog 2022-07-25 11:25:48 +02:00
Tom Schimansky
156a1863f5 Bump to 4.5.10 2022-07-23 20:03:59 +02:00
Tom Schimansky
e295674e00 fixed bug in CTkLabel with multiline strings 2022-07-23 19:09:53 +02:00
Tom Schimansky
36702326fa fixed checkbox size bug when rescaling 2022-07-18 13:02:39 +02:00
Tom Schimansky
3bee19f8ce Bump to 4.5.9 2022-07-18 12:34:43 +02:00
Tom Schimansky
ac6fb661a4 removed print from CTk 2022-07-18 12:34:27 +02:00
Tom Schimansky
1a57294ae9 Bump to 4.5.8 2022-07-17 21:45:45 +02:00
Tom Schimansky
ddd49377d4 fixed geomtry method for CTk and CTkToplevel 2022-07-17 21:45:29 +02:00
Tom Schimansky
6bfddda399 Bump to 4.5.7 2022-07-17 21:41:28 +02:00
Tom Schimansky
67f2072e07 added return value of geometry method for CTk and CTkToplevel 2022-07-17 21:41:13 +02:00
Tom Schimansky
228729305b Bump to 4.5.6 2022-07-17 20:35:12 +02:00
Tom Schimansky
d9ff3d998c fixed command function bug in CTkSwitch 2022-07-17 20:34:54 +02:00
Tom Schimansky
6a43dfd9bf added corner_radius to .configure() of CTkButton 2022-07-14 13:57:02 +02:00
Tom Schimansky
db4f5ec919 Bump to 4.5.5 2022-07-12 21:57:50 +02:00
Tom Schimansky
78f4e1e2ee Merge remote-tracking branch 'origin/master' into develop 2022-07-12 21:54:29 +02:00
Tom Schimansky
acaeceb96d added methods to CTkTextbox 2022-07-12 21:52:52 +02:00
Ripeey
d45904b1e4
Update missing scrollbar configs in green and sweetkind themes. 2022-07-11 04:57:39 +05:30
Ripe
4fbcce75a0
Update dark-blue.json 2022-07-10 23:19:14 +05:30
Tom Schimansky
92de2c4183 fixed CTkButton fg_color type hint 2022-07-07 18:23:50 +02:00
Tom Schimansky
1c5c3450f9 Bump to 4.5.4 2022-07-07 18:22:39 +02:00
Tom Schimansky
c95c0b7050 added readonly state to CTkComboBox 2022-07-07 18:19:23 +02:00
Tom Schimansky
de33629e7d fixed entry placeholder for textvariables and added test_entry_placeholder.py 2022-07-07 18:07:54 +02:00
Tom Schimansky
162997c7da added type hints to CTkButton 2022-07-07 16:21:30 +02:00
Tom Schimansky
767379462e enhanced .configure() process for all widgets 2022-07-07 16:02:51 +02:00
Tom Schimansky
a2fcb5dee1 fixed variables for CTkCheckbox, CTkSwitch, CTkRadiobutton 2022-07-05 14:39:12 +02:00
Tom Schimansky
f9890ba3e9
Merge branch 'master' into master 2022-07-02 08:14:20 -04:00
Tom Schimansky
cdaf8f5f5c changed default CTkLabel corner_radius for better positioning 2022-07-02 14:10:41 +02:00
Tom Schimansky
7e8bbf2968 Bump to 4.5.3 2022-07-02 01:11:54 +02:00
Tom Schimansky
a3fb12f7cf Fixed textvariable support for CTkCheckBox, CTkSwitch, CTkRadiobutton 2022-07-02 00:54:21 +02:00
Tom Schimansky
bb6678ae15 added support for anchor attribute in CTkLabel 2022-07-01 22:09:45 +02:00
Tom Schimansky
b30692d1af Bump to 4.5.2 2022-07-01 21:39:19 +02:00
Tom Schimansky
21448d3a07 Merge branch 'master' into develop 2022-07-01 21:38:51 +02:00
Tom Schimansky
1f030f04f9 fixed placeholder_text bug for CTkEntry 2022-07-01 21:30:31 +02:00
Tom Schimansky
c9653e7793 fixed updating of bg_color with set_scaling in CTkBaseClass 2022-06-30 15:53:32 +02:00
Tom Schimansky
f587109618 Bump to 4.5.1 2022-06-28 11:33:21 +02:00
Tom Schimansky
2a0ae06426 made CTkBaseClass public 2022-06-28 11:28:11 +02:00
Tom Schimansky
16b9ce3c5f added .focus() for CTkEntry 2022-06-28 11:26:43 +02:00
Tom Schimansky
e15bc5933d fixed scaling issues for combobox and optionemnu, chatched error in appearance_mode_tracker 2022-06-28 11:16:28 +02:00
Tom Schimansky
b891032e2e Bump to 4.5.0 2022-06-23 22:18:06 +02:00
TomSchimansky
28308065bc fixed horizontal scrollbar for Windows 2022-06-23 22:14:19 +02:00
Tom Schimansky
d4ae8cab7d fixed optionmenu and combobox bugs 2022-06-23 21:05:44 +02:00
Tom Schimansky
ec3fdc40ff fixed scrollbar for horizontal orientation 2022-06-23 17:41:12 +02:00
Tom Schimansky
a7b175ae65 changed scrollbar colors, added custom exception message for pyinstaller file problem 2022-06-20 23:44:35 +02:00
TomSchimansky
43900c7fef fixed scrollbar for Windows 2022-06-19 22:12:19 +02:00
Tom Schimansky
79ecd2e946 added CTkScrollbar 2022-06-19 21:16:19 +02:00
tschiman
3b259e4d01 refined dropdown word spacing for linux 2022-06-16 16:55:17 +02:00
TomSchimansky
7a99aa318c fixed disabled color for combobox 2022-06-15 18:31:20 -04:00
TomSchimansky
9ff6cc8268 optimized char mapping on canvas for Linux 2022-06-15 18:15:24 -04:00
Tom Schimansky
3a1d12f8ea removed old dropdown menu 2022-06-15 23:26:21 +02:00
tschiman
45e47f5970 fixed dropdown menu bug on Linux 2022-06-15 14:51:24 +02:00
Tom Schimansky
0e510dec53 Bump to 4.4.0 2022-06-15 02:08:28 +02:00
Tom Schimansky
fc952294f0 chnaged complex_example.py and fixed command-variable execution order in CTkSlider 2022-06-15 02:07:51 +02:00
Tom Schimansky
d8b5104028 adopted new dropdown menu for combobox 2022-06-15 01:24:02 +02:00
TomSchimansky
20e16969f2 fixed dropdown_menu_fallback.py for Linux 2022-06-14 18:31:10 -04:00
Tom Schimansky
a86dbd4d07 fixed dropdown_menu_fallback.py for macOS 2022-06-15 00:14:35 +02:00
TomSchimansky
413cedd093 refined dropdown_menu_fallback.py 2022-06-14 23:58:21 +02:00
Tom Schimansky
91e7e3077c enhanced dropdown_menu_fallback.py 2022-06-13 15:08:13 +02:00
Mohsen Sadi
4cf6a9f5c9 ctk_radiobutton command blocked if disabled 2022-06-08 07:24:24 -04:00
Mohsen Sadi
6e36ec818e checkbox.check_state initialization fixed 2022-06-08 07:11:52 -04:00
Mohsen Sadi
0f7cb22b1b Enhanced checkbox functionality 2022-06-05 06:32:11 -04:00
Tom Schimansky
9c479bc1de Bump to 4.3.0 2022-06-02 01:25:21 +02:00
Tom Schimansky
ecf6b8d9cf added combobox values to themes 2022-06-02 01:25:13 +02:00
TomSchimansky
807064a888 ComboBox and DropDown fixes for Windows 2022-06-02 00:15:24 +02:00
Tom Schimansky
550653c6c3 small fixes for CTkComboBox 2022-06-01 23:50:50 +02:00
TomSchimansky
a9f51f1aa1 fixed CTkComboBox for Windows 2022-05-31 22:44:22 +02:00
Tom Schimansky
2746e2a05f added CTkComboBox 2022-05-31 22:32:21 +02:00
Tom Schimansky
f5fdd77584 Bump to 4.2.0 2022-05-30 17:30:27 +02:00
Tom Schimansky
940ed128bd fixed geometry string scaling 2022-05-30 17:20:27 +02:00
Tom Schimansky
60b13bf215 fixes for DropdownMenu 2022-05-30 16:46:36 +02:00
Tom Schimansky
15558b4d0f added dropdown arrow with font files 2022-05-30 15:35:23 +02:00
Tom Schimansky
cf6f513afc added click support for labels of CTkCheckBox, CTkRadioButton, CTkSwitch 2022-05-30 13:39:10 +02:00
Tom Schimansky
9d618386e1 fixed scaling for DropdownMenu 2022-05-27 01:09:54 +02:00
TomSchimansky
9bd55cc159 implemented overwrite_preferred_drawing_method parameter in DrawEngine 2022-05-27 00:30:06 +02:00
Tom Schimansky
8a87b6f926 updated color for blue theme 2022-05-27 00:12:37 +02:00
Tom Schimansky
a1afc3056b removed scaling with ctypes shcore for Windows < 8.1 2022-05-26 19:16:01 +02:00
TomSchimansky
34da9505e9 DropDown fixes for Windows 2022-05-25 22:40:30 +02:00
Tom Schimansky
91a8687736 added DropdownMenu and CTkOptionMenu 2022-05-25 22:14:38 +02:00
Tom Schimansky
e96165d212 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	customtkinter/draw_engine.py
2022-05-25 18:42:42 +02:00
TomSchimansky
aa8c96a2c4 added overwrite_preferred_drawing_method parameter to DrawEngine 2022-05-25 18:40:07 +02:00
Tom Schimansky
fd8135129c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	test/manual_integration_tests/test_new_menu_design.py
2022-05-25 18:38:49 +02:00
TomSchimansky
5f88db11aa updated test_new_menu_design.py 2022-05-25 18:37:55 +02:00
Tom Schimansky
1fed35a193 added draw_rounded_rect_with_border_vertical_split() function to DrawEngine 2022-05-25 17:04:00 +02:00
Tom Schimansky
f49c83d2dc Bump to 4.1.0 2022-05-24 01:03:14 +02:00
Tom Schimansky
4389c3e86b added configurable dimensions to some widgets 2022-05-24 01:00:58 +02:00
Tom Schimansky
25297c2598 Bump to 4.0.4 2022-05-23 22:35:57 +02:00
Tom Schimansky
4e155aedd6 fixed bug in fg_color detection of master 2022-05-23 22:35:38 +02:00
Beniamin Pel
e42db49ca5 Fixed loading fonts on linux 2022-05-23 16:16:09 +02:00
Tom Schimansky
a7c0fc2a3c Bump to 4.0.3 2022-05-23 11:01:38 +02:00
demberto
a6b563abb1 Fixes #101 2022-05-23 11:21:09 +05:30
Tom Schimansky
152a2a9652 Bump to 4.0.2 2022-05-22 21:05:56 +02:00
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