styledctk-widgets 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,522 @@
1
+ #libraries import
2
+ from tkinter import *
3
+ import customtkinter
4
+
5
+ #command function
6
+ def Click():
7
+ pass
8
+
9
+
10
+ def main():
11
+
12
+ #Main Window properties
13
+ window = Tk()
14
+ window.title("ButtonsTemplates")
15
+ window.geometry("1030x300")
16
+ window.configure(bg="#262626")
17
+
18
+ #font definition
19
+ main_font = customtkinter.CTkFont(family="Helvetica", size=12)
20
+
21
+ #Creating the buttons
22
+ #STYLE ONE BUTTONS (FIRST ROW)
23
+ #===============================================================================
24
+ Button_StyleOne_1 = customtkinter.CTkButton(
25
+ master= window,
26
+ command= Click,
27
+ text= "Click Me",
28
+ font= main_font,
29
+ text_color="#363636",
30
+ hover= True,
31
+ hover_color= "#f2f2f2",
32
+ height=40,
33
+ width= 120,
34
+ border_width=2,
35
+ corner_radius=5,
36
+ border_color= "#d3d3d3",
37
+ bg_color="#262626",
38
+ fg_color= "#fafafa")
39
+
40
+ Button_StyleOne_2 = customtkinter.CTkButton(
41
+ master= window,
42
+ command= Click,
43
+ text= "Click Me",
44
+ font= main_font,
45
+ text_color="white",
46
+ hover= True,
47
+ hover_color= "#3f98d7",
48
+ height=40,
49
+ width= 120,
50
+ border_width=2,
51
+ corner_radius=5,
52
+ border_color= "#2d6f9e",
53
+ bg_color="#262626",
54
+ fg_color= "#3b8cc6")
55
+
56
+ Button_StyleOne_3 = customtkinter.CTkButton(
57
+ master= window,
58
+ command= Click,
59
+ text= "Click Me",
60
+ font= main_font,
61
+ text_color= "white",
62
+ hover= True,
63
+ hover_color= "#6fb9d5",
64
+ height=40,
65
+ width= 120,
66
+ border_width=2,
67
+ corner_radius=5,
68
+ border_color= "#528aa0",
69
+ bg_color="#262626",
70
+ fg_color= "#68aec9")
71
+
72
+ Button_StyleOne_4 = customtkinter.CTkButton(
73
+ master= window,
74
+ command= Click,
75
+ text= "Click Me",
76
+ font= main_font,
77
+ text_color="white",
78
+ hover= True,
79
+ hover_color= "#81b867",
80
+ height=40,
81
+ width= 120,
82
+ border_width=2,
83
+ corner_radius=5,
84
+ border_color= "#608a4d",
85
+ bg_color="#262626",
86
+ fg_color= "#79ae61")
87
+
88
+ Button_StyleOne_5 = customtkinter.CTkButton(
89
+ master= window,
90
+ command= Click,
91
+ text= "Click Me",
92
+ font= main_font,
93
+ text_color="white",
94
+ hover= True,
95
+ hover_color= "#ffb557",
96
+ height=40,
97
+ width= 120,
98
+ border_width=2,
99
+ corner_radius=5,
100
+ border_color= "#bc863f",
101
+ bg_color="#262626",
102
+ fg_color= "#eda850")
103
+
104
+ Button_StyleOne_6 = customtkinter.CTkButton(
105
+ master= window,
106
+ command= Click,
107
+ text= "Click Me",
108
+ font= main_font,
109
+ text_color="white",
110
+ hover= True,
111
+ hover_color= "#e06a61",
112
+ height=40,
113
+ width= 120,
114
+ border_width=2,
115
+ corner_radius=5,
116
+ border_color= "#9e4a43",
117
+ bg_color="#262626",
118
+ fg_color= "#c75d55")
119
+
120
+ Button_StyleOne_7 = customtkinter.CTkButton(
121
+ master= window,
122
+ command= Click,
123
+ text= "Click Me",
124
+ font= main_font,
125
+ text_color="white",
126
+ hover= True,
127
+ hover_color= "#454545",
128
+ height=40,
129
+ width= 120,
130
+ border_width=2,
131
+ corner_radius=5,
132
+ border_color= "#161616",
133
+ bg_color="#262626",
134
+ fg_color= "#363636")
135
+
136
+
137
+ #STYLE TWO BUTTONS (SECOND ROW)
138
+ #===============================================================================
139
+ Button_StyleTwo_1 = customtkinter.CTkButton(
140
+ master= window,
141
+ command= Click,
142
+ text= "Click Me",
143
+ font= main_font,
144
+ text_color="white",
145
+ hover= True,
146
+ hover_color= "black",
147
+ height=40,
148
+ width= 120,
149
+ border_width=2,
150
+ corner_radius=3,
151
+ border_color= "#d3d3d3",
152
+ bg_color="#262626",
153
+ fg_color= "#262626")
154
+
155
+ Button_StyleTwo_2 = customtkinter.CTkButton(
156
+ master= window,
157
+ command= Click,
158
+ text= "Click Me",
159
+ font= main_font,
160
+ text_color="#3b8cc6",
161
+ hover= True,
162
+ hover_color= "black",
163
+ height=40,
164
+ width= 120,
165
+ border_width=2,
166
+ corner_radius=3,
167
+ border_color= "#3b8cc6",
168
+ bg_color="#262626",
169
+ fg_color= "#262626")
170
+
171
+ Button_StyleTwo_3 = customtkinter.CTkButton(
172
+ master= window,
173
+ command= Click,
174
+ text= "Click Me",
175
+ font= main_font,
176
+ text_color="#68aec9",
177
+ hover= True,
178
+ hover_color= "black",
179
+ height=40,
180
+ width= 120,
181
+ border_width=2,
182
+ corner_radius=3,
183
+ border_color= "#68aec9",
184
+ bg_color="#262626",
185
+ fg_color= "#262626")
186
+
187
+ Button_StyleTwo_4 = customtkinter.CTkButton(
188
+ master= window,
189
+ command= Click,
190
+ text= "Click Me",
191
+ font= main_font,
192
+ text_color="#79ae61",
193
+ hover= True,
194
+ hover_color= "black",
195
+ height=40,
196
+ width= 120,
197
+ border_width=2,
198
+ corner_radius=3,
199
+ border_color= "#79ae61",
200
+ bg_color="#262626",
201
+ fg_color= "#262626")
202
+
203
+ Button_StyleTwo_5 = customtkinter.CTkButton(
204
+ master= window,
205
+ command= Click,
206
+ text= "Click Me",
207
+ font= main_font,
208
+ text_color="#eda850",
209
+ hover= True,
210
+ hover_color= "black",
211
+ height=40,
212
+ width= 120,
213
+ border_width=2,
214
+ corner_radius=3,
215
+ border_color= "#eda850",
216
+ bg_color="#262626",
217
+ fg_color= "#262626")
218
+
219
+ Button_StyleTwo_6 = customtkinter.CTkButton(
220
+ master= window,
221
+ command= Click,
222
+ text= "Click Me",
223
+ font= main_font,
224
+ text_color="#c75d55",
225
+ hover= True,
226
+ hover_color= "black",
227
+ height=40,
228
+ width= 120,
229
+ border_width=2,
230
+ corner_radius=3,
231
+ border_color= "#c75d55",
232
+ bg_color="#262626",
233
+ fg_color= "#262626")
234
+
235
+ Button_StyleTwo_7 = customtkinter.CTkButton(
236
+ master= window,
237
+ command= Click,
238
+ text= "Click Me",
239
+ font= main_font,
240
+ text_color="white",
241
+ hover= True,
242
+ hover_color= "black",
243
+ height=40,
244
+ width= 120,
245
+ border_width=2,
246
+ corner_radius=3,
247
+ border_color= "black",
248
+ bg_color="#262626",
249
+ fg_color= "#262626")
250
+
251
+
252
+ #STYLE THREE BUTTONS (THIRD ROW)
253
+ #===============================================================================
254
+ Button_StyleThree_1 = customtkinter.CTkButton(
255
+ master= window,
256
+ command= Click,
257
+ text= "Click Me",
258
+ font= main_font,
259
+ text_color="white",
260
+ hover= True,
261
+ hover_color= "black",
262
+ height=40,
263
+ width= 120,
264
+ border_width=2,
265
+ corner_radius=20,
266
+ border_color= "#d3d3d3",
267
+ bg_color="#262626",
268
+ fg_color= "#262626")
269
+
270
+ Button_StyleThree_2 = customtkinter.CTkButton(
271
+ master= window,
272
+ command= Click,
273
+ text= "Click Me",
274
+ font= main_font,
275
+ text_color="#3b8cc6",
276
+ hover= True,
277
+ hover_color= "black",
278
+ height=40,
279
+ width= 120,
280
+ border_width=2,
281
+ corner_radius=20,
282
+ border_color= "#3b8cc6",
283
+ bg_color="#262626",
284
+ fg_color= "#262626")
285
+
286
+ Button_StyleThree_3 = customtkinter.CTkButton(
287
+ master= window,
288
+ command= Click,
289
+ text= "Click Me",
290
+ font= main_font,
291
+ text_color="#68aec9",
292
+ hover= True,
293
+ hover_color= "black",
294
+ height=40,
295
+ width= 120,
296
+ border_width=2,
297
+ corner_radius=20,
298
+ border_color= "#68aec9",
299
+ bg_color="#262626",
300
+ fg_color= "#262626")
301
+
302
+ Button_StyleThree_4 = customtkinter.CTkButton(
303
+ master= window,
304
+ command= Click,
305
+ text= "Click Me",
306
+ font= main_font,
307
+ text_color="#79ae61",
308
+ hover= True,
309
+ hover_color= "black",
310
+ height=40,
311
+ width= 120,
312
+ border_width=2,
313
+ corner_radius=20,
314
+ border_color= "#79ae61",
315
+ bg_color="#262626",
316
+ fg_color= "#262626")
317
+
318
+ Button_StyleThree_5 = customtkinter.CTkButton(
319
+ master= window,
320
+ command= Click,
321
+ text= "Click Me",
322
+ font= main_font,
323
+ text_color="#eda850",
324
+ hover= True,
325
+ hover_color= "black",
326
+ height=40,
327
+ width= 120,
328
+ border_width=2,
329
+ corner_radius=20,
330
+ border_color= "#eda850",
331
+ bg_color="#262626",
332
+ fg_color= "#262626")
333
+
334
+ Button_StyleThree_6 = customtkinter.CTkButton(
335
+ master= window,
336
+ command= Click,
337
+ text= "Click Me",
338
+ font= main_font,
339
+ text_color="#c75d55",
340
+ hover= True,
341
+ hover_color= "black",
342
+ height=40,
343
+ width= 120,
344
+ border_width=2,
345
+ corner_radius=20,
346
+ border_color= "#c75d55",
347
+ bg_color="#262626",
348
+ fg_color= "#262626")
349
+
350
+ Button_StyleThree_7 = customtkinter.CTkButton(
351
+ master= window,
352
+ command= Click,
353
+ text= "Click Me",
354
+ font= main_font,
355
+ text_color="white",
356
+ hover= True,
357
+ hover_color= "black",
358
+ height=40,
359
+ width= 120,
360
+ border_width=2,
361
+ corner_radius=20,
362
+ border_color= "black",
363
+ bg_color="#262626",
364
+ fg_color= "#262626")
365
+
366
+
367
+ #STYLE FOUR BUTTONS (FOUTH ROW)
368
+ #===============================================================================
369
+ Button_StyleFour_1 = customtkinter.CTkButton(
370
+ master= window,
371
+ command= Click,
372
+ text= "Click Me",
373
+ font= main_font,
374
+ text_color="#363636",
375
+ hover= True,
376
+ hover_color= "#f2f2f2",
377
+ height=40,
378
+ width= 120,
379
+ border_width=2,
380
+ corner_radius=20,
381
+ border_color= "#d3d3d3",
382
+ bg_color="#262626",
383
+ fg_color= "#fafafa")
384
+
385
+ Button_StyleFour_2 = customtkinter.CTkButton(
386
+ master= window,
387
+ command= Click,
388
+ text= "Click Me",
389
+ font= main_font,
390
+ text_color="white",
391
+ hover= True,
392
+ hover_color= "#3f98d7",
393
+ height=40,
394
+ width= 120,
395
+ border_width=2,
396
+ corner_radius=20,
397
+ border_color= "#2d6f9e",
398
+ bg_color="#262626",
399
+ fg_color= "#3b8cc6")
400
+
401
+ Button_StyleFour_3 = customtkinter.CTkButton(
402
+ master= window,
403
+ command= Click,
404
+ text= "Click Me",
405
+ font= main_font,
406
+ text_color= "white",
407
+ hover= True,
408
+ hover_color= "#6fb9d5",
409
+ height=40,
410
+ width= 120,
411
+ border_width=2,
412
+ corner_radius=20,
413
+ border_color= "#528aa0",
414
+ bg_color="#262626",
415
+ fg_color= "#68aec9")
416
+
417
+ Button_StyleFour_4 = customtkinter.CTkButton(
418
+ master= window,
419
+ command= Click,
420
+ text= "Click Me",
421
+ font= main_font,
422
+ text_color="white",
423
+ hover= True,
424
+ hover_color= "#81b867",
425
+ height=40,
426
+ width= 120,
427
+ border_width=2,
428
+ corner_radius=20,
429
+ border_color= "#608a4d",
430
+ bg_color="#262626",
431
+ fg_color= "#79ae61")
432
+
433
+ Button_StyleFour_5 = customtkinter.CTkButton(
434
+ master= window,
435
+ command= Click,
436
+ text= "Click Me",
437
+ font= main_font,
438
+ text_color="white",
439
+ hover= True,
440
+ hover_color= "#ffb557",
441
+ height=40,
442
+ width= 120,
443
+ border_width=2,
444
+ corner_radius=20,
445
+ border_color= "#bc863f",
446
+ bg_color="#262626",
447
+ fg_color= "#eda850")
448
+
449
+ Button_StyleFour_6 = customtkinter.CTkButton(
450
+ master= window,
451
+ command= Click,
452
+ text= "Click Me",
453
+ font= main_font,
454
+ text_color="white",
455
+ hover= True,
456
+ hover_color= "#e06a61",
457
+ height=40,
458
+ width= 120,
459
+ border_width=2,
460
+ corner_radius=20,
461
+ border_color= "#9e4a43",
462
+ bg_color="#262626",
463
+ fg_color= "#c75d55")
464
+
465
+ Button_StyleFour_7 = customtkinter.CTkButton(
466
+ master= window,
467
+ command= Click,
468
+ text= "Click Me",
469
+ font= main_font,
470
+ text_color="white",
471
+ hover= True,
472
+ hover_color= "#454545",
473
+ height=40,
474
+ width= 120,
475
+ border_width=2,
476
+ corner_radius=20,
477
+ border_color= "#161616",
478
+ bg_color="#262626",
479
+ fg_color= "#363636")
480
+
481
+
482
+ #placing the buttons
483
+ #===================================================================
484
+ #FIRST ROW
485
+ Button_StyleOne_1.place(x= 15, y= 15)
486
+ Button_StyleOne_2.place(x= 160, y= 15)
487
+ Button_StyleOne_3.place(x= 305, y= 15)
488
+ Button_StyleOne_4.place(x= 450, y= 15)
489
+ Button_StyleOne_5.place(x= 595, y= 15)
490
+ Button_StyleOne_6.place(x= 740, y= 15)
491
+ Button_StyleOne_7.place(x= 885, y= 15)
492
+ #SECOND ROW
493
+ Button_StyleTwo_1.place(x= 15, y= 90)
494
+ Button_StyleTwo_2.place(x= 160, y= 90)
495
+ Button_StyleTwo_3.place(x= 305, y= 90)
496
+ Button_StyleTwo_4.place(x= 450, y= 90)
497
+ Button_StyleTwo_5.place(x= 595, y= 90)
498
+ Button_StyleTwo_6.place(x= 740, y= 90)
499
+ Button_StyleTwo_7.place(x= 885, y= 90)
500
+ #THIRD ROW
501
+ Button_StyleThree_1.place(x= 15, y= 165)
502
+ Button_StyleThree_2.place(x= 160, y= 165)
503
+ Button_StyleThree_3.place(x= 305, y= 165)
504
+ Button_StyleThree_4.place(x= 450, y= 165)
505
+ Button_StyleThree_5.place(x= 595, y= 165)
506
+ Button_StyleThree_6.place(x= 740, y= 165)
507
+ Button_StyleThree_7.place(x= 885, y= 165)
508
+ #FOUTH ROW
509
+ Button_StyleFour_1.place(x= 15, y= 240)
510
+ Button_StyleFour_2.place(x= 160, y= 240)
511
+ Button_StyleFour_3.place(x= 305, y= 240)
512
+ Button_StyleFour_4.place(x= 450, y= 240)
513
+ Button_StyleFour_5.place(x= 595, y= 240)
514
+ Button_StyleFour_6.place(x= 740, y= 240)
515
+ Button_StyleFour_7.place(x= 885, y= 240)
516
+
517
+ #run the main loop
518
+
519
+ window.mainloop()
520
+
521
+ if __name__ == "__main__":
522
+ main()
@@ -0,0 +1,8 @@
1
+ # CTK_Buttons Templates
2
+
3
+ These are the .py archives of this folder and theirs buttons, respectively:
4
+
5
+ ___
6
+ * CTK_Buttons_templates_4_styles.py
7
+
8
+ ![Screenshot_1](https://user-images.githubusercontent.com/97618574/175050413-e106f7a7-e208-4f60-9b00-427e68b8b924.png)
@@ -0,0 +1,101 @@
1
+ import customtkinter as CTK
2
+
3
+ class SCTkButton(CTK.CTkButton):
4
+ def __init__(self, master=None,theme=0,style=0, **kwargs):
5
+ super().__init__(master, **kwargs)
6
+ self.style=style
7
+ self.theme=theme
8
+ self.common_setup()
9
+ self.customize_widget()
10
+
11
+ def common_setup(self):
12
+ match self.theme:
13
+ case 0:
14
+ self. common_setup_t0()
15
+ case 1:
16
+ self. common_setup_t1()
17
+
18
+
19
+ def common_setup_t0(self):
20
+ main_font = CTK.CTkFont(family="Helvetica", size=12)
21
+ self.configure(hover=True, font=main_font,height=40, width=120, border_width=2, corner_radius=5,bg_color="#262626", text="Button Theme "+ str(self.theme)+" st"+str(self.style))
22
+
23
+ def common_setup_t1(self):
24
+ main_font = CTK.CTkFont(family="Helvetica", size=12)
25
+ self.configure(hover=True, font=main_font, hover_color= "black", bg_color="#262626",
26
+ fg_color= "#262626",height=40,width= 120,border_width=2,corner_radius=3,text="Button Theme "+ str(self.theme)+" st"+str(self.style))
27
+
28
+ def customize_widget(self):
29
+ match self.theme:
30
+ case 0:
31
+ self.customize_widget_t0()
32
+ case 1:
33
+ self.customize_widget_t1()
34
+
35
+
36
+ def customize_widget_t0(self):
37
+ if self.style == 0:
38
+ self.configure(text_color="#363636")
39
+ else:
40
+ self.configure(text_color="white" )
41
+
42
+ match self.style:
43
+ case 0:
44
+ self.configure(hover_color= "#f2f2f2",border_color= "#d3d3d3", fg_color= "#fafafa")
45
+ case 1:
46
+ self.configure( hover_color= "#050505", border_color= "#2d6f9e",fg_color= "#3b8cc6")
47
+ case 2:
48
+ self.configure( hover_color= "#6fb9d5",border_color= "#528aa0",fg_color= "#68aec9")
49
+ case 3:
50
+ self.configure(hover_color= "#81b867",border_color= "#608a4d",fg_color= "#79ae61")
51
+
52
+ case 4:
53
+ self.configure(hover_color= "#ffb557",border_color= "#bc863f",fg_color= "#eda850")
54
+
55
+ case 5:
56
+ self.configure(hover_color= "#e06a61", border_color= "#9e4a43",fg_color= "#c75d55")
57
+
58
+ case 6:
59
+ self.configure(hover_color= "#454545",border_color= "#161616", fg_color= "#363636")
60
+
61
+ def customize_widget_t1(self):
62
+
63
+ match self.style:
64
+ case 0:
65
+ self.configure(text_color="white",border_color= "#d3d3d3",)
66
+ case 1:
67
+ self.configure( text_color="#3b8cc6",border_color= "#3b8cc6", )
68
+ case 2:
69
+ self.configure( text_color="#68aec9",border_color= "#68aec9", )
70
+ case 3:
71
+ self.configure(text_color="#79ae61",border_color= "#79ae61", )
72
+
73
+ case 4:
74
+ self.configure(text_color="#eda850",border_color= "#eda850", )
75
+
76
+ case 5:
77
+ self.configure(text_color="#c75d55",border_color= "#c75d55", )
78
+
79
+ case 6:
80
+ self.configure(text_color="white",border_color= "black", )
81
+
82
+
83
+
84
+ def main():
85
+ main_window = CTK.CTk()
86
+ main_window.title("ButtonsTemplates")
87
+ main_window.geometry("980x160+200+50")
88
+ main_window.configure(bg="#262626")
89
+ buttons=[[]]
90
+
91
+ for i in range(2):
92
+ for j in range(7):
93
+ button = SCTkButton(main_window,theme=i, style=j)
94
+ button.grid(row=i, column=j, padx=10, pady=20)
95
+ buttons[i].append(button)
96
+ buttons.append([])
97
+ main_window.mainloop()
98
+
99
+
100
+ if __name__ == "__main__":
101
+ main()
File without changes
@@ -0,0 +1,195 @@
1
+ #custom buttons templates
2
+ from tkinter import *
3
+ import customtkinter
4
+
5
+ #command function
6
+ def Click():
7
+ pass
8
+
9
+ def main():
10
+ #Main Window properties
11
+ window = Tk()
12
+ window.title("EntrysTemplates")
13
+ window.geometry("280x515")
14
+ window.configure(bg="#262626")
15
+
16
+ #font definition
17
+ main_font = customtkinter.CTkFont(family="Helvetica", size=12)
18
+
19
+ #Creating the entrys
20
+ #style 1
21
+ entry_1 = customtkinter.CTkEntry(master=window,
22
+ placeholder_text="CTkEntry",
23
+ placeholder_text_color="#cccccc",
24
+
25
+ font= main_font,
26
+ text_color="white",
27
+
28
+ width=220,
29
+ height=30,
30
+ border_width=2,
31
+ border_color= "#d3d3d3",
32
+ bg_color="#262626",
33
+ fg_color= "#262626",
34
+
35
+ corner_radius=5)
36
+ entry_2 = customtkinter.CTkEntry(master=window,
37
+ placeholder_text="CTkEntry",
38
+ placeholder_text_color="#3b8cc6",
39
+
40
+ font= main_font,
41
+ text_color="#3b8cc6",
42
+
43
+ width=220,
44
+ height=30,
45
+ border_width=2,
46
+ border_color= "#3b8cc6",
47
+ bg_color="#262626",
48
+ fg_color= "#262626",
49
+
50
+ corner_radius=5)
51
+ entry_3 = customtkinter.CTkEntry(master=window,
52
+ placeholder_text="CTkEntry",
53
+ placeholder_text_color="#79ae61",
54
+
55
+ font= main_font,
56
+ text_color="#79ae61",
57
+
58
+ width=220,
59
+ height=30,
60
+ border_width=2,
61
+ border_color= "#79ae61",
62
+ bg_color="#262626",
63
+ fg_color= "#262626",
64
+
65
+ corner_radius=5)
66
+ entry_4 = customtkinter.CTkEntry(master=window,
67
+ placeholder_text="CTkEntry",
68
+ placeholder_text_color="#eda850",
69
+
70
+ font= main_font,
71
+ text_color="#eda850",
72
+
73
+ width=220,
74
+ height=30,
75
+ border_width=2,
76
+ border_color= "#eda850",
77
+ bg_color="#262626",
78
+ fg_color= "#262626",
79
+
80
+ corner_radius=5)
81
+ entry_5 = customtkinter.CTkEntry(master=window,
82
+ placeholder_text="CTkEntry",
83
+ placeholder_text_color="#c75d55",
84
+
85
+ font= main_font,
86
+ text_color="#c75d55",
87
+
88
+ width=220,
89
+ height=30,
90
+ border_width=2,
91
+ border_color= "#c75d55",
92
+ bg_color="#262626",
93
+ fg_color= "#262626",
94
+
95
+ corner_radius=5)
96
+
97
+ #style 2
98
+ entry_6 = customtkinter.CTkEntry(master=window,
99
+ placeholder_text="CTkEntry",
100
+ placeholder_text_color="black",
101
+
102
+ font= main_font,
103
+ text_color="black",
104
+
105
+ width=220,
106
+ height=30,
107
+ border_width=2,
108
+ border_color= "black",
109
+ bg_color="#262626",
110
+ fg_color= "#EEEEEE",
111
+
112
+ corner_radius=5)
113
+ entry_7 = customtkinter.CTkEntry(master=window,
114
+ placeholder_text="CTkEntry",
115
+ placeholder_text_color="black",
116
+
117
+ font= main_font,
118
+ text_color="black",
119
+
120
+ width=220,
121
+ height=30,
122
+ border_width=2,
123
+ border_color= "black",
124
+ bg_color="#262626",
125
+ fg_color= "#2E8BC0",
126
+
127
+ corner_radius=5)
128
+ entry_8 = customtkinter.CTkEntry(master=window,
129
+ placeholder_text="CTkEntry",
130
+ placeholder_text_color="black",
131
+
132
+ font= main_font,
133
+ text_color="black",
134
+
135
+ width=220,
136
+ height=30,
137
+ border_width=2,
138
+ border_color= "black",
139
+ bg_color="#262626",
140
+ fg_color= "#79ae61",
141
+
142
+ corner_radius=5)
143
+ entry_9 = customtkinter.CTkEntry(master=window,
144
+ placeholder_text="CTkEntry",
145
+ placeholder_text_color="black",
146
+
147
+ font= main_font,
148
+ text_color="black",
149
+
150
+ width=220,
151
+ height=30,
152
+ border_width=2,
153
+ border_color= "black",
154
+ bg_color="#262626",
155
+ fg_color= "#eda850",
156
+
157
+ corner_radius=5)
158
+ entry_10 = customtkinter.CTkEntry(master=window,
159
+ placeholder_text="CTkEntry",
160
+ placeholder_text_color="black",
161
+
162
+ font= main_font,
163
+ text_color="black",
164
+
165
+ width=220,
166
+ height=30,
167
+ border_width=2,
168
+ border_color= "black",
169
+ bg_color="#262626",
170
+ fg_color= "#c75d55",
171
+
172
+ corner_radius=5)
173
+
174
+
175
+ #placing the resources
176
+ entry_1.place(x= 30, y= 30)
177
+ entry_2.place(x= 30, y= 75)
178
+ entry_3.place(x= 30, y= 120)
179
+ entry_4.place(x= 30, y= 165)
180
+ entry_5.place(x= 30, y= 210)
181
+
182
+ entry_6.place(x= 30, y= 280)
183
+ entry_7.place(x= 30, y= 325)
184
+ entry_8.place(x= 30, y= 370)
185
+ entry_9.place(x= 30, y= 415)
186
+ entry_10.place(x= 30, y= 460)
187
+
188
+
189
+ #run the main loop
190
+ window.mainloop()
191
+
192
+
193
+
194
+ if __name__ == "__main__":
195
+ main()
File without changes
File without changes
@@ -0,0 +1,4 @@
1
+ # SPDX-FileCopyrightText: 2025-present DigitalCreationsLibrary <aimosta.official@gmail.com>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ __version__ = "0.0.1"
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: 2025-present DigitalCreationsLibrary <aimosta.official@gmail.com>
2
+ #
3
+ # SPDX-License-Identifier: MIT
@@ -0,0 +1,9 @@
1
+ # SPDX-FileCopyrightText: 2025-present DigitalCreationsLibrary <aimosta.official@gmail.com>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ import sys
5
+
6
+ if __name__ == "__main__":
7
+ from styledctk_widgets.cli import styledctk_widgets
8
+
9
+ sys.exit(styledctk_widgets())
@@ -0,0 +1,35 @@
1
+ # SPDX-FileCopyrightText: 2025-present DigitalCreationsLibrary <aimosta.official@gmail.com>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ import click
5
+
6
+ from styledctk_widgets.__about__ import __version__
7
+ from styledctk_widgets.CTK_Buttons import CTK_Button_styles
8
+ from styledctk_widgets.CTK_Buttons import SCTkButton
9
+
10
+ from styledctk_widgets.CTK_Entrys import CTK_Entry_styles
11
+ from styledctk_widgets.CTK_Entrys import SCTKEntry
12
+
13
+
14
+
15
+ @click.group(context_settings={"help_option_names": ["-h", "--help"]}, invoke_without_command=True)
16
+ @click.version_option(version=__version__, prog_name="styledctk-widgets")
17
+ def styledctk_widgets():
18
+ click.echo("Hello world!")
19
+
20
+
21
+ @styledctk_widgets.command("showb")
22
+ def showb():
23
+ CTK_Button_styles.main()
24
+
25
+
26
+
27
+ @styledctk_widgets.command("showsb")
28
+ def showsb():
29
+ SCTkButton.main()
30
+
31
+
32
+
33
+ @styledctk_widgets.command("showe")
34
+ def showe():
35
+ CTK_Entry_styles.main()
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.4
2
+ Name: styledctk-widgets
3
+ Version: 0.0.1
4
+ Project-URL: Documentation, https://github.com/DigitalCreationsLibrary/styledctk_widgetse#readme
5
+ Project-URL: Issues, https://github.com/DigitalCreationsLibrary/styledctk-widgets/issues
6
+ Project-URL: Source, https://github.com/DigitalCreationsLibrary/styledctk-widgets
7
+ Author-email: DigitalCreationsLibrary <aimosta.official@gmail.com>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: Implementation :: CPython
18
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
19
+ Requires-Python: >=3.8
20
+ Requires-Dist: click
21
+ Requires-Dist: customtkinter>=5.2.2
22
+ Requires-Dist: requests>=2.32.3
23
+ Description-Content-Type: text/markdown
24
+
25
+ # proj-template
26
+
27
+ [![PyPI - Version](https://img.shields.io/pypi/v/styledctk-widgets.svg)](https://pypi.org/project/pstyledctk-widgets)
28
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/styledctk-widgets.svg)](https://pypi.org/project/styledctk-widgets)
29
+
30
+ -----
31
+
32
+ ## Table of Contents
33
+
34
+ - [proj-template](#proj-template)
35
+ - [Table of Contents](#table-of-contents)
36
+ - [Installation](#installation)
37
+ - [License](#license)
38
+
39
+ ## Installation
40
+
41
+ ```console
42
+ pip install styledctk-widgets
43
+ ```
44
+
45
+ ## License
46
+
47
+ `styledctk-widgets` is distributed under the terms of the following [License](License) license.
@@ -0,0 +1,16 @@
1
+ styledctk_widgets/__about__.py,sha256=OUdZRYTb80ep2HF2akAgxIfPvBcIL7RluJg-J9uXHLM,151
2
+ styledctk_widgets/__init__.py,sha256=sm2CLp-_LfDlaMDEV2TCCFrlHd0SjQtTKmXyGa_zuow,128
3
+ styledctk_widgets/__main__.py,sha256=dDqcf6k8l1CHHuEJhaJW0LghOpNBEQWY7HzVM7-FsQM,264
4
+ styledctk_widgets/CTK_Buttons/CTK_Button_styles.py,sha256=HX9tuS2GDMQU6yzuuYd7_baYgf04Qip8KmnEIzQcuzM,14360
5
+ styledctk_widgets/CTK_Buttons/README.md,sha256=nUMLSu4OMp8c36A0PSJkmVgas-I4yHGHqoG4uRp12yY,271
6
+ styledctk_widgets/CTK_Buttons/SCTkButton.py,sha256=8RPAZ_IRk56Jz0yJf3ugP3ttHryAVLKQ9dFyi1va1ak,3873
7
+ styledctk_widgets/CTK_Buttons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ styledctk_widgets/CTK_Entrys/CTK_Entry_styles.py,sha256=7GK13HKCgRd_CQ6i5RUmVpB3IDPcsaKTWS1cPSwp2UE,8282
9
+ styledctk_widgets/CTK_Entrys/SCTKEntry.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ styledctk_widgets/CTK_Entrys/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ styledctk_widgets/cli/__init__.py,sha256=e-xhh9x88YOxrMGTQUaA-FnWJeDooKY0PWRYgd0Er4I,941
12
+ styledctk_widgets-0.0.1.dist-info/METADATA,sha256=0mNWDI4YpO8oFDh-ferhMWiwhVVLAohdBstZDMWLB4Y,1682
13
+ styledctk_widgets-0.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ styledctk_widgets-0.0.1.dist-info/entry_points.txt,sha256=hY617eWizQTf-EcnzyfLZuRfUIvsx2m7NXGgSusxN3g,78
15
+ styledctk_widgets-0.0.1.dist-info/licenses/LICENSE,sha256=vsPpVud4vyqk01VO_AhrIxKouG7xgfJSrMlGxLFBr7o,1088
16
+ styledctk_widgets-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ styledctk-widgets = styledctk_widgets.cli:styledctk_widgets
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 ArthurDEKA
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.