Application Development: eWEEK Labs Steps Through MonoDevelop 2.0
eWEEK Labs Steps Through MonoDevelop 2.0
by Jeff Cogswell
MonoDevelop 2.0 is a full-featured IDE that rivals the best. Visual Studio programmers will feel quite at home.
The New Project dialog box includes several project types, including Gtk# 2.0 projects.
When you select a Gtk# 2.0 project, you have several options, such as version to support, packaging, translation and Unix integration.
Once you create the new Gtk# 2.0 project, by default you'll have several files such as this one, the Main.cs file.
MonoDevelop includes a nice WYSIWYG designer. Simply click View->Toolbox to open the Toolbox.
When the Toolbox is open, you can drag items from it onto your form. You'll typically start with a container, after which you can add buttons and other controls.
Adding events is easy: Select the control and click on the Signals tab in the Properties box, and add the event. The empty function will be added automatically for you.
Inside the code editor, the Click event handler has been created. You can then use the handy MonoDevelop features such as code completion.
eWEEK Labs Steps Through MonoDevelop 2.0 - Page 10