Пример #1
0
 public FullScreenWindow(SlideShowView slide_show_view)
     : base(Gtk.WindowType.Toplevel)
 {
     if(slide_show_view == null)
         throw new System.ArgumentException("SlideShowView shouldn't be null");
     this.slide_show_view = slide_show_view;
     Title = Catalog.GetString("Slideshow preview");
     KeyPressEvent += HandleSlideViewKeyPressEvent;
     Decorated = false;
     Fullscreen();
     Add(slide_show_view);
     ShowAll();
 }
Пример #2
0
 void OnSlideShowPreview(object sender, EventArgs args)
 {
     SlideShow slide_show = GenerateSlideShow ();
     SlideShowView slide_show_view = new SlideShowView(slide_show);
     Visible = false;
     FullScreenWindow full_screen = new FullScreenWindow (slide_show_view);
 }