ClapperGtk.Av.set_auto_inhibit

### Method

# ClapperGtk Avset_auto_inhibit

since: 0.10

#### Declaration [src]

    void
    clapper_gtk_av_set_auto_inhibit (
      ClapperGtkAv* av,
      gboolean inhibit
    )

#### Description [src]

Set whether widget should try to automatically inhibit session from idling (and possibly screen going black) when media is playing.

Available since: 0.10

Sets property | `ClapperGtk.Av:auto-inhibit`

#### Parameters

`inhibit`

  Type: `gboolean`

  Whether to enable automatic session inhibit.