-
How could I create an extension? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
tiny documentation on extensionsI haven't worked enough extensions BTW. Extensions are just codes executed with an locationExtensions are saved in new folders made in Manager file's structureThere is a class called
Each contains codes to be executed in certain places of main program CodeExtensions' codes are in form of multiline strings example: tasks.before_mainloop.append("""
Menubar = Menu(root, activebackground="#0084FF", activeforeground="#FFFFFF",
bg="#FFFFFF", fg="#0084FF", font="consolas")
Filemenu = Menu(root, tearoff = 0)
Menubar.add_cascade(label="File", menu=Filemenu) This creates a file menu in the menubar.. I also wrote a "just-working" title bar (menu bar) earlier at this link Final wordsThis sounds hectic as you need to read that 1400+ lines of code before making extensions thus I may rewrite that entirely.. |
Beta Was this translation helpful? Give feedback.
tiny documentation on extensions
I haven't worked enough extensions BTW.
Extensions are just codes executed with an
exec()
function..location
Extensions are saved in new folders made in
DATA/extensions
and main codes are in__init__.py
file in that directory..Manager file's structure
There is a class called
tasks
which has 12 lists namely: