Ide.widget_get_workbench
Description: Reference for Ide.widget_get_workbench

### Function

# Idewidget_get_workbench

#### Declaration

    IdeWorkbench*
    ide_widget_get_workbench (
      GtkWidget* widget
    )

#### Description

Gets the `IdeWorkbench` that contains `widget`.

Available since: | 3.32

#### Parameters

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

#### Return value

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