Ide.widget_get_context
Description: Reference for Ide.widget_get_context

### Function

# Idewidget_get_context

#### Declaration

    IdeContext*
    ide_widget_get_context (
      GtkWidget* widget
    )

#### Description

Gets the context for the widget.

Available since: | 3.32

#### Parameters

`widget` | `GtkWidget`
| A `GtkWidget`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `IdeContext`
| An `IdeContext`, or `NULL`.
| The data is owned by the called function.
| The return value can be `NULL`.