Commit Graph

74 Commits

Author SHA1 Message Date
Trask Crane
e694d3bc84 Merge 613587db68 into d719950f80 2023-07-31 23:21:05 +02:00
Tom Schimansky
d719950f80 fixed tabview initial fg_color, removed tests from simple_example.py 2023-07-27 14:40:19 +02:00
Tom Schimansky
16990a566f added anchor to tabview #1766, fixed tabview fg_color update #1803, added index method to tabview and segmented button, added rename method to tabview #1192, fixed license in Readme.md 2023-07-27 14:06:13 +02:00
Tom Schimansky
9cfd5f4515 added missing arguments to CTkSLider configure #1790 2023-07-08 21:24:59 +02:00
Trask Crane
613587db68 Merge branch 'TomSchimansky:master' into update_entry_box 2023-06-22 15:46:52 -04:00
Tom Schimansky
290cafbc39 Merge pull request #1399 from Sahil481/customtkinter-sahil-contribute
Fix configuring anchor on CTkButton #1394 #1393
2023-06-19 13:19:50 +02:00
Tom Schimansky
abe33f7e81 fix error in CTkFont with multiple destroy calls #1692 2023-06-15 12:49:07 +02:00
Crane, Trask
b8efb9739e [feat] Combobox Validation
Allows for validation of the combobox through the hidden entry widget.
User is able to validate provided that they *do not delete or insert
text*. If the user wishes to do this in validation, they first must
ensure that the customtkinter library does not trigger the call
repeatidly AND should add a short delay (via self.after). This is
because on when `self._entry.insert` is called within customtkinter,
it will clear the `validate` property thus causing future validation
to fail.

Signed off by Trask Crane (hcrane3@gatech.edu)
2023-06-11 00:13:20 -04:00
Crane, Trask
4838b01d6a [feat] Event Generation on Canvas
For widgets based on the _canvas, attempting to use event_generate for
custom events failed. Typical notation in tkinter would allow such
bindings but in customtkinter, operations are performed on hidden
widgets. Thus a function override is required to operate as expected.

Widgets that are not based on _canvas or where a combination of hidden
widgets were not updated.

Signed off by Trask Crane (hcrane3@gatech.edu)
2023-06-04 23:48:43 -04:00
Crane, Trask
b779c57e61 [feat] Added in invalidate command
Put invalidate command back into accpetable pass variables and works on
entry fields.

Signed off by Trask Crane (hcrane3@gatech.edu)
2023-06-02 20:58:51 -04:00
Tom Schimansky
37b375d58b fixed wrong json class names and added fix for backwards compatibility in ThemeManager #1538 2023-05-27 13:25:30 +02:00
Tom Schimansky
cd85a1c782 added text_color_disabled to CTkLabel #1557, change license in setup.cfg 2023-05-27 12:48:46 +02:00
Tom Schimansky
1960c0b1e0 added text_color_disabled to configure of CTkOptionMenu #1559 2023-05-08 19:11:22 +02:00
Tom Schimansky
6d2f31c23c added border_width, corner_radius to configure of CTkSegmentedButton, removed border_color because has no effect #1562 2023-05-08 19:06:39 +02:00
Tom Schimansky
c6b16ce815 added checkmark_color and text_color_disabled to CTkCheckbox configure method #1586 2023-05-08 13:08:44 +02:00
Tom Schimansky
ccf9fdfc9a add new website links 2023-05-05 18:54:32 +02:00
Tom Schimansky
d3883012b7 change tabview select method #1508 2023-04-29 01:38:55 +02:00
Tom Schimansky
86ba99c2ab fixed scrollbar colors for scrollable frame #1509 2023-04-26 10:53:08 +02:00
Tom Schimansky
b60859dfd6 added text color configuration for switch #1497 2023-04-24 13:45:16 +02:00
Tom Schimansky
121f5713a8 fixed platform independant path for theme loading #1498 2023-04-24 13:37:17 +02:00
Tom Schimansky
2ee496ed28 fixed fg_color key for CTkSwitch #1482 2023-04-23 11:36:50 +02:00
sahil481
9f653fab1d Fixed a bug
Fixed #1394
2023-03-29 22:14:43 +05:30
Tom Schimansky
f47cf024b2 fixed CTkScrollableFrame and example 2023-02-06 12:55:46 +01:00
TomSchimansky
b177f85328 scrollable frame fix 2023-02-05 22:39:07 +01:00
TomSchimansky
786a5148de finished scrollable frame, added example and test for scrollable frame 2023-02-05 21:41:23 +01:00
TomSchimansky
2359a6ce39 progress on scrollable frame 2023-02-05 03:02:21 +01:00
Tom Schimansky
a478334fb7 start working on scrollable frame 2023-02-04 16:53:48 +01:00
Tom Schimansky
9fcd963fd2 prevent width and height args in place method #1094 2023-01-22 22:00:18 +01:00
TomSchimansky
7901edba30 remove unnecessary check_scollbar call in textbox #1020 2023-01-21 22:37:40 +01:00
Tom Schimansky
7cb8f64dec fix switch and radiobutton background color #867, check if user set titlebar icon on Windows 2023-01-21 14:22:18 +01:00
Tom Schimansky
79d5da439b fix readonly background for combobox #983 2023-01-10 15:03:45 +01:00
Tom Schimansky
fac2fa5e68 Merge remote-tracking branch 'origin/master' 2023-01-07 18:37:22 +01:00
Tom Schimansky
2de1b94575 fixed dropdown_fg_color attribute in configure of CTkOptionMenu 2023-01-07 18:37:00 +01:00
TomSchimansky
a79502dc03 replaced sys.stderr with warnings.warn #932 2023-01-07 01:21:28 +01:00
Tom Schimansky
1396a7e484 fixed #925 2022-12-25 21:03:33 +01:00
Tom Schimansky
28228316eb fix image configure for button #807 2022-12-08 19:33:39 +01:00
Tom Schimansky
042fac7242 fix image type hints #795 2022-12-08 10:34:41 +01:00
Tom Schimansky
a49dde63b3 fix switch #801 2022-12-07 22:15:31 +01:00
Tom Schimansky
f11d727879 fix combobox #800 2022-12-07 22:10:35 +01:00
Tom Schimansky
3d86b5a14f fix widget bind if clause error 2022-12-06 19:25:00 +01:00
Tom Schimansky
5a17b1243e fixed background for entry readonly state #643 2022-12-06 19:16:05 +01:00
Tom Schimansky
7572f095c2 cget now returns copy of lists 2022-12-06 18:47:39 +01:00
Tom Schimansky
868b2a2f42 allow multiple style strings in font tuple #759 2022-12-06 18:29:09 +01:00
Tom Schimansky
6a3fa7fa29 fixed support for python3.7 #737 2022-12-06 18:13:59 +01:00
Tom Schimansky
a564bc35ef fixed progressbar start stop speed increase #775, fixed transparent textbox #779, fixed binding for all widgets #250 #374 #380 #477 #480 2022-12-06 18:09:20 +01:00
Tom Schimansky
dd223a15b5 fixed progressbar start stop speed increase #775 2022-12-06 11:27:35 +01:00
Tom Schimansky
2c7b2c5030 fixed radiobutton disabled command call bug #677, fixed key error for theme in scrollbar #711, removed bind_all and unbind_all from baseclass, added CTkCanvas and CTkBaseClass for top level import 2022-12-06 11:09:34 +01:00
Tom Schimansky
482a6e60b7 fix PIL Image import error 2022-12-01 09:33:13 +01:00
Tom Schimansky
f3d90821ce finished image example 2022-11-30 22:59:55 +01:00
Tom Schimansky
0d8a79d783 added update_idletasks call to base class set_appearance_mode 2022-11-30 22:03:42 +01:00