Gtk# is in the monodevelop IDE where we can design window form, here we are going to have 3
different widgets of button in the windows form.
3 Button widgets are as follows :
- Color button
- Font button
- File chooser button
Step 1 : Open MonoDevelop IDE.
Step 2 : Select c# -> then Gtk# -> project name -> click on the forward
Blank window looks as given below.
Step 3 : Now drag and drop a vbox from the ToolBox into the MainWindow.
Step 4 : Put a label, Color button, Font button, File chooser button on
the Vbox respectively.
Step 5 : Run the Application
Step 6 : Output
After clicking on a Color Button, pick a color window displays, choose your
After clicking on a Font button , pick a font window display ,choose your
Finally after clicking on File Chooser button, select a file window displays,
choose your desired file.