aboghazala / awesometkinter Goto Github PK
View Code? Open in Web Editor NEWPretty tkinter widgets
License: MIT License
Pretty tkinter widgets
License: MIT License
missing button's background on windows
fix:
change tkinter default theme to "defgault", "alt", or "classic"
canvas of scrollable frame doesn't resize when deleting widgets in the frame
why FireDM removed the project repository from Github https://github.com/firedm/FireDM
السلام عليكم
root = tk.Tk()
txt = 'السلام عليكم'
# text display incorrectly on linux
dummyvar = tk.StringVar()
dummyvar.set(txt)
tk.Label(root, textvariable=dummyvar, font='any 20').pack()
# uncomment below to set a rendered text to first label
dummyvar.set(render_bidi_text(txt))
entry = tk.Entry(root, font='any 20', justify='right')
entry.pack()
lbl = tk.Label(root, font='any 20', wraplength=300)
lbl.pack()
# adding bidi support for widgets
add_bidi_support(lbl)
add_bidi_support(entry)
# we can use set() and get() methods to set and get text on a widget
entry.set(txt)
lbl.set('لغتنا الجميلة، كان هذا عنوان إحدى البرامج الإذاعية و الذي كنا ننتظره و نتعلم كيفية نطق لغتنا العربية الأصيلة بكل ما فيها من كلمات و معاني')
root.mainloop()
الكلام مقلوب من الأسفل للأعلى عند استخدام render_text
مع wraplength
في label
Iam using your add_bidi_support for entry and everything is fine but for Text widget it is not working, What can I do?
why isn't this in the FFmpeg path?
if you can add this
and Please don't block my issue at https://github.com/firedm/FireDM/issues
I can't seem to have Arabic letters to display correctly with buttons, drop down menus, and check boxes in Linux. Does AwesomTkinter only work with labels and text entries ? If not, can you please provide some examples.
Is it possible to add a license ad a release tag to make it easier for packaging for example?
Hi there,
A few years ago, I needed to write a programme in JavaScript to output Arabic text as raw code to be incorporated in postscript documents, as lyrics below written music. For that purpose, preserving diacritics was essential.
I'm quite willing to share my code, or a detailed description of the algorithm. I'm rather new to Python, and only starting to get to know Tk. Hence, I'm finding it too intimidating to try and add the necessary code myself...
Best regards.
Hosam Adeeb Nashed
I have a questioin about the progressbar. If I have changed the mode to 'indeterminate', the progressbar don't work. How should I change the code?
can't configure scrollbar options in scrollableFrame and ScrollableText
hey. i dont see any type to define function in abutton like command=smthg. how to do it?
`import tkinter as tk
from tkinter import ttk
import awesometkinter as atk
root = tk.Tk()
root.config(background=atk.DEFAULT_COLOR)
s = ttk.Style()
s.theme_use('classic')
f1 = atk.Frame3d(root)
f1.pack(side='left', expand=True, fill='both', padx=3, pady=3)
bar = atk.RadialProgressbar3d(f1, fg='cyan', size=120)
bar.pack(padx=20, pady=20)
bar.start()
atk.Button3d(f1, text='3D Button').pack(pady=10)
f2 = atk.Frame3d(root)
f2.pack(side='left', expand=True, fill='both', padx=3, pady=3)
bar = atk.RadialProgressbar(f2, fg='green')
bar.pack(padx=30, pady=30)
bar.start()
atk.Button3d(f2, text='Button2').pack(pady=10)
root.mainloop()`
just tried example
on windows, tooltip has a truncated text, and doesn't autohide
found a bug in tkinter, ref:
https://wiki.tcl-lang.org/page/How+do+you+unpost+a+menu
https://www.tcl.tk/man/tcl8.6/TkCmd/menu.html#M45
related issue:
https://github.com/firedm/FireDM/issues/288
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.