FSpot.MainWindow.HandleViewFullscreen C# (CSharp) Method

HandleViewFullscreen() public method

public HandleViewFullscreen ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void
		void HandleViewFullscreen (object sender, EventArgs args)
		{
			int active = (Selection.Count > 0 ? SelectedIds () [0] : 0);
			if (fsview == null) {
				fsview = new FSpot.FullScreenView (query, main_window);
				fsview.Destroyed += HandleFullScreenViewDestroy;
				fsview.KeyPressEvent += HandleFullScreenViewKeyPressEvent;
				fsview.View.Item.Index = active;
			} else {
				// FIXME this needs to be another mode like PhotoView and IconView mode.
				fsview.View.Item.Index = active;
			}

			fsview.Show ();
		}
MainWindow