[MonoDevelop] How do I move UI components in Monodevelop alpha 2

Mike Kestner mkestner at gmail.com
Sat Nov 29 13:25:43 EST 2008


On Sat, 2008-11-29 at 18:02 +0000, alan battersby wrote:
> I want to reorganize my solution. Previously I placed some UI components
> in their own separate sub project. Ive changed my mind and would like to
> move them into a  folder  in my main project. Is there a way to do this.
> I cant drag and drop  items from the  User  Interface folder of one
> project into another.

The short answer is no, there is no cross-project copy/move support in
the Gtk designer.

If you want to do this manually, you will need to dig into the hidden
gtk-gui folder in your sub-project.  It contains a file named gui.stetic
which contains the design information for your components.  If your main
project has designed objects, you will need to extract nodes from that
xml document and insert them into the corresponding file in your main
project, potentially updating some namespace info in type names.

When we get around to having a single component per design file,
hopefully in the 2.2 release, it will be easier to provide drag and drop
capability for moving designed components around.




More information about the Monodevelop-list mailing list