예제 #1
0
 public bool Execute()
 {
     if (slideview != null)
     {
         slideview.Play();
     }
     return(false);
 }
예제 #2
0
        public void Play()
        {
            Gdk.GCValues values = new Gdk.GCValues();
            values.SubwindowMode = SubwindowMode.IncludeInferiors;
            Gdk.GC fillgc = new Gdk.GC(this.GdkWindow, values, Gdk.GCValuesMask.Subwindow);

            slideview.Show();
            this.GdkWindow.SetBackPixmap(null, false);
            this.Show();
            screenshot.RenderToDrawable(this.GdkWindow, fillgc,
                                        0, 0, 0, 0, -1, -1, RgbDither.Normal, 0, 0);

            slideview.Play();
            hide.Start();
        }