St.Widget.set_hover

### Method

# St Widgetset_hover

#### Declaration [src]

    void
    st_widget_set_hover (
      StWidget* widget,
      gboolean hover
    )

#### Description [src]

Sets `widget`‘s hover property and adds or removes “hover” from its pseudo class accordingly.

If you have set `StWidget:track-hover`, you should not need to call this directly.

Sets property | `St.Widget:hover`

#### Parameters

`hover`

  Type: `gboolean`

  Whether the pointer is hovering over the widget.