BhavyeMathur / goopylib-v1

A simple-yet-powerful 2D graphics framework built on top of Tkinter capable of creating good-looking & modern GUIs, games, and simple animations.

Home Page:https://pypi.org/project/goopylib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better Text Formatting

BhavyeMathur opened this issue · comments

The user should have the ability to format the colour, font, size, style, etc. of text using strings. So rather than creating multiple text objects to display a line of text with different formatting, you should be able to use a single string.

Something like "Hello <colour=ColourRGB(255, 0, 0), style='Bold'>World!" would create Hello in Black, and World! in Bold-Red.