Exploring Tk and Tix Widgets: A Comprehensive Guide
1. Introduction
Tk and Tix offer a wide range of interesting widget classes. This guide will introduce you to most of these widgets, their commonly used configuration options, and methods. To make it easier to look up properties and methods later, they are provided in a separate reference.
2. Widget Properties
2.1 Fonts
Font values can be specified in the XLFD format, which consists of 14 fields separated by hyphens. On the X Windows system, you can use utilities like fontsel and xlsfonts to find available font combinations. You mainly need to focus on the foundry, family, weight, slant, and points fields.
Here’s an example of setting the
超级会员免费看
订阅专栏 解锁全文
3357

被折叠的 条评论
为什么被折叠?



