MonoDevelop编辑器GUI设计师 [英] MonoDevelop editor GUI designer

查看:163
本文介绍了MonoDevelop编辑器GUI设计师的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从他们的网站下载了MonoDevelop源代码.现在,我想更改IDE的一些GUI元素.经过一番研究,我发现monodevelop的gui是用GTK#制作的.但是我找不到视觉设计师来打开源文件并编辑gui.我已经尝试过Glade(无法打开源文件)和MonoDevelop的Stetic GUI Designer(但其中一个没有显示设计器窗口).

I just downloaded the MonoDevelop source code from their website. Now I want to change some of the GUI elements of the IDE. After a bit of research I found out that monodevelop's gui is made with GTK#. But I can't find a visual designer to open the source files and edit the gui. I have tried Glade (which cannot open the source files), and MonoDevelop's Stetic GUI Designer (but that one doesn't show a designer window).

那么有没有一个GUI设计器来(重新)设计monodevelop中的窗口和组件?

So is there a GUI designer to (re)design the windows and components in monodevelop?

推荐答案

这取决于您对MonoDevelop中的GUI的哪些部分感兴趣.

It depends on which parts of the GUI in MonoDevelop you are interested in changing.

许多对话框和小部件都是使用MonoDevelop的Stetic GUI设计器以GTK#编写的.通常,您可以判断哪些项目的GUI元素使用Stetic GUI设计器,因为它们具有gtk-gui目录,其中包含一些生成的文件.

A lot of the dialogs and widgets are written in GTK# using MonoDevelop's Stetic GUI designer. You can usually tell which projects have GUI elements use the Stetic GUI designer since they have a gtk-gui directory with some generated files.

如果在MonoDevelop中启用了GTK#Visual Designer插件,则应该在解决方案"窗口中看到一个用户界面"文件夹.双击它们,或者右键单击并选择打开",您应该可以在GTK#设计器中打开这些文件之一.

If you have the GTK# Visual Designer addin enabled in MonoDevelop you should see a User Interface folder in the Solution window. You should be able to open one of these files into the GTK# designer by double clicking them, or by right clicking and selecting Open.

在下面的屏幕截图中,我打开了FindInFilesDialog.

In the screenshot below I have opened the FindInFilesDialog.

一些GUI部件是用XWT编写的,它没有设计器.其他GUI部件是在没有任何GUI设计器的情况下手工编写的,因此GTK#设计器将无法加载它们,因为它希望项目中可以使用某些文件集.

Some GUI parts are written in XWT, which does not have a designer. Other GUI parts are written by hand without any GUI designer and will not be able to be loaded by the GTK# designer since it expects a certain set of files to be available in the project.

这篇关于MonoDevelop编辑器GUI设计师的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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