我有一个应用程序,它是为Windows、Linux和Solaris构建的,使用Perl/TK
GUI。由于限制,我们只能使用Perl/TK 。而且我们只能使用旧版本的Perl/Tk
,即5.00404
。
我想在这些限制内尽可能使GUI看起来更漂亮和现代化。
是否有任何网络资源提供了TK设计方案(按钮、框架、颜色等),可以帮助我完成这个任务?
我还在寻求现代化建议,就像我在这里找到的那样:
If you're finding that your Tk apps look a little ugly on X-based systems, try adding the following lines to the top of your script:
$mw->optionAdd("*font", "-*-arial-normal-r-*-*-*-120-*-*-*-*-*-*"); $mw->optionAdd("*borderWidth", 1);