예제 #1
0
파일: AnimatedVBox.cs 프로젝트: GNOME/hyena
        public AnimatedVBoxTestModule()
            : base("Animated VBox")
        {
            AnimatedVBox vbox = new AnimatedVBox ();
            Add (vbox);

            tile = BuildWidget ("Example destroyed");
            tile2 = BuildWidget ("Example removed");

            vbox.PackEnd (tile, 3000, Hyena.Gui.Theatrics.Easing.QuadraticOut);
            vbox.PackEnd (tile2, 3000, Hyena.Gui.Theatrics.Easing.QuadraticOut);
            ShowAll ();

            timeout_id = GLib.Timeout.AddSeconds (5, delegate {
                tile.Destroy ();
                vbox.Remove (tile2);
                return false;
            });
        }