No project description provided
Project description
strawberrypie
Usage :
Install :
pip install Strawberrypie
example
from tkinter import *
from strawberrypie import Pie ,Center_root,Btn ,Tfield,colors_ch
root = Tk()
pie = Pie(root, root ,bg = "#000")
#if set to false it will show mini/max btns
sat =pie.statbar(True)
#center the window
Center_root(root)
btn1 = Btn(text = "Button 01 ")
btn1.place(relx =0.1 , rely =0.1 )
btn2 = Btn(text = "Button 02 ")
btn2.place(relx =0.1 , rely =0.3 )
ent1 = Tfield()
ent1.place(relx =0.1 , rely =0.5 , relheight= 0.06 )
#change hover/click colors
colors = {"enter":"lightgray" , "leave" :"#fff" , "actbg" : "red" ,"actfg" :"#000"}
color_ch(colors , btn2)
root.mainloop()
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 Distribution
Strawberrypie-0.0.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for Strawberrypie-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74882522595fe9ea26b9739becfc9c395c4fdf52dc279d6e7f1b255b6d980ba7 |
|
MD5 | 7c401d723ab62715db673f433d992612 |
|
BLAKE2b-256 | dc8221b930d93b55cf849eb707bd48b0096963d0edf09c329f50c8c9ca932d86 |