## GdlPreviewWindow GdlPreviewWindow — show destination docking site. |

## Stability Level

Private, unless otherwise indicated

## Synopsis

                        GdlPreviewWindow;
    GtkWidget *         gdl_preview_window_new              (void);
    void                gdl_preview_window_update           (GdlPreviewWindow *window,
                                                             GdkRectangle *rect);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBin
                               +----GtkWindow
                                     +----GdlPreviewWindow

## Implemented Interfaces

GdlPreviewWindow implements AtkImplementorIface and GtkBuildable.

## Description

The GdlPreviewWindow is used to indicate the position where the widget will be dropped. Depending on the capability of the screen it can use a transparent window or just a border.

## Details

### GdlPreviewWindow

    typedef struct _GdlPreviewWindow GdlPreviewWindow;

The GdlDockLayout struct contains only private fields and should not be directly accessed.

### gdl_preview_window_new ()

    GtkWidget *         gdl_preview_window_new              (void);

Creates a new GdlPreviewWindow

Returns : | New GdlPreviewWindow item.

### gdl_preview_window_update ()

    void                gdl_preview_window_update           (GdlPreviewWindow *window,
                                                             GdkRectangle *rect);

Update the size and position of the preview window. This function is called on drag_motion event to update the representation of the docking site in real time.

`window` : | a GdlPreviewWindow
`rect` : | the new position and size of the window