SIGN UP MEMBER LOGIN:    
ARTICLE

Gtk# Buttons widgets with MonoDevelop

Posted by Deepak Dwij Articles | MonoDevelop November 23, 2011
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 window form.
Reader Level:

Introduction

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.

  d1.gif

  d2.gif

Step 2 : Select c# -> then Gtk# -> project name -> click on the forward button.

d3.gif
 

Blank window looks as given below.

fd4.gif

Step 3 :  Now drag and drop a vbox from the ToolBox into the MainWindow.

  d5.gif

Step 4 : Put a label, Color button, Font button, File chooser button on the Vbox respectively.

d6.gif

Step 5 : Run the Application 

d7.gif

Step 6 : Output

After clicking on a Color Button, pick a color window displays, choose your desired color.

d8.gif

Result

d9.gif


After clicking on a Font button , pick a font window display ,choose your desired font.


d10.gif


Result

d11.gif


Finally after clicking on File Chooser button, select a file window displays, choose your desired file.

d12.gif


Result


d13.gif
 

Login to add your contents and source code to this article
share this article :
post comment
 
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Nevron Gauge for SharePoint
Become a Sponsor