SWT (标准窗口小部件 工具箱,Standard Widget Toolkit)是在 Eclipse 平台上使用的窗口小部件 工具箱。
基于2个网页-相关网页
标准窗口小部件工具箱 Standard Widget Toolkit
标准窗口小部件库 SWT ; standard widget library
标准窗口小部件集 Standard Widget Toolkit
接着我们将看看如何修改标准窗口小部件所使用的图标。
Then we'll review how the ICONS used by the standard widgets can be modified.
遇到这种情况时,可以将定制控件封装到其自己的窗口小部件类中,根据需要继承其他标准窗口小部件,然后将invoke调用封装到该类的方法中。
When you face such a situation, wrap the custom control in its own widget class, inheriting other standard widgets when appropriate, and then wrap the invoke call in a method of this class.
注意, Tk::NoteBook 以及 CPAN 上贡献的其他窗口小部件并不是标准 Tk 贡献的一部分,所以需要显式地指定。
Note that Tk::NoteBook, as well as the other contributed widgets on CPAN, are not part of the standard Tk distribution, and therefore need to be specified explicitly.
应用推荐