Skip to main content

بسم الله الرحمن الرحيم والصلاة و السلام على رسول الله خير المرسلين

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

modern.button-0.0.1-py3-none-any.whl (53.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page