[Mono-list] Showing an About Dialog Box from a Glade File

YellowShadow yellowshadow101 at gmail.com
Thu Nov 15 02:13:53 EST 2007

I have a glade file with an about dialog box and a main window. The
main window has an button. I want to show the about dialog box that I
created (called aboutdialog1) in Glade when the user presses the

Can anyone help me do this?

Here is my current code:

using System;
using Gtk;
using Glade;
public class BabbleFTP
    Button button1;
    public static void Main(string[] args)
        new BabbleFTP(args);

    public BabbleFTP(string[] args)

        Glade.XML gxml = new Glade.XML(null, "BabbleFTP.gui.glade",
"MainWindow", null);

        button1.Clicked += OnPressButtonEvent;


    public void OnPressButtonEvent(object o, EventArgs e)

View this message in context: http://www.nabble.com/Showing-an-About-Dialog-Box-from-a-Glade-File-tf4810214.html#a13762818
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list