ARTICLE

GUI with MonoDevelop

Posted by Deepak Dwij Articles | MonoDevelop November 16, 2011
This article is very useful to understand the GUI with MonoDevelop IDE. GTK# applications are written using MonoDevelop, which provides a visual designer for creating GTK# GUI's.
Reader Level:

Introduction

GTK# applications are written using MonoDevelop, which provides a visual designer for creating GTK# GUIs.

Step 1: Open MonoDevelop.

very-first-mono.gif

Step 2: Click on File menu.

1.gif

Step 3: Select the C# and Gtk# 2.0 Project.

2.gif

Step 4: Select MainWindow.cs and go to the Designer.

3.gif

Step 5: Select vbox from ToolBox.

4.gif


5.gif

Step 6: Select Menu Bar and Toolbar from ToolBox.

6.gif


7.gif

Step 7: Go to Empty menu bar in Main Window and create File menu.


8.gif

Add Gtk new.

9.gif

Same for other Adding file menu Items.

10.gif

Step 8: Again Click to Menu Bar and Create Edit.

11.gif

Step 9: Go to ToolBox and Access Actions/Default.

12.gif

Drag n drop New, Save put separator After and Drag drop cut, copy and Paste.

13.gif

Add gtk go-back and gtk go-forward. 

14.gif


15.gif

Step 10: Add goBackAction and goForwardAction from ToolBox to Edit Menu.


16.gif

Step 11: Drag n drop Status Bar and Table form ToolBox.


17.gif

Put 3 label in Table of Main Window and Rename them.

18.gif

Drag n drop 3 entry from ToolBox and Delete the extra column.

19.gif

Step 12: Build the application.


20.gif

Run

21.gif

Output

22.gif

COMMENT USING

Trending up