public FullSlide(Gtk.Window parent, IBrowsableItem [] items) : base("Slideshow") { screenshot = PixbufUtils.LoadFromScreen(parent.GdkWindow); this.Destroyed += HandleDestroyed; this.TransientFor = parent; this.ButtonPressEvent += HandleSlideViewButtonPressEvent; this.KeyPressEvent += HandleSlideViewKeyPressEvent; this.AddEvents((int)(EventMask.ButtonPressMask | EventMask.KeyPressMask | EventMask.PointerMotionMask)); slideview = new SlideView(screenshot, items); this.Add(slideview); this.Decorated = false; this.Fullscreen(); this.Realize(); busy = new Gdk.Cursor(Gdk.CursorType.Watch); this.GdkWindow.Cursor = busy; none = GdkUtils.CreateEmptyCursor(GdkWindow.Display); hide = new Delay(2000, new GLib.IdleHandler(HideCursor)); }