Linux 上 SWT 中的 MDI?

发布于 2024-09-06 03:23:33 字数 493 浏览 2 评论 0原文

我想使用 SWT 创建 MDI 应用程序。

我进行了广泛的搜索,并发现 Decorations 对象是负责尝试支持行为的对象。但是,我有一个 Linux 盒子,并且 提供的示例 对我不起作用。

上述链接提供的示例的输出为:

Image

但是,在 Linux (GTK) 上,我只看到没有控制栏或框的标签!

I'd like to create an MDI application using SWT.

I've done extensive searches and reach that the Decorations Object is the one responsable for trying supporting behavior. However, I've a Linux box, and the example provided
doesn't work for me.

The output of the example provided by the above link is:

Image

However, on Linux (GTK), I see only labels without control bars or boxes!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

过度放纵 2024-09-13 03:23:33

您可能想看看 Eclipse 富客户端平台。它基于 SWT 构建,为您提供 Eclipse 用户界面(带有视图和编辑器)的完全灵活性 - 以及许多其他有趣的东西,例如智能插件和模块化系统或成熟的在线帮助。看一下 RCP Mail 演示 - 这是一个简单的演示程序,向您展示如何创建不同的视图并移动它们。 (我会提供我的教程,但它是用德语编写的。您会在网上找到很多好东西。)如果您仍然感兴趣,Jeff McAffer 提供了一本名为 Eclipse Rich Client Platform 的书 - 非常好的指南。

You might want to take a look at the Eclipse Rich Client Platform. It's built on SWT and gives you the full flexibility of the Eclipse User Interface (with views and editors) - and lots of other interesting stuff like a smart plug-in and modularization system or a full-fledged online help. Take a look at the RCP Mail Demo - it's a simple demo program that shows you how to create different views and move them around. (I'd offer my tutorial, but it's written in german. You'll find lots of good stuff around the net.) If you're still interested, there's a book named Eclipse Rich Client Platform available by Jeff McAffer - excellent guide.

娇妻 2024-09-13 03:23:33

使用 Novocode 应用程序框架 。它有一个桌面表单来实现这一点,我喜欢它,即使选项卡现在很流行。我已经使用它并取得了巨大成功!

示例桌面表单
(来源:novocode.com

Use the Novocode Application Framework. It has a Desktop Form for exactly that, and I like it, even if tabs are all the hype now. I already used it with great success!

Example for Desktop Form
(source: novocode.com)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文