[Gtk-sharp-list] OnShown not firing when window/form is shown?

Nils Andresen nils at nils-andresen.de
Wed Jun 15 18:25:15 EDT 2011


2011/6/15 ianwbarlow <ianwbarlow at hotmail.com>:
> Is this what you mean?

More along the lines of

public partial class Win3 : Gtk.Window
{
        public Win3 () : base(Gtk.WindowType.Toplevel)
        {
                this.Shown += HandleShown;
                this.Build ();
        }

        void HandleShown (object sender, EventArgs e)
        {
                Console.WriteLine("*********** Shown - build next
***********");
        }
}

Nils


More information about the Gtk-sharp-list mailing list