Stetic GUI 设计师为 Gtk#3 迁移到 Glade [英] Stetic GUI Designer Move to Glade for Gtk#3

查看:26
本文介绍了Stetic GUI 设计师为 Gtk#3 迁移到 Glade的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在为我的应用程序进行音频后端绑定.由于我想使用 gstreamer,我发现我需要使用 GTK#3,因为 gstreamer-sharp 需要使用 GTK#3.由于我目前正在使用使用 stetic 进行 GUI 设计的 monodevelop,我想问一下,朝着 GTK#3 迈进的最佳方法是什么.我明白了,它使用 .ui 文件来定义 GUI,它可以由 Glade 生成(我也尝试过使用 Glade).但是我的应用程序有 4 个带有大量代码的窗口,那么我如何轻松地将其传输到 GTK#3?有人已经这样做了吗?

I'm currently working at an audiobackend binding for my application. Since I want to use gstreamer, I found out, that I need to use GTK#3, because this is needed by gstreamer-sharp. Since I'm currently working with monodevelop, which uses stetic for GUI design, I wanted to ask, what is the best way, moving towards GTK#3. I see, that it uses .ui files for GUI definition, which can be generated by glade (I also tried a little bit around with glade). But my application has 4 windows with much code, so how can I easily transport this to GTK#3? Has anybody done this already?

问候斯文

推荐答案

GtkBuilder 适用于 GTK2 和 GTK3,Smuxi 最终会走这条路,并将 GtkBuilder 转换后的 .ui 文件从 Stetic 反向移植回 GTK2.

GtkBuilder works for both GTK2 and GTK3, Smuxi will eventually go that route and backport the GtkBuilder converted .ui files from Stetic back to GTK2.

可以在此处找到转换现有静态 UI 的工具:https://github.com/xDarkice/stetic2ui

The tool to convert the existing stetic UIs can be found here: https://github.com/xDarkice/stetic2ui

这篇关于Stetic GUI 设计师为 Gtk#3 迁移到 Glade的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆