public DocumentTitleWindow(PlaceholderWindow placeholder, DockNotebookTab draggedItem)
            : base(Gtk.WindowType.Toplevel)
        {
            this.placeholder = placeholder;

            SkipTaskbarHint = true;
            Decorated = false;

            //TransientFor = parent;
            TypeHint = WindowTypeHint.Utility;

            VBox mainBox = new VBox ();
            mainBox.Spacing = 3;

            titleBox = new HBox (false, 3);
            if (draggedItem.Icon != null) {
                var img = new Xwt.ImageView (draggedItem.Icon);
                titleBox.PackStart (img.ToGtkWidget (), false, false, 0);
            }
            Gtk.Label la = new Label ();
            la.Markup = draggedItem.Text;
            titleBox.PackStart (la, false, false, 0);

            mainBox.PackStart (titleBox, false, false, 0);

            var wi = RenderWidget (draggedItem.Content);
            if (wi != null) {
                wi = wi.WithBoxSize (200);
                mainBox.PackStart (new ImageView (wi), false, false, 0);
            }

            CustomFrame f = new CustomFrame ();
            f.SetPadding (2, 2, 2, 2);
            f.SetMargins (1, 1, 1, 1);
            f.Add (mainBox);

            Add (f);
            mainBox.CanFocus = true;
            Child.ShowAll ();
        }
		void CreatePlaceholderWindow ()
		{
			var tab = notebook.CurrentTab;
			placeholderWindow = new PlaceholderWindow (tab);

			int x, y;
			Gdk.Display.Default.GetPointer (out x, out y);
			placeholderWindow.MovePosition (x, y);
			placeholderWindow.Show ();

			placeholderWindow.Destroyed += delegate {
				placeholderWindow = null;
				buttonPressedOnTab = false;
			};
		}