بسم الله الرحمن الرحيم والصلاة و السلام على رسول الله خير المرسلين
Project description
من خلال هذه المكتبة يمكن صناعة زر حديث الشكل مع امكانية تغيير لون و مظهر الزر وكذلك تغيير لون النص للزر بالاضافة إلى امكانية تكبير وتصغير الزر مع امكانية حفظ موقع الزر طبعا باستخدام مكتبة الت كينتر في لغة بايتون , في الاسفل يوجد مثال يمكن الاستعانة به
Through this library, you can make a real modern button in Tkinter Python, it has the ability to change the style and color of the button, in addition to saving the position of the button with the ability to zoom in and out of the button.
Usage: Copy the code to try طريفة الاستخدام: يرجى نسخ الرمز للمحاولة
from tkinter import *
from modernbutton import *
window=Tk()
window.geometry("800x400")
window.title("CodeTest Modern Button Designer")
btn1 = addMButton(window,30,30,"Button 1")
btn2 = addMButton(window,30,80,"Button 2")
btn3 = addMButton(window,30,130,"Button 3")
btn4 = addMButton(window,30,180,"Button 4")
btn5 = addMButton(window,30,230,"Button 5")
loadwidgetsprop(window)
window.protocol("WM_DELETE_WINDOW", lambda : RegisterData(window))
mainloop()
Installation طريقة الاعداد
You can install modernbutton
using : pip install modern.button
open CMD prompt and type: pip install modern.button
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for modern.button-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4089b7a2a31d6b3cca3b3f17a9372c898a17a75e40e55fead425354026efa8a |
|
MD5 | 4ecf6fba1180f0231aaac4eaa96fb672 |
|
BLAKE2b-256 | 6e01a575d85bc6287004316dbd8db5739ca23fcb26287a04bf501350f974df23 |