Commit Graph

384 Commits

Author SHA1 Message Date
Tom Schimansky
205cdae5f9 added move() method to CTkTabview 2022-10-14 19:58:16 +02:00
Tom Schimansky
103358d037 added move() method to CTkSegmentedButton 2022-10-14 19:49:18 +02:00
Tom Schimansky
53c7e1a3c2 added configure and cget to CTkTabview 2022-10-14 19:36:52 +02:00
Tom Schimansky
362fcbaf13 added additional force_focus call for CTk and CTkToplevel on macOS to fix bug where window disappears when window is selected from Mission Control 2022-10-14 19:26:16 +02:00
Tom Schimansky
5977dcbaeb added _set_dimensions method to every widget, now called from CTkBaseClass, added separate width and height attributes for small canvas in CTkCheckbox, CTkRadioButton, CTkSwitch 2022-10-14 18:51:44 +02:00
Tom Schimansky
eabfa67335 moved width and height configuring to CTkBaseClass 2022-10-14 12:52:07 +02:00
Tom Schimansky
6ba384eb0b finished basic tabview mechanics 2022-10-14 01:15:35 +02:00
Tom Schimansky
7abdf21021 decreased border with and padding for tkinter.Label in CTkButton, CTkLabek, CTkOptionMenu 2022-10-13 17:28:33 +02:00
Tom Schimansky
466ba7747e worked on CTkTabview, fixed small issues 2022-10-10 00:48:08 +02:00
TomSchimansky
dbf5577cf0 removed print from CTkSegmentedButton 2022-10-08 13:50:11 +02:00
Tom Schimansky
327957e97a finished CTkSegmentedButton, created test_segmented_button.py 2022-10-08 01:50:09 +02:00
Tom Schimansky
1696016d54 Merge remote-tracking branch 'origin/develop' into develop 2022-10-07 17:04:14 +02:00
TomSchimansky
db58423253 fixed dropdown menu configuring 2022-10-07 16:54:46 +02:00
Tom Schimansky
63195943b2 added master kwarg for all widgets and removed *args 2022-10-06 15:53:52 +02:00
Tom Schimansky
4616561c13 added focus wrapper functions to all widgets 2022-10-05 21:11:46 +02:00
Tom Schimansky
44323affa2 fixed textbox border spacing 2022-10-05 19:06:40 +02:00
Tom Schimansky
4e20fb01d7 updated changelog 2022-10-05 18:51:42 +02:00
Tom Schimansky
0cbec6fea1 finished textbox, combined CTkTextbox and CTkScrolledTextbox into one class, enhanced test_text.py 2022-10-05 18:39:45 +02:00
Tom Schimansky
14b39aa7b4 added CTkScrolledTextbox 2022-10-05 10:35:41 +02:00
Tom Schimansky
35265fb675 added all textbox methods, fixed input dialog geometry grid 2022-10-04 20:17:56 +02:00
Tom Schimansky
2964b39410 enhanced bind and unbind with double bind call on two tkinter widgets for some CTk widgets 2022-10-04 16:55:34 +02:00
Tom Schimansky
8b85225133 fixed typo in all unbind methods 2022-10-04 03:16:59 +02:00
Tom Schimansky
40474d6905 added unbind method for all widgets, fixed bind methods, fixed textbox configure 2022-10-04 03:03:43 +02:00
Tom Schimansky
12f0942e73 added bind method to all widgets, added kwargs managing for CTkLabel 2022-10-04 02:26:29 +02:00
Tom Schimansky
1374e04f04 removed .config(), added kwargs managing and filtering, added kwargs exceptions, fixed cursor color for combobox 2022-10-03 23:50:59 +02:00
Tom Schimansky
bfc42c25ef Added .cget() methods to all widgets and changed text_font to font for all widgets 2022-10-03 00:33:06 +02:00
Tom Schimansky
8b6f9a1d7e added .config method to all widgets 2022-10-02 03:59:54 +02:00
Tom Schimansky
d103fc42f1 added cget method to base class and button #395 2022-10-02 03:53:27 +02:00
Tom Schimansky
d6075ad544 added type hints and private hints to all widget classes, fixed #497, removed get and set methods from some widgets 2022-10-02 03:23:10 +02:00
TomSchimansky
5717fc68e2 Merge remote-tracking branch 'origin/master' 2022-09-21 09:36:09 +02:00
TomSchimansky
77adb7d024 fixed resizable call for CTkToplevel shortly after toplevel creation 2022-09-21 09:35:42 +02:00
TomSchimansky
fb600c9811 fixed resizable call for CTkToplevel shortly after toplevel creation 2022-09-21 09:35:21 +02:00
Tom Schimansky
31c0afe15b Bump to 4.6.3 2022-09-17 13:41:58 +02:00
Tom Schimansky
dab93a6a5e Fixed variable configuring for CTkOptionMennu 2022-09-17 13:39:22 +02:00
Tom Schimansky
89fa0a8758 Bump to 4.6.2 2022-09-17 12:47:43 +02:00
Tom Schimansky
67ab575b78 changed CTkCheckBox command to be only triggered by .toggle() 2022-09-17 12:41:45 +02:00
Tom Schimansky
b350224f06 Bump to 4.6.1 2022-09-17 01:21:00 +02:00
Tom Schimansky
7dd945adbb revert linux font path to ~/.fonts/ 2022-09-17 01:20:33 +02:00
Tom Schimansky
3f156f5648 Bump to 4.6.0 2022-09-17 00:55:31 +02:00
TomSchimansky
ee85b27271 fixed CTkProgressBar intermediate mode rendering on Windows #115 2022-09-17 00:52:20 +02:00
Tom Schimansky
5204683df4 updated command calls of CTkSwitch, now commmand is called for .toggle() only 2022-09-17 00:39:27 +02:00
Tom Schimansky
98c4c669a6 added indeterminate mode to CTkProgressBar 2022-09-17 00:18:31 +02:00
Tom Schimansky
078918e77b changed methods for command callback for optionmenu and combobox 2022-09-15 23:55:55 +02:00
Tom Schimansky
c16c891115 changed combobox and optionemnu command to only get triggered by manual selection #440 2022-09-15 18:46:24 +02:00
Tom Schimansky
39f369a8d4 Bump to 4.5.11 2022-09-15 13:59:58 +02:00
TomSchimansky
65c45abe32 changed linux font directory to ~/.local/share/fonts/ #340 2022-09-15 12:31:43 +02:00
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