原生状态栏 [英] Native status bars
本文介绍了原生状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法像在 Windows 应用程序中那样在 SWT 中创建原生状态栏:
Is there a way to create native status bars in SWT like those found in Windows applications:
我见过使用标签模拟的状态栏,但我对真正的解决方案更感兴趣.
I have seen status bars simulated using labels, but I am more interested in a true solution.
推荐答案
org.eclipse.jface.action.StatusLineManager.createControl() 或 getControl(),返回一个状态行控件.当然,这个控件(是 SWT)是原生的.
org.eclipse.jface.action.StatusLineManager.createControl(), or getControl(), returns a status line control. This control is, of course (being SWT), native.
这篇关于原生状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文