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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file modern.button-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: modern.button-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for modern.button-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4089b7a2a31d6b3cca3b3f17a9372c898a17a75e40e55fead425354026efa8a
MD5 4ecf6fba1180f0231aaac4eaa96fb672
BLAKE2b-256 6e01a575d85bc6287004316dbd8db5739ca23fcb26287a04bf501350f974df23

See more details on using hashes here.

Supported by

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