Adw.Window.set_adaptive_preview

### Method

# Adw Windowset_adaptive_preview

since: 1.7

#### Declaration [src]

    void
    adw_window_set_adaptive_preview (
      AdwWindow* self,
      gboolean adaptive_preview
    )

#### Description [src]

Sets whether adaptive preview for `self` is currently open.

Adaptive preview is a debugging tool used for testing the window contents at specific screen sizes, simulating mobile environment.

Adaptive preview can always be accessed from inspector. This function allows applications to open it manually.

Most applications should not use this function.

Available since: 1.7

Sets property | `Adw.Window:adaptive-preview`

#### Parameters

`adaptive_preview`

  Type: `gboolean`

  Whether to open adaptive preview.