MonoDevelop editor GUI designer

一世执手 提交于 2020-01-25 01:08:25

问题


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).

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


回答1:


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

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.

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.

In the screenshot below I have opened the FindInFilesDialog.

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.



来源:https://stackoverflow.com/questions/25085476/monodevelop-editor-gui-designer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!