Mono:MONO_THEME在Ubuntu下没有效果?
我不完全确定 MONO_THEME 是否应该为 Ubuntu 下运行的 WinForms 应用程序做任何事情,但我的印象是我应该能够通过使用它来启用类似 GNOME 的外观。但我无法让它做到这一点。
这是我尝试过的:
export MONO_THEME=visualstyles
mono MyApp.exe
export MONO_THEME=clearlooks
mono MyApp.exe
export MONO_THEME=nice
mono MyApp.exe
但对我的应用程序外观的影响完全为零。我在代码中首先调用 Application.EnableVisualStyles() 。
如何在 Ubuntu 中启用主题?
I am not entirely sure whether MONO_THEME is supposed to do anything for WinForms applications running under Ubuntu, but I got the impression that I should be able to enable GNOME-like looks by using it. I can't get it to do that though.
Here's what I tried:
export MONO_THEME=visualstyles
mono MyApp.exe
export MONO_THEME=clearlooks
mono MyApp.exe
export MONO_THEME=nice
mono MyApp.exe
But there was exactly zero effect on my application's appearance. I do call Application.EnableVisualStyles() first thing in my code.
How do I enable the themes in Ubuntu?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于没有维护,它们几年前就被删除了。
还有一些地方仍然记录这些吗?如果它在 Mono 网站上的某个地方,我想将其删除。
These were removed several years ago as they were not maintained.
Is there some place that still documents these? If it's somewhere on Mono's site, I would like to remove them.