in reply to Re^2: perl/Tk font question
in thread perl/Tk font question
Using the standard label/button widgets, it can't be done because those accept simple text.
However, you can create widgets of your own in Tk, and you can subclass a Button/whatever if you want.
Then you can implement whichever display/graphic you want, really. You can use Rich Text capabilities in there, etc.
A label is trivial - a region with text drawn on it. Button is now much harder - the same region, just bounded in a way that makes it feel 3D and responds to mouse clicks.
|
|---|