MonoDevelop编辑器GUI设计师

编程入门 行业动态 更新时间:2024-10-11 01:13:38
本文介绍了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设计师

本文发布于:2023-11-07 19:12:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567191.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:编辑器   设计师   MonoDevelop   GUI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!